Loading src/service/service/service_handlers/l3nm_gnmi_openconfig/ConfigRuleComposer.py +0 −9 Original line number Diff line number Diff line Loading @@ -339,18 +339,9 @@ class DeviceComposer: if network_instance_name != DEFAULT_NETWORK_INSTANCE: json_config_rule(*_network_instance(network_instance_name, 'L3VRF')) parent_interfaces : Set[str] = set() configured_parents : Set[str] = set() for endpoint in self.endpoints.values(): if endpoint.objekt is None: continue parent_interfaces.add(endpoint.objekt.name) if not delete and endpoint.objekt.name not in configured_parents: config_rules.append(json_config_rule_set(*_interface( endpoint.objekt.name, index=0, address_ip=None, address_prefix=None, enabled=True, mtu=endpoint.mtu ))) configured_parents.add(endpoint.objekt.name) config_rules.extend(endpoint.get_config_rules( network_instance_name, self.service_vlan_id, access_vlan_tagged=self.access_vlan_tagged, delete=delete Loading Loading
src/service/service/service_handlers/l3nm_gnmi_openconfig/ConfigRuleComposer.py +0 −9 Original line number Diff line number Diff line Loading @@ -339,18 +339,9 @@ class DeviceComposer: if network_instance_name != DEFAULT_NETWORK_INSTANCE: json_config_rule(*_network_instance(network_instance_name, 'L3VRF')) parent_interfaces : Set[str] = set() configured_parents : Set[str] = set() for endpoint in self.endpoints.values(): if endpoint.objekt is None: continue parent_interfaces.add(endpoint.objekt.name) if not delete and endpoint.objekt.name not in configured_parents: config_rules.append(json_config_rule_set(*_interface( endpoint.objekt.name, index=0, address_ip=None, address_prefix=None, enabled=True, mtu=endpoint.mtu ))) configured_parents.add(endpoint.objekt.name) config_rules.extend(endpoint.get_config_rules( network_instance_name, self.service_vlan_id, access_vlan_tagged=self.access_vlan_tagged, delete=delete Loading