Loading src/service/service/service_handler_api/Tools.py +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import functools, re from typing import Any, List, Optional, Tuple, Union from common.method_wrappers.ServiceExceptions import NotFoundException Loading src/service/service/service_handlers/l2nm_emulated/ConfigRules.py +0 −9 Original line number Diff line number Diff line Loading @@ -27,12 +27,6 @@ def setup_config_rules( json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value if service_settings is None: return [] if endpoint_settings is None: return [] json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value #mtu = json_settings.get('mtu', 1450 ) # 1512 #address_families = json_settings.get('address_families', [] ) # ['IPV4'] #bgp_as = json_settings.get('bgp_as', 0 ) # 65000 Loading Loading @@ -98,9 +92,6 @@ def teardown_config_rules( json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value if service_settings is None: return [] if endpoint_settings is None: return [] #json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value Loading src/service/service/service_handlers/l3nm_openconfig/ConfigRules.py +0 −3 Original line number Diff line number Diff line Loading @@ -29,9 +29,6 @@ def setup_config_rules( json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value json_settings : Dict = {} if service_settings is None else service_settings.value json_endpoint_settings : Dict = {} if endpoint_settings is None else endpoint_settings.value mtu = json_settings.get('mtu', 1450 ) # 1512 #address_families = json_settings.get('address_families', [] ) # ['IPV4'] bgp_as = json_settings.get('bgp_as', 65000 ) # 65000 Loading Loading
src/service/service/service_handler_api/Tools.py +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import functools, re from typing import Any, List, Optional, Tuple, Union from common.method_wrappers.ServiceExceptions import NotFoundException Loading
src/service/service/service_handlers/l2nm_emulated/ConfigRules.py +0 −9 Original line number Diff line number Diff line Loading @@ -27,12 +27,6 @@ def setup_config_rules( json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value if service_settings is None: return [] if endpoint_settings is None: return [] json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value #mtu = json_settings.get('mtu', 1450 ) # 1512 #address_families = json_settings.get('address_families', [] ) # ['IPV4'] #bgp_as = json_settings.get('bgp_as', 0 ) # 65000 Loading Loading @@ -98,9 +92,6 @@ def teardown_config_rules( json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value if service_settings is None: return [] if endpoint_settings is None: return [] #json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value Loading
src/service/service/service_handlers/l3nm_openconfig/ConfigRules.py +0 −3 Original line number Diff line number Diff line Loading @@ -29,9 +29,6 @@ def setup_config_rules( json_settings : Dict = service_settings.value json_endpoint_settings : Dict = endpoint_settings.value json_settings : Dict = {} if service_settings is None else service_settings.value json_endpoint_settings : Dict = {} if endpoint_settings is None else endpoint_settings.value mtu = json_settings.get('mtu', 1450 ) # 1512 #address_families = json_settings.get('address_families', [] ) # ['IPV4'] bgp_as = json_settings.get('bgp_as', 65000 ) # 65000 Loading