-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[chassis] Configure midplane network on supervisor #11725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chassis] Configure midplane network on supervisor #11725
Conversation
wondering this change can be be handle in platform code ? Not all vendors/platform have br1 define on supervisor. Similar to creation of eth1-midplane is platform/vendor specific. |
I don't think we can easily move that change in platform code because all namespaces are created and destroyed here, that's the reason the entire logic was moved from interface-config to database.sh in #10500 Here we assume |
bfb2bc0
to
be4e77e
Compare
Multi-asic Docker instances are created behind Docker's default bridge which doesn't allow talking to other Docker instances that are in the host network (like database-chassis). On linecards, we configure midplane interfaces to let per-asic docker containers talk to CHASSIS_DB on the supervisor through internal chassis network. On the supervisor we don't need to use chassis internal network, but we still need a similar setup in order to allow fabric containers to talk to database-chassis
be4e77e
to
38a82d7
Compare
Hi @mlorrillere, not all platform need a software bridge to communicate between LC and Sup. So they dont need to create |
In practice this PR is already a noop on platforms that don't have |
As discussed offline, we will keep |
Hi @arlakshm , |
Multi-asic Docker instances are created behind Docker's default bridge which doesn't allow talking to other Docker instances that are in the host network (like database-chassis). On linecards, we configure midplane interfaces to let per-asic docker containers talk to CHASSIS_DB on the supervisor through internal chassis network. On the supervisor we don't need to use chassis internal network, but we still need a similar setup in order to allow fabric containers to talk to database-chassis
Why I did it
Multi-asic Docker instances are created behind Docker's default bridge
which doesn't allow talking to other Docker instances that are in the
host network (like database-chassis).
On linecards, we configure midplane interfaces to let per-asic docker
containers talk to CHASSIS_DB on the supervisor through internal chassis
network.
On the supervisor we don't need to use chassis internal network, but we
still need a similar setup in order to allow fabric containers to talk
to database-chassis
How I did it
Reusing existing code used to setup the midplane network on a linecard,
except that we only need a pair of veth interfaces on the supervisor to allow
per-asic docker instances access to the midplane subnet.