%PDF- %PDF-
Direktori : /proc/self/root/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/ |
Current File : //proc/self/root/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyo |
� oB�]c @ sr d d l m Z d d l m Z m Z m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i ( t BootProtoEnum( t NicBaset StaticIpv4Baset StaticIpv6Baset Nicc B s� e Z d Z d � Z d � Z d � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z RS( sd Holds the information about each NIC specified in the customization specification file c C s | | _ | | _ d S( N( t _namet _configFile( t selft namet configFile( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyt __init__ s c C s | j j | j d | d � S( Nt |( R t getR t None( R t what( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyt _get s c C s | j j | j | � S( N( R t get_count_with_prefixR ( R t prefix( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyt _get_count_with_prefix s c C s | j S( N( R ( R ( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyR s c C s | j d � j � S( Nt MACADDR( R t lower( R ( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyt mac s c C s? | j d � } | r7 | j � } | d k p6 | d k St Sd S( Nt PRIMARYt yest true( R R t False( R t value( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyt primary$ s c C s? | j d � } | r7 | j � } | d k p6 | d k St Sd S( Nt ONBOOTR R ( R R R ( R R ( ( sL /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic.pyt onboot- s c C s'