Skip to content

Commit 3818189

Browse files
abdosipull[bot]
authored andcommitted
[chassisd]: Add alternate to the bridge interface created on chassis supervisor. (#16505)
Add alternate name eth1-midplane to Linux bridge br1 created on supervisor on some chassis platforms. See description here: #16504 Signed-off-by: Abhishek Dosi <[email protected]>
1 parent 31f5573 commit 3818189

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

files/build_templates/docker_image_ctl.j2

+3
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ function postStartAction()
191191
ip link add name ns-eth1"$NET_NS" type veth peer name eth1@"$NET_NS"
192192
ip link set dev eth1@"$NET_NS" master br1
193193
ip link set dev eth1@"$NET_NS" up
194+
# For chassis system where Linux bridge is used on supervisor for midplane communication
195+
# assign alternate name as eth1-midplane for generic design
196+
ip link property add dev br1 altname eth1-midplane
194197
else
195198
ip link add name ns-eth1"$NET_NS" link eth1-midplane type macvlan mode bridge
196199
fi

0 commit comments

Comments
 (0)