<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I don't think the "shared" is fully implemented yet. It is not a
    bug, it is just an uncompleted feature. <br>
    <br>
    Yi<br>
    <br>
    <div class="moz-cite-prefix">On 6/5/14, 9:05 PM, Xurong Yang wrote:<br>
    </div>
    <blockquote
cite="mid:CABxeuoKmpqV-sn2Z9xaa-9uYMyVFfnZ+3XSZ0EQ9CCYH8J7kPw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi, Gary
        <div>   Thanks for your response, i have created router, the
          fact is that firewall rules don't update share status when
          updating the corresponding firewall policy share=true. so
          create firewall under another project and thus fail.</div>
        <div>so i think it's a bug.</div>
        <div>what do you think?</div>
        <div><br>
        </div>
        <div>cheers,</div>
        <div>Xurong</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-06-05 22:00 GMT+08:00 Gary Duan <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:garyduan@gmail.com" target="_blank">garyduan@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Xurong,
              <div><br>
              </div>
              <div>Firewall is colocated with router. You need to create
                a router, then the firewall state will be updated.</div>
              <div><br>
              </div>
              <div>Gary</div>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">
                <div>
                  <div class="h5">
                    On Thu, Jun 5, 2014 at 2:48 AM, Xurong Yang <span
                      dir="ltr"><<a moz-do-not-send="true"
                        href="mailto:idopra@gmail.com" target="_blank">idopra@gmail.com</a>></span>
                    wrote:<br>
                  </div>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div class="h5">
                      <div dir="ltr">Hi, Stackers
                        <div>My use case:</div>
                        <div><br>
                        </div>
                        <div>under project_id A:</div>
                        <div>1.create firewall rule
                          default(share=false).</div>
                        <div>2.create firewall policy
                          default(share=false).</div>
                        <div>3.attach rule to policy.</div>
                        <div>4.update policy(share=true)</div>
                        <div><br>
                        </div>
                        <div>under project_id B:</div>
                        <div>1.create firewall with policy(share=true)
                          based on project A.</div>
                        <div>then create firewall fail and suspend with
                          status=PENDING_CREATE</div>
                        <div><br>
                        </div>
                        <div>
                          <pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">openstack@openstack03:~/Vega$ neutron firewall-policy-list
+--------------------------------------+------+----------------------------------------+
| id                                   | name | firewall_rules                         |
+--------------------------------------+------+----------------------------------------+
| 7884fb78-1903-4af6-af3f-55e5c7c047c9 | Demo | [d5578ab5-869b-48cb-be54-85ee9f15d9b2] |
| 949fef5c-8dd5-4267-98fb-2ba17d2b0a96 | Test | [8679da8d-200e-4311-bb7d-7febd3f46e37, |
|                                      |      |  86ce188d-18ab-49f2-b664-96c497318056] |
+--------------------------------------+------+----------------------------------------+
openstack@openstack03:~/Vega$ neutron firewall-rule-list
+--------------------------------------+----------+--------------------------------------+--------------------------------+---------+
| id                                   | name     | firewall_policy_id                   | summary                        | enabled |
+--------------------------------------+----------+--------------------------------------+--------------------------------+---------+
| 8679da8d-200e-4311-bb7d-7febd3f46e37 | DenyOne  | 949fef5c-8dd5-4267-98fb-2ba17d2b0a96 | ICMP,                          | True    |
|                                      |          |                                      |  source: none(none),           |         |
|                                      |          |                                      |  dest: <a moz-do-not-send="true" href="http://192.168.0.101/32%28none%29" target="_blank">192.168.0.101/32(none)</a>, |         |
|                                      |          |                                      |  deny                          |         |
| 86ce188d-18ab-49f2-b664-96c497318056 | AllowAll | 949fef5c-8dd5-4267-98fb-2ba17d2b0a96 | ICMP,                          | True    |
|                                      |          |                                      |  source: none(none),           |         |
|                                      |          |                                      |  dest: none(none),             |         |
|                                      |          |                                      |  allow                         |         |
+--------------------------------------+----------+--------------------------------------+--------------------------------+---------+
openstack@openstack03:~/Vega$ neutron firewall-create --name Test Demo
<b>Firewall Rule d5578ab5-869b-48cb-be54-85ee9f15d9b2 could not be found.</b>
openstack@openstack03:~/Vega$ neutron firewall-show Test
+--------------------+--------------------------------------+
| Field              | Value                                |
+--------------------+--------------------------------------+
| admin_state_up     | True                                 |
| description        |                                      |
| firewall_policy_id | 7884fb78-1903-4af6-af3f-55e5c7c047c9 |
| id                 | 7c59c7da-ace1-4dfa-8b04-2bc6013dbc0a |
| name               | Test                                 |
| status             | <b>PENDING_CREATE</b>                       |
| tenant_id          | a0794fca47de4631b8e414beea4bd51b     |
+--------------------+--------------------------------------+</pre>
                        </div>
                      </div>
                      <br>
                    </div>
                  </div>
                  _______________________________________________<br>
                  OpenStack-dev mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:OpenStack-dev@lists.openstack.org"
                    target="_blank">OpenStack-dev@lists.openstack.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
                    target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
                  <br>
                </blockquote>
              </div>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            OpenStack-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
              target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>