Skip to content
Snippets Groups Projects
Commit 0db5993e authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch...

Merge branch 'feat/287-acls-applied-on-multiple-endpoints-of-a-device-are-not-removed-by-deleting-the-acl' into 'develop'

Resolve "ACLs applied on multiple endpoints of a device are not removed by deleting the ACL"

See merge request !347
parents db14c5d3 9d825e80
No related branches found
No related tags found
2 merge requests!359Release TeraFlowSDN 5.0,!347Resolve "ACLs applied on multiple endpoints of a device are not removed by deleting the ACL"
......@@ -64,8 +64,8 @@ class Acl(Resource):
_config_rule.CopyFrom(config_rule)
_config_rule.action = ConfigActionEnum.CONFIGACTION_DELETE
delete_config_rules.append(_config_rule)
break
else:
if not delete_config_rules:
raise NotFound('Acl({:s}) not found in Device({:s})'.format(str(acl_name), str(device_uuid)))
device_client = DeviceClient()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment