yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22347
[Bug 1373820] [NEW] --sort-key option for neutron cli does not always work
Public bug reported:
$neutron security-group-list --sort-key name
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id name description
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3d2b51cf-8f30-4be8-b720-364e62c0ca45 als-Core-Router Inbound User Traffic
9d9598da-27f8-46fc-9f5a-72e0968a2e2c als-Core-Router Inbound User Traffic
eb39ab0f-3974-4fa5-a7ad-6e94caec29c7 als-Internal Intra-Cluster Traffic
However, it does not work with other neutron commands, although help on
them describe it.
for eg:
sort-key on neutron net-list or floatingip-list does not work as follows:
$neutron net-list --sort-key name
--------------------------------------------------------------------------------------------------------------------------
id name subnets
--------------------------------------------------------------------------------------------------------------------------
0d520976-480d-4e56-8dc9-f550eab660ee SVC f06cdf57-dff4-4a93-823f-39fa534f2409 10.9.236.192/26
123f7ac9-f357-407a-be27-cacde4f62476 umanet 16232cfa-520c-4f33-8db2-a6754729dbe2 198.51.100.0/24
18f732b3-1242-46ce-beb7-875703c10c3d Mnet 4091477b-6961-4cbe-b08a-e22a0ac6ab25 10.0.6.0/24
20d9167b-a5a2-49c9-adb8-b12cbf9ca73c ext-net 21f4bc85-3ec8-4c16-86f6-0a22a8d4b6ef 10.9.236.0/26
neutron floatingip-list --sort-key floating_ip_address
-------------------------------------------------------------------------------------------------------------+
id fixed_ip_address floating_ip_address port_id
-------------------------------------------------------------------------------------------------------------+
0541b567-40ba-451b-93d5-2788ffff6eb4 172.17.0.25 10.9.236.31 6e3ae31b-1ebd-42d9-8f8e-c3e057f5736f
08bf0e75-7307-4e23-95bf-6ca1705c406d 198.51.100.5 10.9.236.4 a70cd4b7-2657-4cbc-8601-5e936cfecfae
16d60b41-e113-4bf2-8f46-1f06f2545639 10.0.7.2 10.9.236.56 7fe623b2-ac6e-465d-a916-75febb32e1a9
251ff272-308c-4fc3-826e-d08d9ab68495 172.17.0.10 10.9.236.8 0b42886f-7c50-4feb-9d31-b2e10a1a4f5d
2bca19f3-b991-486e-99c7-771994a1347e 10.9.236.10
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1373820
Title:
--sort-key option for neutron cli does not always work
Status in OpenStack Neutron (virtual network service):
New
Bug description:
$neutron security-group-list --sort-key name
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id name description
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3d2b51cf-8f30-4be8-b720-364e62c0ca45 als-Core-Router Inbound User Traffic
9d9598da-27f8-46fc-9f5a-72e0968a2e2c als-Core-Router Inbound User Traffic
eb39ab0f-3974-4fa5-a7ad-6e94caec29c7 als-Internal Intra-Cluster Traffic
However, it does not work with other neutron commands, although help
on them describe it.
for eg:
sort-key on neutron net-list or floatingip-list does not work as follows:
$neutron net-list --sort-key name
--------------------------------------------------------------------------------------------------------------------------
id name subnets
--------------------------------------------------------------------------------------------------------------------------
0d520976-480d-4e56-8dc9-f550eab660ee SVC f06cdf57-dff4-4a93-823f-39fa534f2409 10.9.236.192/26
123f7ac9-f357-407a-be27-cacde4f62476 umanet 16232cfa-520c-4f33-8db2-a6754729dbe2 198.51.100.0/24
18f732b3-1242-46ce-beb7-875703c10c3d Mnet 4091477b-6961-4cbe-b08a-e22a0ac6ab25 10.0.6.0/24
20d9167b-a5a2-49c9-adb8-b12cbf9ca73c ext-net 21f4bc85-3ec8-4c16-86f6-0a22a8d4b6ef 10.9.236.0/26
neutron floatingip-list --sort-key floating_ip_address
-------------------------------------------------------------------------------------------------------------+
id fixed_ip_address floating_ip_address port_id
-------------------------------------------------------------------------------------------------------------+
0541b567-40ba-451b-93d5-2788ffff6eb4 172.17.0.25 10.9.236.31 6e3ae31b-1ebd-42d9-8f8e-c3e057f5736f
08bf0e75-7307-4e23-95bf-6ca1705c406d 198.51.100.5 10.9.236.4 a70cd4b7-2657-4cbc-8601-5e936cfecfae
16d60b41-e113-4bf2-8f46-1f06f2545639 10.0.7.2 10.9.236.56 7fe623b2-ac6e-465d-a916-75febb32e1a9
251ff272-308c-4fc3-826e-d08d9ab68495 172.17.0.10 10.9.236.8 0b42886f-7c50-4feb-9d31-b2e10a1a4f5d
2bca19f3-b991-486e-99c7-771994a1347e 10.9.236.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1373820/+subscriptions
Follow ups
References