Hi, just change
"nova/api/openstack/compute/contrib/os_networks.py#L50" to: "if 'uuid'
in dict(network.iteritems()):". I will deliver it asap, with ut.
On Mon, Apr 1, 2013 at 9:49 AM, Haiwei Xu <email address hidden> wrote:
> Hi,
> I am also concerned about the commands "nova net-list" and "nova network-list" .
> The difference between the two commands is just ID or UUID is outputed.
> Could you please tell us how you will fix the problem more or less?
> Thank you.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1162409
>
> Title:
> nova net-list not return network uuid but id instead
>
> Status in OpenStack Compute (Nova):
> In Progress
>
> Bug description:
> os-networks API (index, show and create) return network id but not
> uuid even uuid field available.
>
> network_dict function in the extension should not use "in" checking for a Network model object.
> https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/contrib/os_networks.py#L50
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1162409/+subscriptions
Hi, just change openstack/ compute/ contrib/ os_networks. py#L50" to: "if 'uuid' iteritems( )):". I will deliver it asap, with ut.
"nova/api/
in dict(network.
On Mon, Apr 1, 2013 at 9:49 AM, Haiwei Xu <email address hidden> wrote: /bugs.launchpad .net/bugs/ 1162409 /github. com/openstack/ nova/blob/ master/ nova/api/ openstack/ compute/ contrib/ os_networks. py#L50 /bugs.launchpad .net/nova/ +bug/1162409/ +subscriptions
> Hi,
> I am also concerned about the commands "nova net-list" and "nova network-list" .
> The difference between the two commands is just ID or UUID is outputed.
> Could you please tell us how you will fix the problem more or less?
> Thank you.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> nova net-list not return network uuid but id instead
>
> Status in OpenStack Compute (Nova):
> In Progress
>
> Bug description:
> os-networks API (index, show and create) return network id but not
> uuid even uuid field available.
>
> network_dict function in the extension should not use "in" checking for a Network model object.
> https:/
>
> To manage notifications about this bug go to:
> https:/