From Fedora Project Wiki

(Add to category and use correct template)
Line 1: Line 1:
== Description ==
{{QA/Test_Case
|description=This test case makes sure that during Rawhide installation, network interfaces, both onboard and PCI add-in are named as per the new convention.
|setup=
# Make sure that the Hardware Requirements are met.
|actions=
# Switch to a shell by pressing <code>Control+Alt+F2</code>.
# Verify that onboard network interfaces are named as described here - [[QA:Testcase_Onboard_Network_Interface_Names|Verify that onboard interfaces are named as emN]]
# Verify that PCI add-in network interfaces are described here - [[QA:Testcase_PCI_Add-In-Network-Interace_Names|Verify that PCI add-in interfaces are named as pci<slot>#<port>]]
# When the network configuration wizard appears, configure <code>em1</code> and any of the available add-in PCI interface.
# Complete the installation process, after the system reboots, login to the system. Check if interface configuration file ifcfg-emN and ifcfg-pci<slot>#<port> files are created under /etc/sysconfig/network-scripts


This test case makes sure that during Rawhide installation, network interfaces, both onboard and PCI add-in are named as per the new convention.
|results=
 
<ol>
== Setup ==
<li> Make sure that onboard device names are of the form emN during install time
 
<pre># ls ifcfg-em1
Make sure that the Hardware Requirements are met.
ifcfg-em1</pre>
 
<li> Make sure that PCI add-in device names are of the form pci<slot>#<port> during install time
 
<pre># ls ifcfg-pci3#2_0
== Howto Test ==
ifcfg-pci3#2_0</pre>
 
<li> Make sure ifcfg-emN and ifcfg-pci<slot>#<port> files are created after the installation is complete.
1. Switch to a shell by pressing {{filename|Control+Alt+F2}}.
<pre># cat ifcfg-em3
 
2. Verify that onboard network interfaces are named as described here - [https://fedoraproject.org/wiki/QA:Testcase_Onboard_Network_Interface_Names Verify that onboard interfaces are named as emN]
 
3. Verify that PCI add-in network interfaces are described here - [https://fedoraproject.org/wiki/QA:Testcase_PCI_Add-In-Network-Interace_Names Verify that PCI add-in interfaces are named as pci<slot>#<port>]
 
4. When the network configuration wizard appears, please configure em1 and any of the available add-in PCI interface.
 
5. Complete the installation process, after the system reboots, login to the system. Check if interface configuration file ifcfg-emN and ifcfg-pci<slot>#<port> files are created under /etc/sysconfig/network-scripts
 
<pre>[root@fedora-14-r710 network-scripts]# ls ifcfg-em1
ifcfg-em1
[root@fedora-14-r710 network-scripts]# ls ifcfg-pci3#2_0
ifcfg-pci3#2_0
 
[root@fedora-14-r710 network-scripts]# cat ifcfg-em3
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
# for the documentation of these parameters.
Line 37: Line 31:
IPV6INIT=no
IPV6INIT=no


[root@fedora-14-r710 network-scripts]# cat ifcfg-pci3#1
# cat ifcfg-pci3#1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
# for the documentation of these parameters.
Line 48: Line 42:
PEERDNS=yes
PEERDNS=yes
IPV6INIT=no</pre>
IPV6INIT=no</pre>
</ol>
}}


== Expected Results ==
[[Category:Package biosdevname test cases|b]]
#Make sure that onboard device names are of the form emN during install time
#Make sure that PCI add-in device names are of the form pci<slot>#<port> during install time
#Make sure ifcfg-emN and ifcfg-pci<slot>#<port> files are created after the installation is complete.

Revision as of 19:02, 19 January 2011

Description

This test case makes sure that during Rawhide installation, network interfaces, both onboard and PCI add-in are named as per the new convention.

Setup

  1. Make sure that the Hardware Requirements are met.

How to test

  1. Switch to a shell by pressing Control+Alt+F2.
  2. Verify that onboard network interfaces are named as described here - Verify that onboard interfaces are named as emN
  3. Verify that PCI add-in network interfaces are described here - Verify that PCI add-in interfaces are named as pci<slot>#<port>
  4. When the network configuration wizard appears, configure em1 and any of the available add-in PCI interface.
  5. Complete the installation process, after the system reboots, login to the system. Check if interface configuration file ifcfg-emN and ifcfg-pci<slot>#<port> files are created under /etc/sysconfig/network-scripts

Expected Results

  1. Make sure that onboard device names are of the form emN during install time
    # ls ifcfg-em1
    ifcfg-em1
  2. Make sure that PCI add-in device names are of the form pci<slot>#<port> during install time
    # ls ifcfg-pci3#2_0
    ifcfg-pci3#2_0
  3. Make sure ifcfg-emN and ifcfg-pci<slot>#<port> files are created after the installation is complete.
    # cat ifcfg-em3
    # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    # for the documentation of these parameters.
    DEVICE=em3
    BOOTPROTO=dhcp
    TYPE=Ethernet
    HWADDR=00:24:e8:2e:df:03
    ONBOOT=yes
    USERCTL=no
    PEERDNS=yes
    IPV6INIT=no
    
    # cat ifcfg-pci3#1
    # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    # for the documentation of these parameters.
    DEVICE='pci3#1'
    BOOTPROTO=dhcp
    TYPE=Ethernet
    HWADDR=00:1b:21:44:63:40
    ONBOOT=yes
    USERCTL=no
    PEERDNS=yes
    IPV6INIT=no