Ñò
+z2Wc @ s~ d Z d d k Z d d k l Z d d k l Z d d k l Z l Z l Z d e f d „ ƒ YZ
d e
f d „ ƒ YZ d S(
s Host ModuleiÿÿÿÿN( t AliasList( t testHostname( t Gdtstructt gdtstruct_propertiest Gdtstrt Host_basec B sH e Z e d e d f d e d f d e d f g ƒ d „ Z d „ Z RS( t IPs Test doc stringt HostnameR c C s5 t t | ƒ i ƒ d | _ d | _ t ƒ | _ d S( N( t superR t __init__t NoneR R R ( t self( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyR s c C s! | i p t ƒ | _ n | i S( N( R ( R ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyt createAliasList s
( t __name__t
__module__R R R R R ( ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyR s t Hostc B s2 e Z d Z d „ Z d „ Z d „ Z d „ Z RS( c C s) t t | ƒ i ƒ d | _ d | _ d S( N( R R R R
t Commentt origLine( R ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyR s c C sk y t i t i | i ƒ WnJ t i j
o; y t i t i | i ƒ Wqg t i j
o t SXn Xt S( N( t sockett inet_ptont AF_INETR t errort AF_INET6t Falset True( R ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyt testIP$ s c C s
t | i ƒ S( N( R R ( R ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyR . s c C si | i ƒ p t d ƒ ‚ n | i ƒ p t d ƒ ‚ n | i o! | i i ƒ o t d ƒ ‚ n d S( NR R t Alias( R t
ValueErrorR R t test( R ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyR 1 s
N( R
R R
t HostIDR R R R ( ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyR s
( t __doc__R t netconfpkg.NCAliasListR t netconfpkg.NC_functionsR t netconfpkg.gdtR R R R R ( ( ( s5 /usr/share/system-config-network/netconfpkg/NCHost.pyt