1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- """ tests for supporting multiple NIC's in advanced zone with security groups in cloudstack 4.14.0.0
17+ """tests for supporting multiple NIC's in advanced zone with security groups in cloudstack 4.14.0.0
1818
1919"""
2020# Import Local Modules
@@ -117,7 +117,7 @@ def setUpClass(cls):
117117 cls .testdata ["virtual_machine" ]["template" ] = cls .template .id
118118
119119 if cls .zone .securitygroupsenabled :
120- # Enable networking for reaching to VM thorugh SSH
120+ # Enable networking for reaching to VM through SSH
121121 security_group = SecurityGroup .create (
122122 cls .apiclient ,
123123 cls .testdata ["security_group" ],
@@ -302,9 +302,9 @@ def test_01_create_vm_with_multiple_nics(self):
302302
303303 Steps:
304304 # 1. Create more than 1 isolated or shared network
305- # 2. Create a vm and select more than 1 network while deploying
306- # 3. Vm is deployed successfully with 1 nic from each network
307- # 4. All the vm 's should be pingable
305+ # 2. Create a VM and select more than 1 network while deploying
306+ # 3. VM is deployed successfully with 1 NIC from each network
307+ # 4. All the VM 's should be pingable
308308 :return:
309309 """
310310 virtual_machine = VirtualMachine .list (
@@ -330,8 +330,8 @@ def test_02_add_nic_to_vm(self):
330330 Steps:
331331 # 1. Create a VM by selecting one default NIC
332332 # 2. Create few more isolated or shared networks
333- # 3. Add extra NIC's to the vm from the newly created networks
334- # 4. The deployed VM should have extra nic 's added in the above
333+ # 3. Add extra NIC's to the VM from the newly created networks
334+ # 4. The deployed VM should have extra NIC 's added in the above
335335 # step without any fail
336336 # 5. The IP's of the extra NIC's should be pingable
337337 :return:
@@ -355,8 +355,8 @@ def test_03_add_ip_to_default_nic(self):
355355 Steps:
356356 # 1. Create a VM with more than 1 NIC
357357 # 2) Navigate to Instances->NIC->Edit Secondary IP's
358- # ->Aquire new Secondary IP"
359- # 3) Add as many secondary Ip as possible to the VM
358+ # ->Acquire new Secondary IP"
359+ # 3) Add as many secondary IP as possible to the VM
360360 # 4) Configure the secondary IP's by referring to "Configure
361361 # the secondary IP's" in the "Action Item" section
362362 :return:
@@ -381,7 +381,7 @@ def test_04_add_ip_to_remaining_nics(self):
381381 # 2)Navigate to Instances-NIC's->Edit Secondary IP's
382382 # ->Acquire new Secondary IP
383383 # 3) Add secondary IP to all the NIC's of the VM
384- # 4) Confiugre the secondary IP's by referring to "Configure the
384+ # 4) Configure the secondary IP's by referring to "Configure the
385385 # secondary IP's" in the "Action Item" section
386386 :return:
387387 """
@@ -441,10 +441,10 @@ def test_05_stop_start_vm_with_multiple_nic(self):
441441 """ Stop and Start a VM with Multple NIC
442442
443443 Steps:
444- # 1) Create a Vm with multiple NIC's
444+ # 1) Create a VM with multiple NIC's
445445 # 2) Configure secondary IP's on the VM
446446 # 3) Try to stop/start the VM
447- # 4) Ping the IP's of the vm
447+ # 4) Ping the IP's of the VM
448448 # 5) Remove Secondary IP from one of the NIC
449449 :return:
450450 """
@@ -484,16 +484,16 @@ def test_05_stop_start_vm_with_multiple_nic(self):
484484
485485 @attr (tags = ["advancedsg" ], required_hardware = "false" )
486486 def test_06_migrate_vm_with_multiple_nic (self ):
487- """ Migrate a VM with Multple NIC
487+ """ Migrate a VM with Multiple NIC
488488
489489 Steps:
490- # 1) Create a Vm with multiple NIC's
490+ # 1) Create a VM with multiple NIC's
491491 # 2) Configure secondary IP's on the VM
492492 # 3) Try to stop/start the VM
493- # 4) Ping the IP's of the vm
493+ # 4) Ping the IP's of the VM
494494 :return:
495495 """
496- # Skipping adding Secondary IP to NIC since its already
496+ # Skipping adding Secondary IP to NIC since it's already
497497 # done in the previous test cases
498498
499499 virtual_machine = VirtualMachine .list (
@@ -543,7 +543,7 @@ def test_07_remove_secondary_ip_from_nic(self):
543543 """ Remove secondary IP from any NIC
544544 Steps:
545545 # 1) Navigate to Instances
546- # 2) Select any vm
546+ # 2) Select any VM
547547 # 3) NIC's ->Edit secondary IP's->Release IP
548548 # 4) The secondary IP should be successfully removed
549549 """
@@ -572,7 +572,7 @@ def test_07_remove_secondary_ip_from_nic(self):
572572 def test_08_remove_nic_from_vm (self ):
573573 """ Remove NIC from VM
574574 Steps:
575- # 1) Navigate to Instances->select any vm ->NIC's->NIC 2
575+ # 1) Navigate to Instances->select any VM ->NIC's->NIC 2
576576 # ->Click on "X" button to remove the second NIC
577577 # 2) Remove other NIC's as well from the VM
578578 # 3) All the NIC's should be successfully removed from the VM
@@ -599,16 +599,16 @@ def test_08_remove_nic_from_vm(self):
599599
600600 @attr (tags = ["advancedsg" ], required_hardware = "false" )
601601 def test_09_reboot_vm_with_multiple_nic (self ):
602- """ Reboot a VM with Multple NIC
602+ """ Reboot a VM with Multiple NIC
603603
604604 Steps:
605- # 1) Create a Vm with multiple NIC's
605+ # 1) Create a VM with multiple NIC's
606606 # 2) Configure secondary IP's on the VM
607607 # 3) Try to reboot the VM
608- # 4) Ping the IP's of the vm
608+ # 4) Ping the IP's of the VM
609609 :return:
610610 """
611- # Skipping adding Secondary IP to NIC since its already
611+ # Skipping adding Secondary IP to NIC since it's already
612612 # done in the previous test cases
613613
614614 virtual_machine = VirtualMachine .list (
0 commit comments