+z2Wc @sXddkZddklZddklZddklZlZlZl Z l Z l Z l Z l Z lZddklZddklZlZlZlZlZlZlZddklZdefd YZd efd YZd efd YZdZdZhede6ede6Z hJded6ded6ded6ded6ded6ded6ded6ded6d ed!6d"ed#6d$ed%6d&ed'6d(ed)6d*ed+6d,ed-6d*ed.6d/ed06d1ed26d3ed46d5ed66d7ed86d9ed:6d;ed<6d=ed>6d?ed@6dAedB6dCedD6dEedF6dGedH6dIedJ6dKedL6dMedN6dOedP6dQedR6dSedT6dUedV6dWedX6dYedZ6d[ed\6d]ed^6d_ed`6daedb6dcedd6deedf6dgedh6diedj6dkedl6dmedn6doedp6dqedr6dsedt6duedv6d5edw6dxedy6dzed{6d|ed}6d~ed6dGed6d[ed6ded6ded6ded6ded6ded6ded6ded6ded6ded6ded6ded6d*ed6ded6ded6ded6Z!defdYZ"de"fdYZ#de"fdYZ$de"fdYZ%dZ&dS(iN(tCallback(t Compression( t_tgetRoottlogtunlinkt getCHAPConft getPAPConft WVDIALCONFtmkdirtPPPDIR(tConfSMB(t Gdtstructtgdtstruct_propertiestGdtstrtGdtlisttGdtbooltGdtinttgdtlist_properties(tNCHardwareListt PPPOptioncBseZRS((t__name__t __module__(((s7/usr/share/system-config-network/netconfpkg/NCDialup.pyRst PPPOptionscBseZeeRS((RRRR(((s7/usr/share/system-config-network/netconfpkg/NCDialup.pyR"st Dialup_basec*BseZdZededfdedfdedfdedfdedfdedfd edfd edfd edfd edfd edfdedfdedfdedfdedfdedfdedfdedfdedfdedfdedfdedfdedfdedfdedfdedfd edfd!ed"fd#ed$fd%edfd&edfd'edfd(edfd)edfd*edfd+edfd,edfd-edfd.e dfg'd/Z d0Z d1Z d2Z RS(3sDialup structuretHostnamesTest doc stringt ProviderNametLogintPasswordtAuthenticationtMSNs VALUE="0"tPrefixtAreacodet Regioncodet PhoneNumbertLocalIPtRemoteIPtPersisttDefRoutetInheritst ChargeHupt ChargeInttIhuptDialMaxs VALUE="3"tLayer2s VALUE="hdlc"tLayer3s VALUE="trans"tMruRt StupidModet DialinServertChannelBundlingt EncapModet HangupTimeouts VALUE="600"tDialModesVALUE="manual"t SlaveDevicet EthDevicet ServiceNametAcNametSyncPPPt InitStringtSecuret PhoneInNumberRRcCstt|id|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_t|_d|_d|_d|_d|_d|_d|_ d|_!d|_"d|_#d|_$d|_%d|_&d|_'d|_(t)|_)t*|_*dS(NiX(+tsuperRt__init__tNoneRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.RR/R0R1R2R3R4R5R6R7R8R9R:R;R<RR(tself((s7/usr/share/system-config-network/netconfpkg/NCDialup.pyR>QsP                                      cCs!|ipt|_n|iS(N(R(R@((s7/usr/share/system-config-network/netconfpkg/NCDialup.pytcreateCallbacks cCs!|ipt|_n|iS(N(R(R@((s7/usr/share/system-config-network/netconfpkg/NCDialup.pytcreateCompressions cCs!|ipt|_n|iS(N(R(R@((s7/usr/share/system-config-network/netconfpkg/NCDialup.pytcreatePPPOptionss (RRt__doc__R RRRRRRR>RARBRC(((s7/usr/share/system-config-network/netconfpkg/NCDialup.pyR%sZ                                       0  tautotmanualiR?i]t AfghanistanictAlbaniaitAlgeriaisAmerican SamoaixtAndorrai6t Argentinai=t Australiai+tAustriaiwtBelarusi tBelgiumisBosnia and Hercegovinai7tBrazilisBritish Virgin IslandsigtBulgariatCanadaisCentral African Republici8tChileiVtChinai/tColombiaitCroatiai5tCubaietCyprusisCzech Republici-tDenmarkiftFinlandi!tFrancei1tGermanyitGreeceiTs Hong Kongi$tHungaryibtIcelandi[tIndiai>t IndonesiaiatIrelanditIsraeli'tItalyiQtJapanit KazakhstaniRs Korea NorthiRsKorea Republicit Liechtensteinirt Lithuaniai`t Luxembourgit Macedoniai<tMalaysiaidtMaltai4tMexicoiutMoldovaiytMonacoit Netherlandsi@s New ZealandtNorwayit Palestinei?t Philippinesi0tPolandi_tPortugaltRomaniatRussiaiAt SingaporeitSlovakiaitSloveniai"tSpaini.tSwedeni)t SwitzerlandivtTaiwaniBtThailandiZtTurkeyi|tUkrainei,sUnited KingdomsUnited States of AmericaiTtVietnami}tSerbiat MontenegrotDialupcBs-eZdZhdd6ZdZdZRS(sClass for all Dialup InterfacestMRUR.c Cs|}|i}xc|iiD]R}|i|}|i|o/t||ot||t||qqW|ido+|ddjo t|_qt |_n|i ot |d p|i d jo d|_ ntidd|i t}t}x||gD]}|i|i otidd||i ||i ido||i d|_ n||i i|o0||i ||_ tidd|i PqqqWntidd d S( s*Load the Configuration from the parentConftDEMANDtyesRtisLooking for %ssFound %st*sNo self.login!!!N(tDeviceIdt intkeydicttkeysthas_keytlentsetattrtinttDM_AUTOR4t DM_MANUALRthasattrRR?RRR( R@t parentConftparenttconftdevidstrtselfkeytconfkeytpapconftchapconf((s7/usr/share/system-config-network/netconfpkg/NCDialup.pytloads8  !"   !    c CsGtidd|}xh|iiD]W}|i|}t||o-t||ott||||s&  c Csti|||||}xe|iiD]T}|i|}t||o't||ot||||('R tnetconfpkg.NCCallbackRtnetconfpkg.NCCompressionRtnetconfpkg.NC_functionsRRRRRRRR R tnetconfpkg.confR tnetconfpkg.gdtR R RRRRRt netconfpkgRRRRRRt DialModest__country_codeRRRRt __author__(((s7/usr/share/system-config-network/netconfpkg/NCDialup.pyts @4k                                                                         Iq