From 6d40da28d2152a84c564bdd8ce2ff54dbdd9d114 Mon Sep 17 00:00:00 2001 From: Ananda Baitharu Date: Mon, 14 Jan 2019 13:05:58 +0000 Subject: [PATCH] Bug 620 VCD VIMconnector: new_network api is going to create "Isolated" type network Change-Id: I06f5c877859c488d309baa0d595cb6e6c23f9961 Signed-off-by: Ananda Baitharu --- osm_ro/vimconn_vmware.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/osm_ro/vimconn_vmware.py b/osm_ro/vimconn_vmware.py index fe118926..4a5ab972 100644 --- a/osm_ro/vimconn_vmware.py +++ b/osm_ro/vimconn_vmware.py @@ -3695,7 +3695,7 @@ class vimconnector(vimconn.vimconnector): #Creating all networks as Direct Org VDC type networks. #Unused in case of Underlay (data/ptp) network interface. - fence_mode="bridged" + fence_mode="isolated" is_inherited='false' dns_list = dns_address.split(";") dns1 = dns_list[0] @@ -3720,13 +3720,12 @@ class vimconnector(vimconn.vimconnector): - - {10:s} + {9:s} - {11:s} + {10:s} """.format(escape(network_name), is_inherited, gateway_address, subnet_address, dns1, dns2_text, dhcp_enabled, - dhcp_start_address, dhcp_end_address, available_networks, + dhcp_start_address, dhcp_end_address, fence_mode, isshared) headers['Content-Type'] = 'application/vnd.vmware.vcloud.orgVdcNetwork+xml' -- 2.25.1