Fix name of the VN name param
Change-Id: Icc0404ee9d70d72f8791af27881a4250e3dd1de8
diff --git a/_modules/contrail.py b/_modules/contrail.py
index d38a71d..df33d78 100644
--- a/_modules/contrail.py
+++ b/_modules/contrail.py
@@ -1624,7 +1624,7 @@
vn_project])
# check if the network exists
vn_networks_list = vnc_client._objects_list('virtual_network')
- fq = [vn_domain, vn_project, vn_name]
+ fq = [vn_domain, vn_project, name]
for network in vn_networks_list['virtual-networks']:
if fq == network['fq_name']:
ret['comment'] = ("Virtual network with name "