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>
This commit is contained in:
Jakub Grajciar
2020-01-31 10:17:29 +01:00
committed by Ole Trøan
parent 908965db7e
commit 00ec4019b3
5 changed files with 59 additions and 50 deletions
+1 -1
View File
@@ -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})