Hi Akihiro,<div><br></div><div>I apologise for the delayed reply on the mailing list.</div><div>I have triaged the bug you reported, and submitted a patch for it [1]</div><div>Please let me know whether it works for you.</div>
<div><br></div><div>The second problem you raised it is connected to the first one, but also involves the policy engine.</div><div>The rule for retrieving subnets is indeed admin_or_owner, which means that you will read subnets on a shared network only if you are an administrator or you own the subnet.</div>
<div>When we designed the default policy configuration for this feature, we did so by design, as we though that on a shared network the provider wanted to take control of IP addressing, and let a user pick only what was available (this is why users cannot specify mac_address, fixed_ips and host_routes on public networks).</div>
<div><br></div><div>If we have a consensus on allowing users to choose to which subnets associate their ports on public networks, we need a slight change to policy.json.</div><div>The fix for  bug 1037589 [2] is a prerequisite for this policy change.</div>
<div><br></div><div>Salvatore</div><div><br></div><div>[1] <a href="https://review.openstack.org/11672">https://review.openstack.org/11672</a></div><div>[2] <a href="https://bugs.launchpad.net/quantum/+bug/1037589" target="_blank">https://bugs.launchpad.net/quantum/+bug/1037589</a></div>
<div><br><div class="gmail_quote">On 19 August 2012 11:08, Akihiro MOTOKI <span dir="ltr"><<a href="mailto:motoki@da.jp.nec.com" target="_blank">motoki@da.jp.nec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have some questions about public network feature in Quantum.<br>
<br>
(1) In my devstack env, IP address is not assigned when I create a port on<br>
  public network. The public network is owned by 'admin' tenant and<br>
  'invisible_to_admin' tenant created the port on the public network.<br>
  Details are posted to launchpad: <a href="https://bugs.launchpad.net/quantum/+bug/1037589" target="_blank">https://bugs.launchpad.net/quantum/+bug/1037589</a><br>
  I expects IP address will be assinged on the created port.<br>
<br>
  I would like to know whether it is a bug or it depends on my environment.<br>
<br>
<br>
(2) Why other tenants cannot view a subnet created on public network?<br>
  Other tenants can view a public network in net-list, but they cannot<br>
  view subnet info on a public network.<br>
  Are there any reasons for it?<br>
  subnet-show returns routing information such as "defaulllt gateway" an<br>
  "host routes" but I don't think they should hidden.<br>
<br>
  I would like to add public network support to Horizon.<br>
  In Horizon network list, subnet information is displayed for each network.<br>
  If there is no reason, it is better to expose subnet info on public network.<br>
<br>
Thanks in advance,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Akihiro MOTOKI <<a href="mailto:motoki@da.jp.nec.com">motoki@da.jp.nec.com</a>><br>
Cloud System Research Laboratories, NEC Corporation<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a 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>
</font></span></blockquote></div><br></div>