From 69ab44309d56d73d92c2f8a7b0b4ca3016e61ff6 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 14 Aug 2024 13:20:46 +0300 Subject: op_mode: T6651: Add a top level op mode word "execute" --- python/vyos/opmode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.2.3