Merge "Remove INACTIVE status from FWaaS"
This commit is contained in:
commit
f3cd90bf69
@ -51,9 +51,7 @@ class FirewallCallbacks(n_rpc.RpcCallback):
|
|||||||
"not changing to %(status)s"),
|
"not changing to %(status)s"),
|
||||||
{'fw_id': firewall_id, 'status': status})
|
{'fw_id': firewall_id, 'status': status})
|
||||||
return False
|
return False
|
||||||
#TODO(xuhanp): Remove INACTIVE status and use DOWN to
|
if status in (const.ACTIVE, const.DOWN):
|
||||||
# be consistent with other network resources
|
|
||||||
if status in (const.ACTIVE, const.INACTIVE, const.DOWN):
|
|
||||||
fw_db.status = status
|
fw_db.status = status
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user