X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fvim_thread.py;h=8d44f4728905c1b5fd2c413d9d4ae45d2de759b1;hb=0ea9b0f0cbd4c5567289c4c80c73de94901d7047;hp=57ced9cfaf27055c99a1d7857ff2bd4f6355de73;hpb=5751ab9862f721c76b132bdb84a9759ef0cbe659;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"):