From Fedora Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

<TBD>

Howto Test

1. Verify that onboard network interfaces are named as described here - https://fedoraproject.org/wiki/QA:Testcase_Onboard_Network_Interface_Names

2. Verify that PCI add-in network interfaces are described here - https://fedoraproject.org/wiki/QA:Testcase_PCI_Add-In-Network-Interace_Names

3. Check if interface configuration file ifcfg-emN and ifcfg-pci<slot>#<port> files are created under /etc/sysconfig/network-scripts

[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
# 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

[root@fedora-14-r710 network-scripts]# 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

Expected Results

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.