QA:Testcase Shared Network Interface Destroy Start Interface

From FedoraProject

Jump to: navigation, search

Actions:

1. destroy eth0

  # virsh iface-destroy eth0

2. check the state of eth0

   # virsh iface-list --all

3. check if the network is good.

   # ping google.com
   # ping 10.66.70.* (select a machine in subnet 10.66.70.0/24)

4. start eth0

  # virsh start eth0

5. check the state of eth0

   # virsh iface-list --all

6. if eth0 is configured using "dhcp" protocol, check if the network is good

   # ping google.com
   # ping 10.66.70.* (select a machine in subnet 10.66.70.0/24)

7. loop upper steps with passing MAC address but not the interface name to "iface-destoy", and "iface-start"

8. loop uuper steps on all other physical network interfaces, skip step 3 and step 6 on loopback device.


Expected Results:

Step 2:

      eth0 will be inactive

Step 3:

       network is not good

Step 5:

       eth0 will be active

Step 6:

       network will be good.