Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.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/NCPluginDevQeth.pyc
OLc	@sdZddklZlZddklZddklZddkl	Z	l
Z
ddklZl
Z
ddklZdadadefd	YZd
ZdZdZd
ZdS(s!Implementation of the qeth devicei(tDevicet
ConfDevice(tgetDeviceFactory(tCard(tgetHardwareListtHW_CONF(tQETHt
getDeviceType(tDevEthernettDevQethcBsVeZdZdZdZdZdZdZddZ	ddZ
RS(	cCs tt|it|_dS(N(tsuperR	t__init__RtType(tself((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyRscCs4|itjotSt|itjotStS(s<returns true of the device is of the same type as this class(RRtTrueRRtFalse(R
tdevice((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pytisType"s
cCsnti||t|}t|_|ido5t}d}xm|D].}|i|ijo|itjoPqKqKW|i	t}||}t
|_|i|_t|_d|d|_t
|_
d|i
_yW|did}|d|i
_|d|i
_|d|i
_|d|i
_WnnX|i|i|i|indS(	NtSUBCHANNELSsqeth %stqeths, iiitOPTIONS(RtloadRRRthas_keyRtNonetNametaddHardwareRtStatustDescriptionRt
ModuleNametsplittIoPorttIoPort1tIoPort2tOptionstcommitt
setunmodified(R
tnametconfthardwarelistthwtitports((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyR*s<		#	
		


cCs!ti|t|i}d|d<|ipd|d<d}t}xr|D]j}|i|ijoQ|ii	oD|ii
o7|iio*d|ii	|ii
|iif}PqPqPW|o||d<n|iio|ii|d<n|i
do|d=n|indS(	NtEthernettTYPERtNETTYPEts%s,%s,%sRR(RtsaveRtDeviceIdtAliasRRRRRRR R!Rtwrite(R
R%R)R&R'((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyR.Ns.



	
		
cCs=tpdSt|}t|do|iidS|S(s get the ctc configuration dialogtxmltDialogN(t_devQethDialogRthasattrR2t
get_widget(R
tdialog((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyt	getDialoghscCstS(s get the wizard of the ctc wizard(t_devQethWizard(R
((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyt	getWizardrscCsti||}|ipt}xt|D]h}|i|ijoO|iioB|iio5|ii	o(t
id|ii|iifPq,q,Wn|S(Nseecho 0 > /sys/bus/ccwgroup/drivers/qeth/%s/online; echo 1 > /sys/bus/ccwgroup/drivers/qeth/%s/ungroup(Rt
deactivateR0RRRRRRR tostsystem(R
R7tretR&R'((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyR;vs
	:#
cCs|iptt}xh|D]\}|i|ijoC|iio6|iio)|iioti	d|iiPqqWnt
i||S(sactivate the qeth devices^/sbin/znet_cio_free; SUBSYSTEM="ccw" DEVPATH="bus/ccwgroup/drivers/qeth/%s" /lib/udev/ccw_init(R0RRRRRRR R<R=Rtactivate(R
R7R&R'((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyR?s
	:
N(t__name__t
__module__RRRR.R8R:RR;R?(((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyR	s			$		
	cCs
|adS(sSet the ctc dialog classN(R4(R7((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pytsetDevQethDialogscCs
|adS(sSet the ctc wizard classN(R9(twizard((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pytsetDevQethWizardscCsWddk}|id}|djp
|djot}|ittndS(Niits390ts390x(R<tunameRtregisterR	R(R<tmachinet_df((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pytregister_plugins
	s Harald Hoyer <harald@redhat.com>N(t__doc__tnetconfpkg.NCDeviceRRtnetconfpkg.NCDeviceFactoryRtnetconfpkg.NCHardwareRtnetconfpkg.NCHardwareListRRtnetconfpkg.NC_functionsRRt&netconfpkg.plugins.NCPluginDevEthernetRRR4R9R	RBRDRKt
__author__(((sF/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevQeth.pyt<module>so			

haha - 2025