From: Felipe Vicens Date: Wed, 27 May 2020 18:09:22 +0000 (+0200) Subject: Fix netslice-subnet vnf instantiation parameter X-Git-Tag: release-v8.0-start~9 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F8984%2F1;p=osm%2Fosmclient.git Fix netslice-subnet vnf instantiation parameter Change-Id: If9f1a66cf505270c50d73aebf47ea718c7a6da05 Signed-off-by: Felipe Vicens --- diff --git a/osmclient/sol005/nsi.py b/osmclient/sol005/nsi.py index be1deea..20065b7 100644 --- a/osmclient/sol005/nsi.py +++ b/osmclient/sol005/nsi.py @@ -195,7 +195,7 @@ class Nsi(object): vim_network_name_dict[get_vim_account_id(vim_account)] = vim_net vld["vim-network-name"] = vim_network_name_dict if "vnf" in nssubnet: - for vnf in nsi_config["vnf"]: + for vnf in nssubnet["vnf"]: if vnf.get("vim_account"): vnf["vimAccountId"] = get_vim_account_id(vnf.pop("vim_account")) nsi["netslice-subnet"] = nsi_config["netslice-subnet"]