← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1495440] Re: bulk delete improvements

 

Based on discussion [1], let's go with option [1]. Let's limit this to
core resources only in the context of this effort.

[1]
http://eavesdrop.openstack.org/meetings/neutron_drivers/2015/neutron_drivers.2015-12-15-15.01.log.html

** Changed in: neutron
       Status: Triaged => Won't Fix

** Tags removed: rfe
** Tags added: rfe-approved

** Tags removed: api

** Changed in: neutron
     Assignee: Reedip (reedip-banerjee) => (unassigned)

-- 
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:
  Triaged

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