|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/system-config-network/netconfpkg/plugins/ |
Upload File : |
mň
\Tc @ s d Z d k l Z d k l Z d k l Z d a d a d e f d YZ
d Z d Z e Z
e
i e
e [
d Z d Z d
Z d S( s. Implementation of the generic ethernet device
( s Device( s getDeviceFactory( s ETHERNETt DevEthernetc B s8 t Z d Z e e d Z d Z d Z d Z RS( sú An object of class DevEthernet can be obtained by calling:
df = getDeviceFactory()
ethernetclass = df.getDeviceClass(ETHERNET)
ethernetdevice = ethernetclass()
It has the following attributes, shown here with the corresponding
initscripts variables:
Device - DEVICE=<name of physical device (except
dynamically-allocated PPP devices where it
is the "logical name")>
IP - IPADDR
Netmask - NETMASK
Gateway - GATEWAY
Hostname - HOSTNAME - Hint for DHCP
BootProto - BOOTPROTO=none|bootp|dhcp
Type - TYPE=ETHERNET
HardwareAddress - HWADDR=<MAC Address>
OnBoot - ONBOOT=yes|no
AllowUser - USERCTL=yes|no
IPv6Init - IPV6INIT=yes|no
AutoDNS - PEERDNS=yes|no - modify /etc/resolv.conf if peer uses
msdns extension (PPP only) or DNS{1,2} are set, or if
using pump or dhcpcd. default to "yes".c C s t i | | | t | _ d S( N( t Devicet __init__t selft listt parentt ETHERNETt Type( R R R ( ( tD /usr/share/system-config-network/netconfpkg/plugins/NCDevEthernet.pyR 6 s c C s4 t | } t | d o | i i d Sn | S( s7 get the gtk.Dialog of the ethernet configuration dialogt xmlt DialogN( t _devEthernetDialogR t dialogt hasattrR t
get_widget( R R ( ( R t getDialog: s
c C s t S( s% get the wizard of the ethernet wizardN( t _devEthernetWizard( R ( ( R t getWizardB s c C s: | i t j o t Sn t | i t j o t Sn t S( s<