topranks / wmf-clab

Set of scripts to create clab topology simulating WMF network
MIT License
1 stars 0 forks source link

Enable support for newer containerlab versions #2

Closed topranks closed 2 years ago

topranks commented 3 years ago

As mentioned in the Readme the newer versions of containerlab start crpd before the 802.1q sub-interfaces are added by the start script. When this happens the provided JunOS configuration does not load, as soon as crpd hits a reference to a sub-interface that does not exist.

Need to work out a way to avoid this, or with with containerlab devs to add support for "pre-up" scripts or way to define sub-interfaces.

topranks commented 2 years ago

Solved by moving to Homer / PyEz to push config after container init, rather than passing config to containerlab.