From d6c589429ab412fb5f0086cfc41de5d670eea24b Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 23 Apr 2018 17:15:56 +0200 Subject: [PATCH] osmclient: sol005.ns create now uses datacenter id Change-Id: I67cb2e6d675974e20404400d6e7a0c0b91557bc3 Signed-off-by: garciadeblas --- osmclient/sol005/ns.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/osmclient/sol005/ns.py b/osmclient/sol005/ns.py index 4134f77..b1678cf 100644 --- a/osmclient/sol005/ns.py +++ b/osmclient/sol005/ns.py @@ -96,9 +96,7 @@ class Ns(object): ns['nsdId'] = nsd['_id'] ns['nsName'] = nsr_name ns['nsDescription'] = description - #ns['vimAccountId'] = datacenter['_id'] - # TODO: Fix it to use datacenter _id - ns['vimAccountId'] = datacenter['name'] + ns['vimAccountId'] = datacenter['_id'] #ns['userdata'] = {} #ns['userdata']['key1']='value1' #ns['userdata']['key2']='value2' -- 2.25.1