mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Testing Done: tested master and 2.5_br images with testifupdown2 suite and hand tested This patch creates a json defaults file upon bootup (which can be overridden by customer configs in /etc) which the ethtool module in ifupdown2 will consult when "link-x" configs are removed in order to restore them to the initial settings used by the switch. (cherry picked from commit 8388664f5a5a85f2a813cafbf40ac92d7b86f4bf) Conflicts: packages/cl-utilities/dist-packages/cumulus/portconfig.py packages/cl-utilities/usrlib/update-ports tests/tests/smoke/testifupdown2.py
30 lines
448 B
Plaintext
30 lines
448 B
Plaintext
pre-up,ifenslave
|
|
pre-up,clagd
|
|
pre-up,vlan
|
|
pre-up,vxlan
|
|
pre-up,usercmds
|
|
pre-up,bridge
|
|
pre-up,bridgevlan
|
|
pre-up,mstpctl
|
|
up,dhcp
|
|
up,address
|
|
up,addressvirtual
|
|
up,usercmds
|
|
post-up,ethtool
|
|
post-up,usercmds
|
|
post-up,clagd
|
|
pre-down,usercmds
|
|
pre-down,ethtool
|
|
down,dhcp
|
|
down,addressvirtual
|
|
down,address
|
|
down,usercmds
|
|
post-down,clagd
|
|
post-down,mstpctl
|
|
post-down,bridgevlan
|
|
post-down,bridge
|
|
post-down,vxlan
|
|
post-down,vlan
|
|
post-down,ifenslave
|
|
post-down,usercmds
|