summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-09-15 13:56:10 +0300
committeraapostoliuk <a.apostoliuk@vyos.io>2023-10-03 09:53:32 +0300
commitaa0282ceb379df1ab3cc93e4bd019134d37f0d89 (patch)
tree5f564af277bee514d904a5ec7e797225e51d6746 /interface-definitions
parent9dd5ff064a37b4e884f7bd9fb7630bf7829fa1ad (diff)
downloadvyos-1x-aa0282ceb379df1ab3cc93e4bd019134d37f0d89.tar.gz
vyos-1x-aa0282ceb379df1ab3cc93e4bd019134d37f0d89.zip
bonding: T5254: Fixed changing ethernet when it is a bond member
If ethernet interface is a bond memeber: 1. Allow for changing only specific parameters which are specified in EthernetIf.get_bond_member_allowed_options function. 2. Added inheritable parameters from bond interface to ethernet interface which are scpecified in BondIf.get_inherit_bond_options. Users can change inheritable options under ethernet interface but in commit it will be copied from bond interface. 3. All other parameters are denied for changing. Added migration script. It deletes all denied parameters under ethernet interface if it is a bond member.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/version/interfaces-version.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/version/interfaces-version.xml.i b/interface-definitions/include/version/interfaces-version.xml.i
index 3d11ce888..76c5d3c05 100644
--- a/interface-definitions/include/version/interfaces-version.xml.i
+++ b/interface-definitions/include/version/interfaces-version.xml.i
@@ -1,3 +1,3 @@
<!-- include start from include/version/interfaces-version.xml.i -->
-<syntaxVersion component='interfaces' version='30'></syntaxVersion>
+<syntaxVersion component='interfaces' version='31'></syntaxVersion>
<!-- include end -->