Ë x[hãó@—Gd„d«ZGd„d«ZGd„d«Zy)có†—eZdZdZed„«Zed„«Zed„«Zed„«Zed„«Z ed„«Z ed„«Z d „Z y ) ÚNicBasez{ Define what are expected of each nic. The following properties should be provided in an implementation class. có—td«‚)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.macs€ô " )Ó,Ð,ócó—td«‚)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 ÚPRIMARYrrs r ÚprimaryzNicBase.primarys€ô" )Ó,Ð,r có—td«‚)zu Retrieves whether the nic should be up at the boot time @return (bool) : the ONBOOT setting ÚONBOOTrrs r ÚonbootzNicBase.onboot"s€ô " (Ó+Ð+r có—td«‚)z… Retrieves the boot protocol of the nic @return (str): the BOOTPROTO setting, valid values: dhcp and static. Ú BOOTPROTOrrs r Ú bootProtozNicBase.bootProto*s€ô " +Ó.Ð.r có—td«‚)z¡ Retrieves the IPv4_MODE @return (str): the IPv4_MODE setting, valid values: backwards_compatible, static, dhcp, disabled, as_is Ú IPv4_MODErrs r Ú ipv4_modezNicBase.ipv4_mode2s€ô" +Ó.Ð.r có—td«‚)zƒ Retrieves the static IPv4 configuration of the nic @return (StaticIpv4Base list): the static ipv4 setting z Static IPv4rrs r Ú staticIpv4zNicBase.staticIpv4;ó€ô " -Ó0Ð0r có—td«‚)z| Retrieves the IPv6 configuration of the nic @return (StaticIpv6Base list): the static ipv6 setting z Static Ipv6rrs r Ú staticIpv6zNicBase.staticIpv6Crr có—td«‚)z– Validate the object For example, the staticIpv4 property is required and should not be empty when ipv4Mode is STATIC zCheck constraints on propertiesrrs r ÚvalidatezNicBase.validateKs€ô "Ð"CÓDÐDr N) Ú__name__Ú __module__Ú __qualname__Ú__doc__Úpropertyr rrrrrrr©r r rr s™„ñð ñ-óð-ðñ-óð-ðñ,óð,ðñ/óð/ðñ/óð/ðñ1óð1ðñ1óð1óEr rcó@—eZdZdZed„«Zed„«Zed„«Zy)ÚStaticIpv4Basez‡ Define what are expected of a static IPv4 setting The following properties should be provided in an implementation class. có—td«‚)zV Retrieves the Ipv4 address @return (str): the IPADDR setting z Ipv4 Addressrrs r ÚipzStaticIpv4Base.ipZó€ô " .Ó1Ð1r có—td«‚)z_ Retrieves the Ipv4 NETMASK setting @return (str): the NETMASK setting z Ipv4 NETMASKrrs r ÚnetmaskzStaticIpv4Base.netmaskbr*r có—td«‚)zl Retrieves the gateways on this Ipv4 subnet @return (str list): the GATEWAY setting z Ipv4 GATEWAYrrs r ÚgatewayszStaticIpv4Base.gatewaysjr*r N)r r!r"r#r$r)r,r.r%r r r'r'TsC„ñð ñ2óð2ðñ2óð2ðñ2óñ2r r'có@—eZdZdZed„«Zed„«Zed„«Zy)ÚStaticIpv6Basez‚Define what are expected of a static IPv6 setting The following properties should be provided in an implementation class. có—td«‚)zX Retrieves the Ipv6 address @return (str): the IPv6ADDR setting z Ipv6 Addressrrs r r)zStaticIpv6Base.ipxr*r có—td«‚)zc Retrieves the Ipv6 NETMASK setting @return (str): the IPv6NETMASK setting z Ipv6 NETMASKrrs r r,zStaticIpv6Base.netmask€r*r có—td«‚)zc Retrieves the Ipv6 GATEWAY setting @return (str): the IPv6GATEWAY setting z Ipv6 GATEWAYrrs r ÚgatewayzStaticIpv6Base.gatewayˆr*r N)r r!r"r#r$r)r,r4r%r r r0r0ssC„ñðñ2óð2ðñ2óð2ðñ2óñ2r r0N)rr'r0r%r r úr5s(ð÷HEñHE÷V2ñ2÷>2ò2r