From Fedora Project Wiki

(Created page with 'Actions: 1. # virsh iface-list 2. # /sbin/ifconfig 3. compare the result of step 1 with result of step 2. checkpoint including: 1> if the interface is exist. 2> if the...')
 
(Use QA template, Add test to Category:Virtualization_Shared_Networking_Test_Cases)
 
Line 1: Line 1:
Actions:
{{QA/Test_Case
|description=This test confirms whether the virt shell (aka ''virsh'') has a consistent view of network devices compared to the command {{command|/sbin/ifconfig}}.
|actions=
# Run the command: {{command|virsh iface-list}}
# Next, run the command: {{command|/sbin/ifconfig}}
|results=
# list the physical network interfaces completes successfully
# When comparing the output between the two commands, the following conditions have been met.
## the interface is exists in both commands
## the interface state (active vs inactive) is consistent
## the MAC address of interface is consistent
}}


1. # virsh iface-list
[[Category:Virtualization_Shared_Networking_Test_Cases]]
 
2. # /sbin/ifconfig
 
3. compare the result of step 1 with result of step 2. checkpoint including:
 
  1> if the interface is exist.
 
  2> if the interface is active
 
  3> if  the MAC address of interface is consistent
 
Expected Results:
 
Step 1:
 
      list the physical network interfaces successfully
 
Step 3:
 
      All checkpoints are good.

Latest revision as of 18:06, 7 April 2010

Description

This test confirms whether the virt shell (aka virsh) has a consistent view of network devices compared to the command /sbin/ifconfig.


How to test

  1. Run the command: virsh iface-list
  2. Next, run the command: /sbin/ifconfig

Expected Results

  1. list the physical network interfaces completes successfully
  2. When comparing the output between the two commands, the following conditions have been met.
    1. the interface is exists in both commands
    2. the interface state (active vs inactive) is consistent
    3. the MAC address of interface is consistent