From ea4cd8034f92dd1507fe4b0e349820350b287ce2 Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Fri, 9 Feb 2018 14:42:50 -0600 Subject: [PATCH 1/7] [skip ci] Suggest subnet/gateway to static ip worker --- .../Group5-Functional-Tests/5-26-Static-IP-Address.robot | 5 ++++- tests/resources/Nimbus-Util.robot | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index f204ecd550..0f3d5adaba 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -29,7 +29,10 @@ Static IP Address Create Log To Console Finished Creating Cluster ${vc} Set Suite Variable @{list} ${esx1} ${esx2} ${esx3} %{NIMBUS_USER}-${vc} - ${out}= Get Static IP Address + # Need to suggest which subnet/gateway to install the static IP address worker into + ${pre} ${post}= Split String From Right ${vc-ip} . 1 + + ${out}= Get Static IP Address --gateway ${pre}.253 Set Suite Variable ${static} ${out} Append To List ${list} %{STATIC_WORKER_NAME} diff --git a/tests/resources/Nimbus-Util.robot b/tests/resources/Nimbus-Util.robot index 122de3a15c..e7ab6f7d66 100644 --- a/tests/resources/Nimbus-Util.robot +++ b/tests/resources/Nimbus-Util.robot @@ -440,10 +440,11 @@ Power Off Host Close connection Create Static IP Worker + [Arguments] ${suggested-gateway}=${EMPTY} Open Connection %{NIMBUS_GW} Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} Log To Console Create a new static ip address worker... - ${out}= Execute Command ${NIMBUS_LOCATION} nimbus-ctl --silentObjectNotFoundError kill '%{NIMBUS_USER}-static-worker' && ${NIMBUS_LOCATION} nimbus-worker-deploy --enableStaticIpService static-worker + ${out}= Execute Command ${NIMBUS_LOCATION} nimbus-ctl --silentObjectNotFoundError kill '%{NIMBUS_USER}-static-worker' && ${NIMBUS_LOCATION} nimbus-worker-deploy --enableStaticIpService static-worker ${suggested-gateway} Should Contain ${out} "deploy_status": "success" Set Environment Variable STATIC_WORKER_NAME %{NIMBUS_USER}-static-worker ${ip}= Get IP static-worker @@ -451,8 +452,9 @@ Create Static IP Worker Close Connection Get Static IP Address + [Arguments] ${suggested-gateway}=${EMPTY} ${status} ${message}= Run Keyword And Ignore Error Environment Variable Should Be Set STATIC_WORKER_IP - Run Keyword If '${status}' == 'FAIL' Create Static IP Worker + Run Keyword If '${status}' == 'FAIL' Create Static IP Worker ${suggested-gateway} Log To Console Curl a new static ip address from the created worker... ${out}= Run curl -s http://%{STATIC_WORKER_IP}:4827/nsips From 25eb9a50d9ac3733da14858dd830f528ec634e2a Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Mon, 12 Feb 2018 19:48:41 -0600 Subject: [PATCH 2/7] [skip ci] offical response is to make sure the static ip worker is on the correct pod --- .../Group5-Functional-Tests/5-26-Static-IP-Address.robot | 6 +++--- tests/resources/Nimbus-Util.robot | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index 0f3d5adaba..c5013a14b7 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -29,10 +29,10 @@ Static IP Address Create Log To Console Finished Creating Cluster ${vc} Set Suite Variable @{list} ${esx1} ${esx2} ${esx3} %{NIMBUS_USER}-${vc} - # Need to suggest which subnet/gateway to install the static IP address worker into - ${pre} ${post}= Split String From Right ${vc-ip} . 1 + ${pod}= Fetch POD %{NIMBUS_USER}-${vc} + Set Suite Variable ${NIMBUS_POD} NIMBUS_POD=${pod} - ${out}= Get Static IP Address --gateway ${pre}.253 + ${out}= Get Static IP Address Set Suite Variable ${static} ${out} Append To List ${list} %{STATIC_WORKER_NAME} diff --git a/tests/resources/Nimbus-Util.robot b/tests/resources/Nimbus-Util.robot index e7ab6f7d66..3092e1971d 100644 --- a/tests/resources/Nimbus-Util.robot +++ b/tests/resources/Nimbus-Util.robot @@ -440,11 +440,10 @@ Power Off Host Close connection Create Static IP Worker - [Arguments] ${suggested-gateway}=${EMPTY} Open Connection %{NIMBUS_GW} Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} Log To Console Create a new static ip address worker... - ${out}= Execute Command ${NIMBUS_LOCATION} nimbus-ctl --silentObjectNotFoundError kill '%{NIMBUS_USER}-static-worker' && ${NIMBUS_LOCATION} nimbus-worker-deploy --enableStaticIpService static-worker ${suggested-gateway} + ${out}= Execute Command ${NIMBUS_LOCATION} nimbus-ctl --silentObjectNotFoundError kill '%{NIMBUS_USER}-static-worker' && ${NIMBUS_POD} ${NIMBUS_LOCATION} nimbus-worker-deploy --enableStaticIpService static-worker Should Contain ${out} "deploy_status": "success" Set Environment Variable STATIC_WORKER_NAME %{NIMBUS_USER}-static-worker ${ip}= Get IP static-worker @@ -452,9 +451,8 @@ Create Static IP Worker Close Connection Get Static IP Address - [Arguments] ${suggested-gateway}=${EMPTY} ${status} ${message}= Run Keyword And Ignore Error Environment Variable Should Be Set STATIC_WORKER_IP - Run Keyword If '${status}' == 'FAIL' Create Static IP Worker ${suggested-gateway} + Run Keyword If '${status}' == 'FAIL' Create Static IP Worker Log To Console Curl a new static ip address from the created worker... ${out}= Run curl -s http://%{STATIC_WORKER_IP}:4827/nsips From efcba798de74085f9c5864ddd034f0ae172a7657 Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Tue, 13 Feb 2018 11:58:48 -0600 Subject: [PATCH 3/7] [skip ci] the official way to do this... --- .../5-26-Static-IP-Address.robot | 9 ++++++--- tests/resources/Nimbus-Util.robot | 15 +++++++++++---- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index c5013a14b7..1feb7fbbd4 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -29,12 +29,15 @@ Static IP Address Create Log To Console Finished Creating Cluster ${vc} Set Suite Variable @{list} ${esx1} ${esx2} ${esx3} %{NIMBUS_USER}-${vc} - ${pod}= Fetch POD %{NIMBUS_USER}-${vc} - Set Suite Variable ${NIMBUS_POD} NIMBUS_POD=${pod} + Open Connection %{NIMBUS_GW} + Wait Until Keyword Succeeds 2 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} + ${pod}= Fetch POD ${vc} + Set Suite Variable ${NIMBUS_POD} ${pod} + Close Connection ${out}= Get Static IP Address Set Suite Variable ${static} ${out} - Append To List ${list} %{STATIC_WORKER_NAME} + Append To List ${list} %{STATIC_WORKER_NAME} *** Test Cases *** Test diff --git a/tests/resources/Nimbus-Util.robot b/tests/resources/Nimbus-Util.robot index 3092e1971d..3541dfd1a5 100644 --- a/tests/resources/Nimbus-Util.robot +++ b/tests/resources/Nimbus-Util.robot @@ -443,16 +443,23 @@ Create Static IP Worker Open Connection %{NIMBUS_GW} Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} Log To Console Create a new static ip address worker... - ${out}= Execute Command ${NIMBUS_LOCATION} nimbus-ctl --silentObjectNotFoundError kill '%{NIMBUS_USER}-static-worker' && ${NIMBUS_POD} ${NIMBUS_LOCATION} nimbus-worker-deploy --enableStaticIpService static-worker + ${name}= Evaluate 'static-worker-' + str(random.randint(1000,9999)) + str(time.clock()) modules=random,time + Log To Console \nDeploying static ip worker: ${name} + ${out}= Execute Command ${NIMBUS_LOCATION} nimbus-ctl --silentObjectNotFoundError kill '%{NIMBUS_USER}-static-worker' && ${NIMBUS_LOCATION} nimbus-worker-deploy --nimbus ${NIMBUS_POD} --enableStaticIpService ${name} Should Contain ${out} "deploy_status": "success" - Set Environment Variable STATIC_WORKER_NAME %{NIMBUS_USER}-static-worker - ${ip}= Get IP static-worker + + ${pod}= Fetch POD ${name} + Run Keyword If '${pod}' != '${NIMBUS_POD}' Kill Nimbus Server %{NIMBUS_USER} %{NIMBUS_PASSWORD} %{NIMBUS_USER}-${name} + Run Keyword If '${pod}' != '${NIMBUS_POD}' Fail Nimbus pod suggestion failed + + Set Environment Variable STATIC_WORKER_NAME %{NIMBUS_USER}-${name} + ${ip}= Get IP ${name} Set Environment Variable STATIC_WORKER_IP ${ip} Close Connection Get Static IP Address ${status} ${message}= Run Keyword And Ignore Error Environment Variable Should Be Set STATIC_WORKER_IP - Run Keyword If '${status}' == 'FAIL' Create Static IP Worker + Run Keyword If '${status}' == 'FAIL' Wait Until Keyword Succeeds 10x 10s Create Static IP Worker Log To Console Curl a new static ip address from the created worker... ${out}= Run curl -s http://%{STATIC_WORKER_IP}:4827/nsips From aa7563b479727669938607933b3b50431e8485fe Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Tue, 13 Feb 2018 15:48:50 -0600 Subject: [PATCH 4/7] [skip ci] all of them need to be in same pod --- .../5-26-Static-IP-Address.robot | 16 ++-- .../nimbus-testbeds/vic-simple-cluster.rb | 92 +++++++++++++++++++ 2 files changed, 101 insertions(+), 7 deletions(-) create mode 100644 tests/resources/nimbus-testbeds/vic-simple-cluster.rb diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index 1feb7fbbd4..fa1dd07cf4 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -21,20 +21,22 @@ Suite Teardown Run Keyword And Ignore Error Nimbus Cleanup ${list} *** Keywords *** Static IP Address Create [Timeout] 110 minutes + Log To Console Starting Static IP Address test... Set Suite Variable ${NIMBUS_LOCATION} NIMBUS_LOCATION=wdc Run Keyword And Ignore Error Nimbus Cleanup ${list} ${false} - Open Connection %{NIMBUS_GW} - Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} - ${esx1} ${esx2} ${esx3} ${vc} ${esx1-ip} ${esx2-ip} ${esx3-ip} ${vc-ip}= Create a Simple VC Cluster dc1 cls - Log To Console Finished Creating Cluster ${vc} - Set Suite Variable @{list} ${esx1} ${esx2} ${esx3} %{NIMBUS_USER}-${vc} + ${name}= Evaluate 'vic-5-26-' + str(random.randint(1000,9999)) modules=random + ${out}= Deploy Nimbus Testbed %{NIMBUS_USER} %{NIMBUS_PASSWORD} --noSupportBundles --plugin testng --vcvaBuild ${VC_VERSION} --esxBuild ${ESX_VERSION} --testbedName vic-simple-cluster --testbedSpecRubyFile /dbc/pa-dbc1111/mhagen/nimbus-testbeds/testbeds/vic-simple-cluster.rb --runName ${name} Open Connection %{NIMBUS_GW} - Wait Until Keyword Succeeds 2 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} - ${pod}= Fetch POD ${vc} + Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} + ${vc-ip}= Get IP ${name}.vc.0 + ${pod}= Fetch POD ${name}.vc.0 Set Suite Variable ${NIMBUS_POD} ${pod} Close Connection + Set Suite Variable @{list} %{NIMBUS_USER}-${name}.esx.0 %{NIMBUS_USER}-${name}.esx.1 %{NIMBUS_USER}-${name}.esx.2 %{NIMBUS_USER}-${name}.nfs.0 %{NIMBUS_USER}-${name}.vc.0 + Log To Console Finished Creating Cluster ${name} + ${out}= Get Static IP Address Set Suite Variable ${static} ${out} Append To List ${list} %{STATIC_WORKER_NAME} diff --git a/tests/resources/nimbus-testbeds/vic-simple-cluster.rb b/tests/resources/nimbus-testbeds/vic-simple-cluster.rb new file mode 100644 index 0000000000..090e7673c6 --- /dev/null +++ b/tests/resources/nimbus-testbeds/vic-simple-cluster.rb @@ -0,0 +1,92 @@ +oneGB = 1 * 1000 * 1000 # in KB + +$testbed = Proc.new do + { + "name" => "vic-simple-cluster", + "version" => 3, + "esx" => (0..2).map do | idx | + { + "name" => "esx.#{idx}", + "vc" => "vc.0", + "style" => "fullInstall", + "desiredPassword" => "e2eFunctionalTest", + "disks" => [ 30 * oneGB, 30 * oneGB, 30 * oneGB], + "nics" => 2, + "mountNfs" => ["nfs.0"], + "clusterName" => "cls", + } + end, + + "nfs" => [ + { + "name" => "nfs.0", + "type" => "NFS41" + } + ], + + "vcs" => [ + { + "name" => "vc.0", + "type" => "vcva", + "dcName" => "dc1", + "clusters" => [{"name" => "cls", "vsan" => false, "enableDrs" => true, "enableHA" => true}], + "addHosts" => "allInSameCluster", + } + ], + + "postBoot" => Proc.new do |runId, testbedSpec, vmList, catApi, logDir| + vc = vmList['vc'][0] + vim = VIM.connect vc.rbvmomiConnectSpec + datacenters = vim.serviceInstance.content.rootFolder.childEntity.grep(RbVmomi::VIM::Datacenter) + raise "Couldn't find a Datacenter precreated" if datacenters.length == 0 + datacenter = datacenters.first + Log.info "Found a datacenter successfully in the system, name: #{datacenter.name}" + clusters = datacenter.hostFolder.children + raise "Couldn't find a cluster precreated" if clusters.length == 0 + cluster = clusters.first + Log.info "Found a cluster successfully in the system, name: #{cluster.name}" + + dvs = datacenter.networkFolder.CreateDVS_Task( + :spec => { + :configSpec => { + :name => "test-ds" + }, + } + ).wait_for_completion + Log.info "Vds DSwitch created" + + dvpg1 = dvs.AddDVPortgroup_Task( + :spec => [ + { + :name => "management", + :type => :earlyBinding, + :numPorts => 12, + } + ] + ).wait_for_completion + Log.info "management DPG created" + + dvpg2 = dvs.AddDVPortgroup_Task( + :spec => [ + { + :name => "vm-network", + :type => :earlyBinding, + :numPorts => 12, + } + ] + ).wait_for_completion + Log.info "vm-network DPG created" + + dvpg3 = dvs.AddDVPortgroup_Task( + :spec => [ + { + :name => "bridge", + :type => :earlyBinding, + :numPorts => 12, + } + ] + ).wait_for_completion + Log.info "bridge DPG created" + end + } +end From 5835f7948b824553ae1712805a1ecac609230ddd Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Tue, 13 Feb 2018 15:54:32 -0600 Subject: [PATCH 5/7] [skip ci]need vars set --- .../5-26-Static-IP-Address.robot | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index fa1dd07cf4..1818723eae 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -40,6 +40,24 @@ Static IP Address Create ${out}= Get Static IP Address Set Suite Variable ${static} ${out} Append To List ${list} %{STATIC_WORKER_NAME} + + Log To Console Set environment variables up for GOVC + Set Environment Variable GOVC_URL ${vc-ip} + Set Environment Variable GOVC_USERNAME Administrator@vsphere.local + Set Environment Variable GOVC_PASSWORD Admin\!23 + + Add Host To Distributed Switch /dc1/host/cls + + Log To Console Deploy VIC to the VC cluster + Set Environment Variable TEST_URL_ARRAY ${vc-ip} + Set Environment Variable TEST_USERNAME Administrator@vsphere.local + Set Environment Variable TEST_PASSWORD Admin\!23 + Set Environment Variable BRIDGE_NETWORK bridge + Set Environment Variable PUBLIC_NETWORK vm-network + Remove Environment Variable TEST_DATACENTER + Set Environment Variable TEST_DATASTORE nfs0-1 + Set Environment Variable TEST_RESOURCE cls + Set Environment Variable TEST_TIMEOUT 15m *** Test Cases *** Test From 2fd072cd1c78ca5b07c4b77aa44dbe8b516600db Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Wed, 14 Feb 2018 12:01:37 -0600 Subject: [PATCH 6/7] [skip ci] switch to testbed --- .../5-26-Static-IP-Address.robot | 15 +++++++++++++++ .../nimbus-testbeds/vic-simple-cluster.rb | 7 +++++++ 2 files changed, 22 insertions(+) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index 1818723eae..64ad5b792a 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -30,6 +30,9 @@ Static IP Address Create Open Connection %{NIMBUS_GW} Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} ${vc-ip}= Get IP ${name}.vc.0 + ${esx1-ip}= Get IP ${name}.esx.0 + ${esx2-ip}= Get IP ${name}.esx.1 + ${esx3-ip}= Get IP ${name}.esx.2 ${pod}= Fetch POD ${name}.vc.0 Set Suite Variable ${NIMBUS_POD} ${pod} Close Connection @@ -37,6 +40,16 @@ Static IP Address Create Set Suite Variable @{list} %{NIMBUS_USER}-${name}.esx.0 %{NIMBUS_USER}-${name}.esx.1 %{NIMBUS_USER}-${name}.esx.2 %{NIMBUS_USER}-${name}.nfs.0 %{NIMBUS_USER}-${name}.vc.0 Log To Console Finished Creating Cluster ${name} + Log To Console Disable firewall for the ESX servers... + Set Environment Variable GOVC_USERNAME root + Set Environment Variable GOVC_PASSWORD e2eFunctionalTest + Set Environment Variable GOVC_URL ${esx1-ip} + Run govc host.esxcli network firewall set -e false + Set Environment Variable GOVC_URL ${esx2-ip} + Run govc host.esxcli network firewall set -e false + Set Environment Variable GOVC_URL ${esx3-ip} + Run govc host.esxcli network firewall set -e false + ${out}= Get Static IP Address Set Suite Variable ${static} ${out} Append To List ${list} %{STATIC_WORKER_NAME} @@ -62,5 +75,7 @@ Static IP Address Create *** Test Cases *** Test Log To Console \nStarting test... + Custom Testbed Keepalive /dbc/pa-dbc1111/mhagen + Install VIC Appliance To Test Server additional-args=--public-network-ip &{static}[ip]/&{static}[netmask] --public-network-gateway &{static}[gateway] --dns-server 10.170.16.48 Run Regression Tests \ No newline at end of file diff --git a/tests/resources/nimbus-testbeds/vic-simple-cluster.rb b/tests/resources/nimbus-testbeds/vic-simple-cluster.rb index 090e7673c6..80547d6da6 100644 --- a/tests/resources/nimbus-testbeds/vic-simple-cluster.rb +++ b/tests/resources/nimbus-testbeds/vic-simple-cluster.rb @@ -35,6 +35,12 @@ ], "postBoot" => Proc.new do |runId, testbedSpec, vmList, catApi, logDir| + esxList = vmList['esx'] + esxList.each do |host| + host.ssh do |ssh| + ssh.exec!("esxcli network firewall set -e false") + end + end vc = vmList['vc'][0] vim = VIM.connect vc.rbvmomiConnectSpec datacenters = vim.serviceInstance.content.rootFolder.childEntity.grep(RbVmomi::VIM::Datacenter) @@ -90,3 +96,4 @@ end } end + From 56b14731095ffe1657c56057c07985cbf1199c59 Mon Sep 17 00:00:00 2001 From: Mikkel Hagen Date: Wed, 14 Feb 2018 12:06:32 -0600 Subject: [PATCH 7/7] [skip ci] don't need firewall stuff anymore --- .../5-26-Static-IP-Address.robot | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot index 64ad5b792a..fb5ed586c5 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-26-Static-IP-Address.robot @@ -30,9 +30,6 @@ Static IP Address Create Open Connection %{NIMBUS_GW} Wait Until Keyword Succeeds 10 min 30 sec Login %{NIMBUS_USER} %{NIMBUS_PASSWORD} ${vc-ip}= Get IP ${name}.vc.0 - ${esx1-ip}= Get IP ${name}.esx.0 - ${esx2-ip}= Get IP ${name}.esx.1 - ${esx3-ip}= Get IP ${name}.esx.2 ${pod}= Fetch POD ${name}.vc.0 Set Suite Variable ${NIMBUS_POD} ${pod} Close Connection @@ -40,16 +37,6 @@ Static IP Address Create Set Suite Variable @{list} %{NIMBUS_USER}-${name}.esx.0 %{NIMBUS_USER}-${name}.esx.1 %{NIMBUS_USER}-${name}.esx.2 %{NIMBUS_USER}-${name}.nfs.0 %{NIMBUS_USER}-${name}.vc.0 Log To Console Finished Creating Cluster ${name} - Log To Console Disable firewall for the ESX servers... - Set Environment Variable GOVC_USERNAME root - Set Environment Variable GOVC_PASSWORD e2eFunctionalTest - Set Environment Variable GOVC_URL ${esx1-ip} - Run govc host.esxcli network firewall set -e false - Set Environment Variable GOVC_URL ${esx2-ip} - Run govc host.esxcli network firewall set -e false - Set Environment Variable GOVC_URL ${esx3-ip} - Run govc host.esxcli network firewall set -e false - ${out}= Get Static IP Address Set Suite Variable ${static} ${out} Append To List ${list} %{STATIC_WORKER_NAME}