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

Pre-merge cosmetic cleanup

parent c4d7ca20
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!213Resolve "(CTTC) Implement NBI connector to manage Network Access Control Lists (ACLs)"
......@@ -71,5 +71,3 @@ def acl_cr_to_dict(acl_cr_dict: Dict, subinterface:int = 0) -> Dict:
source_port=22,
destination_port=80
)
\ No newline at end of file
......@@ -61,5 +61,3 @@ def acl_cr_to_dict_ipinfusion_proprietary(acl_cr_dict: Dict, delete: bool = Fals
source_port=rule_set_entry_match['src_port'],
destination_port=rule_set_entry_match['dst_port']
)
\ No newline at end of file
......@@ -22,6 +22,6 @@ libyang==2.8.0
netaddr==0.9.0
pyang==2.6.0
git+https://github.com/robshakir/pyangbind.git
pydantic==2.6.3
requests==2.27.1
werkzeug==2.3.7
pydantic==2.6.3
......@@ -161,4 +161,4 @@ def ietf_acl_from_config_rule_resource_value(config_rule_rv: Dict) -> Dict:
acls = Acls(acl=[acl], attachment_points=AttachmentPoints(attachment_points=interfaces))
ietf_acl = IETF_ACL(acls=acls)
return ietf_acl.model_dump(by_alias=True)
\ No newline at end of file
return ietf_acl.model_dump(by_alias=True)
......@@ -53,4 +53,4 @@
}
}
}
}
\ No newline at end of file
}
......@@ -195,6 +195,7 @@ def setup_config_rules(
}),
]
for res_key, res_value in endpoint_acls:
json_config_rules.append(
{'action': 1, 'acl': res_value}
......
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