summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/test/test_gbp.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-10-22 12:32:49 +0000
committerOle Trøan <otroan@employees.org>2019-10-22 13:52:31 +0000
commitbb098f176433d435471161f8be297d43b3558f4f (patch)
tree88b9c74d3a9b9fbbfeeed31d3a1a0511790d4568 /src/plugins/gbp/test/test_gbp.py
parent89b24950005914317c142149fa1ba8a167a978ca (diff)
gbp: missing contract hash-mode setting
Type: fix Change-Id: Ia0f1e88b43e861d3f6965076c73cc48fb9574da3 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/test/test_gbp.py')
-rw-r--r--src/plugins/gbp/test/test_gbp.py8
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)