QA:Testcase biosdevname NIC naming after install

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Description)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Description ==
+
{{autolang|base=yes}}
  
This test case makes sure that during Rawhide installation, network interfaces, both onboard and PCI add-in are named as per the new convention.
+
{{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 ==
+
|setup=
<TBD>
+
# Make sure that the Hardware Requirements are met.
 
+
|actions=
== Howto Test ==
+
<ol>
 
+
<li> Start the Rawhide instllation by booting into the {{filename|boot.iso}} from '''<here>'''
1. Verify that onboard network interfaces are named as described here - https://fedoraproject.org/wiki/QA:Testcase_Onboard_Network_Interface_Names
+
<li> In the welcome screen, press TAB to edit the grub command line and append
 
+
repo=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/arch/os/
2. Verify that PCI add-in network interfaces are described here - https://fedoraproject.org/wiki/QA:Testcase_PCI_Add-In-Network-Interace_Names
+
to get the repository from one of the interfaces. More information about using repo is [http://fedoraproject.org/wiki/Anaconda/Kickstart#repo here]
 
+
<li> Just after the initial configurations, when Graphical User Interface comes up, switch to a shell by pressing <code>Control+Alt+F2</code>.
3. Check if interface configuration file ifcfg-emN and ifcfg-pci<slot>#<port> files are created under /etc/sysconfig/network-scripts
+
<li> Verify that onboard network interfaces are named as described [[QA:Testcase biosdevname on-board network interface names|here]]
 
+
<li> Verify that PCI add-in network interfaces are described [[QA:Testcase biosdevname add-in network interface names|here]]
<pre>[root@fedora-14-r710 network-scripts]# ls ifcfg-em1
+
<li> Click on “Configure Network” in the hostname configuration wizard.  Here all the interfaces should be displayed and their names should follow the new naming convention (emN and pci<slot>#<port>). Configure the interface which has network cable connected.
ifcfg-em1
+
<li> Complete the installation process, after the system reboots, login to the system.
[root@fedora-14-r710 network-scripts]# ls ifcfg-pci3#2_0
+
<lo>
ifcfg-pci3#2_0
+
|results=
 
+
<ol>
[root@fedora-14-r710 network-scripts]# cat ifcfg-em3
+
<li> Make sure that onboard device names are of the form emN during install time
 +
<pre>[root@fedora-14-r710 ~]# ls /sys/class/net/
 +
em1 em2  em3  em4  lo</pre>
 +
<li> Make sure that PCI add-in device names are of the form pci<slot>#<port> during install time
 +
<pre>#[root@fedora-14-r710 ~]# ls /sys/class/net/
 +
lo  pci3#1 pci3#2 pci4#1</pre>
 +
<li> Make sure ifcfg-emN and ifcfg-pci<slot>#<port> files are created under the dir {{filename|/etc/sysconfig/network-scripts}} after the installation is complete.
 +
<pre># 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 31: Line 38:
 
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 42: Line 49:
 
PEERDNS=yes
 
PEERDNS=yes
 
IPV6INIT=no</pre>
 
IPV6INIT=no</pre>
 +
</ol>
 +
}}
  
== Expected Results ==
+
[[Category:Package biosdevname test cases|b]]
1. Make sure that onboard device names are of the form emN during install time
+
2. Make sure that PCI add-in device names are of the form pci<slot>#<port> during install time
+
3. Make sure ifcfg-emN and ifcfg-pci<slot>#<port> files are created after the installation is complete.
+

Latest revision as of 15:48, 24 January 2011


Contents

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. Start the Rawhide instllation by booting into the boot.iso from <here>
  2. In the welcome screen, press TAB to edit the grub command line and append repo=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/arch/os/ to get the repository from one of the interfaces. More information about using repo is here
  3. Just after the initial configurations, when Graphical User Interface comes up, switch to a shell by pressing Control+Alt+F2.
  4. Verify that onboard network interfaces are named as described here
  5. Verify that PCI add-in network interfaces are described here
  6. Click on “Configure Network” in the hostname configuration wizard. Here all the interfaces should be displayed and their names should follow the new naming convention (emN and pci<slot>#<port>). Configure the interface which has network cable connected.
  7. Complete the installation process, after the system reboots, login to the system. <lo>

    Expected Results

    1. Make sure that onboard device names are of the form emN during install time
      [root@fedora-14-r710 ~]# ls /sys/class/net/
      em1  em2  em3  em4  lo
    2. Make sure that PCI add-in device names are of the form pci<slot>#<port> during install time
      #[root@fedora-14-r710 ~]# ls /sys/class/net/
      lo  pci3#1 pci3#2 pci4#1
    3. Make sure ifcfg-emN and ifcfg-pci<slot>#<port> files are created under the dir /etc/sysconfig/network-scripts 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