aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/GBP.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-12-12 17:43:36 +0100
committerJan Gelety <jgelety@cisco.com>2019-12-12 17:43:36 +0100
commit9d8845d77648b93293c4d622c2529e4e2f4dc25f (patch)
treebead22f400f3c98027f40ec78665b022209fddc9 /resources/libraries/python/GBP.py
parent476268f14a5e02fed3ea9cce87c815c87aad146c (diff)
CSIT-1597, CSIT-1647 API cleanup: gbp
- cover API changes in VPP: https://gerrit.fd.io/r/c/vpp/+/23835 - update vpp stable to version 20.01-rc0~843 Change-Id: Idb1299cbbba578c09542c23858fb1fc55d090f26 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/GBP.py')
-rw-r--r--resources/libraries/python/GBP.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/GBP.py b/resources/libraries/python/GBP.py
index 59dd269d95..f0d07a12b7 100644
--- a/resources/libraries/python/GBP.py
+++ b/resources/libraries/python/GBP.py
@@ -246,7 +246,7 @@ class GBP:
err_msg = u"Failed to add external GBP interface on {node[u'host']}!"
args_in = dict(
- is_add=1,
+ is_add=True,
ext_itf=dict(
sw_if_index=sw_if_index,
bd_id=bd_id,
@@ -281,7 +281,7 @@ class GBP:
err_msg = f"Failed to add GBP subnet on {node[u'host']}!"
args_in = dict(
- is_add=1,
+ is_add=True,
subnet=dict(
type=getattr(GBPSubnetType, u"GBP_API_SUBNET_L3_OUT").value,
sw_if_index=sw_if_index,
@@ -330,7 +330,7 @@ class GBP:
rules = [rule_permit, rule_permit]
args_in = dict(
- is_add=1,
+ is_add=True,
contract=dict(
acl_index=acl_index,
sclass=sclass,