From: garciadeblas Date: Mon, 23 Apr 2018 15:15:56 +0000 (+0200) Subject: osmclient: sol005.ns create now uses datacenter id X-Git-Tag: v4.0.0~24 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=c04a7061925ef668f67355639a262e9b4f402197;p=osm%2Fosmclient.git osmclient: sol005.ns create now uses datacenter id Change-Id: I67cb2e6d675974e20404400d6e7a0c0b91557bc3 Signed-off-by: garciadeblas --- 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'