X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=osmclient%2Fsol005%2Fns.py;h=b1678cff3fb79b03b2407bac6e408e48946b3702;hb=c04a7061925ef668f67355639a262e9b4f402197;hp=4134f77ba01a727c067b387861e2446479ef4773;hpb=5802354c1a0af36373dac6dc0719d8f8c51d7fc3;p=osm%2Fosmclient.git 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'