Skip to content

Commit eef859b

Browse files
author
Shuotian Cheng
authored
[interfaces]: Do not bring up LAG members when LAG is not up (#480)
- Do not bring up LAG member ports when LAG is not created. This is because LAG member ports must be DOWN when joining the teamd instances due to teamd design. Therefore, we cannot bring up a LAG member port first and then join the port to a LAG. Signed-off-by: Shuotian Cheng <[email protected]>
1 parent 6dbe979 commit eef859b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/image_config/interfaces/interfaces.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ auto {{ member }}
7676
allow-hotplug {{ member }}
7777
iface {{ member }} inet manual
7878
pre-up teamdctl {{ pc }} port add {{ member }} || true
79-
post-up ifconfig {{ member }} up
79+
post-up ip link show {{ pc }} && ifconfig {{ member }} up
8080
post-down ifconfig {{ member }} down
8181
#
8282
{% endfor %}

0 commit comments

Comments
 (0)