Skip to content

where the containerlab can running? dind(docker in docker) or kubernetes pod? #967

Answered by hellt
BurlyLuo asked this question in General
Discussion options

You must be logged in to vote

I think if the only issue is with the manual interface naming, then it might be an overkill to put clab in its own container.

When you define links that connect to a bridge you can simply prepend them with a bridge name, for example

    # note, that the bridge br-clab must be created manually
    br-one:
      kind: bridge
    br-two:
      kind: bridge

  links:
    - endpoints: ["srl1:e1-1", "br-clab:br1-eth1"]
    - endpoints: ["srl2:e1-1", "br-clab:br1-eth2"]
    - endpoints: ["srl3:e1-1", "br-clab:br1-eth3"]

    - endpoints: ["srl1:e1-2", "br-clab:br2-eth1"]
    - endpoints: ["srl2:e1-2", "br-clab:br2-eth2"]
    - endpoints: ["srl3:e1-2", "br-clab:br2-eth3"]

since you anyhow need t…

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants