← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1699708] [NEW] Updation of shared firewall-policy with non shared firewall-rule should be restricted

 

Public bug reported:

Using horizon I am able to update/edit shared firewall policy with non-shared firewall-rule which is oppose to behavior when we create firewall-policy of shared mode with firewall-rules of non-shared mode. Because during creation of firewall policy if we create firewall policy with shared mode and add firewall rule which is non-shared then exception raises.
But during updation of firewall policy which is of shared mode with non-shared firewall rule then doesn't raises any exception. This behavior should be restricted.

Steps:-
1) Login to horizon.
2) Goto Project->Network->Firewalls
3) Create firewall rule with non-shared mode:
   e.g: Firewall-rule-1: UDP Allow (Non-shared)

4) Create firewall-policy with shared mode (e.g.: Firewall-policy-1 )
and try to add "Firewall-rule-1" to this policy then exception raises
"Operation cannot be performed since Firewall Policy 41995c30-159a-4d18
-891e-1bd5cf9e9aef is shared but Firewall Rule fdd19e89-062c-
467e-b689-0a07f839663e is not shared"

5) Now again create firewall-policy with shared mode and without any firewall-rule.
6) Edit firewall policy and try to insert firewall-rule created in step3. Now it succeed. This should also be restricted.

** 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/1699708

Title:
  Updation of shared firewall-policy with non shared firewall-rule
  should be restricted

Status in neutron:
  New

Bug description:
  Using horizon I am able to update/edit shared firewall policy with non-shared firewall-rule which is oppose to behavior when we create firewall-policy of shared mode with firewall-rules of non-shared mode. Because during creation of firewall policy if we create firewall policy with shared mode and add firewall rule which is non-shared then exception raises.
  But during updation of firewall policy which is of shared mode with non-shared firewall rule then doesn't raises any exception. This behavior should be restricted.

  Steps:-
  1) Login to horizon.
  2) Goto Project->Network->Firewalls
  3) Create firewall rule with non-shared mode:
     e.g: Firewall-rule-1: UDP Allow (Non-shared)

  4) Create firewall-policy with shared mode (e.g.: Firewall-policy-1 )
  and try to add "Firewall-rule-1" to this policy then exception raises
  "Operation cannot be performed since Firewall Policy 41995c30-159a-
  4d18-891e-1bd5cf9e9aef is shared but Firewall Rule fdd19e89-062c-
  467e-b689-0a07f839663e is not shared"

  5) Now again create firewall-policy with shared mode and without any firewall-rule.
  6) Edit firewall policy and try to insert firewall-rule created in step3. Now it succeed. This should also be restricted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1699708/+subscriptions


Follow ups