summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-14 22:49:34 +0200
committerGitHub <noreply@github.com>2024-08-14 22:49:34 +0200
commit0988185158e4d7b24816c55a8ce47baf3e2a2e71 (patch)
tree93327248f12247b2fee86c6a36c1dbd927e19d04 /python
parent4806d8755314f0ea3d21a1198e85b6d7ab0d0000 (diff)
parent69ab44309d56d73d92c2f8a7b0b4ca3016e61ff6 (diff)
downloadvyos-1x-0988185158e4d7b24816c55a8ce47baf3e2a2e71.tar.gz
vyos-1x-0988185158e4d7b24816c55a8ce47baf3e2a2e71.zip
Merge pull request #3980 from natali-rs1985/T6651-current
op_mode: T6651: Add a top level op mode word "execute"
Diffstat (limited to 'python')
-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 a6c64adfb..066c8058f 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -89,7 +89,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