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:
committed by
Ole Trøan
parent
908965db7e
commit
00ec4019b3
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user