aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-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(