mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-31 01:57:48 +00:00 
			
		
		
		
	[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 <abdosi@microsoft.com>
This commit is contained in:
		| @@ -191,6 +191,9 @@ function postStartAction() | ||||
|                    ip link add name ns-eth1"$NET_NS" type veth peer name eth1@"$NET_NS" | ||||
|                    ip link set dev eth1@"$NET_NS" master br1 | ||||
|                    ip link set dev eth1@"$NET_NS" up | ||||
|                    # For chassis system where Linux bridge is used on supervisor for midplane communication | ||||
|                    # assign alternate name as eth1-midplane for generic design | ||||
|                    ip link property add dev br1 altname eth1-midplane | ||||
|            else | ||||
|                    ip link add name ns-eth1"$NET_NS" link eth1-midplane type macvlan mode bridge | ||||
|            fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 abdosi
					abdosi