yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54996
[Bug 1495440] Re: bulk delete improvements
Reviewed: https://review.openstack.org/263609
Committed: https://git.openstack.org/cgit/openstack/python-neutronclient/commit/?id=b16c9a8d3d70fe2ec69ab44b740011dc2b2bc097
Submitter: Jenkins
Branch: master
commit b16c9a8d3d70fe2ec69ab44b740011dc2b2bc097
Author: reedip <reedip.banerjee@xxxxxxxxxxxxxxxxxx>
Date: Tue Jan 5 16:32:36 2016 +0900
Add support for Bulk Delete in NeutronClient
The following patch adds support for BulkDelete in NeutronClient.
Currently, the core existing Neutron CLIs are going to support
Bulk Deletion in NeutronClient. However, if any extension does not
require Bulk Delete, it can be disabled by updating the
class attribute 'bulk_delete'.
DocImpact
Depends-On: Ib23d1e53947b5dffcff8db0dde77cae0a0b31243
Change-Id: I3b8a05698625baad3906784e3ecffb0f0242d660
Closes-Bug: #1495440
** Changed in: python-neutronclient
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1495440
Title:
bulk delete improvements
Status in neutron:
Won't Fix
Status in python-neutronclient:
Fix Released
Bug description:
While trying to delete multiple firewall rule using CLI by passing
firewall rule multiple times, it deletes only the first firewall Rule
id
stack@hdp-001:~$ neutron
(neutron) firewall-rule-list
+--------------------------------------+-----------------+--------------------+-----------------------------+---------+
| id | name | firewall_policy_id | summary | enabled |
+--------------------------------------+-----------------+--------------------+-----------------------------+---------+
| 8c4ea5c6-a6e4-43ab-a503-0a2265119238 | test1491637 | | TCP, | True |
| | | | source: none(none), | |
| | | | dest: none(none), | |
| | | | allow | |
| b8c1c061-8f92-482d-94d3-678f42c7ccd7 | rayrafw2 | | ICMP, | True |
| | | | source: none(none), | |
| | | | dest: none(none), | |
| | | | allow | |
| ba35dde7-8b07-4ba1-8338-496962c83dbc | testrule1491637 | | UDP, | True |
| | | | source: 10.25.10.2/32(80), | |
| | | | dest: none(none), | |
| | | | deny | |
+--------------------------------------+-----------------+--------------------+-----------------------------+---------+
(neutron) firewall-rule-delete 8c4ea5c6-a6e4-43ab-a503-0a2265119238 b8c1c061-8f92-482d-94d3-678f42c7ccd7
Deleted firewall_rule: 8c4ea5c6-a6e4-43ab-a503-0a2265119238
(neutron) firewall-rule-list
+--------------------------------------+-----------------+--------------------+-----------------------------+---------+
| id | name | firewall_policy_id | summary | enabled |
+--------------------------------------+-----------------+--------------------+-----------------------------+---------+
| b8c1c061-8f92-482d-94d3-678f42c7ccd7 | rayrafw2 | | ICMP, | True |
| | | | source: none(none), | |
| | | | dest: none(none), | |
| | | | allow | |
| ba35dde7-8b07-4ba1-8338-496962c83dbc | testrule1491637 | | UDP, | True |
| | | | source: 10.25.10.2/32(80), | |
| | | | dest: none(none), | |
| | | | deny | |
+--------------------------------------+-----------------+--------------------+-----------------------------+---------+
(neutron)
It will be better if we can delete multiple firewall rule by passing
multiple firewall rule id
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1495440/+subscriptions
References