From ee15f2e50b074c18409e0295205e391a1d5df748 Mon Sep 17 00:00:00 2001 From: Isabel Lloret Date: Fri, 25 Apr 2025 10:52:04 +0200 Subject: [PATCH] feature 11052: support for opening a console for vCenter Change-Id: Ifefb518e97ac7fb39f86db22e4201385603a3fe1 Signed-off-by: Isabel Lloret --- osm_nbi/instance_topics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py index 3eb14d2..8074d3a 100644 --- a/osm_nbi/instance_topics.py +++ b/osm_nbi/instance_topics.py @@ -1492,9 +1492,10 @@ class NsLcmOpTopic(BaseTopic): "start", "stop", "rebuild", + "console", ): raise EngineException( - f"The operate type should be either start, stop or rebuild not {indata['operateVnfData']['changeStateTo']}", + f"The operate type should be either start, stop, console or rebuild not {indata['operateVnfData']['changeStateTo']}", http_code=HTTPStatus.UNPROCESSABLE_ENTITY, ) if indata["operateVnfData"].get("additionalParam"): -- 2.25.1