FWaaS v2 - incorrect shared rule check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Yushiro FURUKAWA |
Bug Description
def _check_
if fwp['shared']:
for entry in rules_in_db:
if not fwp_db['shared']:
The logic above will always raise an exception if a policy is changed from not shared to shared. There is most likely a typo in:
if not fwp_db['shared']:
as it should be:
if not fwr_db['shared']:
Thanks for filing a bug. Previously, I've been fixing such kind of bug.