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 :  /proc/22697/root/usr/share/system-config-network/netconfpkg/gui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/share/system-config-network/netconfpkg/gui/TokenRingInterface.pyc
mò
[Tc@s dkTdkTdklZdkZdkZdkZdkZdkl	Z	dk
l
Z
dklZdkl
Z
de
fd„ƒYZeieƒd	ZdS(
(t*(ssharedtcpipN(stokenringHardware(sInterfaceCreator(sethtool(sxml_signal_autoconnecttTokenRingInterfacecBs›tZdeddd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„ZRS(NicCs¼ti|d|ƒ||_||_d|_t	i
ƒ|_ti
ƒ|_||i_t|i_t|i_t|i_tiƒ|_||_||_d|_t|_g|_dS(Ntdo_savei(tInterfaceCreatort__init__tselfRttopleveltdruidttopdruidtNonetxmltNCDeviceListt
getDeviceListt
devicelisttNCDevTokenRingtDevTokenRingtdevicetconnection_typetTypetTruetOnBoottFalset	AllowUsertIPv6Initt
NCProfileListtgetProfileListtprofilelistthw_selthwPagetdruids(RRRRR((tE/usr/share/system-config-network/netconfpkg/gui/TokenRingInterface.pyR!s 							cCsZ|iodSnd}tii|ƒpt|}ntii|ƒpt|}nti	i
|ddtƒ|_
d}tii|ƒpt|}ntii|ƒpt|}nti	i
|ddtƒ|_t|ihd|i<d|i<d|i<d|i<d	|i<d
|i<d|i<d|i<d
|i<ƒ|i
idƒ}|i
idƒ}|iidƒ}|i|ƒ|i|ƒti|i
|i ƒ|iidƒ|_!x7|i!i"ƒD]&}|i!i|ƒ|i$i%|ƒqåWt&|i'ƒ|_(d|i(_)|i$dg|i(i$|i$d|_$dS(Nssharedtcpip.gladetdomainsTokenRingInterfaceDruid.gladeRton_hostname_config_page_backton_hostname_config_page_nextton_hostname_config_page_prepareton_hw_config_page_backton_hw_config_page_nextton_hw_config_page_prepareton_finish_page_finishton_finish_page_prepareton_finish_page_backt
dhcpWindowt	dhcpFrametgeneralVboxii(*RR
t
glade_filetostpathtexistst	GLADEPATHt
NETCONFDIRtgtktgladetXMLR	tPROGNAMEtsharedtcpip_xmltxml_signal_autoconnectR R!R"R#R$R%R&R'R(t
get_widgettwindowtframetvboxtremovet
pack_starttsharedtcpipt	dhcp_initRRtget_childrentiRtappendttokenringHardwareRthwDruidt
has_tokenring(RRAR;R9R:R,((Rtinit_gui5s>
	s

cCs
tdƒS(NsToken Ring connection(t_(R((Rtget_project_nameiscCstS(N(t	TOKENRING(R((Rtget_typelscCs
tdƒS(Ns#Create a new Token Ring connection.(RG(R((Rtget_project_descriptionoscCs|iƒ|iS(N(RRFR(R((Rt
get_druidsrs
cCsI|iiƒ}|io|ii|dƒn|ii|dƒtS(Nii(RRR@tchildsRtset_pageR(Rt
druid_pageRRM((RR vs

cCsIti|i|iƒ|io%|iii|i_	d|i_ndS(N(R>tdhcp_dehydrateRR6RRRDthwtNametDeviceR	tAlias(RROR((RR!~s
cCsti|i|iƒdS(N(R>tdhcp_hydrateRR6R(RROR((RR"†scCsdS(N((RROR((RR#ŠscCsè|iidƒ}|iiƒ}t|iƒp|ii	|dƒt
Sn|id|_|id|ijo!t
|_
|ii	|dƒnPt|_
|i|id|i_|i|iƒ|i_|ii	|dƒt
S(NthardwareListiiii(RR
R8tclistRR@RMtlent	selectionRNRRtrowsRRtdevlistRRStgetNextAliasRT(RRORRMRW((RR$s		cCs¾tiƒ}|iidƒ}|iƒg|_x]|D]U}|i
tjo?|id|i
d}|i|gƒ|ii|i
ƒq8q8W|itdƒgƒ|i|idƒdS(NRVs (t)sOther Tokenring Cardi(tNCHardwareListtgetHardwareListthardwarelistRR
R8RWtclearR[RQRRItDescriptionRRtdescRBRGt
select_rowR(RRORR`RQRWRc((RR%£s
	cCsdS(N((RROR((RR(±scCsÃ|ii|i_|iio*|iidt|iiƒ|i_nyti|iiƒ}Wnt	j
o	}nX||i_tdƒddtdƒdt|iiƒd}tiƒ}x>|D]6}|i|iijo|d|id}PqÏqÏW|d	d}|iid
jof|tdƒd|iid	dtdƒd|iid	dtd
ƒd|iid	}n#|tdƒd|iid	}|i|ƒdS(Nt:s,You have selected the following information:s

s   sDevice:t t(R]s
tstaticsAddress:sSubnet mask:sDefault gateway address:s.Automatically obtain IP address settings with:(RRRStDeviceIdRTtstrtethtoolt
get_hwaddrthwaddrtIOErrorterrtHardwareAddressRGtsR^R_R`RQRRRbt	BootPrototIPtNetmasktGatewayROtset_text(RRORRoR`RQRqRm((RR'´s(
*6	f"cCs­tiƒ}|iƒ|ii|iƒ|iiƒx?|iD]4}|i
tjoq@n|ii|ii
ƒPq@W|iiƒ|iiƒ|iiƒtiƒdS(N(R^R_R`tcommitRR
RBRRtproftActiveRt
ActiveDevicesRiRtdestroyR2t	main_quit(RRORR`Rx((RR&Õs





(t__name__t
__module__R	RIRRFRHRJRKRLR R!R"R#R$R%R(R'R&(((RR s	4												!s Harald Hoyer <harald@redhat.com>(tnetconfpkg.gui.GUI_functionst
netconfpkgtnetconfpkg.guiR>R2t	gtk.gladetstringR-tTokenRingHardwareDruidRCRtrhplRkR7RRtsetDevTokenRingWizardt
__author__(
RkRRƒRR2R‡RCR7R>R-((Rt?s
				



Æ


Anon7 - 2021