aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2020-01-31 10:17:29 +0100
committerOle Trøan <otroan@employees.org>2020-02-26 11:45:25 +0000
commit00ec4019b399132a72467ed4c3fb039d4f2466b7 (patch)
tree72fc06bcc5ee1376b24bfe94413a5b8b2ef7067c /test
parent908965db7e3075ba7bacd924bfb0df203fe6cc7d (diff)
sr: API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I6238ec79b916c23c07c3f7e2ac8e635f5a0d6112 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/vpp_papi_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 789e3c083d5..f9c72fa0d29 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -926,7 +926,7 @@ class VppPapiProvider(object):
return self.api(self.papi.sr_mpls_policy_add,
{'bsid': bsid,
'weight': weight,
- 'type': type,
+ 'is_spray': type,
'n_segments': len(segments),
'segments': segments})