Commit 7a94e4c5 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

End-to-end test - SNS4SNS 2026:

- Added basic files
parent ff183f5c
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
! Command: show running-config
! device: r1 (cEOSLab, EOS-4.34.4M-45127473.4344M (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$v.q.IH8.dY2VUI8P$S6GkfbDxjEm8kHeU/5oEWrlcTFS2vBr4mPK4s8d0w2gi6wWR1jcajM8fqg93405IfDm6yLqSh4IC1AKbwIdKr/
!
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 r1
!
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 Ethernet9
!
interface Ethernet10
   no switchport
   ip address 192.168.251.5/24
   mtu 1400
!
interface Management0
   ip address 172.20.20.101/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
+54 −0
Original line number Diff line number Diff line
! Command: show running-config
! device: r2 (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 r2
!
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 Ethernet1
!
interface Ethernet9
!
interface Ethernet10
   no switchport
   ip address 192.168.252.5/24
   mtu 1400
!
interface Management0
   ip address 172.20.20.102/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
+51 −0
Original line number Diff line number Diff line
# Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Ref: https://containerlab.dev/manual/network/#macvlan-links
# Ref: https://containerlab.dev/manual/network/#host-links


# ETSI Joint SDG Lab

name: sns4sns26

mgmt:
  network: mgmt-net
  ipv4-subnet: 172.20.20.0/24
  mtu: 1400

topology:
  kinds:
    arista_ceos:
      kind: arista_ceos
      image: ceos:4.34.4M
    linux:
      kind: linux
      image: ghcr.io/hellt/network-multitool:latest

  nodes:
    r1:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.101
      startup-config: r1-startup.cfg

    r2:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.102
      startup-config: r2-startup.cfg

  links:
    - endpoints: ["r1:eth2", "r2:eth1"]
    - endpoints: ["r1:eth10", "macvlan:enp0s4"] # connect to site A virtual network
    - endpoints: ["r2:eth10", "macvlan:enp0s5"] # connect to site B virtual network
+6 −0
Original line number Diff line number Diff line
{
  "wim_ip": "10.0.2.10",
  "wim_port": 80,
  "wim_user": "admin",
  "wim_pass": "admin"
}
+4 −0
Original line number Diff line number Diff line
[
  {"service_endpoint_id": "R1-Eth10", "device-id": "r1", "service_mapping_info": {"bearer": {"bearer-reference": "SNS4SNS26:r1:Ethernet10"}, "site-id": "A"}},
  {"service_endpoint_id": "R2-Eth10", "device-id": "r2", "service_mapping_info": {"bearer": {"bearer-reference": "SNS4SNS26:r2:Ethernet10"}, "site-id": "B"}}
]
Loading