networkop / k8s-topo

Topology builder for network simulations inside K8S
BSD 3-Clause "New" or "Revised" License
72 stars 18 forks source link

adapt init-wait for srlinux containers #15

Closed hellt closed 3 years ago

hellt commented 3 years ago

srlinux containers use a named dataplane interfaces

eX-Y - where

this change makes init-wait to sense those interfaces

Output from the init-wait container of a srlinux pod

/ # ls -1v /sys/class/net/ | grep 'eth\|ens\|eno\|^e[0-9]'
eth0
e1-1
e1-2