Skip to content

Adding ports with no links to them #395

Answered by hellt
teunvink asked this question in Q&A
Discussion options

You must be logged in to vote

a perfect place for questions, you are right.

in cEOS (and other containerized NOSes to my knowledge) you have to have a present interface for NOS to create a matching interface. There is not way around this, it seems.

What you can do, though, is to shunt those interfaces, making them dummy. A common thing would be to create a dummy linux bridge, which you can call br-dummy and then define your topology smth like that:

topology:
  nodes:
    ceos1:
    ceos2:
    br-dummy:
      kind: bridge

  links:
    - endpoints: ["ceos1:eth1", "ceos2:eth1"]
    - endpoints: ["ceos1:eth2", "br-dummy:ceos1-eth2"]
    - endpoints: ["ceos1:eth3", "br-dummy:ceos1-eth3"]
    - endpoints: ["ceos1:eth4", "b…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by teunvink
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hellt
Comment options

@teunvink
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants