Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: client fwaas

-- 
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:
  Fwaas/CLI:  Can not delete multiple firewall rule by passing multiple
  firewall rule id

Status in neutron:
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to