summaryrefslogtreecommitdiff
path: root/python/vyos/opmode.py
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-08-14 13:20:46 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-15 07:22:59 +0000
commit01d8406b9ad127c7a450731430744816c297f5cf (patch)
tree28997c9c1c5eb755fae9e4f45e819904127043af /python/vyos/opmode.py
parent2aa26f836caf777255a06083208ee7bb9dab4726 (diff)
downloadvyos-1x-01d8406b9ad127c7a450731430744816c297f5cf.tar.gz
vyos-1x-01d8406b9ad127c7a450731430744816c297f5cf.zip
op_mode: T6651: Add a top level op mode word "execute"
(cherry picked from commit 69ab44309d56d73d92c2f8a7b0b4ca3016e61ff6)
Diffstat (limited to 'python/vyos/opmode.py')
-rw-r--r--python/vyos/opmode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py
index b52da9d4e..55213c453 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -81,7 +81,7 @@ class InternalError(Error):
def _is_op_mode_function_name(name):
- if re.match(r"^(show|clear|reset|restart|add|update|delete|generate|set|renew|release)", name):
+ if re.match(r"^(show|clear|reset|restart|add|update|delete|generate|set|renew|release|execute)", name):
return True
else:
return False