§
    ÎÑßj‡ ã                   óÖ  — d Z ddlZddlmc mZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ ddlmZ dd	lmZmZmZ dd
lmZ ddlmZmZmZ ddlmZ ddlmZmZ 	 ddl m!Z!m"Z" n# e#$ r ddl m!Z!m"Z" Y nw xY wdZ$e$dz   Z%e$dz   Z&e$dz   Z'e$dz   Z(e$dz   Z)e$dz   Z*dZ+i dddddœ“dddddœ“dd d!ddœ“d"d#d$ddœ“d%d&d'ddœ“d(d)d*ddœ“d+d,d-ddœ“d.dd/d0dœ“d1dd2d0dœ“d3d d4d0dœ“d5d&d6d0dœ“d7d)d8d0dœ“d9d:d;d0dœ“d<d,d=d0dœ“d>dd?d@dœ“dAddBd@dœ“dCd dDd@dœ“d&dEd@dœd)dFd@dœddGdHdœddIdHdœd dJdHdœd&dKdHdœd)dLdHdœd:dMdHdœd,dNdHdœdOœ	¥Z,dZ-dPe&fdPe+fdQe)ffZ.dRe&fdRe+fdSe)ffZ/dT„ Z0d»dV„Z1dW„ Z2 G dX„ dY¦  «        Z3 G dZ„ d[e¦  «        Z4 G d\„ d]e¦  «        Z5 G d^„ d_e¦  «        Z6 G d`„ dae¦  «        Z7 G db„ dc¦  «        Z8 G dd„ de¦  «        Z9 G df„ dg¦  «        Z: G dh„ di¦  «        Z; G dj„ dk¦  «        Z< G dl„ dm¦  «        Z= G dn„ do¦  «        Z> G dp„ dq¦  «        Z? G dr„ ds¦  «        Z@ G dt„ du¦  «        ZA G dv„ dw¦  «        ZB G dx„ dy¦  «        ZC	  G dz„ d{¦  «        ZD G d|„ d}¦  «        ZE G d~„ d¦  «        ZF G d€„ d�¦  «        ZG G d‚„ dƒ¦  «        ZH G d„„ d…¦  «        ZI G d†„ d‡¦  «        ZJ G dˆ„ d‰¦  «        ZK G dŠ„ d‹¦  «        ZL G dŒ„ d�¦  «        ZM G dŽ„ d�¦  «        ZN G d�„ d‘¦  «        ZO G d’„ d“¦  «        ZP G d”„ d•¦  «        ZQ G d–„ d—¦  «        ZR G d˜„ d™¦  «        ZS G dš„ d›¦  «        ZT G dœ„ d�¦  «        ZU G dž„ dŸ¦  «        ZV G d „ d¡¦  «        ZW G d¢„ d£¦  «        ZX G d¤„ d¥¦  «        ZY G d¦„ d§¦  «        ZZ G d¨„ d©¦  «        Z[ G dª„ d«¦  «        Z\ G d¬„ d­¦  «        Z] G d®„ d¯¦  «        Z^ G d°„ d±¦  «        Z_ G d²„ d³¦  «        Z`i aad¼d´„Zbdµ„ Zc G d¶„ d·ed¦  «        Ze G d¸„ d¹ef¦  «        Zgdº„ ZhdS )½z
NTTCIS Common Components
é    N)ÚBytesIO)Údeepcopy)Úsleep)Ú	b64encode)ÚDict©Úwraps)ÚbÚhttplibÚ
basestring)Úfindtext)ÚRawResponseÚXmlResponseÚConnectionUserAndKey)ÚNode)ÚLibcloudErrorÚInvalidCredsError)ÚMappingÚMutableSequencez#http://oec.api.opsource.net/schemasz/organizationz/serverz/networkz
/directoryz/generalz/backupzurn:didata.com:api:cloud:typesÚnazNorth America (NA)zapi-na.dimensiondata.comzNTTC-CIS)ÚnameÚhostÚvendorÚeuzEurope (EU)zapi-eu.dimensiondata.comÚauzAustralia (AU)zapi-au.dimensiondata.comzau-govzAustralia Canberra ACT (AU)zapi-canberra.dimensiondata.comÚafzAfrica (AF)zapi-mea.dimensiondata.comÚapzAsia Pacific (AP)zapi-ap.dimensiondata.comÚcazCanada (CA)zapi-canada.dimensiondata.comzis-nazusapi.cloud.is.co.zaÚInternetSolutionszis-euzeuapi.cloud.is.co.zazis-auzauapi.cloud.is.co.zazis-afzmeaapi.cloud.is.co.zazis-apzapapi.cloud.is.co.zazis-latamzSouth America (LATAM)zlatamapi.cloud.is.co.zaz	is-canadazcanadaapi.cloud.is.co.zazntta-nazcloudapi.nttamerica.comÚNTTNorthAmericazntta-euzeucloudapi.nttamerica.comzntta-auzaucloudapi.nttamerica.comzsacloudapi.nttamerica.comzhkcloudapi.nttamerica.comziaas-api-na.cisco-ccs.comÚCiscoziaas-api-eu.cisco-ccs.comziaas-api-au.cisco-ccs.comziaas-api-mea.cisco-ccs.comziaas-api-ap.cisco-ccs.comziaas-api-sa.cisco-ccs.comziaas-api-ca.cisco-ccs.com)	zntta-afzntta-apzcisco-nazcisco-euzcisco-auzcisco-afzcisco-apzcisco-latamzcisco-canadaÚresponseCodeÚresultÚmessageÚresultDetailc                 ó<   ‡ — t          ‰ ¦  «        ˆ fd„¦   «         }|S )Nc                  ó   •— |ryi }|                      ¦   «         D ]O\  }}t          j        d|¦  «        }|D ]-}|                     d|z   |                     ¦   «         ¦  «        }Œ.|||<   ŒP ‰| d         |¦  «        }n ‰| d         ¦  «        }|S )Nz_(\w)Ú_r   )ÚitemsÚreÚfindallÚreplaceÚupper)	ÚargsÚkwargsÚparamsÚkÚvÚmatchesÚmatchr#   Úfuncs	           €úJ/opt/saltstack/salt/lib/python3.11/site-packages/libcloud/common/nttcis.pyÚparamedzget_params.<locals>.paramedÑ   s¤   ø€ àð 		#ØˆFØŸš™œð ð ‘��1Ýœ* X¨qÑ1Ô1�Ø$ð >ð >�EØŸ	š	 #¨¡+¨u¯{ª{©}¬}Ñ=Ô=�A�AØ��q‘	�	Ø�T˜$˜qœ' 6Ñ*Ô*ˆFˆFà�T˜$˜qœ'‘]”]ˆFØˆó    r   )r5   r7   s   ` r6   Ú
get_paramsr9   Ð   s3   ø€ Ý
ˆ4�[„[ðð ð ð ñ „[ðð €Nr8   Úidc                 óä   — t          | |¦  «        rt          | |¦  «        S t          | t          ¦  «        r| S t          d                     t          | ¦  «        j        |j        ¦  «        ¦  «        ‚)aõ  
    Takes in a DD object or string and prints out it's id
    This is a helper method, as many of our functions can take either an object
    or a string, and we need an easy way of converting them

    :param obj: The object to get the id for
    :type  obj: ``object``

    :param  func: The function to call, e.g. ex_get_vlan. Note: This
                  function needs to return an object which has ``status``
                  attribute.
    :type   func: ``function``

    :rtype: ``str``
    z,Invalid type {} looking for basestring or {})Ú
isinstanceÚgetattrr   Ú	TypeErrorÚformatÚtypeÚ__name__)ÚobjÚobj_typeÚid_values      r6   Údd_object_to_idrE   â   ss   € õ  �#�xÑ Ô ð 	
Ý�s˜HÑ%Ô%Ð%Ý	�C�*Ñ	&Ô	&ð 
Øˆ
åØ:×AÒAÝ�S‘	”	Ô" HÔ$5ñô ñ
ô 
ð 	
r8   c                 ó    — t          | ¦  «        S ©N)Úfloat)Úversions    r6   ÚLooseVersionrJ      s   € Ý�‰>Œ>Ðr8   c                   ó   — e Zd ZdZdZdS )ÚNetworkDomainServicePlanÚ
ESSENTIALSÚADVANCEDN)rA   Ú
__module__Ú__qualname__rM   rN   © r8   r6   rL   rL     s   € € € € € Ø€JØ€H€H€Hr8   rL   c                   ó   — e Zd ZdS )ÚNttCisRawResponseN©rA   rO   rP   rQ   r8   r6   rS   rS   	  ó   € € € € € Ø€Dr8   rS   c                   ó   — e Zd Zd„ ZdS )ÚNttCisResponsec                 óR  — | j         t          j        k    rt          | j        ¦  «        ‚| j         t          j        k    rt          | j        ¦  «        ‚|                      ¦   «         }| j         t          j        k    rrt          D ]#}t          ||d         |d         ¦  «        }|� nŒ$t          D ]#}t          ||d         |d         ¦  «        }|� nŒ$t          ||| j        j        ¬¦  «        ‚| j         t          j        ur!t          | j         || j        j        ¬¦  «        ‚| j        S )Nr   é   ©ÚcodeÚmsgÚdriver)Ústatusr   ÚUNAUTHORIZEDr   ÚbodyÚ	FORBIDDENÚ
parse_bodyÚBAD_REQUESTÚBAD_CODE_XML_ELEMENTSr   ÚBAD_MESSAGE_XML_ELEMENTSÚNttCisAPIExceptionÚ
connectionr]   ÚOK)Úselfr`   Úresponse_coder[   r$   s        r6   Úparse_errorzNttCisResponse.parse_error  s   € ØŒ;�'Ô.Ò.Ð.Ý# D¤IÑ.Ô.Ð.ØŒ[�GÔ-Ò-Ð-Ý# D¤IÑ.Ô.Ð.à�ŠÑ Ô ˆàŒ;�'Ô-Ò-Ð-Ý!6ð ð �Ý  m°AÔ&6¸ÀaÔ8HÑIÔI�ØÐ#Ø�Eð $å3ð ð �Ý" 4¨°¬°W¸Q´ZÑ@Ô@�ØÐ&Ø�Eð 'å$¨$°GÀDÄOÔDZÐ[Ñ[Ô[Ð[ØŒ;�gœjÐ(Ð(Ý$¨$¬+¸4ÈÌÔH^Ð_Ñ_Ô_Ð_àŒyÐr8   N)rA   rO   rP   rk   rQ   r8   r6   rW   rW     s#   € € € € € ðð ð ð ð r8   rW   c                   ó    — e Zd Zd„ Zd„ Zd„ ZdS )rf   c                 ó0   — || _         || _        || _        d S rG   rZ   )ri   r[   r\   r]   s       r6   Ú__init__zNttCisAPIException.__init__'  s   € ØˆŒ	ØˆŒØˆŒˆˆr8   c                 óB   — d                      | j        | j        ¦  «        S )Nz{}: {}©r?   r[   r\   ©ri   s    r6   Ú__str__zNttCisAPIException.__str__,  s   € Ø�Š˜tœy¨$¬(Ñ3Ô3Ð3r8   c                 óB   — d                      | j        | j        ¦  «        S )Nz)<NttCisAPIException: code='{}', msg='{}'>rp   rq   s    r6   Ú__repr__zNttCisAPIException.__repr__/  s   € Ø:×AÒAÀ$Ä)ÈTÌXÑVÔVÐVr8   N)rA   rO   rP   rn   rr   rt   rQ   r8   r6   rf   rf   &  sF   € € € € € ðð ð ð
4ð 4ð 4ðWð Wð Wð Wð Wr8   rf   c                   óÈ   ‡ — e Zd ZdZdZdZdZdZdZdZ	dZ
eZeZdZ	 	 	 	 	 	 	 dˆ fd
„	Zd„ Zdˆ fd„	Zdˆ fd„	Z	 dˆ fd„	Zdˆ fd„	Zdˆ fd„	Z	 dd„Zd„ Zd„ Zdd„Zd„ Zd„ Zˆ xZS ) ÚNttCisConnectionz0
    Connection class for the NttCis driver
    z/oecz/caasgÍÌÌÌÌÌì?z2.2z2.7NFTc
           
      óþ  •— t          ¦   «                              ||||||||¬¦  «         |
d         r|
d         d         | _        |	rµt          |	¦  «        t          | j        ¦  «        k     r1d                     | j        ¦  «        }t          d || j        ¬¦  «        ‚t          |	¦  «        t          | j	        ¦  «        k    r1d                     | j        ¦  «        }t          d || j        ¬¦  «        ‚|	| _        d S d S )N)Úuser_idÚkeyÚsecurer   ÚportÚurlÚtimeoutÚ	proxy_urlÚregionr   z^API Version specified is too old. No longer supported. Please upgrade to the latest version {}rZ   zmUnsupported API Version. The version specified is not release yet. Please use the latest supported version {})
Úsuperrn   r   rJ   Úoldest_api_versionr?   Úactive_api_versionrf   r]   Úlatest_api_version)ri   rx   ry   rz   r   r{   r|   r}   r~   Úapi_versionÚconn_kwargsr\   Ú	__class__s               €r6   rn   zNttCisConnection.__init__K  s*  ø€ õ 	‰Œ×ÒØØØØØØØØð 	ñ 		
ô 		
ð 		
ð �xÔ ð 	6Ø# HÔ-¨fÔ5ˆDŒIàð 	6Ý˜KÑ(Ô(­<¸Ô8OÑ+PÔ+PÒPÐPðIßIOÊØÔ/ñJô Jð õ )¨d¸ÀDÄKÐPÑPÔPÐPÝ˜kÑ*Ô*­\¸$Ô:QÑ-RÔ-RÒRÐRð!ç!'¢¨Ô(?Ñ!@Ô!@ð õ )¨d¸ÀDÄKÐPÑPÔPÐPð +6�Ô'Ð'Ð'ð+	6ð 	6r8   c           	      ó¶   — dt          t          d                     | j        | j        ¦  «        ¦  «        ¦  «                             d¦  «        z  |d<   d|d<   |S )NzBasic %sz{}:{}zutf-8ÚAuthorizationzapplication/xmlzContent-Type)r   r
   r?   rx   ry   Údecode)ri   Úheaderss     r6   Úadd_default_headersz$NttCisConnection.add_default_headers}  sV   € Ø#-µ	Ýˆg�nŠn˜Tœ\¨4¬8Ñ4Ô4Ñ5Ô5ñ1
ô 1
ç
Š&�‰/Œ/ñ$ˆ�Ñ ð #4ˆ�ÑØˆr8   Ú ÚGETc                 ó’   •— d                      | j        | j        |¦  «        }t          ¦   «                              |||||¬¦  «        S )Nú{}/{}/{}©Úactionr0   ÚdataÚmethodrŠ   )r?   Úapi_path_version_1Úapi_version_1r€   Úrequest©ri   r‘   r0   r’   rŠ   r“   r†   s         €r6   Úrequest_api_1zNttCisConnection.request_api_1„  sK   ø€ Ø×"Ò" 4Ô#:¸DÔ<NÐPVÑWÔWˆå‰wŒw�ŠØ &¨t¸FÈGð ñ 
ô 
ð 	
r8   c                 ó”   •— d                      | j        | j        ||¦  «        }t          ¦   «                              |||||¬¦  «        S )Nz{}/{}/{}/{}r�   )r?   Úapi_path_version_2r‚   r€   r–   )ri   Úpathr‘   r0   r’   rŠ   r“   r†   s          €r6   Úrequest_api_2zNttCisConnection.request_api_2‹  sV   ø€ Ø×%Ò%ØÔ#ØÔ#ØØñ	
ô 
ˆõ ‰wŒw�ŠØ &¨t¸FÈGð ñ 
ô 
ð 	
r8   c                 ó¢   •— d                      |                      ¦   «         |¦  «        }t          ¦   «                              |||||d¬¦  «        S )Nú{}/{}T)r‘   r0   r’   r“   rŠ   Úraw©r?   Úget_resource_path_api_1r€   r–   r—   s         €r6   Úraw_request_with_orgId_api_1z-NttCisConnection.raw_request_with_orgId_api_1—  sU   ø€ ð —’ × <Ò <Ñ >Ô >ÀÑGÔGˆÝ‰wŒw�ŠØØØØØØð ñ 
ô 
ð 	
r8   c                 ó    •— d                      |                      ¦   «         |¦  «        }t          ¦   «                              |||||¬¦  «        S ©Nrž   r�   r    r—   s         €r6   Úrequest_with_orgId_api_1z)NttCisConnection.request_with_orgId_api_1¤  óL   ø€ Ø—’ × <Ò <Ñ >Ô >ÀÑGÔGˆå‰wŒw�ŠØ &¨t¸FÈGð ñ 
ô 
ð 	
r8   c                 ó    •— d                      |                      ¦   «         |¦  «        }t          ¦   «                              |||||¬¦  «        S r¤   )r?   Úget_resource_path_api_2r€   r–   r—   s         €r6   Úrequest_with_orgId_api_2z)NttCisConnection.request_with_orgId_api_2«  r¦   r8   éú   c              #   óx  K  — |€i }||d<   |                       |||||¦  «        j        }|V — t          |¦  «        dk    rdS |                     d¦  «        }|                     d¦  «        }	|                     d¦  «        }
t	          |¦  «        t	          |	¦  «        k    r˜t	          |
¦  «        dz   |d<   |                       |||||¦  «        j        }|                     d¦  «        }|                     d¦  «        }	|                     d¦  «        }
|V — t	          |¦  «        t	          |	¦  «        k    °–dS dS )aµ  
        A paginated request to the MCP2.0 API
        This essentially calls out to request_with_orgId_api_2 for each page
        and yields the response to make a generator
        This generator can be looped through to grab all the pages.

        :param action: The resource to access (i.e. 'network/vlan')
        :type  action: ``str``

        :param params: Parameters to give to the action
        :type  params: ``dict`` or ``None``

        :param data: The data payload to be added to the request
        :type  data: ``str``

        :param headers: Additional header to be added to the request
        :type  headers: ``str`` or ``dict`` or ``None``

        :param method: HTTP Method for the request (i.e. 'GET', 'POST')
        :type  method: ``str``

        :param page_size: The size of each page to be returned
                          Note: Max page size in MCP2.0 is currently 250
        :type  page_size: ``int``
        NÚpageSizer   Ú	pageCountÚ
pageNumberrY   )r©   ÚobjectÚlenÚgetÚint)ri   r‘   r0   r’   rŠ   r“   Ú	page_sizeÚrespÚpcountÚpsizeÚpnumbers              r6   Ú"paginated_request_with_orgId_api_2z3NttCisConnection.paginated_request_with_orgId_api_2²  s6  è è € ð8 ˆ>ØˆFØ&ˆˆzÑà×,Ò,¨V°V¸TÀ7ÈFÑSÔSÔZˆØˆ
ˆ
ˆ
Ýˆt‰9Œ9˜Š>ˆ>ØˆFà—’˜+Ñ&Ô&ˆØ—’˜Ñ$Ô$ˆØ—(’(˜<Ñ(Ô(ˆå�&‰kŒk�S ™ZœZÒ'Ð'Ý#& w¡<¤<°!Ñ#3ˆF�<Ñ Ø×0Ò0°¸ÀÀwÐPVÑWÔWÔ^ˆDØ—X’X˜kÑ*Ô*ˆFØ—H’H˜ZÑ(Ô(ˆEØ—h’h˜|Ñ,Ô,ˆGØˆJˆJˆJõ �&‰kŒk�S ™ZœZÒ'Ð'Ð'Ð'Ð'Ð'r8   c                 óh   — d                      | j        | j        |                      ¦   «         ¦  «        S ©zÌ
        This method returns a resource path which is necessary for referencing
        resources that require a full path instead of just an ID, such as
        networks, and customer snapshots.
        r�   )r?   r”   r•   Ú
_get_orgIdrq   s    r6   r¡   z(NttCisConnection.get_resource_path_api_1ã  s5   € ð × Ò ØÔ#ØÔØ�OŠOÑÔñ
ô 
ð 	
r8   c                 óh   — d                      | j        | j        |                      ¦   «         ¦  «        S rº   )r?   rš   r‚   r»   rq   s    r6   r¨   z(NttCisConnection.get_resource_path_api_2ï  s5   € ð × Ò ØÔ#ØÔ#Ø�OŠOÑÔñ
ô 
ð 	
r8   é   é<   c                 ón  — d}d}d}	|                      ¦   «         }|||z  k     rw ||i |¤Ž}t          |t          ¦  «        r|j                              ¦   «         }	n|j                              ¦   «         }	|	|u s|	|v r|S t          |¦  «         |dz  }|||z  k     °wd|z  }
t          |	|
| j        ¬¦  «        ‚)aË  
        Wait for the function which returns a instance with field status/state
        to match.

        Keep polling func until one of the desired states is matched

        :param state: Either the desired state (`str`) or a `list` of states
        :type  state: ``str`` or ``list``

        :param  func: The function to call, e.g. ex_get_vlan. Note: This
                      function needs to return an object which has ``status``
                      attribute.
        :type   func: ``function``

        :param  poll_interval: The number of seconds to wait between checks
        :type   poll_interval: `int`

        :param  timeout: The total number of seconds to wait to reach a state
        :type   timeout: `int`

        :param  args: The arguments for func
        :type   args: Positional arguments

        :param  kwargs: The arguments for func
        :type   kwargs: Keyword arguments

        :return: Result from the calling function.
        r   NrY   z$Status check for object %s timed outrZ   )Úlowerr<   r   Ústater^   r   rf   r]   )ri   rÁ   r5   Úpoll_intervalr}   r.   r/   Úcntr#   Úobject_stater\   s              r6   Úwait_for_statezNttCisConnection.wait_for_stateû  sæ   € ð: ˆØˆØˆØ—’‘”ˆØ�G˜mÑ+Ò+Ð+Ø�T˜4Ð* 6Ð*Ð*ˆFÝ˜&¥$Ñ'Ô'ð 5Ø%œ|×1Ò1Ñ3Ô3��ð  &œ}×2Ò2Ñ4Ô4�Ø˜uÐ$Ð$¨¸Ð(=Ð(=Ø�Ý�-Ñ Ô Ð Ø�1‰HˆCð �G˜mÑ+Ò+Ð+ð 5¸Ñ?ˆÝ  l¸ÀDÄKÐPÑPÔPÐPr8   c                 óˆ   — | j         €5|                      d¦  «        j        }t          |dt          ¦  «        | _         | j         S )zÀ
        Send the /myaccount API request to NTTC-CIS cloud and parse the
        'orgId' from the XML response object. We need the orgId to use most
        of the other API functions
        NÚ	myaccountÚorgId)Ú_orgIdr˜   r¯   r   ÚDIRECTORY_NS©ri   r`   s     r6   r»   zNttCisConnection._get_orgId,  s=   € ð Œ;ÐØ×%Ò% kÑ2Ô2Ô9ˆDÝ" 4¨µ,Ñ?Ô?ˆDŒKØŒ{Ðr8   c                 ó&  — |                       d¦  «        j        }t          t          |dt          ¦  «        t          |dt          ¦  «        t          |dt          ¦  «        t          |dt          ¦  «        t          |dt          ¦  «        ¬¦  «        S )zg
        Get the details of this account

        :rtype: :class:`DimensionDataAccountDetails`
        rÇ   ÚuserNameÚfullNameÚ	firstNameÚlastNameÚemailAddress©Ú	user_nameÚ	full_nameÚ
first_nameÚ	last_nameÚemail)r˜   r¯   ÚNttCisAccountDetailsr   rÊ   rË   s     r6   Úget_account_detailsz$NttCisConnection.get_account_details7  s|   € ð ×!Ò! +Ñ.Ô.Ô5ˆÝ#Ý˜t ZµÑ>Ô>Ý˜t ZµÑ>Ô>Ý  kµ<Ñ@Ô@Ý˜t ZµÑ>Ô>Ý˜4 µÑ>Ô>ð
ñ 
ô 
ð 	
r8   )TNNNNNN)NrŒ   Nr�   )NrŒ   Nr�   rª   )r½   r¾   )rA   rO   rP   Ú__doc__r”   rš   r•   r�   rƒ   r‚   rÉ   rW   ÚresponseClsrS   ÚrawResponseClsÚallow_insecurern   r‹   r˜   rœ   r¢   r¥   r©   r¸   r¡   r¨   rÅ   r»   rÙ   Ú__classcell__)r†   s   @r6   rv   rv   3  s»  ø€ € € € € ðð ð  ÐØ ÐØ€Mð Ðð Ðð Ðà€FØ €KØ&€Nà€Nð ØØØØØØð06ð 06ð 06ð 06ð 06ð 06ðdð ð ð
ð 
ð 
ð 
ð 
ð 
ð

ð 

ð 

ð 

ð 

ð 

ð BGð
ð 
ð 
ð 
ð 
ð 
ð
ð 
ð 
ð 
ð 
ð 
ð
ð 
ð 
ð 
ð 
ð 
ð SVð/ð /ð /ð /ðb

ð 

ð 

ð

ð 

ð 

ð/Qð /Qð /Qð /Qðb	ð 	ð 	ð
ð 
ð 
ð 
ð 
ð 
ð 
r8   rv   c                   ó   — e Zd ZdZd„ ZdS )rØ   z&
    NTTCIS account class details
    c                 óL   — || _         || _        || _        || _        || _        d S rG   rÒ   )ri   rÓ   rÔ   rÕ   rÖ   r×   s         r6   rn   zNttCisAccountDetails.__init__L  s)   € Ø"ˆŒØ"ˆŒØ$ˆŒØ"ˆŒØˆŒ
ˆ
ˆ
r8   N©rA   rO   rP   rÚ   rn   rQ   r8   r6   rØ   rØ   G  s-   € € € € € ðð ðð ð ð ð r8   rØ   c                   ó2   — e Zd ZdZ	 	 	 	 	 	 	 	 	 dd„Zd„ ZdS )ÚNttCisStatuszÁ
    NTTCIS API pending operation status class
        action, request_time, user_name, number_of_steps, update_time,
        step.name, step.number, step.percent_complete, failure_reason,
    Nc
                 ó„   — || _         || _        || _        || _        || _        || _        || _        || _        |	| _        d S rG   ©	r‘   Úrequest_timerÓ   Únumber_of_stepsÚupdate_timeÚ	step_nameÚstep_numberÚstep_percent_completeÚfailure_reason)
ri   r‘   ræ   rÓ   rç   rè   ré   rê   rë   rì   s
             r6   rn   zNttCisStatus.__init__[  sO   € ð ˆŒØ(ˆÔØ"ˆŒØ.ˆÔØ&ˆÔØ"ˆŒØ&ˆÔØ%:ˆÔ"Ø,ˆÔÐÐr8   c                 ó˜   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d	| j        ›d
�S )Nz<NttCisStatus: action=z, request_time=z, user_name=z, number_of_steps=z, update_time=z, step_name=z, step_number=z, step_percent_complete=z, failure_reason=ú>rå   rq   s    r6   rt   zNttCisStatus.__repr__q  ss   € € ð ŒKˆKˆKØÔÐÐØŒNˆNˆNØÔ Ð Ð ØÔÐÐØŒNˆNˆNØÔÐÐØÔ&Ð&Ð&ØÔÐÐð
ð 	
r8   )	NNNNNNNNN©rA   rO   rP   rÚ   rn   rt   rQ   r8   r6   rã   rã   T  s^   € € € € € ðð ð ØØØØØØØ"Øð-ð -ð -ð -ð,
ð 
ð 
ð 
ð 
r8   rã   c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisNetworkz'
    NTTCIS network with location.
    c                 ó‚   — t          |¦  «        | _        || _        || _        || _        || _        || _        || _        d S rG   )Ústrr:   r   ÚdescriptionÚlocationÚprivate_netÚ	multicastr^   )ri   r:   r   rô   rõ   rö   r÷   r^   s           r6   rn   zNttCisNetwork.__init__‰  s?   € Ý�b‘'”'ˆŒØˆŒ	Ø&ˆÔØ ˆŒØ&ˆÔØ"ˆŒØˆŒˆˆr8   c                 óh   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )Nz<NttCisNetwork: id=ú, name=ú, description=ú, location=z, private_net=z, multicast=rî   )r:   r   rô   rõ   rö   r÷   rq   s    r6   rt   zNttCisNetwork.__repr__’  sL   € € ð
 ŒGˆGˆGØŒIˆIˆIØÔÐÐØŒMˆMˆMØÔÐÐØŒNˆNˆNð

ð 
	
r8   Nrï   rQ   r8   r6   rñ   rñ   „  s<   € € € € € ðð ðð ð ð
ð 
ð 
ð 
ð 
r8   rñ   c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisNetworkDomainz.
    NttCis network domain with location.
    c                 ót   — t          |¦  «        | _        || _        || _        || _        || _        || _        d S rG   )ró   r:   r   rô   rõ   r^   Úplan)ri   r:   r   rô   rõ   r^   rÿ   s          r6   rn   zNttCisNetworkDomain.__init__¥  s7   € Ý�b‘'”'ˆŒØˆŒ	Ø&ˆÔØ ˆŒØˆŒØˆŒ	ˆ	ˆ	r8   c                 óh   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )Nú<NttCisNetworkDomain: id=rù   rú   rû   ú	, status=z, plan=rî   )r:   r   rô   rõ   r^   rÿ   rq   s    r6   rt   zNttCisNetworkDomain.__repr__­  sI   € € ð
 ŒGˆGˆGØŒIˆIˆIØÔÐÐØŒMˆMˆMØŒKˆKˆKØŒIˆIˆIð

ð 
	
r8   Nrï   rQ   r8   r6   rý   rý      s<   € € € € € ðð ðð ð ð
ð 
ð 
ð 
ð 
r8   rý   c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisPublicIpBlockz/
    NTTCIS Public IP Block with location.
    c                 ót   — t          |¦  «        | _        || _        || _        || _        || _        || _        d S rG   )ró   r:   Úbase_ipÚsizerõ   Únetwork_domainr^   )ri   r:   r  r  rõ   r  r^   s          r6   rn   zNttCisPublicIpBlock.__init__À  s7   € Ý�b‘'”'ˆŒØˆŒØˆŒ	Ø ˆŒØ,ˆÔØˆŒˆˆr8   c                 óX   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )Nr  z
, base_ip=z, size=rû   r  rî   )r:   r  r  rõ   r^   rq   s    r6   rt   zNttCisPublicIpBlock.__repr__È  s;   € € àŒGˆGˆGØŒLˆLˆLØŒIˆIˆIØŒMˆMˆMØŒKˆKˆKð
ð 	
r8   Nrï   rQ   r8   r6   r  r  »  s<   € € € € € ðð ðð ð ð
ð 
ð 
ð 
ð 
r8   r  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisServerCpuSpecificationzP
    A class that represents the specification of the CPU(s) for a
    node
    c                 ó0   — || _         || _        || _        dS )a”  
        Instantiate a new :class:`NttCisServerCpuSpecification`

        :param cpu_count: The number of CPUs
        :type  cpu_count: ``int``

        :param cores_per_socket: The number of cores per socket, the
            recommendation is 1
        :type  cores_per_socket: ``int``

        :param performance: The performance type, e.g. HIGHPERFORMANCE
        :type  performance: ``str``
        N©Ú	cpu_countÚcores_per_socketÚperformance)ri   r  r  r  s       r6   rn   z%NttCisServerCpuSpecification.__init__Ø  s!   € ð #ˆŒØ 0ˆÔØ&ˆÔÐÐr8   c                 ó8   — d| j         ›d| j        ›d| j        ›d�S )Nz)<NttCisServerCpuSpecification: cpu_count=z, cores_per_socket=z, performance=rî   r  rq   s    r6   rt   z%NttCisServerCpuSpecification.__repr__ê  s1   € € ð
 Œ^ˆ^ˆ^˜TÔ2Ð2Ð2°DÔ4DÐ4DÐ4Dð	Fð 	Fr8   Nrï   rQ   r8   r6   r  r  Ò  sA   € € € € € ðð ð
'ð 'ð 'ð$Fð Fð Fð Fð Fr8   r  c                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚNttCisServerDiskú6
    A class that represents the disk on a server
    Nc                 óL   — || _         || _        || _        || _        || _        dS )aÎ  
        Instantiate a new :class:`DimensionDataServerDisk`

        :param id: The id of the disk
        :type  id: ``str``

        :param scsi_id: Representation for scsi
        :type  scsi_id: ``int``

        :param size_gb: Size of the disk
        :type  size_gb: ``int``

        :param speed: Speed of the disk (i.e. STANDARD)
        :type  speed: ``str``

        :param state: State of the disk (i.e. PENDING)
        :type  state: ``str``
        N)r:   Úscsi_idÚsize_gbÚspeedrÁ   )ri   r:   r  r  r  rÁ   s         r6   rn   zNttCisServerDisk.__init__÷  s+   € ð& ˆŒØˆŒØˆŒØˆŒ
ØˆŒ
ˆ
ˆ
r8   c                 ó&   — d| j         ›d| j        ›�S )Nz<NttCisServerDisk: id=z
, size_gb=)r:   r  rq   s    r6   rt   zNttCisServerDisk.__repr__  s   € € Ø>B¼g¸g¸gÀtÄ|À|ÐTÐTr8   )NNNNNrï   rQ   r8   r6   r  r  ò  sF   € € € € € ðð ðð ð ð ð2Uð Uð Uð Uð Ur8   r  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisScsiControllerr  c                 ó>   — || _         || _        || _        || _        dS )aü  
        Instantiate a new :class:`DimensionDataServerDisk`

        :param id: The id of the controller
        :type  id: ``str``

        :param adapter_type: The 'brand' of adapter
        :type  adapter_type: ``str``

        :param bus_number: The bus number occupied on the virtual hardware
        :type  bus_nubmer: ``str``

        :param state: Current state (i.e. NORMAL)
        :type  speed: ``str``

        :param state: State of the disk (i.e. PENDING)
        :type  state: ``str``
        N©r:   Úadapter_typeÚ
bus_numberrÁ   )ri   r:   r  r  rÁ   s        r6   rn   zNttCisScsiController.__init__  s%   € ð& ˆŒØ(ˆÔØ$ˆŒØˆŒ
ˆ
ˆ
r8   c                 óF   — d| j         ›d| j        ›d| j        ›d| j        ›�S )Nz<NttCisScsiController: id=z, adapter_type=z, bus_number=ú, state=r  rq   s    r6   rt   zNttCisScsiController.__repr__1  s3   € € àŒGˆGˆGØÔÐÐØŒOˆOˆOØŒJˆJð	
ð 	
r8   Nrï   rQ   r8   r6   r  r    s<   € € € € € ðð ðð ð ð0
ð 
ð 
ð 
ð 
r8   r  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisServerVMWareToolsz<
    A class that represents the VMWareTools for a node
    c                 ó0   — || _         || _        || _        dS )a�  
        Instantiate a new :class:`NttCisServerVMWareTools` object

        :param status: The status of VMWare Tools
        :type  status: ``str``

        :param version_status: The status for the version of VMWare Tools
            (i.e NEEDS_UPGRADE)
        :type  version_status: ``str``

        :param api_version: The API version of VMWare Tools
        :type  api_version: ``str``
        N©r^   Úversion_statusr„   )ri   r^   r&  r„   s       r6   rn   z NttCisServerVMWareTools.__init__?  s!   € ð ˆŒØ,ˆÔØ&ˆÔÐÐr8   c                 ó8   — d| j         ›d| j        ›d| j        ›d�S )Nz <NttCisServerVMWareTools status=z, version_status=z, api_version=rî   r%  rq   s    r6   rt   z NttCisServerVMWareTools.__repr__Q  s/   € € àŒKˆKˆKØÔÐÐØÔÐÐð
ð 	
r8   Nrï   rQ   r8   r6   r#  r#  :  s<   € € € € € ðð ð'ð 'ð 'ð$
ð 
ð 
ð 
ð 
r8   r#  c                   ó0   — e Zd ZdZ	 	 	 	 	 	 	 	 dd„Zd„ ZdS )ÚNttCisSnapshotz4
    NTTCIS Class representing server snapshots
    Nc                 ó    — || _         || _        || _        || _        || _        || _        || _        || _        || _        |	| _        |
| _	        d S rG   )
Ú	server_idÚservice_planr:   Ú	window_idÚ
start_timeÚend_timerÁ   r@   Úexpiry_timer‘   )ri   r+  r,  r:   r-  r.  rÁ   r/  r@   r0  r‘   s              r6   rn   zNttCisSnapshot.__init__^  sW   € ð #ˆŒØ(ˆÔØˆŒØ"ˆŒØ$ˆŒØ ˆŒØˆŒ
Ø ˆŒØˆŒ	Ø&ˆÔØˆŒˆˆr8   c                 óh   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )Nz<NttCisSnapshots id=z, start_time=z, end_time=z, self.type=z, self.expiry_timne=z, self.state=rî   )r:   r.  r/  r@   r0  rÁ   rq   s    r6   rt   zNttCisSnapshot.__repr__w  sI   € € ð ŒGˆGˆGØŒOˆOˆOØŒMˆMˆMØŒIˆIˆIØÔÐÐØŒJˆJˆJð
ð 	
r8   )NNNNNNNNrï   rQ   r8   r6   r)  r)  Y  s[   € € € € € ðð ð ØØØØØØØðð ð ð ð2
ð 
ð 
ð 
ð 
r8   r)  c                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚNttCisReservedIpAddressz&
    NTTCIS Rerverse IPv4 address
    Nc                 óL   — || _         || _        || _        || _        || _        d S rG   ©Údatacenter_idÚ	exclusiveÚvlan_idÚiprô   )ri   r6  r7  r8  r9  rô   s         r6   rn   z NttCisReservedIpAddress.__init__Œ  s-   € Ø*ˆÔØ"ˆŒØˆŒØˆŒØ&ˆÔÐÐr8   c           
      óV   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›�
S )Nz&<NttCisReservedIpAddress datacenterId=z, exclusiven=z	, vlanId=z, ipAddress=z, description=-r5  rq   s    r6   rt   z NttCisReservedIpAddress.__repr__“  s@   € € ð ÔÐÐØŒNˆNˆNØŒLˆLˆLØŒGˆGˆGØÔÐð

ð 
	
r8   rG   rï   rQ   r8   r6   r3  r3  ‡  sA   € € € € € ðð ð'ð 'ð 'ð 'ð
ð 
ð 
ð 
ð 
r8   r3  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisFirewallRulez3
    NTTCIS Firewall Rule for a network domain
    c                 óº   — t          |¦  «        | _        || _        || _        || _        || _        || _        || _        || _        |	| _	        |
| _
        || _        d S rG   )ró   r:   r   r‘   rõ   r  r^   Ú
ip_versionÚprotocolÚsourceÚdestinationÚenabled)ri   r:   r   r‘   rõ   r  r^   r>  r?  r@  rA  rB  s               r6   rn   zNttCisFirewallRule.__init__¦  s]   € õ �b‘'”'ˆŒØˆŒ	ØˆŒØ ˆŒØ,ˆÔØˆŒØ$ˆŒØ ˆŒØˆŒØ&ˆÔØˆŒˆˆr8   c                 ó¸   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d	| j        ›d
| j	        ›d| j
        ›d�S )Nz<NttCisFirewallRule: id=rù   z	, action=rû   z, network_domain=r  ú, ip_version=ú, protocol=z	, source=z, destination=z
, enabled=rî   )r:   r   r‘   rõ   r  r^   r>  r?  r@  rA  rB  rq   s    r6   rt   zNttCisFirewallRule.__repr__À  sy   € € ð ŒGˆGˆGØŒIˆIˆIØŒKˆKˆKØŒMˆMˆMØÔÐÐØŒKˆKˆKØŒOˆOˆOØŒMˆMˆMØŒKˆKˆKØÔÐÐØŒLˆLˆLð!
ð 	
r8   Nrï   rQ   r8   r6   r<  r<  ¡  s<   € € € € € ðð ðð ð ð4
ð 
ð 
ð 
ð 
r8   r<  c                   ó.   — e Zd ZdZ	 	 	 	 	 	 	 dd„Zd„ ZdS )ÚNttCisFirewallAddressz¾
    The source or destination model in a firewall rule
    9/4/18: Editing Class to use with ex_create_firewall_rtule method.
    Will haved to circle back and test for any other uses.
    Nc                 óv   — || _         || _        || _        || _        || _        || _        || _        || _        dS )a%  
        :param any_ip: used to set ip address to "ANY"
        :param ip_address: Optional, an ip address of either IPv4 decimal
                           notation or an IPv6 address
        :type ``str``

        :param ip_prefix_size: An integer denoting prefix size.
        :type ``int``

        :param port_begin: integer for an individual port or start of a list
                           of ports if not using a port list
        :type ``int``

        :param port_end: integer required if using a list of ports
                         (NOT a port list but a list starting with port begin)
        :type  ``int``

        :param address_list_id: An id identifying an address list
        :type ``str``

        :param port_list_id:  An id identifying a port list
        :type ``str``
        N)Úany_ipÚ
ip_addressÚip_prefix_sizeÚport_list_idÚ
port_beginÚport_endÚaddress_list_id)ri   rI  rJ  rK  rM  rN  rO  rL  s           r6   rn   zNttCisFirewallAddress.__init__õ  sG   € ðB ˆŒØ$ˆŒØ,ˆÔØ(ˆÔØ$ˆŒØ ˆŒØ.ˆÔØ(ˆÔÐÐr8   c                 óx   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )	Nz<NttCisFirewallAddress: any_ip=z, ip_address=z, ip_prefix_size=z, port_begin=z, port_end=z, address_list_id=z, port_list_id=rî   )rI  rJ  rK  rM  rN  rO  rL  rq   s    r6   rt   zNttCisFirewallAddress.__repr__  sX   € € ð ”��Ø”��ØÔ#Ð#Ð#Ø”��Ø”��ØÔ$Ð$Ð$ØÔ!Ð!Ð!ðð	
r8   )NNNNNNNrï   rQ   r8   r6   rG  rG  î  sY   € € € € € ðð ð ØØØØØØð()ð ()ð ()ð ()ðT
ð 
ð 
ð 
ð 
r8   rG  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisNatRulez,
    An IP NAT rule in a network domain
    c                 óL   — || _         || _        || _        || _        || _        d S rG   )r:   r  Úinternal_ipÚexternal_ipr^   )ri   r:   r  rT  rU  r^   s         r6   rn   zNttCisNatRule.__init__5  s,   € ØˆŒØ,ˆÔØ&ˆÔØ&ˆÔØˆŒˆˆr8   c                 ó(   — d| j         ›d| j        ›d�S )Nz<NttCisNatRule: id=r  rî   )r:   r^   rq   s    r6   rt   zNttCisNatRule.__repr__<  s   € € Ø8<¼¸¸ÀÄÀÀÐMÐMr8   Nrï   rQ   r8   r6   rR  rR  0  sA   € € € € € ðð ðð ð ðNð Nð Nð Nð Nr8   rR  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisAntiAffinityRulez”
    Anti-Affinity rule for NTTCIS

    An Anti-Affinity rule ensures that servers in the rule will
    not reside on the same VMware ESX host.
    c                 ó"   — || _         || _        dS )a
  
        Instantiate a new :class:`NttCisDataAntiAffinityRule`

        :param id: The ID of the Anti-Affinity rule
        :type  id: ``str``

        :param node_list: List of node ids that belong in this rule
        :type  node_list: ``list`` of ``str``
        N)r:   Ú	node_list)ri   r:   rZ  s      r6   rn   zNttCisAntiAffinityRule.__init__H  s   € ð ˆŒØ"ˆŒˆˆr8   c                 ó   — d| j         z  S )Nz<NttCisAntiAffinityRule: id=%s>©r:   rq   s    r6   rt   zNttCisAntiAffinityRule.__repr__U  s   € Ø1°d´gÑ>Ð>r8   Nrï   rQ   r8   r6   rX  rX  @  s<   € € € € € ðð ð#ð #ð #ð?ð ?ð ?ð ?ð ?r8   rX  c                   ó   — e Zd ZdZd„ Zd„ ZdS )Ú
NttCisVlanz
    NTTCIS VLAN.
    c                 óÈ   — t          |¦  «        | _        || _        || _        || _        || _        || _        || _        || _        |	| _	        |
| _
        || _        || _        dS )a  
        Initialize an instance of ``DimensionDataVlan``

        :param id: The ID of the VLAN
        :type  id: ``str``

        :param name: The name of the VLAN
        :type  name: ``str``

        :param description: Plan text description of the VLAN
        :type  description: ``str``

        :param location: The location (data center) of the VLAN
        :type  location: ``NodeLocation``

        :param network_domain: The Network Domain that owns this VLAN
        :type  network_domain: :class:`DimensionDataNetworkDomain`

        :param status: The status of the VLAN
        :type  status: :class:`DimensionDataStatus`

        :param private_ipv4_range_address: The host address of the VLAN
                                            IP space
        :type  private_ipv4_range_address: ``str``

        :param private_ipv4_range_size: The size (e.g. '24') of the VLAN
                                            as a CIDR range size
        :type  private_ipv4_range_size: ``int``

        :param ipv6_range_address: The host address of the VLAN
                                            IP space
        :type  ipv6_range_address: ``str``

        :param ipv6_range_size: The size (e.g. '32') of the VLAN
                                            as a CIDR range size
        :type  ipv6_range_size: ``int``

        :param ipv4_gateway: The IPv4 default gateway address
        :type  ipv4_gateway: ``str``

        :param ipv6_gateway: The IPv6 default gateway address
        :type  ipv6_gateway: ``str``
        N)ró   r:   r   rõ   rô   r  r^   Úprivate_ipv4_range_addressÚprivate_ipv4_range_sizeÚipv6_range_addressÚipv6_range_sizeÚipv4_gatewayÚipv6_gateway)ri   r:   r   rô   rõ   r  r^   r`  ra  rb  rc  rd  re  s                r6   rn   zNttCisVlan.__init__^  sm   € õt �b‘'”'ˆŒØˆŒ	Ø ˆŒØ&ˆÔØ,ˆÔØˆŒØ*DˆÔ'Ø'>ˆÔ$Ø"4ˆÔØ.ˆÔØ(ˆÔØ(ˆÔÐÐr8   c                 óX   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )Nz<NttCisVlan: id=rù   rú   rû   r  rî   )r:   r   rô   rõ   r^   rq   s    r6   rt   zNttCisVlan.__repr__¥  s>   € € àŒGˆGˆGØŒIˆIˆIØÔÐÐØŒMˆMˆMØŒKˆKˆKð
ð 	
r8   Nrï   rQ   r8   r6   r^  r^  Y  s@   € € € € € ðð ðE)ð E)ð E)ðN
ð 
ð 
ð 
ð 
r8   r^  c                   ó   — e Zd ZdZd„ Zd„ ZdS )Ú
NttCisPoolz
    NttCis VIP Pool.
    c	                 ó�   — t          |¦  «        | _        || _        || _        || _        || _        || _        || _        || _        dS )a5  
        Initialize an instance of ``NttCisPool``

        :param id: The ID of the pool
        :type  id: ``str``

        :param name: The name of the pool
        :type  name: ``str``

        :param description: Plan text description of the pool
        :type  description: ``str``

        :param status: The status of the pool
        :type  status: :class:NttCisStatus`

        :param load_balance_method: The load balancer method
        :type  load_balance_method: ``str``

        :param health_monitor_id: The ID of the health monitor
        :type  health_monitor_id: ``str``

        :param service_down_action: Action to take when pool is down
        :type  service_down_action: ``str``

        :param slow_ramp_time: The ramp-up time for service recovery
        :type  slow_ramp_time: ``int``
        N)	ró   r:   r   rô   r^   Úload_balance_methodÚhealth_monitor_idÚservice_down_actionÚslow_ramp_time)	ri   r:   r   rô   r^   rj  rk  rl  rm  s	            r6   rn   zNttCisPool.__init__´  sN   € õL �b‘'”'ˆŒØˆŒ	Ø&ˆÔØˆŒØ#6ˆÔ Ø!2ˆÔØ#6ˆÔ Ø,ˆÔÐÐr8   c           	      óH   — d| j         ›d| j        ›d| j        ›d| j        ›d�	S )Nz<NttCisPool: id=rù   rú   r  rî   )r:   r   rô   r^   rq   s    r6   rt   zNttCisPool.__repr__ã  s5   € € àŒGˆGˆGØŒIˆIˆIØÔÐÐØŒKˆKˆKð	
ð 	
r8   Nrï   rQ   r8   r6   rh  rh  ¯  s=   € € € € € ðð ð--ð --ð --ð^
ð 
ð 
ð 
ð 
r8   rh  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisPoolMemberz!
    NTTCIS VIP Pool Member.
    c                 ót   — t          |¦  «        | _        || _        || _        || _        || _        || _        dS )a#  
        Initialize an instance of ``NttCisPoolMember``

        :param id: The ID of the pool member
        :type  id: ``str``

        :param name: The name of the pool member
        :type  name: ``str``

        :param status: The status of the pool
        :type  status: :class:`NttCisStatus`

        :param ip: The IP of the pool member
        :type  ip: ``str``

        :param port: The port of the pool member
        :type  port: ``int``

        :param node_id: The ID of the associated node
        :type  node_id: ``str``
        N)ró   r:   r   r^   r9  r{   Únode_id)ri   r:   r   r^   r9  r{   rr  s          r6   rn   zNttCisPoolMember.__init__ñ  s8   € õ, �b‘'”'ˆŒØˆŒ	ØˆŒØˆŒØˆŒ	ØˆŒˆˆr8   c                 óh   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )NzNttCisPoolMember: id=rù   ú, ip=r  z, port=z
, node_id=rî   )r:   r   r9  r^   r{   rr  rq   s    r6   rt   zNttCisPoolMember.__repr__  sD   € € àŒGˆGˆGØŒIˆIˆIØŒGˆGˆGØŒKˆKˆKØŒIˆIˆIØŒLˆLˆLð
ð 	
r8   Nrï   rQ   r8   r6   rp  rp  ì  s<   € € € € € ðð ðð ð ð:
ð 
ð 
ð 
ð 
r8   rp  c                   ó"   — e Zd Z	 	 	 dd„Zd„ ZdS )ÚNttCisVIPNodeÚ10000Nc                 óŠ   — t          |¦  «        | _        || _        || _        || _        || _        || _        |�	|| _        dS dS )aN  
        Initialize an instance of :class:`NttCisVIPNode`

        :param id: The ID of the node
        :type  id: ``str``

        :param name: The name of the node
        :type  name: ``str``

        :param status: The status of the node
        :type  status: :class:`NttCisStatus`

        :param ip: The IP of the node
        :type  ip: ``str``

        :param connection_limit: The total connection limit for the node
        :type  connection_limit: ``int``

        :param connection_rate_limit: The rate limit for the node
        :type  connection_rate_limit: ``int``
        N)ró   r:   r   r^   r9  Úconnection_limitÚconnection_rate_limitrk  )ri   r:   r   r^   r9  ry  rz  Úhealth_monitors           r6   rn   zNttCisVIPNode.__init__  sR   € õ> �b‘'”'ˆŒØˆŒ	ØˆŒØˆŒØ 0ˆÔØ%:ˆÔ"ØÐ%Ø%3ˆDÔ"Ð"Ð"ð &Ð%r8   c           	      óH   — d| j         ›d| j        ›d| j        ›d| j        ›d�	S )Nz<NttCisVIPNode: id=rù   r  rt  rî   ©r:   r   r^   r9  rq   s    r6   rt   zNttCisVIPNode.__repr__B  ó2   € € àŒGˆGˆGØŒIˆIˆIØŒKˆKˆKØŒGˆGˆGð	
ð 	
r8   )rw  rw  N)rA   rO   rP   rn   rt   rQ   r8   r6   rv  rv    sC   € € € € € ð !Ø%Øð&4ð &4ð &4ð &4ðP
ð 
ð 
ð 
ð 
r8   rv  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisVirtualListenerz"
    NTTCIS Virtual Listener.
    c                 óX   — t          |¦  «        | _        || _        || _        || _        dS )a‚  
        Initialize an instance of :class:`NttCisVirtualListener`

        :param id: The ID of the listener
        :type  id: ``str``

        :param name: The name of the listener
        :type  name: ``str``

        :param status: The status of the listener
        :type  status: :class:`NttCisStatus`

        :param ip: The IP of the listener
        :type  ip: ``str``
        N)ró   r:   r   r^   r9  )ri   r:   r   r^   r9  s        r6   rn   zNttCisVirtualListener.__init__P  s*   € õ  �b‘'”'ˆŒØˆŒ	ØˆŒØˆŒˆˆr8   c           	      óH   — d| j         ›d| j        ›d| j        ›d| j        ›d�	S )Nz<NttCisVirtualListener: id=rù   r  rt  rî   r}  rq   s    r6   rt   zNttCisVirtualListener.__repr__e  r~  r8   Nrï   rQ   r8   r6   r€  r€  K  s<   € € € € € ðð ðð ð ð*
ð 
ð 
ð 
ð 
r8   r€  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisDefaultHealthMonitorzE
    A default health monitor for a VIP (node, pool or listener)
    c                 ó>   — || _         || _        || _        || _        dS )aÅ  
        Initialize an instance of :class:`NttCisDefaultHealthMonitor`

        :param id: The ID of the monitor
        :type  id: ``str``

        :param name: The name of the monitor
        :type  name: ``str``

        :param node_compatible: Is a monitor capable of monitoring nodes
        :type  node_compatible: ``bool``

        :param pool_compatible: Is a monitor capable of monitoring pools
        :type  pool_compatible: ``bool``
        N)r:   r   Únode_compatibleÚpool_compatible)ri   r:   r   r†  r‡  s        r6   rn   z#NttCisDefaultHealthMonitor.__init__s  s(   € ð  ˆŒØˆŒ	Ø.ˆÔØ.ˆÔÐÐr8   c                 ó(   — d| j         ›d| j        ›d�S )Nz <NttCisDefaultHealthMonitor: id=rù   rî   ©r:   r   rq   s    r6   rt   z#NttCisDefaultHealthMonitor.__repr__ˆ  s   € € ØCGÄ7À7À7ÈDÌIÈIÈIÐVÐVr8   Nrï   rQ   r8   r6   r„  r„  n  sA   € € € € € ðð ð/ð /ð /ð*Wð Wð Wð Wð Wr8   r„  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisPersistenceProfilezÐ
    Each Persistence Profile declares the combination of Virtual Listener
    type and protocol with which it is
    compatible and whether or not it is compatible as a
    Fallback Persistence Profile.
    c                 ó>   — || _         || _        || _        || _        dS )a	  
        Initialize an instance of :class:`NttCisPersistenceProfile`

        :param id: The ID of the profile
        :type  id: ``str``

        :param name: The name of the profile
        :type  name: ``str``

        :param compatible_listeners: List of compatible Virtual Listener types
        :type  compatible_listeners: ``list`` of
            :class:`NttCisVirtualListenerCompatibility`

        :param fallback_compatible: Is capable as a fallback profile
        :type  fallback_compatible: ``bool``
        N)r:   r   Úcompatible_listenersÚfallback_compatible)ri   r:   r   r�  rŽ  s        r6   rn   z!NttCisPersistenceProfile.__init__”  s(   € ð" ˆŒØˆŒ	Ø$8ˆÔ!Ø#6ˆÔ Ð Ð r8   c                 ó(   — d| j         ›d| j        ›d�S )NzNttCisPersistenceProfile: id=rù   rî   r‰  rq   s    r6   rt   z!NttCisPersistenceProfile.__repr__ª  s   € € Ø@DÄÀÀÈÌÈÈÐSÐSr8   Nrï   rQ   r8   r6   r‹  r‹  Œ  sA   € € € € € ðð ð7ð 7ð 7ð,Tð Tð Tð Tð Tr8   r‹  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisDefaultiRulezL
    A default iRule for a network domain, can be applied to a listener
    c                 ó0   — || _         || _        || _        dS )a‹  
        Initialize an instance of :class:`NttCisefaultiRule`

        :param id: The ID of the iRule
        :type  id: ``str``

        :param name: The name of the iRule
        :type  name: ``str``

        :param compatible_listeners: List of compatible Virtual Listener types
        :type  compatible_listeners: ``list`` of
            :class:`NttCisVirtualListenerCompatibility`
        N)r:   r   r�  )ri   r:   r   r�  s       r6   rn   zNttCisDefaultiRule.__init__³  s    € ð ˆŒØˆŒ	Ø$8ˆÔ!Ð!Ð!r8   c                 ó(   — d| j         ›d| j        ›d�S )Nz<NttCisDefaultiRule: id=rù   rî   r‰  rq   s    r6   rt   zNttCisDefaultiRule.__repr__Å  s   € € Ø;?¼7¸7¸7ÀDÄIÀIÀIÐNÐNr8   Nrï   rQ   r8   r6   r‘  r‘  ®  sA   € € € € € ðð ð9ð 9ð 9ð$Oð Oð Oð Oð Or8   r‘  c                   ó   — e Zd ZdZd„ Zd„ ZdS )Ú"NttCisVirtualListenerCompatibilityzŸ
    A compatibility preference for a persistence profile or iRule
    specifies which virtual listener types this profile or iRule can be
    applied to.
    c                 ó"   — || _         || _        d S rG   ©r@   r?  )ri   r@   r?  s      r6   rn   z+NttCisVirtualListenerCompatibility.__init__Ð  s   € ØˆŒ	Ø ˆŒˆˆr8   c                 ó(   — d| j         ›d| j        ›d�S )Nz*<NttCisVirtualListenerCompatibility: type=rE  rî   r—  rq   s    r6   rt   z+NttCisVirtualListenerCompatibility.__repr__Ô  s    € € àŒIˆIˆIØŒMˆMˆMð
ð 	
r8   Nrï   rQ   r8   r6   r•  r•  É  s<   € € € € € ðð ð!ð !ð !ð
ð 
ð 
ð 
ð 
r8   r•  c                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚNttCisBackupDetailsz`
    NTTCIS Backup Details represents information about
    a targets backups configuration
    Nc                 ó>   — || _         || _        || _        || _        dS )a  
        Initialize an instance of :class:`NttCisBackupDetails`

        :param asset_id: Asset identification for backups
        :type  asset_id: ``str``

        :param service_plan: The service plan for backups. i.e (Essentials)
        :type  service_plan: ``str``

        :param status: The overall status this backup target.
                       i.e. (unregistered)
        :type  status: ``str``

        :param clients: Backup clients attached to this target
        :type  clients: ``list`` of :class:`NttCisBackupClient`
        N)Úasset_idr,  r^   Úclients)ri   rœ  r,  r^   r�  s        r6   rn   zNttCisBackupDetails.__init__á  s%   € ð" !ˆŒØ(ˆÔØˆŒØˆŒˆˆr8   c                 ó   — d| j         z  S )Nz<NttCisBackupDetails: id=%s>)rœ  rq   s    r6   rt   zNttCisBackupDetails.__repr__÷  s   € Ø.°4´=ÑAÐAr8   rG   rï   rQ   r8   r6   rš  rš  Û  sF   € € € € € ðð ð
ð ð ð ð,Bð Bð Bð Bð Br8   rš  c                   ó$   — e Zd ZdZ	 	 dd„Zd„ ZdS )ÚNttCisBackupClientz3
    An object that represents a backup client
    Nc	                 óv   — || _         || _        || _        || _        || _        || _        || _        || _        dS )aÕ  
        Initialize an instance of this class.

        :param id: Unique ID for the client
        :type  id: ``str``
        :param type: The type of client that this client is
        :type  type: :class:`NttCisBackupClientType`
        :param status: The states of this particular backup client.
                       i.e. (Unregistered)
        :type  status: ``str``
        :param schedule_policy: The schedule policy for this client
                                NOTE: NTTCIS only sends back the name
                                of the schedule policy, no further details
        :type  schedule_policy: ``str``
        :param storage_policy: The storage policy for this client
                               NOTE: NTTCIS only sends back the name
                               of the storage policy, no further details
        :type  storage_policy: ``str``
        :param download_url: The download url for this client
        :type  download_url: ``str``
        :param alert: The alert configured for this backup client (optional)
        :type  alert: :class:`NttCisBackupClientAlert`
        :param alert: The running job for the client (optional)
        :type  alert: :class:`NttCisBackupClientRunningJob`
        N)r:   r@   r^   Úschedule_policyÚstorage_policyÚdownload_urlÚalertÚrunning_job)	ri   r:   r@   r^   r¢  r£  r¤  r¥  r¦  s	            r6   rn   zNttCisBackupClient.__init__   sG   € ðH ˆŒØˆŒ	ØˆŒØ.ˆÔØ,ˆÔØ(ˆÔØˆŒ
Ø&ˆÔÐÐr8   c                 ó   — d| j         z  S )Nz<NttCisBackupClient: id=%s>r\  rq   s    r6   rt   zNttCisBackupClient.__repr__-  s   € Ø-°$´'Ñ:Ð:r8   ©NNrï   rQ   r8   r6   r   r   û  sJ   € € € € € ðð ð Øð+'ð +'ð +'ð +'ðZ;ð ;ð ;ð ;ð ;r8   r   c                   ó"   — e Zd ZdZg fd„Zd„ ZdS )ÚNttCisBackupClientAlertz&
    An alert for a backup client
    c                 ó"   — || _         || _        dS )a\  
        Initialize an instance of :class:`NttCisBackupClientAlert`

        :param trigger: Trigger type for the client i.e. ON_FAILURE
        :type  trigger: ``str``

        :param notify_list: List of email addresses that are notified
                            when the alert is fired
        :type  notify_list: ``list`` of ``str``
        N)ÚtriggerÚnotify_list)ri   r¬  r­  s      r6   rn   z NttCisBackupClientAlert.__init__6  s   € ð ˆŒØ&ˆÔÐÐr8   c                 ó   — d| j         z  S )Nz%<NttCisBackupClientAlert: trigger=%s>)r¬  rq   s    r6   rt   z NttCisBackupClientAlert.__repr__D  s   € Ø7¸D¼LÑIÐIr8   Nrï   rQ   r8   r6   rª  rª  1  sK   € € € € € ðð ð -/ð 'ð 'ð 'ð 'ðJð Jð Jð Jð Jr8   rª  c                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚNttCisBackupClientRunningJobz1
    A running job for a given backup client
    r   c                 ó0   — || _         || _        || _        dS )aW  
        Initialize an instance of :class:`NttCisBackupClientRunningJob`

        :param id: The unique ID of the job
        :type  id: ``str``

        :param status: The status of the job i.e. Waiting
        :type  status: ``str``

        :param percentage: The percentage completion of the job
        :type  percentage: ``int``
        N)r:   Ú
percentager^   )ri   r:   r^   r²  s       r6   rn   z%NttCisBackupClientRunningJob.__init__M  s   € ð ˆŒØ$ˆŒØˆŒˆˆr8   c                 ó   — d| j         z  S )Nz%<NttCisBackupClientRunningJob: id=%s>r\  rq   s    r6   rt   z%NttCisBackupClientRunningJob.__repr__^  s   € Ø7¸D¼GÑDÐDr8   N)r   rï   rQ   r8   r6   r°  r°  H  sF   € € € € € ðð ðð ð ð ð"Eð Eð Eð Eð Er8   r°  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisBackupClientTypez*
    A client type object for backups
    c                 ó0   — || _         || _        || _        dS )ag  
        Initialize an instance of :class:`NttCisBackupClientType`

        :param type: The type of client i.e. (FA.Linux, MySQL, etc.)
        :type  type: ``str``

        :param is_file_system: The name of the iRule
        :type  is_file_system: ``bool``

        :param description: Description of the client
        :type  description: ``str``
        N)r@   Úis_file_systemrô   )ri   r@   r·  rô   s       r6   rn   zNttCisBackupClientType.__init__g  s!   € ð ˆŒ	Ø,ˆÔØ&ˆÔÐÐr8   c                 ó   — d| j         z  S )Nz!<NttCisBackupClientType: type=%s>©r@   rq   s    r6   rt   zNttCisBackupClientType.__repr__x  s   € Ø3¸¼	ÑBÐBr8   Nrï   rQ   r8   r6   rµ  rµ  b  sA   € € € € € ðð ð'ð 'ð 'ð"Cð Cð Cð Cð Cr8   rµ  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisBackupStoragePolicyz.
    A representation of a storage policy
    c                 ó0   — || _         || _        || _        dS )a�  
        Initialize an instance of :class:`NttCisBackupStoragePolicy`

        :param name: The name of the storage policy i.e. 14 Day Storage Policy
        :type  name: ``str``

        :param retention_period: How long to keep the backup in days
        :type  retention_period: ``int``

        :param secondary_location: The secondary location i.e. Primary
        :type  secondary_location: ``str``
        N)r   Úretention_periodÚsecondary_location)ri   r   r½  r¾  s       r6   rn   z"NttCisBackupStoragePolicy.__init__�  s!   € ð ˆŒ	Ø 0ˆÔØ"4ˆÔÐÐr8   c                 ó   — d| j         z  S )Nz$<NttCisBackupStoragePolicy: name=%s>©r   rq   s    r6   rt   z"NttCisBackupStoragePolicy.__repr__’  s   € Ø6¸4¼9ÑEÐEr8   Nrï   rQ   r8   r6   r»  r»  |  sA   € € € € € ðð ð5ð 5ð 5ð"Fð Fð Fð Fð Fr8   r»  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisBackupSchedulePolicyz/
    A representation of a schedule policy
    c                 ó"   — || _         || _        dS )a  
        Initialize an instance of :class:`NttCisBackupSchedulePolicy`

        :param name: The name of the policy i.e 12AM - 6AM
        :type  name: ``str``

        :param description: Short summary of the details of the policy
        :type  description: ``str``
        N)r   rô   )ri   r   rô   s      r6   rn   z#NttCisBackupSchedulePolicy.__init__›  s   € ð ˆŒ	Ø&ˆÔÐÐr8   c                 ó   — d| j         z  S )Nz%<NttCisBackupSchedulePolicy: name=%s>rÀ  rq   s    r6   rt   z#NttCisBackupSchedulePolicy.__repr__¨  s   € Ø7¸D¼IÑFÐFr8   Nrï   rQ   r8   r6   rÂ  rÂ  –  sA   € € € € € ðð ð'ð 'ð 'ðGð Gð Gð Gð Gr8   rÂ  c                   ó   — e Zd ZdZd„ Zd„ ZdS )Ú	NttCisTagzë
    A representation of a Tag in NTTCIS
    A Tag first must have a Tag Key, then an asset is tag with
    a key and an option value.  Tags can be queried later to filter assets
    and also show up on usage report if so desired.
    c                 óZ   — || _         || _        || _        || _        || _        || _        dS )aô  
        Initialize an instance of :class:`NttCisTag`

        :param asset_type: The type of asset.  Current asset types:
                           SERVER, VLAN, NETWORK_DOMAIN, CUSTOMER_IMAGE,
                           PUBLIC_IP_BLOCK, ACCOUNT
        :type  asset_type: ``str``

        :param asset_id: The GUID of the asset that is tagged
        :type  asset_id: ``str``

        :param asset_name: The name of the asset that is tagged
        :type  asset_name: ``str``

        :param datacenter: The short datacenter name of the tagged asset
        :type  datacenter: ``str``

        :param key: The tagged key
        :type  key: :class:`NttCisTagKey`

        :param value: The tagged value
        :type  value: ``None`` or ``str``
        N)Ú
asset_typerœ  Ú
asset_nameÚ
datacenterry   Úvalue)ri   rÈ  rœ  rÉ  rÊ  ry   rË  s          r6   rn   zNttCisTag.__init__´  s2   € ð0 %ˆŒØ ˆŒØ$ˆŒØ$ˆŒØˆŒØˆŒ
ˆ
ˆ
r8   c                 óB   — d| j         ›d| j        j        ›d| j        ›d�S )Nz<NttCisTag: asset_name=z, tag_name=z, value=rî   )rÉ  ry   r   rË  rq   s    r6   rt   zNttCisTag.__repr__Ó  s+   € € àŒOˆOˆOØŒHŒMˆMˆMØŒJˆJˆJð
ð 	
r8   Nrï   rQ   r8   r6   rÆ  rÆ  ¬  s<   € € € € € ðð ðð ð ð>
ð 
ð 
ð 
ð 
r8   rÆ  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisTagKeyz[
    A representation of a Tag Key in NTTCIS
    A tag key is required to tag an asset
    c                 óL   — || _         || _        || _        || _        || _        dS )a<  
        Initialize an instance of :class:`NttCisTagKey`

        :param id: GUID of the tag key
        :type  id: ``str``

        :param name: Name of the tag key
        :type  name: ``str``

        :param description: Description of the tag key
        :type  description: ``str``

        :param value_required: If a value is required for this tag key
        :type  value_required: ``bool``

        :param display_on_report: If this tag key should be displayed on
                                  usage reports
        :type  display_on_report: ``bool``
        N)r:   r   rô   Úvalue_requiredÚdisplay_on_report)ri   r:   r   rô   rÐ  rÑ  s         r6   rn   zNttCisTagKey.__init__á  s0   € ð( ˆŒØˆŒ	Ø&ˆÔØ,ˆÔØ!2ˆÔÐÐr8   c                 ó(   — d| j         ›d| j        ›d�S )NzNttCisTagKey: id=z name=rî   r‰  rq   s    r6   rt   zNttCisTagKey.__repr__û  s   € € Ø37´7°7°7¸D¼I¸I¸IÐFÐFr8   Nrï   rQ   r8   r6   rÎ  rÎ  Û  sA   € € € € € ðð ð
3ð 3ð 3ð4Gð Gð Gð Gð Gr8   rÎ  c                   ó"   — e Zd ZdZ	 dd„Zd„ ZdS )ÚNttCisIpAddressListz 
    NttCis IP Address list
    Nc	                 óv   — || _         || _        || _        || _        || _        || _        || _        || _        dS )am   "
        Initialize an instance of :class:`NttCisIpAddressList`

        :param id: GUID of the IP Address List key
        :type  id: ``str``

        :param name: Name of the IP Address List
        :type  name: ``str``

        :param description: Description of the IP Address List
        :type  description: ``str``

        :param ip_version: IP version. E.g. IPV4, IPV6
        :type  ip_version: ``str``

        :param ip_address_collection: Collection of NttCisIpAddress
        :type  ip_address_collection: ``List``

        :param state: IP Address list state
        :type  state: ``str``

        :param create_time: IP Address List created time
        :type  create_time: ``date time``

        :param child_ip_address_lists: List of IP address list to be included
        :type  child_ip_address_lists: List
        of :class:'NttCisIpAddressList'
        N©r:   r   rô   r>  Úip_address_collectionrÁ   Úcreate_timeÚchild_ip_address_lists)	ri   r:   r   rô   r>  r×  rÁ   rØ  rÙ  s	            r6   rn   zNttCisIpAddressList.__init__  sG   € ðN ˆŒØˆŒ	Ø&ˆÔØ$ˆŒØ%:ˆÔ"ØˆŒ
Ø&ˆÔØ&<ˆÔ#Ð#Ð#r8   c                 óˆ   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d	�S )
Nz<NttCisIpAddressList: id=rù   rú   rD  z, ip_address_collection=r!  ú, create_time=z, child_ip_address_lists=rî   rÖ  rq   s    r6   rt   zNttCisIpAddressList.__repr__4  sd   € € ð ”��Ø”	�	�	ØÔ Ð Ð Ø”��ØÔ*Ð*Ð*Ø”
�
�
ØÔ Ð Ð ØÔ+Ð+Ð+ðð	
r8   rG   rï   rQ   r8   r6   rÔ  rÔ  ÿ  sG   € € € € € ðð ð  $ð.=ð .=ð .=ð .=ð`
ð 
ð 
ð 
ð 
r8   rÔ  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisChildIpAddressListz&
    NttCis Child IP Address list
    c                 ó"   — || _         || _        dS )zò "
        Initialize an instance of :class:`NttCisDataChildIpAddressList`

        :param id: GUID of the IP Address List key
        :type  id: ``str``

        :param name: Name of the IP Address List
        :type  name: ``str``

        Nr‰  ©ri   r:   r   s      r6   rn   z!NttCisChildIpAddressList.__init__K  ó   € ð ˆŒØˆŒ	ˆ	ˆ	r8   c                 óB   — d                      | j        | j        ¦  «        S )Nz*<NttCisChildIpAddressList: id={}, name={}>©r?   r:   r   rq   s    r6   rt   z!NttCisChildIpAddressList.__repr__Y  s   € Ø;×BÒBÀ4Ä7ÈDÌIÑVÔVÐVr8   Nrï   rQ   r8   r6   rÝ  rÝ  F  sA   € € € € € ðð ðð ð ðWð Wð Wð Wð Wr8   rÝ  c                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚNttCisIpAddressz2
    A representation of IP Address in NttCis
    Nc                 ó0   — || _         || _        || _        dS )a   
        Initialize an instance of :class:`NttCisIpAddress`

        :param begin: IP Address Begin
        :type  begin: ``str``

        :param end: IP Address end
        :type  end: ``str``

        :param prefixSize: IP Address prefix size
        :type  prefixSize: ``int``
        N)ÚbeginÚendÚprefix_size)ri   ræ  rç  rè  s       r6   rn   zNttCisIpAddress.__init__b  s    € ð ˆŒ
ØˆŒØ&ˆÔÐÐr8   c                 óN   — d                      | j        | j        | j        ¦  «        S )Nz3<NttCisIpAddress: begin={}, end={}, prefix_size={}>)r?   ræ  rç  rè  rq   s    r6   rt   zNttCisIpAddress.__repr__s  s*   € ØD×KÒKØŒJØŒHØÔñ
ô 
ð 	
r8   r¨  rï   rQ   r8   r6   rä  rä  ]  sA   € € € € € ðð ð'ð 'ð 'ð 'ð"
ð 
ð 
ð 
ð 
r8   rä  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisPortListz
    NttCis Port list
    c                 óh   — || _         || _        || _        || _        || _        || _        || _        dS )a¬   "
        Initialize an instance of :class:`DNttCisPortList`

        :param id: GUID of the Port List key
        :type  id: ``str``

        :param name: Name of the Port List
        :type  name: ``str``

        :param description: Description of the Port List
        :type  description: ``str``

        :param port_collection: Collection of NttCisPort
        :type  port_collection: ``List``

        :param child_portlist_list: Collection of NttCisChildPort
        :type  child_portlist_list: ``List``

        :param state: Port list state
        :type  state: ``str``

        :param create_time: Port List created time
        :type  create_time: ``date time``
        N©r:   r   rô   Úport_collectionÚchild_portlist_listrÁ   rØ  )ri   r:   r   rô   rî  rï  rÁ   rØ  s           r6   rn   zNttCisPortList.__init__€  s@   € ðD ˆŒØˆŒ	Ø&ˆÔØ.ˆÔØ#6ˆÔ ØˆŒ
Ø&ˆÔÐÐr8   c                 óx   — d| j         ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d| j        ›d�S )	Nz<NttCisPortList: id=rù   rú   z, port_collection=z, child_portlist_list=r!  rÛ  rî   rí  rq   s    r6   rt   zNttCisPortList.__repr__ª  s[   € € ð ”��Ø”	�	�	ØÔ Ð Ð ØÔ$Ð$Ð$ØÔ(Ð(Ð(Ø”
�
�
ØÔ Ð Ð ðð	
r8   Nrï   rQ   r8   r6   rë  rë  {  s=   € € € € € ðð ð('ð ('ð ('ðT
ð 
ð 
ð 
ð 
r8   rë  c                   ó   — e Zd ZdZd„ Zd„ ZdS )ÚNttCisChildPortListz 
    NttCis Child Port list
    c                 ó"   — || _         || _        dS )zî "
        Initialize an instance of :class:`NttCisChildIpAddressList`

        :param id: GUID of the child port list key
        :type  id: ``str``

        :param name: Name of the child port List
        :type  name: ``str``

        Nr‰  rß  s      r6   rn   zNttCisChildPortList.__init__À  rà  r8   c                 óB   — d                      | j        | j        ¦  «        S )Nz%<NttCisChildPortList: id={}, name={}>râ  rq   s    r6   rt   zNttCisChildPortList.__repr__Î  s   € Ø6×=Ò=¸d¼gÀtÄyÑQÔQÐQr8   Nrï   rQ   r8   r6   rò  rò  »  sA   € € € € € ðð ðð ð ðRð Rð Rð Rð Rr8   rò  c                   ó    — e Zd ZdZdd„Zd„ ZdS )Ú
NttCisPortz,
    A representation of Port in NTTCIS
    Nc                 ó"   — || _         || _        dS )zÇ
        Initialize an instance of :class:`NttCisPort`

        :param begin: Port Number Begin
        :type  begin: ``str``

        :param end: Port Number end
        :type  end: ``str``
        N)ræ  rç  )ri   ræ  rç  s      r6   rn   zNttCisPort.__init__×  s   € ð ˆŒ
ØˆŒˆˆr8   c                 óB   — d                      | j        | j        ¦  «        S )Nz<NttCisPort: begin={}, end={}>)r?   ræ  rç  rq   s    r6   rt   zNttCisPort.__repr__ä  s   € Ø/×6Ò6°t´zÀ4Ä8ÑLÔLÐLr8   rG   rï   rQ   r8   r6   rö  rö  Ò  sF   € € € € € ðð ðð ð ð ðMð Mð Mð Mð Mr8   rö  c                   ó    — e Zd ZdZdd„Zd„ ZdS )Ú	NttCisNicz7
    A representation of Network Adapter in NTTCIS
    Nc                 ó0   — || _         || _        || _        dS )aE  
        Initialize an instance of :class:`NttCisNic`

        :param private_ip_v4: IPv4
        :type  private_ip_v4: ``str``

        :param vlan: Network VLAN
        :type  vlan: class: NttCisVlan or ``str``

        :param network_adapter_name: Network Adapter Name
        :type  network_adapter_name: ``str``
        N©Úprivate_ip_v4ÚvlanÚnetwork_adapter_name)ri   rý  rþ  rÿ  s       r6   rn   zNttCisNic.__init__í  s!   € ð +ˆÔØˆŒ	Ø$8ˆÔ!Ð!Ð!r8   c                 ó8   — d| j         ›d| j        ›d| j        ›d�S )Nz<NttCisNic: private_ip_v4=z, vlan=z,network_adapter_name=rî   rü  rq   s    r6   rt   zNttCisNic.__repr__þ  s/   € € àÔÐÐØŒIˆIˆIØÔ%Ð%Ð%ð
ð 	
r8   )NNNrï   rQ   r8   r6   rú  rú  è  sA   € € € € € ðð ð9ð 9ð 9ð 9ð"
ð 
ð 
ð 
ð 
r8   rú  c                   ó   — e Zd ZdS )ÚClassFactoryNrT   rQ   r8   r6   r  r  
  rU   r8   r  c                 ó¨   ‡‡‡‡‡— | } t          | ¦  «        Šd	ˆfd„	Šˆˆfd„Šˆˆfd„Šd„ Šˆˆˆˆfd„}t          ‰¦  «        dk    rdS  || ¦  «        S )
a  
    Closure that keeps the deepcopy of the original dict
    converted to XML current.
    :param mapping: The converted XML to dict/lists
    :type mapping: ``dict``
    :param name: (Optional) what becomes the class name if provided
    :type: ``str``
    :return: Nothing
    Nc                 ó*  •— |t           v r#t           |                              | |i¦  «         n)|�|t           |<   nt                                | |i¦  «         | ‰v r‰| = dS | ‰|         v r'‰|         | = t          ‰|         ¦  «        dk    r‰|= dS dS dS )ao  
        Add items to the global attr dict, then delete key, value from map copy
        :param key: from the process function becomes the attribute name
        :type key: ``str``
        :param value: The value of the property and may be a dict
        :type value: ``str``
        :param name: Name of class, often same as key
        :type: name" ``str``
        Nr   )ÚattrsÚupdater°   )ry   rË  r   Úmap_copys      €r6   Ú	add_itemszprocessor.<locals>.add_items  sµ   ø€ ð •5ˆ=ˆ=Ý�$ŒK×Ò  U˜|Ñ,Ô,Ð,Ð,ØÐØ�E�$‰KˆKõ �LŠL˜#˜u˜Ñ&Ô&Ð&à�(ˆ?ˆ?Ø˜���Ø�H˜T”NÐ"Ð"Ø˜”˜sÐ#Ý�8˜D”>Ñ"Ô" aÒ'Ð'Ø˜T�N�N�Nð #Ð"à'Ð'r8   c                 óD  •— i }d„ |                       ¦   «         D ¦   «         }t          |vrt          |vrt          |vr| S t          |v r ‰	| |¦  «        }|S |                      ¦   «         D ]µ\  }}t          |t          ¦  «        r|                     ||i¦  «         t          |t          ¦  «        r6 ‰|                     ¦   «         |¦  «        }|                     ||i¦  «         Œ|t          |t          ¦  «        r$ ‰|                     ¦   «         |¦  «        }||fc S Œ¶|S )Nc                 ó,   — g | ]}t          |¦  «        ‘ŒS rQ   r¹  ©Ú.0Úxs     r6   ú
<listcomp>z1processor.<locals>.handle_map.<locals>.<listcomp>:  s   € Ð/Ð/Ð/˜Q•�a‘”Ð/Ð/Ð/r8   )	ÚvaluesÚXmlListConfigÚXmlDictConfigÚdictr)   r<   ró   r  Ú
capitalize)
Úmapr   ÚtmpÚtypesr#   r1   r2   ÚclsÚbuild_classÚ
handle_seqs
           €€r6   Ú
handle_mapzprocessor.<locals>.handle_map8  s4  ø€ ØˆØ/Ð/ #§*¢*¡,¤,Ð/Ñ/Ô/ˆÝ Ð%Ð%­-¸uÐ*DÐ*DÍÐUZÐIZÐIZØˆJå˜eÐ#Ð#Ø�Z  TÑ*Ô*ˆFØˆMàŸ	š	™œð $ð $‘��1Ý˜a¥Ñ%Ô%ð 'Ø—J’J  1˜vÑ&Ô&Ð&Ý˜a¥Ñ&Ô&ð $Ø%˜+ a§l¢l¡n¤n°aÑ8Ô8�CØ—J’J  3˜xÑ(Ô(Ð(Ð(Ý ¥=Ñ1Ô1ð $Ø%˜+ a§l¢l¡n¤n°aÑ8Ô8�CØ˜s˜8�O�O�Oð$ð ˆJr8   c                 óÌ  •‡	— i }t          | t          ¦  «        r<g }| D ]5} ‰
|                     ¦   «         |¦  «        }|                     |¦  «         Œ6|S |                      ¦   «         D ]ù\  Š	}t          |t
          ¦  «        r³|D ]¯}t          |t          ¦  «        r˜d„ |                     ¦   «         D ¦   «         }t          |v r] ‰|‰	¦  «        }t          |t          ¦  «        r$| 
                    |d         |d         i¦  «         Œƒ| 
                    ‰	|i¦  «         Œ›ˆ
ˆ	fd„|D ¦   «         }||‰	<   Œ°ŒÍt          |t          ¦  «        r| 
                    ‰	|i¦  «         Œú|S )Nc                 ó,   — g | ]}t          |¦  «        ‘ŒS rQ   r¹  r  s     r6   r  z1processor.<locals>.handle_seq.<locals>.<listcomp>Y  s   € Ð =Ð =Ð =¨Q¥ a¡¤Ð =Ð =Ð =r8   r   rY   c                 óL   •— g | ] } ‰‰                      ¦   «         |¦  «        ‘Œ!S rQ   )r  )r  Úir  r1   s     €€r6   r  z1processor.<locals>.handle_seq.<locals>.<listcomp>a  s-   ø€ Ð'RÐ'RÐ'RÈ1¨¨°A·L²L±N´NÀAÑ(FÔ(FÐ'RÐ'RÐ'Rr8   )r<   Úlistr  Úappendr)   r   r   r  r  Útupler  ró   )Úseqr   r  r(   r  r2   r  r#   Útmp_listr1   r  r  s            @€€r6   r  zprocessor.<locals>.handle_seqM  sŽ  øø€ ØˆÝ�c�4Ñ Ô ð 	ØˆCØð  ð  �Ø!�k $§/¢/Ñ"3Ô"3°QÑ7Ô7�Ø—
’
˜3‘”��ØˆJØ—I’I‘K”Kð 	#ð 	#‰DˆAˆqÝ˜!�_Ñ-Ô-ð #Øð .ð .�AÝ! !¥WÑ-Ô-ð 
.Ø =Ð =°!·(²(±*´*Ð =Ñ =Ô =˜Ý(¨EÐ1Ð1Ø%/ Z°°1Ñ%5Ô%5˜FÝ)¨&µ%Ñ8Ô8ð 8Ø #§
¢
¨F°1¬I°v¸a´yÐ+AÑ BÔ BÐ BÐ Bà #§
¢
¨A¨v¨;Ñ 7Ô 7Ð 7Ð 7à'RÐ'RÐ'RÐ'RÐ'RÐPQÐ'RÑ'RÔ'R˜HØ%-˜C ™Føð.õ ˜A�sÑ#Ô#ð #Ø—
’
˜A˜q˜6Ñ"Ô"Ð"øØˆ
r8   c                 ó\   — t          |                      ¦   «         |¦  «        } ||¦  «        S rG   )Úclass_factoryr  )ry   rË  Úklasss      r6   r  zprocessor.<locals>.build_classg  s)   € Ý˜cŸnšnÑ.Ô.°Ñ6Ô6ˆØˆu�U‰|Œ|Ðr8   c           	      ó   •— |                       ¦   «         D �]ö\  }}t          |t          ¦  «        rêd„ |                     ¦   «         D ¦   «         }t          |vr@t
          |vr7 ‰||¦  «        } ‰|                     ¦   «         |¦  «        } ‰||¦  «         Œ‚t          |v r8 ‰||¦  «        } ‰t          |¦  «        d         |¦  «        } ‰||¦  «         ŒÃt
          |v r7 ‰||¦  «        } ‰|                     ¦   «         |¦  «        } ‰|||¦  «         �Œt          |t          ¦  «        r»i }i }g ||<   t          |¦  «        D ]‹\  }}	t          |	t
          ¦  «        rqt          |	¦  «        d         }
 ‰|	|
¦  «        } ‰||¦  «        ||t          |¦  «        z   <   ||                              ||t          |¦  «        z            ¦  «         ŒŒ|r ‰|||         |¦  «         �ŒÕt          |t          ¦  «        r ‰||¦  «         �ŒødS )a#  
        This function is recursive, creating attributes for the class factory
        by taking apart the elements in the  dictionary.  Thus, the calls to
        handle_seq or handle_map
        :param mapping: the dictionary converted from XML
        :return: itself (recursive)
        c                 ó,   — g | ]}t          |¦  «        ‘ŒS rQ   r¹  )r  r2   s     r6   r  z.processor.<locals>.process.<locals>.<listcomp>u  s   € Ð6Ð6Ð6 Q�˜a™œÐ6Ð6Ð6r8   r   N)r)   r<   r   r  r   r  r  r  r  Ú	enumerateró   r   )ÚmappingÚk1Úv1r  r#   r  Útmp1Útmp2r  Újry   r  r  r  r  s              €€€€r6   Úprocesszprocessor.<locals>.processk  s;  ø€ ð —m’m‘o”oð 	"ñ 	"‰FˆB�Ý˜"�gÑ&Ô&ð "Ø6Ð6¨"¯)ª)©+¬+Ð6Ñ6Ô6�Ý"¨%Ð/Ð/µDÀÐ4EÐ4EØ'˜Z¨¨BÑ/Ô/�FØ%˜+ b§m¢m¡o¤o°vÑ>Ô>�CØ�I˜b #Ñ&Ô&Ð&Ð&Ý" eÐ+Ð+Ø'˜Z¨¨BÑ/Ô/�FØ%˜+¥d¨2¡h¤h¨q¤k°6Ñ:Ô:�CØ�I˜b #Ñ&Ô&Ð&Ð&Ý˜U�]�]Ø'˜Z¨¨BÑ/Ô/�FØ%˜+ b§m¢m¡o¤o°vÑ>Ô>�CØ�I˜b # rÑ*Ô*Ð*ùÝ˜B¥Ñ%Ô%ð "Ø�Ø�Ø��R‘Ý% b™MœMð ;ð ;‘D�A�qÝ! !¥TÑ*Ô*ð ;Ý" 1™gœg aœj˜Ø!+ ¨A¨sÑ!3Ô!3˜Ø,7¨K¸¸FÑ,CÔ,C˜˜R¥# a¡&¤&™[Ñ)Ø˜RœŸš¨¨Rµ#°a±&´&©[Ô(9Ñ:Ô:Ð:øØð 0Ø�I˜b $ r¤(¨BÑ/Ô/Ð/ùÝ˜B¥Ñ$Ô$ð "Ø�	˜"˜bÑ!Ô!Ð!ùð9	"ð 	"r8   r   rY   rG   )r   r°   )r*  r   r0  r  r  r  r  r  s      @@@@@r6   Ú	processorr1    sÕ   øøøøø€ ð €Gå˜Ñ Ô €Hð#ð #ð #ð #ð #ð #ð2ð ð ð ð ð ð*ð ð ð ð ð ð4ð ð ð$"ð $"ð $"ð $"ð $"ð $"ð $"ð $"õL ˆ8�}„}˜ÒÐØˆqØˆ7�7ÑÔÐr8   c                 ó–   ‡ ‡— ˆˆ fd„}d„ }d„ }t          |||¬¦  «        }t          d                     ‰ ¦  «        t          f|¦  «        S )aÆ  
    This class takes a name and a dictionary to create a class.
    The clkass has an init method, an iter for retrieving properties,
    and, finally, a repr for returning the instance
    :param cls_name: The name to be tacked onto the suffix NttCis
    :type cls_name: ``str``
    :param attrs: The attributes and values for an instance
    :type attrs: ``dict``
    :return:  a class that inherits from ClassFactory
    :rtype: ``ClassFactory``
    c                 ó‚   •— ‰D ]}t          | |‰|         ¦  «         Œ‰dk    r|                      ¦   «         | _        d S d S )NÚNttCisServer)ÚsetattrÚ
_get_staterÁ   )ri   r.   r/   ry   r  Úcls_names       €€r6   rn   zclass_factory.<locals>.__init__£  sS   ø€ Øð 	+ð 	+ˆCÝ�D˜#˜u SœzÑ*Ô*Ð*Ð*Ø�~Ò%Ð%ØŸšÑ*Ô*ˆDŒJˆJˆJð &Ð%r8   c              3   óB   K  — | j         D ]}t          | |¦  «        V — Œd S rG   )Ú__dict__r=   )ri   r   s     r6   Ú__iter__zclass_factory.<locals>.__iter__©  s:   è è € Ø”Mð 	&ð 	&ˆDÝ˜$ Ñ%Ô%Ð%Ð%Ð%Ð%ð	&ð 	&r8   c                 ó¦   — d                      d„ t          | j        | ¦  «        D ¦   «         ¦  «        }d                     | j        j        |¦  «        S )Nz, c              3   ó*   K  — | ]} d j         |Ž V — ŒdS )z{}={!r}N)r?   )r  r  s     r6   ú	<genexpr>z2class_factory.<locals>.__repr__.<locals>.<genexpr>®  s-   è è € ÐRÐR°AÐ+˜9Ô+¨QÐ/ÐRÐRÐRÐRÐRÐRr8   z{}({}))ÚjoinÚzipr9  r?   r†   rA   )ri   r  s     r6   rt   zclass_factory.<locals>.__repr__­  sG   € Ø—’ÐRÐR½¸T¼]ÈDÑ9QÔ9QÐRÑRÔRÑRÔRˆØ�Š˜tœ~Ô6¸Ñ?Ô?Ð?r8   )rn   r:  rt   zNttCis{})r  r@   r?   r  )r7  r  rn   r:  rt   Ú	cls_attrss   ``    r6   r%  r%  –  s{   øø€ ð+ð +ð +ð +ð +ð +ð&ð &ð &ð@ð @ð @õ ˜h°ÀHÐMÑMÔM€Iå�
×!Ò! (Ñ+Ô+­l¨_¸iÑHÔHÐHr8   c                   ó   — e Zd ZdZd„ ZdS )r  z™
    Creates a class from XML elements that make a list.  If a list of
    XML elements with attributes, the attributes are passed to XmlDictConfig.
    c                 óþ  — |D ]ù}|�¾t          |¦  «        dk    r«|d         j        |d         j        k    r#|                      t          |¦  «        ¦  «         ŒVd|j        v rH|                      |j                             d¦  «        |j                             d¦  «        i¦  «         Œ§|                      |j        ¦  «         ŒÂ|j        r0|j                             ¦   «         }|r|                      |¦  «         Œúd S )NrY   r   Úpropertyr   rË  )r°   Útagr   r  Úattribr±   ÚtextÚstrip)ri   Ú	elem_listÚelementrF  s       r6   rn   zXmlListConfig.__init__¼  sþ   € Ø ð 	&ð 	&ˆGØÐ"¥s¨7¡|¤|°aÒ'7Ð'7à˜1”:”> W¨Q¤Z¤^Ò3Ð3Ø—K’K¥¨gÑ 6Ô 6Ñ7Ô7Ð7Ð7ð
 " W¤[Ð0Ð0ØŸš W¤^×%7Ò%7¸Ñ%?Ô%?ÀÄ×ASÒASÐT[ÑA\ÔA\Ð$]Ñ^Ô^Ð^Ð^àŸš G¤NÑ3Ô3Ð3Ð3Ø”ð &Ø”|×)Ò)Ñ+Ô+�Øð &Ø—K’K Ñ%Ô%Ð%øð!	&ð 	&r8   Nrá   rQ   r8   r6   r  r  ¶  s-   € € € € € ðð ð
&ð &ð &ð &ð &r8   r  c                   ó   — e Zd ZdZd„ ZdS )r  zÈ
    Inherits from dict.  Looks for XML elements, such as attrib, that
    can be converted to a dictionary.  Any XML element that contains
    other XML elements, will be passed to XmlListConfig
    c                 ó  — |                      ¦   «         r…d|j        v rH|                      |j                             d¦  «        |j                             d¦  «        i¦  «         n4|                      t          |                      ¦   «         ¦  «        ¦  «         |D �]n}t          |¦  «        dk    rót          |¦  «        dk    s|d         j        |d         j        k    rt          |¦  «        }n5|d         j                             d¦  «        d         t          |¦  «        i}|                      ¦   «         r4|                     t          |                      ¦   «         ¦  «        ¦  «         |                      |j                             d¦  «        d         |i¦  «         �Œ	|                      ¦   «         �r|j                             d¦  «        d         | v �r�t          | |j                             d¦  «        d                  t          ¦  «        rZ| |j                             d¦  «        d                                       t          |                      ¦   «         ¦  «        ¦  «         �ŒÔt          ¦   «         }t          ¦   «         }| |j                             d¦  «        d                                        ¦   «         D ]G\  }}t          |t          ¦  «        r|                     |¦  «         Œ0|                     ||i¦  «         ŒH|                     |¦  «         |                     t          |                      ¦   «         ¦  «        ¦  «         || |j                             d¦  «        d         <   �ŒÞ|                      |j                             d¦  «        d         t          |                      ¦   «         ¦  «        i¦  «         �Œ4|                      |j                             d¦  «        d         |j        i¦  «         �Œpd S )NrC  r   rË  r   rY   ú})r)   rD  r  rE  r±   r  r°   r  Úsplitr  r<   r  r   rF  )ri   Úparent_elementrI  Ú	elem_dictr#  Útmp_dictr1   r2   s           r6   rn   zXmlDictConfig.__init__×  sv  € Ø×ÒÑ!Ô!ð 	:Ø˜^Ô/Ð/Ð/Ø—’˜^Ô2×6Ò6°vÑ>Ô>ÀÔ@U×@YÒ@YÐZaÑ@bÔ@bÐcÑdÔdÐdÐdà—’�D ×!5Ò!5Ñ!7Ô!7Ñ8Ô8Ñ9Ô9Ð9Ø%ð -	Gñ -	GˆGÝ�7‰|Œ|˜aÒÐõ �w‘<”< 1Ò$Ð$¨°¬
¬¸'À!¼*¼.Ò(HÐ(HÝ -¨gÑ 6Ô 6�I�Ið ")¨¤¤×!5Ò!5°cÑ!:Ô!:¸1Ô!=½}ÈWÑ?UÔ?UÐ V�Ið —=’=‘?”?ð <Ø×$Ò$¥T¨'¯-ª-©/¬/Ñ%:Ô%:Ñ;Ô;Ð;Ø—’˜Wœ[×.Ò.¨sÑ3Ô3°AÔ6¸	ÐBÑCÔCÐCÑCð
 —’‘”ñ Gð ”;×$Ò$ SÑ)Ô)¨!Ô,°Ð4Ñ4Ý! $ w¤{×'8Ò'8¸Ñ'=Ô'=¸aÔ'@Ô"AÅ4ÑHÔHð CØ˜Wœ[×.Ò.¨sÑ3Ô3°AÔ6Ô7×>Ò>½tÀGÇMÂMÁOÄOÑ?TÔ?TÑUÔUÐUÑUå#'¡6¤6˜Ý#'¡6¤6˜Ø$(¨¬×):Ò):¸3Ñ)?Ô)?ÀÔ)BÔ$C×$IÒ$IÑ$KÔ$Kð 8ð 8™D˜A˜qÝ)¨!­]Ñ;Ô;ð 8Ø (§¢°Ñ 2Ô 2Ð 2Ð 2à (§¢°°A°Ñ 7Ô 7Ð 7Ð 7Ø Ÿš¨Ñ1Ô1Ð1Ø Ÿš­¨W¯]ª]©_¬_Ñ(=Ô(=Ñ>Ô>Ð>Ø:B˜˜Wœ[×.Ò.¨sÑ3Ô3°AÔ6Ñ7Ñ7à—K’K ¤×!2Ò!2°3Ñ!7Ô!7¸Ô!:½DÀÇÂÁÄÑ<QÔ<QÐ RÑSÔSÐSÑSð —’˜Wœ[×.Ò.¨sÑ3Ô3°AÔ6¸¼ÐEÑFÔFÐFÑFð[-	Gð -	Gr8   Nrá   rQ   r8   r6   r  r  Ð  s2   € € € € € ðð ð3Gð 3Gð 3Gð 3Gð 3Gr8   r  c                 ó  — t          j        t          | ¦  «        ¦  «        }|                     ¦   «         }|j                             d¦  «        d                              ¦   «         }t          |                     ¦   «         ¦  «        }d|v r%t          |¦  «        }t          |d         ¦  «         nt          |¦  «        }t          |¦  «         t          |                     ¦   «         t          ¦  «        } |t          ¦  «        }i a|S )aú  
    Take the xml and put it into a dictionary. The process the dictionary
    recursively.  This returns a class based on the XML API.  Thus, properties
    will have the camel case found in the Java XML.  This a trade-off
    to reduce the number of "static" classes that all have to be synchronized
    with any changes in the API.
    :param xml: The serialized version of the XML returned from Cloud Control
    :return:  a dynamic class that inherits from ClassFactory
    :rtype: `ClassFactory`
    rL  rY   r®   r   )ÚetreeÚparser   ÚgetrootrD  rM  r  r  r)   r  r1  r  r%  r  )ÚxmlÚtreeÚrootÚelemr)   Úconverted_xmlr&  r  s           r6   Úprocess_xmlrZ  	  sØ   € õ Œ;•w˜s‘|”|Ñ$Ô$€DØ�<Š<‰>Œ>€DØŒ8�>Š>˜#ÑÔ˜qÔ!×,Ò,Ñ.Ô.€DÝ�—’‘”ÑÔ€Eà�uÐÐÝ% dÑ+Ô+ˆÝ�- Ô"Ñ#Ô#Ð#Ð#å% dÑ+Ô+ˆÝ�-Ñ Ô Ð Ý˜$Ÿ/š/Ñ+Ô+­UÑ3Ô3€EØ
ˆ%•‰,Œ,€CØ€EØ€Jr8   r\  rG   )irÚ   r*   Úxml.etree.ElementTreerR  ÚElementTreeÚior   Úcopyr   Útimer   Úbase64r   Útypingr   Ú	functoolsr	   Úlibcloud.utils.py3r
   r   r   Úlibcloud.utils.xmlr   Úlibcloud.common.baser   r   r   Úlibcloud.compute.baser   Úlibcloud.compute.typesr   r   Úcollections.abcr   r   ÚImportErrorÚNAMESPACE_BASEÚORGANIZATION_NSÚ	SERVER_NSÚ
NETWORK_NSrÊ   Ú
GENERAL_NSÚ	BACKUP_NSÚ	TYPES_URNÚAPI_ENDPOINTSÚDEFAULT_REGIONrd   re   r9   rE   rJ   rL   rS   rW   rf   rv   rØ   rã   rñ   rý   r  r  r  r  r#  r)  r3  r<  rG  rR  rX  r^  rh  rp  rv  r€  r„  r‹  r‘  r•  rš  r   rª  r°  rµ  r»  rÂ  rÆ  rÎ  rÔ  rÝ  rä  rë  rò  rö  rú  r  r  r1  r%  r  r  r  r  rZ  rQ   r8   r6   ú<module>rs     sÁ  ððð ð 
€	€	€	Ø %Ð %Ð %Ð %Ð %Ð %Ð %Ð %Ð %Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð ð 6Ð 5Ð 5Ð 5Ð 5Ð 5Ð 5Ð 5Ð 5Ð 5Ø 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø OÐ OÐ OÐ OÐ OÐ OÐ OÐ OÐ OÐ OØ &Ð &Ð &Ð &Ð &Ð &Ø CÐ CÐ CÐ CÐ CÐ CÐ CÐ Cð9Ø8Ð8Ð8Ð8Ð8Ð8Ð8Ð8Ð8øØð 9ð 9ð 9Ø8Ð8Ð8Ð8Ð8Ð8Ð8Ð8Ð8Ð8ð9øøøð 7€Ø  ?Ñ2€Ø˜YÑ&€	Ø˜jÑ(€
Ø Ñ,€Ø˜jÑ(€
Ø˜YÑ&€	ð -€	ðCØØ$Ø*Øðð ðCð 	ØØ*Øðð ðCð 	Ø Ø*Øðð ðCð  Ø-Ø0Øðð ð!Cð* 	ØØ+Øðð ð+Cð4 	Ø#Ø*Øðð ð5Cð> 	ØØ.Øðð ð?CðH Ø$Ø&Ø%ðð ðICðR ØØ&Ø%ðð ðSCð\ Ø Ø&Ø%ðð ð]Cðf ØØ'Ø%ðð ðgCðp Ø#Ø&Ø%ðð ðqCðz Ø'Ø)Ø%ðð ð{CðD ØØ*Ø%ðð ðECðN Ø$Ø)Ø#ðð ðOCðX ØØ+Ø#ðð ðYCðb Ø Ø+Ø#ðð ðcCðn Ø+Ø#ðð ð $Ø+Ø#ðð ð %Ø+Øðð ð Ø+Øðð ð !Ø+Øðð ð Ø,Øðð ð $Ø+Øðð ð (Ø+Øðð ð Ø+Øðð ð}Cð Cð C€ðL €ð �YÐØ�YÐØˆzÐðÐ ð �	ÐØ�	ÐØ�ZÐ ðÐ ðð ð ð$
ð 
ð 
ð 
ð<ð ð ðð ð ð ð ñ ô ð ð
	ð 	ð 	ð 	ð 	˜ñ 	ô 	ð 	ðð ð ð ð �[ñ ô ð ð2
Wð 
Wð 
Wð 
Wð 
W˜ñ 
Wô 
Wð 
WðQ
ð Q
ð Q
ð Q
ð Q
Ð+ñ Q
ô Q
ð Q
ðh
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð-
ð -
ð -
ð -
ð -
ñ -
ô -
ð -
ð`
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð8
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð6
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð.Fð Fð Fð Fð Fñ Fô Fð Fð@Uð Uð Uð Uð Uñ Uô Uð UðD#
ð #
ð #
ð #
ð #
ñ #
ô #
ð #
ðL
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð>+
ð +
ð +
ð +
ð +
ñ +
ô +
ð +
ð\
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð41
ð 1
ð 1
ð 1
ð 1
ñ 1
ô 1
ð 1
ðhð2?
ð ?
ð ?
ð ?
ð ?
ñ ?
ô ?
ð ?
ðDNð Nð Nð Nð Nñ Nô Nð Nð ?ð ?ð ?ð ?ð ?ñ ?ô ?ð ?ð2S
ð S
ð S
ð S
ð S
ñ S
ô S
ð S
ðl:
ð :
ð :
ð :
ð :
ñ :
ô :
ð :
ðz*
ð *
ð *
ð *
ð *
ñ *
ô *
ð *
ðZ/
ð /
ð /
ð /
ð /
ñ /
ô /
ð /
ðd 
ð  
ð  
ð  
ð  
ñ  
ô  
ð  
ðFWð Wð Wð Wð Wñ Wô Wð Wð<Tð Tð Tð Tð Tñ Tô Tð TðDOð Oð Oð Oð Oñ Oô Oð Oð6
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð$Bð Bð Bð Bð Bñ Bô Bð Bð@3;ð 3;ð 3;ð 3;ð 3;ñ 3;ô 3;ð 3;ðlJð Jð Jð Jð Jñ Jô Jð Jð.Eð Eð Eð Eð Eñ Eô Eð Eð4Cð Cð Cð Cð Cñ Cô Cð Cð4Fð Fð Fð Fð Fñ Fô Fð Fð4Gð Gð Gð Gð Gñ Gô Gð Gð,,
ð ,
ð ,
ð ,
ð ,
ñ ,
ô ,
ð ,
ð^!Gð !Gð !Gð !Gð !Gñ !Gô !Gð !GðHD
ð D
ð D
ð D
ð D
ñ D
ô D
ð D
ðNWð Wð Wð Wð Wñ Wô Wð Wð.
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð<=
ð =
ð =
ð =
ð =
ñ =
ô =
ð =
ð@Rð Rð Rð Rð Rñ Rô Rð Rð.Mð Mð Mð Mð Mñ Mô Mð Mð,
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ðD	ð 	ð 	ð 	ð 	ñ 	ô 	ð 	ð 	€ðBð Bð Bð BðJIð Ið Ið@&ð &ð &ð &ð &�Dñ &ô &ð &ð4:Gð :Gð :Gð :Gð :G�Dñ :Gô :Gð :Gðzð ð ð ð s   ÁA& Á&A6Á5A6