Public bug reported:
If I try to delete multiple networks through cli, only one network gets deleted
at a time.
We should have the option to delete multiple networks simultaneously to be in
sync with dashboard.
For ex: If I create 2 networks n1 and n2 from dashboard, I am able to delete
both of them through dashboard if I select
both the networks for delete.
But if I try the same functionality in cli, I get the following output:
[root@liberty2 ~(keystone_admin)]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id | name | subnets
|
+--------------------------------------+----------+------------------------------------------------------+
| bda0b455-a838-4004-9f7c-dceeefd47473 | n2 |
69275ced-1df0-4aa8-8fcd-54296dca1cee 30.0.0.0/24 |
| cbe71faf-be6f-4e0d-b3a2-74d83b5fb1c9 | internal |
2664b3a4-d587-43cb-8985-55f2bc9433aa 120.0.0.0/24 |
| 3da43b68-e8f8-4aa3-bf23-420ae7cc39fc | n1 |
bb622270-98df-4529-b92f-816f59e9e2c9 20.0.0.0/24 |
| effb89f5-34bb-4dbe-bc50-e434614419fe | public |
f2845986-7b21-46b1-a9db-8b178e739e4a 172.24.4.224/28 |
+--------------------------------------+----------+------------------------------------------------------+
[root@liberty2 ~(keystone_admin)]# neutron net-delete n1 n2
Deleted network: n1
[root@liberty2 ~(keystone_admin)]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id | name | subnets
|
+--------------------------------------+----------+------------------------------------------------------+
| bda0b455-a838-4004-9f7c-dceeefd47473 | n2 |
69275ced-1df0-4aa8-8fcd-54296dca1cee 30.0.0.0/24 |
| cbe71faf-be6f-4e0d-b3a2-74d83b5fb1c9 | internal |
2664b3a4-d587-43cb-8985-55f2bc9433aa 120.0.0.0/24 |
| effb89f5-34bb-4dbe-bc50-e434614419fe | public |
f2845986-7b21-46b1-a9db-8b178e739e4a 172.24.4.224/28 |
+--------------------------------------+----------+------------------------------------------------------+
Observation: The n2 networks do not get deleted and there is no notification
for the same, net delete only reads the
first argument that it gets. We should either have the option to delete
multiple networks simultaneously and if my understanding
if wrong then there should be a check for the number of arguments that have
been passed for the net-delete command.
** Affects: neutron
Importance: Undecided
Assignee: Sharat Sharma (sharat-sharma)
Status: Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1558090
Title:
Delete multiple networks from CLI
Status in neutron:
Confirmed
Bug description:
If I try to delete multiple networks through cli, only one network gets
deleted at a time.
We should have the option to delete multiple networks simultaneously to be in
sync with dashboard.
For ex: If I create 2 networks n1 and n2 from dashboard, I am able to delete
both of them through dashboard if I select
both the networks for delete.
But if I try the same functionality in cli, I get the following output:
[root@liberty2 ~(keystone_admin)]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id | name | subnets
|
+--------------------------------------+----------+------------------------------------------------------+
| bda0b455-a838-4004-9f7c-dceeefd47473 | n2 |
69275ced-1df0-4aa8-8fcd-54296dca1cee 30.0.0.0/24 |
| cbe71faf-be6f-4e0d-b3a2-74d83b5fb1c9 | internal |
2664b3a4-d587-43cb-8985-55f2bc9433aa 120.0.0.0/24 |
| 3da43b68-e8f8-4aa3-bf23-420ae7cc39fc | n1 |
bb622270-98df-4529-b92f-816f59e9e2c9 20.0.0.0/24 |
| effb89f5-34bb-4dbe-bc50-e434614419fe | public |
f2845986-7b21-46b1-a9db-8b178e739e4a 172.24.4.224/28 |
+--------------------------------------+----------+------------------------------------------------------+
[root@liberty2 ~(keystone_admin)]# neutron net-delete n1 n2
Deleted network: n1
[root@liberty2 ~(keystone_admin)]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id | name | subnets
|
+--------------------------------------+----------+------------------------------------------------------+
| bda0b455-a838-4004-9f7c-dceeefd47473 | n2 |
69275ced-1df0-4aa8-8fcd-54296dca1cee 30.0.0.0/24 |
| cbe71faf-be6f-4e0d-b3a2-74d83b5fb1c9 | internal |
2664b3a4-d587-43cb-8985-55f2bc9433aa 120.0.0.0/24 |
| effb89f5-34bb-4dbe-bc50-e434614419fe | public |
f2845986-7b21-46b1-a9db-8b178e739e4a 172.24.4.224/28 |
+--------------------------------------+----------+------------------------------------------------------+
Observation: The n2 networks do not get deleted and there is no notification
for the same, net delete only reads the
first argument that it gets. We should either have the option to delete
multiple networks simultaneously and if my understanding
if wrong then there should be a check for the number of arguments that have
been passed for the net-delete command.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1558090/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp