Shared network has to have specifyVlan = True. So changed it to True
and aded a function to get free vlan.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9ff40829a9787df6d89fea3c41dd112554533be7)
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)
The test attempts to create a network with offering serving only
dhcp,dns and sourcenat. However the source NAT functionality itself
isn't tested as reported in the bug. So the test will pass.
TODO: come up with a way to test source nat without enabling additional
services for pf/staticnat
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79df10ee24840dc7fe8fdb4ccbde240658a109fc)
list the snapshot on secondary store. avoid changing directories and
additional debug commands.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5b66677d742fa057779f56c3f4c7a905d8a3d4c5)
Test whether valid storage pools are listed and at least one pool is
available for migration.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a82f66e0fa8c9e20b0468aae82871c46a9f8b67e)
VM (id) moves from host (id) to host (id)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da0bb630057550cb5707a39cddb58a86a24850dd)
Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8576b1ddc983d74caef77c3bac51103ab26cfc8c)
offerings do not need to be cleaned up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b9c2471cfc5e051db4478783c6928f6e0c5a1f7a)
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 682e995a4a21e2d74b79bc26513055b913f3545d)
Wait a little bit longer for the VpcVr to shutdown on network shutdown.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4ed5033a59c7aa5fe95f865c5fcbdba21c03616e)
SharedNetwork creation requires a pre-setup VLAN outside of the guest
VLANs defined during zone creation. Use a VLAN tag outside the guest
range as a shared network vlan to create shared networks.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35867ccbd90c824b4faae438dac99400babeff95)
return back to HOME_DIR and unmount the secondary storage
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99329dfa4a4298a57245e224b533d0201e83f7c8)
listVirtualMachines queried using tags needs the tags (key,value) to be
passed as a dictionary.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c2840b93f5fd0d2d4e6dc4daa428b16a213fa8e7)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>