KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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 :  /usr/share/system-config-network/netconfpkg/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/system-config-network/netconfpkg/plugins/NCDevEthernet.pyc
mň
\Tc@s“dZdklZdklZdklZdada	defd„ƒYZ
d„Zd„ZeƒZ
e
ie
eƒ[
dZd	Zd
ZdS(s.Implementation of the generic ethernet device
(sDevice(sgetDeviceFactory(sETHERNETtDevEthernetcBs8tZdZeed„Zd„Zd„Zd„ZRS(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".cCs ti|||ƒt|_dS(N(tDevicet__init__tselftlisttparenttETHERNETtType(RRR((tD/usr/share/system-config-network/netconfpkg/plugins/NCDevEthernet.pyR6scCs4t|ƒ}t|dƒo|iidƒSn|S(s7get the gtk.Dialog of the ethernet configuration dialogtxmltDialogN(t_devEthernetDialogRtdialogthasattrR	t
get_widget(RR((Rt	getDialog:s
cCstS(s%get the wizard of the ethernet wizardN(t_devEthernetWizard(R((Rt	getWizardBscCs:|itjotSnt|iƒtjotSntS(s<returns true of the device is of the same type as this classN(tdeviceRRttruet
getDeviceTypeRtfalse(RR((RtisTypeFs(t__name__t
__module__t__doc__tNoneRRRR(((RRs
		cCs
|adS(sSet the ethernet dialog classN(RR(R((RtsetDevEthernetDialogNscCs
|adS(sSet the ethernet wizard classN(twizardR(R((RtsetDevEthernetWizardSss Harald Hoyer <harald@redhat.com>s$Date: 2006/07/06 14:15:06 $s$Revision: 1.10 $N(Rtnetconfpkg.NCDeviceRtnetconfpkg.NCDeviceFactorytgetDeviceFactorytnetconfpkg.NC_functionsRRRRRRRt_dftregistert
__author__t__date__t__version__(
RR"R$R%R RRRRR&((Rt?s


3			

Anon7 - 2021