Current File : //usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyc |
�
oB�]c @ sF d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( t NicBasec B s� e Z d Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z e d � � Z
d � Z RS( s{
Define what are expected of each nic.
The following properties should be provided in an implementation class.
c C s t d � � d S( sb
Retrieves the mac address of the nic
@return (str) : the MACADDR setting
t MACADDRN( t NotImplementedError( t self( ( sQ /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt mac s c C s t d � � d S( s
Retrieves whether the nic is the primary nic
Indicates whether NIC will be used to define the default gateway.
If none of the NICs is configured to be primary, default gateway won't
be set.
@return (bool): the PRIMARY setting
t PRIMARYN( R ( R ( ( sQ /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt primary s c C s t d � � d S( su
Retrieves whether the nic should be up at the boot time
@return (bool) : the ONBOOT setting
t ONBOOTN( R ( R ( ( sQ /usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt onboot"