Fix netslice-subnet vnf instantiation parameter 84/8984/1
authorFelipe Vicens <felipe.vicens@atos.net>
Wed, 27 May 2020 18:09:22 +0000 (20:09 +0200)
committerFelipe Vicens <felipe.vicens@atos.net>
Wed, 27 May 2020 18:09:22 +0000 (20:09 +0200)
Change-Id: If9f1a66cf505270c50d73aebf47ea718c7a6da05
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
osmclient/sol005/nsi.py

index be1deea..20065b7 100644 (file)
@@ -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"]