summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-08-15 11:14:56 +0100
committerGitHub <noreply@github.com>2024-08-15 11:14:56 +0100
commit1ffdf48642e454d7f9ddead8d79f19b96dea00d4 (patch)
tree28997c9c1c5eb755fae9e4f45e819904127043af /python
parent2aa26f836caf777255a06083208ee7bb9dab4726 (diff)
parent01d8406b9ad127c7a450731430744816c297f5cf (diff)
downloadvyos-1x-1ffdf48642e454d7f9ddead8d79f19b96dea00d4.tar.gz
vyos-1x-1ffdf48642e454d7f9ddead8d79f19b96dea00d4.zip
Merge pull request #3985 from vyos/mergify/bp/circinus/pr-3980
op_mode: T6651: Add a top level op mode word "execute" (backport #3980)
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 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