Commit e929a740 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

End-to-end test - L2 VPN gNMI OpenConfig:

- Fixed TFS Topology
parent eb777774
Loading
Loading
Loading
Loading
+30 −4
Original line number Diff line number Diff line
@@ -49,6 +49,17 @@
                    "username": "admin", "password": "admin", "use_tls": false
                }}}
            ]}
        },
        {
            "device_id": {"device_uuid": {"uuid": "r3"}}, "device_type": "packet-router",
            "device_drivers": ["DEVICEDRIVER_GNMI_OPENCONFIG"],
            "device_config": {"config_rules": [
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.20.20.103"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "6030"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": {
                    "username": "admin", "password": "admin", "use_tls": false
                }}}
            ]}
        }
    ],
    "links": [
@@ -67,6 +78,21 @@
            ]
        },

        {
            "link_id": {"link_uuid": {"uuid": "r2/Ethernet3==r3/Ethernet2"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}},
                {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}}
            ]
        },
        {
            "link_id": {"link_uuid": {"uuid": "r3/Ethernet2==r2/Ethernet3"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}},
                {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}}
            ]
        },

        {
            "link_id": {"link_uuid": {"uuid": "r1/Ethernet10==dc1/eth1"}},
            "link_endpoint_ids": [
@@ -83,17 +109,17 @@
        },

        {
            "link_id": {"link_uuid": {"uuid": "r2/Ethernet10==dc2/eth1"}},
            "link_id": {"link_uuid": {"uuid": "r3/Ethernet10==dc2/eth1"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}},
                {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}},
                {"device_id": {"device_uuid": {"uuid": "dc2"}}, "endpoint_uuid": {"uuid": "eth1"}}
            ]
        },
        {
            "link_id": {"link_uuid": {"uuid": "dc2/eth1==r2/Ethernet10"}},
            "link_id": {"link_uuid": {"uuid": "dc2/eth1==r3/Ethernet10"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "dc2"}}, "endpoint_uuid": {"uuid": "eth1"}},
                {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}
                {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}
            ]
        }
    ]