From 91f93e9042e27846474213b231f4319d7c08bb40 Mon Sep 17 00:00:00 2001 From: Felipe Vicens Date: Wed, 27 May 2020 20:09:22 +0200 Subject: [PATCH] Fix netslice-subnet vnf instantiation parameter Change-Id: If9f1a66cf505270c50d73aebf47ea718c7a6da05 Signed-off-by: Felipe Vicens --- osmclient/sol005/nsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"] -- 2.25.1