diff options
author | Neale Ranns <nranns@cisco.com> | 2019-10-22 12:32:49 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-10-29 20:24:52 +0000 |
commit | ae36a85c86b22a7a0e7c01cdd6a12ba05fa12354 (patch) | |
tree | 1efe661a519b004b5078f759c6b9212bb60b50a3 | |
parent | 9a4e5878b0b4d1d25d3b62ce6590a3ac3009ea43 (diff) |
gbp: missing contract hash-mode setting
Type: fix
Change-Id: Ia0f1e88b43e861d3f6965076c73cc48fb9574da3
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit bb098f176433d435471161f8be297d43b3558f4f)
-rw-r--r-- | src/plugins/gbp/test/test_gbp.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/gbp/test/test_gbp.py b/src/plugins/gbp/test/test_gbp.py index 09362e4fa89..c7cdab891cb 100644 --- a/src/plugins/gbp/test/test_gbp.py +++ b/src/plugins/gbp/test/test_gbp.py @@ -4950,10 +4950,12 @@ class TestGBP(VppTestCase): self, 44, 4220, 4221, acl_index, [VppGbpContractRule( VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT, + VppEnum.vl_api_gbp_hash_mode_t.GBP_API_HASH_MODE_SRC_IP, []), - VppGbpContractRule( - VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT, - [])], + VppGbpContractRule( + VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT, + VppEnum.vl_api_gbp_hash_mode_t.GBP_API_HASH_MODE_SRC_IP, + [])], [ETH_P_IP, ETH_P_IPV6]) c_44.add_vpp_config() self.send_and_assert_no_replies(self.pg0, p * 1) |