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

WebUI component:

- Code cleanup
parent 756eb997
No related branches found
No related tags found
3 merge requests!142Release TeraFlowSDN 2.1,!132NetSoft Hackfest extensions, gNMI Driver, gNMI L3NM Service Handler, multiple fixes,!113Draft: NetSoft Hackfest extensions
......@@ -112,13 +112,6 @@ def home():
ste=ServiceTypeEnum, sse=ServiceStatusEnum, active_drivers=active_drivers)
#@service.route('add', methods=['GET', 'POST'])
#def add():
# flash('Add service route called', 'danger')
# raise NotImplementedError()
# #return render_template('service/home.html')
def get_hub_module_name(dev: Device) -> Optional[str]:
for cr in dev.device_config.config_rules:
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