Commit d567a2d3 authored by Javier Velázquez's avatar Javier Velázquez Committed by Julien Satti
Browse files

Fix bug on "unmatched" strings

parent 2bd48024
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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"
        ]
        
@@ -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']}"
        ])