X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fvim_thread.py;h=733dfc248ff4fd689372aabc62d0fa8d40b10118;hb=a85c54de5c5d1f951b27082a21e5654e15712529;hp=38a73d12e1cc68253595caf44fbff76d4ddfd1f6;hpb=1fa49b16e92ff2e4f512ccc466fdc3dff31559e4;p=osm%2FRO.git diff --git a/osm_ro/vim_thread.py b/osm_ro/vim_thread.py index 38a73d12..733dfc24 100644 --- a/osm_ro/vim_thread.py +++ b/osm_ro/vim_thread.py @@ -958,13 +958,14 @@ class vim_thread(threading.Thread): # CREATE params = task["params"] action_text = "creating VIM" - vim_net_id, created_items = self.vim.new_network(*params[0:3]) + + vim_net_id, created_items = self.vim.new_network(*params[0:5]) net_name = params[0] net_type = params[1] wim_account_name = None - if len(params) >= 4: - wim_account_name = params[3] + if len(params) >= 5: + wim_account_name = params[5] sdn_controller = self.vim.config.get('sdn-controller') if sdn_controller and (net_type == "data" or net_type == "ptp"):