Loading src/service/service/service_handlers/l3nm_gnmi_openconfig/StaticRouteGenerator.py +1 −1 Changes for src/service/service/service_handlers/l3nm_gnmi_openconfig/StaticRouteGenerator.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ class StaticRouteGenerator: num_connection_hops = len(connection_hop_list) if num_connection_hops % 2 != 0: raise Exception('Number of connection hops must be even') if num_connection_hops < 2: raise Exception('Number of connection hops must be >= 2') if num_connection_hops < 4: raise Exception('Number of connection hops must be >= 4') it_connection_hops = iter(connection_hop_list) return list(zip(it_connection_hops, it_connection_hops)) Loading src/service/service/service_handlers/l3nm_gnmi_openconfig/VlanIdPropagator.py +1 −1 Changes for src/service/service/service_handlers/l3nm_gnmi_openconfig/VlanIdPropagator.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ class VlanIdPropagator: num_connection_hops = len(connection_hop_list) if num_connection_hops % 2 != 0: raise Exception('Number of connection hops must be even') if num_connection_hops < 2: raise Exception('Number of connection hops must be >= 2') if num_connection_hops < 4: raise Exception('Number of connection hops must be >= 4') it_connection_hops = iter(connection_hop_list) return list(zip(it_connection_hops, it_connection_hops)) Loading Loading
src/service/service/service_handlers/l3nm_gnmi_openconfig/StaticRouteGenerator.py +1 −1 Changes for src/service/service/service_handlers/l3nm_gnmi_openconfig/StaticRouteGenerator.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ class StaticRouteGenerator: num_connection_hops = len(connection_hop_list) if num_connection_hops % 2 != 0: raise Exception('Number of connection hops must be even') if num_connection_hops < 2: raise Exception('Number of connection hops must be >= 2') if num_connection_hops < 4: raise Exception('Number of connection hops must be >= 4') it_connection_hops = iter(connection_hop_list) return list(zip(it_connection_hops, it_connection_hops)) Loading
src/service/service/service_handlers/l3nm_gnmi_openconfig/VlanIdPropagator.py +1 −1 Changes for src/service/service/service_handlers/l3nm_gnmi_openconfig/VlanIdPropagator.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ class VlanIdPropagator: num_connection_hops = len(connection_hop_list) if num_connection_hops % 2 != 0: raise Exception('Number of connection hops must be even') if num_connection_hops < 2: raise Exception('Number of connection hops must be >= 2') if num_connection_hops < 4: raise Exception('Number of connection hops must be >= 4') it_connection_hops = iter(connection_hop_list) return list(zip(it_connection_hops, it_connection_hops)) Loading