Loading src/helpers.py +6 −6 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ class cisco_connector(): commands = [ "l2vpn", f"pw-class l2vpn_vpws_profile_example_{config["number"]}", f"pw-class l2vpn_vpws_profile_example_{config['number']}", "encapsulation mpls" ] Loading @@ -87,18 +87,18 @@ class cisco_connector(): ]) commands.extend([ f"preferred-path interface tunnel-te {config["number"]}", f"preferred-path interface tunnel-te {config['number']}", "exit", "exit" ]) commands.extend([ "xconnect group l2vpn_vpws_group_example", f"p2p {config["ni_name"]}", f"interface {config["interface"]}.{config["vlan"]}", f"neighbor ipv4 {config["remote_router"]} pw-id {config["vlan"]}", f"p2p {config['ni_name']}", f"interface {config['interface']}.{config['vlan']}", f"neighbor ipv4 {config['remote_router']} pw-id {config['vlan']}", "no pw-class l2vpn_vpws_profile_example", f"pw-class l2vpn_vpws_profile_example_{config["number"]}" f"pw-class l2vpn_vpws_profile_example_{config['number']}" ]) Loading Loading
src/helpers.py +6 −6 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ class cisco_connector(): commands = [ "l2vpn", f"pw-class l2vpn_vpws_profile_example_{config["number"]}", f"pw-class l2vpn_vpws_profile_example_{config['number']}", "encapsulation mpls" ] Loading @@ -87,18 +87,18 @@ class cisco_connector(): ]) commands.extend([ f"preferred-path interface tunnel-te {config["number"]}", f"preferred-path interface tunnel-te {config['number']}", "exit", "exit" ]) commands.extend([ "xconnect group l2vpn_vpws_group_example", f"p2p {config["ni_name"]}", f"interface {config["interface"]}.{config["vlan"]}", f"neighbor ipv4 {config["remote_router"]} pw-id {config["vlan"]}", f"p2p {config['ni_name']}", f"interface {config['interface']}.{config['vlan']}", f"neighbor ipv4 {config['remote_router']} pw-id {config['vlan']}", "no pw-class l2vpn_vpws_profile_example", f"pw-class l2vpn_vpws_profile_example_{config["number"]}" f"pw-class l2vpn_vpws_profile_example_{config['number']}" ]) Loading