X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwlaunchpad%2Fplugins%2Frwnsm%2Frift%2Ftasklets%2Frwnsmtasklet%2Fopenmano_nsm.py;h=c3b160330a7df57819f7b2fe349c4e6fee549207;hb=07da3570c19de04f015ade251dba8412daf2e280;hp=d3b86a6ac167a48e1a2cd66939d77499b1e96c14;hpb=6b732c720ec31351624871f83ab156e50d93c940;p=osm%2FSO.git diff --git a/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/openmano_nsm.py b/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/openmano_nsm.py index d3b86a6a..c3b16033 100644 --- a/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/openmano_nsm.py +++ b/rwlaunchpad/plugins/rwnsm/rift/tasklets/rwnsmtasklet/openmano_nsm.py @@ -312,7 +312,7 @@ class OpenmanoNsr(object): ip_profile = {} if vld_msg.vim_network_name: network["netmap-use"] = vld_msg.vim_network_name - elif vlr._ip_profile.has_field("ip_profile_params"): + elif vlr._ip_profile and vlr._ip_profile.has_field("ip_profile_params"): ip_profile_params = vlr._ip_profile.ip_profile_params if ip_profile_params.ip_version == "ipv6": ip_profile['ip-version'] = "IPv6"