From: Isabel Lloret Date: Fri, 25 Apr 2025 08:52:04 +0000 (+0200) Subject: feature 11052: support for opening a console for vCenter X-Git-Tag: v18.0.0~16 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ee15f2e50b074c18409e0295205e391a1d5df748;p=osm%2FNBI.git feature 11052: support for opening a console for vCenter Change-Id: Ifefb518e97ac7fb39f86db22e4201385603a3fe1 Signed-off-by: Isabel Lloret --- 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"):