From 9431383abc926ca4513928c56924e942ea250cc8 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Fri, 25 Jun 2021 15:00:37 +0000 Subject: T3649: bonding: Add additional hash policies --- interface-definitions/interfaces-bonding.xml.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'interface-definitions/interfaces-bonding.xml.in') 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 @@ Bonding transmit hash policy - layer2 layer2+3 layer3+4 + layer2 layer2+3 layer3+4 encap2+3 encap3+4 layer2 @@ -74,10 +74,18 @@ layer3+4 combine IP address and port to make hash + + encap2+3 + combine encapsulated MAC address and IP address to make hash + + + encap3+4 + combine encapsulated IP address and port to make hash + - ^(layer2\+3|layer3\+4|layer2)$ + ^(layer2\+3|layer3\+4|layer2|encap2\+3|encap3\+4)$ - hash-policy must be layer2 layer2+3 or layer3+4 + hash-policy must be layer2 layer2+3 layer3+4 encap2+3 or encap3+4 layer2 -- cgit v1.2.3