feature 11052: support for opening a console for vCenter 81/15181/3
authorIsabel Lloret <illoret@indra.es>
Fri, 25 Apr 2025 08:52:04 +0000 (10:52 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 19 Jun 2025 14:48:42 +0000 (16:48 +0200)
Change-Id: Ifefb518e97ac7fb39f86db22e4201385603a3fe1
Signed-off-by: Isabel Lloret <illoret@indra.es>
osm_nbi/instance_topics.py

index 3eb14d2..8074d3a 100644 (file)
@@ -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"):