Current File : //usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyo
�
oB�]c@sFdefd��YZdefd��YZdefd��YZdS(tNicBasecBs�eZdZed��Zed��Zed��Zed��Zed��Zed��Z	ed��Z
d�ZRS(	s{
    Define what are expected of each nic.
    The following properties should be provided in an implementation class.
    cCstd��dS(sb
        Retrieves the mac address of the nic
        @return (str) : the MACADDR setting
        tMACADDRN(tNotImplementedError(tself((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytmacscCstd��dS(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
        tPRIMARYN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytprimarys	cCstd��dS(su
        Retrieves whether the nic should be up at the boot time
        @return (bool) : the ONBOOT setting
        tONBOOTN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytonboot"scCstd��dS(s�
        Retrieves the boot protocol of the nic
        @return (str): the BOOTPROTO setting, valid values: dhcp and static.
        t	BOOTPROTON(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt	bootProto*scCstd��dS(s�
        Retrieves the IPv4_MODE
        @return (str): the IPv4_MODE setting, valid values:
        backwards_compatible, static, dhcp, disabled, as_is
        t	IPv4_MODEN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt	ipv4_mode2scCstd��dS(s�
        Retrieves the static IPv4 configuration of the nic
        @return (StaticIpv4Base list): the static ipv4 setting
        sStatic IPv4N(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt
staticIpv4;scCstd��dS(s|
        Retrieves the IPv6 configuration of the nic
        @return (StaticIpv6Base list): the static ipv6 setting
        sStatic Ipv6N(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt
staticIpv6CscCstd��dS(s�
        Validate the object
        For example, the staticIpv4 property is required and should not be
        empty when ipv4Mode is STATIC
        sCheck constraints on propertiesN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytvalidateKs(t__name__t
__module__t__doc__tpropertyRRRR
RR
RR(((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyR	s	tStaticIpv4BasecBs;eZdZed��Zed��Zed��ZRS(s�
    Define what are expected of a static IPv4 setting
    The following properties should be provided in an implementation class.
    cCstd��dS(sV
        Retrieves the Ipv4 address
        @return (str): the IPADDR setting
        sIpv4 AddressN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytipZscCstd��dS(s_
        Retrieves the Ipv4 NETMASK setting
        @return (str): the NETMASK setting
        sIpv4 NETMASKN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytnetmaskbscCstd��dS(sl
        Retrieves the gateways on this Ipv4 subnet
        @return (str list): the GATEWAY setting
        sIpv4 GATEWAYN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytgatewaysjs(RRRRRRR(((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyRTstStaticIpv6BasecBs;eZdZed��Zed��Zed��ZRS(s�Define what are expected of a static IPv6 setting
    The following properties should be provided in an implementation class.
    cCstd��dS(sX
        Retrieves the Ipv6 address
        @return (str): the IPv6ADDR setting
        sIpv6 AddressN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyRxscCstd��dS(sc
        Retrieves the Ipv6 NETMASK setting
        @return (str): the IPv6NETMASK setting
        sIpv6 NETMASKN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyR�scCstd��dS(sc
        Retrieves the Ipv6 GATEWAY setting
        @return (str): the IPv6GATEWAY setting
        sIpv6 GATEWAYN(R(R((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pytgateway�s(RRRRRRR(((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyRssN(tobjectRRR(((sQ/usr/lib/python2.7/site-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyt<module>	sK