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

Pre-merge code cleanup

parent fabf433e
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!132NetSoft Hackfest extensions, gNMI Driver, gNMI L3NM Service Handler, multiple fixes
...@@ -98,6 +98,7 @@ def add(): ...@@ -98,6 +98,7 @@ def add():
raise NotImplementedError() raise NotImplementedError()
#return render_template('service/home.html') #return render_template('service/home.html')
def get_hub_module_name(dev: Device) -> Optional[str]: def get_hub_module_name(dev: Device) -> Optional[str]:
for cr in dev.device_config.config_rules: for cr in dev.device_config.config_rules:
if cr.action == ConfigActionEnum.CONFIGACTION_SET and cr.custom and cr.custom.resource_key == "_connect/settings": if cr.action == ConfigActionEnum.CONFIGACTION_SET and cr.custom and cr.custom.resource_key == "_connect/settings":
......
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