summaryrefslogtreecommitdiff
path: root/python/vyos/opmode.py
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-08-14 13:20:46 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2024-08-14 13:20:46 +0300
commit69ab44309d56d73d92c2f8a7b0b4ca3016e61ff6 (patch)
tree981d7be72fa20bc4043a74e1631eca4d5e092254 /python/vyos/opmode.py
parente229d7498cc77298c79af9811a742f3ad54edf4c (diff)
downloadvyos-1x-69ab44309d56d73d92c2f8a7b0b4ca3016e61ff6.tar.gz
vyos-1x-69ab44309d56d73d92c2f8a7b0b4ca3016e61ff6.zip
op_mode: T6651: Add a top level op mode word "execute"
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 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