aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-11-28 21:13:26 +0100
committerJan Gelety <jgelety@cisco.com>2019-11-28 22:19:46 +0100
commitf6eacaa97848720c5fbb7949ca35c0d2ba49160b (patch)
tree4cfb60469eb21f557bedadbc1302b7ca225acb85 /resources
parentedc17958741ce7a99bf572129474d400a98c6dc4 (diff)
FIX: SRV6 proxy
Change-Id: I4afbb0261c21c800bf24e423e505307f596c0045 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/SRv6.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/libraries/python/SRv6.py b/resources/libraries/python/SRv6.py
index 4d21733c28..f0a2eaf7d4 100644
--- a/resources/libraries/python/SRv6.py
+++ b/resources/libraries/python/SRv6.py
@@ -159,10 +159,11 @@ class SRv6:
)
params = f"nh {next_hop} oif {out_if} iif {in_if}"
- cli_cmd = f"sr localsid address {local_sid} behavior {behavior}" \
+ cli_cmd = f"sr localsid address {local_sid} behavior {behavior} " \
f"{params}"
PapiSocketExecutor.run_cli_cmd(node, cli_cmd)
+ return
cmd = u"sr_localsid_add_del"
args = dict(