name: srlinux mgmt: network: fixedips ipv4-subnet: 172.100.100.0/24 ipv6-subnet: 2001:172:100:100::/80 topology: nodes: switch: kind: srl type: ixr6 image: ghcr.io/nokia/srlinux group: leaf mgmt-ipv4: 172.100.100.2 mgmt-ipv6: 2001:172:100:100::2 exec: - sr_cli -e -- set / interface ethernet-1/1 subinterface 0 ipv4 address 172.16.1.1/24 - sr_cli -e -- set / interface ethernet-1/2 subinterface 0 ipv4 address 172.16.2.1/24 - sr_cli -e -- set / interface ethernet-1/3 subinterface 0 ipv4 address 172.100.100.6/24 - sr_cli -e -- set / network-instance default type ip-vrf - sr_cli -e -- set / network-instance default admin-state enable - sr_cli -e -- set / network-instance default interface ethernet-1/1.0 - sr_cli -e -- set / network-instance default interface ethernet-1/2.0 - sr_cli -e -- set / network-instance default interface ethernet-1/3.0 - sr_cli -e -- set / system sflow admin-state enable - sr_cli -e -- set / system sflow sample-rate 10 - sr_cli -e -- set / system sflow collector 1 collector-address 172.100.100.5 - sr_cli -e -- set / system sflow collector 1 source-address 172.100.100.6 - sr_cli -e -- set / system sflow collector 1 network-instance default - sr_cli -e -- set / interface ethernet-1/1 sflow admin-state enable - sr_cli -ec -- set / interface ethernet-1/2 sflow admin-state enable h1: kind: linux image: sflow/clab-iperf3 group: server mgmt-ipv4: 172.100.100.3 mgmt-ipv6: 2001:172:100:100::3 exec: - ip link set dev eth1 mtu 1500 - ip addr add 172.16.1.2/24 dev eth1 - ip route add 172.16.2.0/24 via 172.16.1.1 h2: kind: linux image: sflow/clab-iperf3 group: server mgmt-ipv4: 172.100.100.4 mgmt-ipv6: 2001:172:100:100::4 exec: - ip link set dev eth1 mtu 1500 - ip addr add 172.16.2.2/24 dev eth1 - ip route add 172.16.1.0/24 via 172.16.2.1 sflow-rt: kind: linux image: sflow/clab-sflow-rt mgmt-ipv4: 172.100.100.5 mgmt-ipv6: 2001:172:100:100::5 ports: - 8008:8008 links: - endpoints: ["switch:e1-1", "h1:eth1"] - endpoints: ["switch:e1-2", "h2:eth1"] - endpoints: ["switch:e1-3", "mgmt-net:switch-e1-3"]