Ë
    x[h  ã                   ó@   —  G d „ d«      Z  G d„ d«      Z G d„ d«      Zy)c                   ó†   — e 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d	„ Zy
)ÚNicBasez{
    Define what are expected of each nic.
    The following properties should be provided in an implementation class.
    c                 ó   — t        d«      ‚)zb
        Retrieves the mac address of the nic
        @return (str) : the MACADDR setting
        ÚMACADDR©ÚNotImplementedError©Úselfs    úO/usr/lib/python3/dist-packages/cloudinit/sources/helpers/vmware/imc/nic_base.pyÚmaczNicBase.mac   s   € ô " )Ó,Ð,ó    c                 ó   — t        d«      ‚)a  
        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
        ÚPRIMARYr   r   s    r
   ÚprimaryzNicBase.primary   s   € ô " )Ó,Ð,r   c                 ó   — t        d«      ‚)zu
        Retrieves whether the nic should be up at the boot time
        @return (bool) : the ONBOOT setting
        ÚONBOOTr   r   s    r
   ÚonbootzNicBase.onboot"   s   € ô " (Ó+Ð+r   c                 ó   — t        d«      ‚)z…
        Retrieves the boot protocol of the nic
        @return (str): the BOOTPROTO setting, valid values: dhcp and static.
        Ú	BOOTPROTOr   r   s    r
   Ú	bootProtozNicBase.bootProto*   s   € ô " +Ó.Ð.r   c                 ó   — t        d«      ‚)z¡
        Retrieves the IPv4_MODE
        @return (str): the IPv4_MODE setting, valid values:
        backwards_compatible, static, dhcp, disabled, as_is
        Ú	IPv4_MODEr   r   s    r
   Ú	ipv4_modezNicBase.ipv4_mode2   s   € ô " +Ó.Ð.r   c                 ó   — t        d«      ‚)zƒ
        Retrieves the static IPv4 configuration of the nic
        @return (StaticIpv4Base list): the static ipv4 setting
        zStatic IPv4r   r   s    r
   Ú
staticIpv4zNicBase.staticIpv4;   ó   € ô " -Ó0Ð0r   c                 ó   — t        d«      ‚)z|
        Retrieves the IPv6 configuration of the nic
        @return (StaticIpv6Base list): the static ipv6 setting
        zStatic Ipv6r   r   s    r
   Ú
staticIpv6zNicBase.staticIpv6C   r   r   c                 ó   — t        d«      ‚)z–
        Validate the object
        For example, the staticIpv4 property is required and should not be
        empty when ipv4Mode is STATIC
        zCheck constraints on propertiesr   r   s    r
   ÚvalidatezNicBase.validateK   s   € ô "Ð"CÓDÐDr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   r   r   r   r   r   r   r   © r   r
   r   r   	   s™   „ ñð
 ñ-ó ð-ð ñ-ó ð-ð ñ,ó ð,ð ñ/ó ð/ð ñ/ó ð/ð ñ1ó ð1ð ñ1ó ð1óEr   r   c                   ó@   — e Zd ZdZed„ «       Zed„ «       Zed„ «       Zy)ÚStaticIpv4Basez‡
    Define what are expected of a static IPv4 setting
    The following properties should be provided in an implementation class.
    c                 ó   — t        d«      ‚)zV
        Retrieves the Ipv4 address
        @return (str): the IPADDR setting
        zIpv4 Addressr   r   s    r
   ÚipzStaticIpv4Base.ipZ   ó   € ô " .Ó1Ð1r   c                 ó   — t        d«      ‚)z_
        Retrieves the Ipv4 NETMASK setting
        @return (str): the NETMASK setting
        zIpv4 NETMASKr   r   s    r
   ÚnetmaskzStaticIpv4Base.netmaskb   r*   r   c                 ó   — t        d«      ‚)zl
        Retrieves the gateways on this Ipv4 subnet
        @return (str list): the GATEWAY setting
        zIpv4 GATEWAYr   r   s    r
   ÚgatewayszStaticIpv4Base.gatewaysj   r*   r   N)r    r!   r"   r#   r$   r)   r,   r.   r%   r   r
   r'   r'   T   sC   „ ñð
 ñ2ó ð2ð ñ2ó ð2ð ñ2ó ñ2r   r'   c                   ó@   — e Zd ZdZed„ «       Zed„ «       Zed„ «       Zy)ÚStaticIpv6Basez‚Define what are expected of a static IPv6 setting
    The following properties should be provided in an implementation class.
    c                 ó   — t        d«      ‚)zX
        Retrieves the Ipv6 address
        @return (str): the IPv6ADDR setting
        zIpv6 Addressr   r   s    r
   r)   zStaticIpv6Base.ipx   r*   r   c                 ó   — t        d«      ‚)zc
        Retrieves the Ipv6 NETMASK setting
        @return (str): the IPv6NETMASK setting
        zIpv6 NETMASKr   r   s    r
   r,   zStaticIpv6Base.netmask€   r*   r   c                 ó   — t        d«      ‚)zc
        Retrieves the Ipv6 GATEWAY setting
        @return (str): the IPv6GATEWAY setting
        zIpv6 GATEWAYr   r   s    r
   ÚgatewayzStaticIpv6Base.gatewayˆ   r*   r   N)r    r!   r"   r#   r$   r)   r,   r4   r%   r   r
   r0   r0   s   sC   „ ñð ñ2ó ð2ð ñ2ó ð2ð ñ2ó ñ2r   r0   N)r   r'   r0   r%   r   r
   ú<module>r5      s(   ð÷HEñ HE÷V2ñ 2÷>2ò 2r   