GithubHelp home page GithubHelp logo

InitVirtualWiring broken about containerlab HOT 3 CLOSED

srl-labs avatar srl-labs commented on June 15, 2024
InitVirtualWiring broken

from containerlab.

Comments (3)

hellt avatar hellt commented on June 15, 2024

as far as I see, now we don't create veth pairs with clab prefix anymore. We instead use the random number appended to the veth interface name.

For instance, for a newly deployed lab this will be the list of system interfaces:

❯ ip l show type veth
201: vetha594cb9@if200: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-1f7df5cf627e state UP mode DEFAULT group default
    link/ether 8e:37:42:54:ec:07 brd ff:ff:ff:ff:ff:ff link-netnsid 0
203: veth726af48@if202: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-1f7df5cf627e state UP mode DEFAULT group default
    link/ether 72:53:d8:ba:f6:8e brd ff:ff:ff:ff:ff:ff link-netnsid 1

So in the future we can remove the InitVirtualWiring part where the clab- interfaces get deleted altogether, since the latest published containerlab version (0.7.0) won't create such interfaces

The following command can be used to remove those interfaces manually:

ip l show type veth | grep clab | awk '{print $2}' | cut -d '@' -f1 | xargs -n1 ip l del

from containerlab.

henderiw avatar henderiw commented on June 15, 2024

we might just have a cleanup option that destroys the interfaces that are hanging

from containerlab.

hellt avatar hellt commented on June 15, 2024

the root cause of the issue has been identified, the fix is in f5b46c0

from containerlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.