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

End-to-end test - SNS4SNS 2026:

- Updated topology descriptor
- Updated config files
- Updated scripts
parent 904df114
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -30,12 +30,7 @@ management api netconf
!
interface Ethernet1
!
interface Ethernet9
!
interface Ethernet10
   no switchport
   ip address 192.168.252.5/24
   mtu 1400
interface Ethernet3
!
interface Management0
   ip address 172.20.20.102/24
+52 −0
Original line number Diff line number Diff line
! Command: show running-config
! device: r3 (cEOSLab, EOS-4.34.4M-45127473.4344M (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$Fu.Mcm.e.zgLUCv9$bEp3TJMx3.6GqNcx5MpLEpWyNgVrvjW6zDXhbu7.iIeqIuH7z0rN7zGnSWU18lIGI7B9BK3ShmPIYsF7hPLup/
!
management api http-commands
   no shutdown
!
no service interface inactive port-id allocation disabled
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname r3
!
spanning-tree mode mstp
!
system l1
   unsupported speed action error
   unsupported error-correction action error
!
management api gnmi
   transport grpc default
!
management api netconf
   transport ssh default
!
interface Ethernet2
!
interface Ethernet10
   no switchport
   ip address 192.168.252.5/24
   mtu 1400
!
interface Management0
   ip address 172.20.20.103/24
!
ip routing
!
ip route 0.0.0.0/0 172.20.20.1
!
router multicast
   ipv4
      software-forwarding kernel
   !
   ipv6
      software-forwarding kernel
!
end
+7 −1
Original line number Diff line number Diff line
@@ -45,7 +45,13 @@ topology:
      mgmt-ipv4: 172.20.20.102
      startup-config: r2-startup.cfg

    r3:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.103
      startup-config: r3-startup.cfg

  links:
    - endpoints: ["r1:eth2", "r2:eth1"]
    - endpoints: ["r2:eth3", "r3:eth2"]
    - endpoints: ["r1:eth10", "macvlan:enp0s4"] # connect to site A virtual network
    - endpoints: ["r2:eth10", "macvlan:enp0s5"] # connect to site B virtual network
    - endpoints: ["r3:eth10", "macvlan:enp0s5"] # connect to site B virtual network
+2 −2
Original line number Diff line number Diff line
[
  {"service_endpoint_id": "SiteA", "device-id": "cluster-a", "service_mapping_info": {"bearer": {"bearer-reference": "SNS4SNS26:SiteA"}, "site-id": "A"}},
  {"service_endpoint_id": "SiteB", "device-id": "cluster-b", "service_mapping_info": {"bearer": {"bearer-reference": "SNS4SNS26:SiteB"}, "site-id": "B"}}
  {"service_endpoint_id": "SiteA", "device-id": "router-1", "service_mapping_info": {"bearer": {"bearer-reference": "SNS4SNS26:SiteA"}, "site-id": "A"}},
  {"service_endpoint_id": "SiteB", "device-id": "router-3", "service_mapping_info": {"bearer": {"bearer-reference": "SNS4SNS26:SiteB"}, "site-id": "B"}}
]
+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": "router-3"}}, "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": "router-2/Ethernet3==router-3/Ethernet2"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "router-2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}},
                {"device_id": {"device_uuid": {"uuid": "router-3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}}
            ]
        },
        {
            "link_id": {"link_uuid": {"uuid": "router-3/Ethernet2==router-2/Ethernet3"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "router-3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}},
                {"device_id": {"device_uuid": {"uuid": "router-2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}}
            ]
        },

        {
            "link_id": {"link_uuid": {"uuid": "router-1/Ethernet10==cluster-a/eth1"}},
            "link_endpoint_ids": [
@@ -83,17 +109,17 @@
        },

        {
            "link_id": {"link_uuid": {"uuid": "router-2/Ethernet10==cluster-b/eth1"}},
            "link_id": {"link_uuid": {"uuid": "router-3/Ethernet10==cluster-b/eth1"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "router-2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}},
                {"device_id": {"device_uuid": {"uuid": "router-3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}},
                {"device_id": {"device_uuid": {"uuid": "cluster-b"}}, "endpoint_uuid": {"uuid": "eth1"}}
            ]
        },
        {
            "link_id": {"link_uuid": {"uuid": "cluster-b/eth1==router-2/Ethernet10"}},
            "link_id": {"link_uuid": {"uuid": "cluster-b/eth1==router-3/Ethernet10"}},
            "link_endpoint_ids": [
                {"device_id": {"device_uuid": {"uuid": "cluster-b"}}, "endpoint_uuid": {"uuid": "eth1"}},
                {"device_id": {"device_uuid": {"uuid": "router-2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}
                {"device_id": {"device_uuid": {"uuid": "router-3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}
            ]
        }
    ]
Loading