diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-06-25 15:00:37 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-06-25 15:00:37 +0000 |
commit | 9431383abc926ca4513928c56924e942ea250cc8 (patch) | |
tree | a2ecf9ee944c5e113f4003c6d32d17b6819edbad /interface-definitions/interfaces-bonding.xml.in | |
parent | c8ef5e8bdce01bbf05297df39e6c6223d0b2a2ea (diff) | |
download | vyos-1x-9431383abc926ca4513928c56924e942ea250cc8.tar.gz vyos-1x-9431383abc926ca4513928c56924e942ea250cc8.zip |
T3649: bonding: Add additional hash policies
Diffstat (limited to 'interface-definitions/interfaces-bonding.xml.in')
-rw-r--r-- | interface-definitions/interfaces-bonding.xml.in | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in index 2efdaea3d..4bfc6e730 100644 --- a/interface-definitions/interfaces-bonding.xml.in +++ b/interface-definitions/interfaces-bonding.xml.in @@ -60,7 +60,7 @@ <properties> <help>Bonding transmit hash policy</help> <completionHelp> - <list>layer2 layer2+3 layer3+4</list> + <list>layer2 layer2+3 layer3+4 encap2+3 encap3+4</list> </completionHelp> <valueHelp> <format>layer2</format> @@ -74,10 +74,18 @@ <format>layer3+4</format> <description>combine IP address and port to make hash</description> </valueHelp> + <valueHelp> + <format>encap2+3</format> + <description>combine encapsulated MAC address and IP address to make hash</description> + </valueHelp> + <valueHelp> + <format>encap3+4</format> + <description>combine encapsulated IP address and port to make hash</description> + </valueHelp> <constraint> - <regex>^(layer2\+3|layer3\+4|layer2)$</regex> + <regex>^(layer2\+3|layer3\+4|layer2|encap2\+3|encap3\+4)$</regex> </constraint> - <constraintErrorMessage>hash-policy must be layer2 layer2+3 or layer3+4</constraintErrorMessage> + <constraintErrorMessage>hash-policy must be layer2 layer2+3 layer3+4 encap2+3 or encap3+4</constraintErrorMessage> </properties> <defaultValue>layer2</defaultValue> </leafNode> |