diff options
author | Neale Ranns <neale@graphiant.com> | 2021-01-22 16:12:38 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-01-28 09:47:56 +0000 |
commit | 3d5f08a825a978cd6853989a5df8c9b9811e7fb8 (patch) | |
tree | c12651cb21792551accced579d7949e3e1ae4a56 /src/plugins/gbp/test/test_gbp.py | |
parent | 86c7ff6a4c014b65af0d309173e89c2fe8377614 (diff) |
ip: Router ID included in flow hash
Type: feature
A device/router needs to have a unique ID which is included in the flow
has so that flows are not polarised through the network, i.e. each deice
in the network chooses the same nth link for the same flow.
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I963e03674adbb085902b4084fdc4886b88f5734c
Diffstat (limited to 'src/plugins/gbp/test/test_gbp.py')
-rw-r--r-- | src/plugins/gbp/test/test_gbp.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/gbp/test/test_gbp.py b/src/plugins/gbp/test/test_gbp.py index 7e0d5c18799..df3c3ad54f0 100644 --- a/src/plugins/gbp/test/test_gbp.py +++ b/src/plugins/gbp/test/test_gbp.py @@ -5234,8 +5234,8 @@ class TestGBP(VppTestCase): self.logger.info(self.vapi.cli("sh ip6 fib 10:222::1")) rxs = self.send_and_expect(self.pg0, p, self.pg7) - self.assertEqual(rxs[0][VXLAN].vni, 446) - self.assertEqual(rxs[1][VXLAN].vni, 445) + self.assertEqual(rxs[0][VXLAN].vni, 445) + self.assertEqual(rxs[1][VXLAN].vni, 446) # # ping from host in remote to local external subnets @@ -5368,8 +5368,8 @@ class TestGBP(VppTestCase): rxs = self.send_and_expect(self.pg0, p, self.pg0, 2) - self.assertEqual(rxs[0][Dot1Q].vlan, 100) - self.assertEqual(rxs[1][Dot1Q].vlan, 101) + self.assertEqual(rxs[0][Dot1Q].vlan, 101) + self.assertEqual(rxs[1][Dot1Q].vlan, 100) # two ip4 packets whose port are chosen so they load-balance p = [(Ether(src=lep1.mac, dst=str(self.router_mac)) / |