X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=osm_ro%2Fvim_thread.py;h=8d44f4728905c1b5fd2c413d9d4ae45d2de759b1;hb=refs%2Ftags%2Fv5.0.4;hp=57ced9cfaf27055c99a1d7857ff2bd4f6355de73;hpb=4070e445031751ffe371b44928580f0ff6f383c9;p=osm%2FRO.git diff --git a/osm_ro/vim_thread.py b/osm_ro/vim_thread.py index 57ced9cf..8d44f472 100644 --- a/osm_ro/vim_thread.py +++ b/osm_ro/vim_thread.py @@ -1003,7 +1003,9 @@ class vim_thread(threading.Thread): net_name = params[0] net_type = params[1] - wim_account_name = params[3] + wim_account_name = None + if len(params) >= 4: + wim_account_name = params[3] sdn_controller = self.vim.config.get('sdn-controller') if sdn_controller and (net_type == "data" or net_type == "ptp"):