ó
    €ÏO
  ã                   ó`  • S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSKJr  SS	KJr  S
SS.r\
R                   \
R"                  " \
R$                  R&                  \
R$                  R(                  \
R$                  R*                  5       " S S\
R,                  5      5       5       rg)z)Command for creating cross site networks.é    )Úabsolute_import)Údivision)Úunicode_literals)Úbase_classes)Úclient)Úbase)Úflags)Ú
propertiesz¶        *{command}* is used to create cross site networks. A cross site network
        contains wire groups.

        For an example, refer to the *EXAMPLES* section below.
        zƒ        To create a cross site network, run:

          $ {command} example-csn --description="Example cross site network"
        )ÚDESCRIPTIONÚEXAMPLESc                   ó<   • \ rS rSrSr\rSr\S 5       r	S r
S rSrg)ÚCreateé*   z„Create a Compute Engine cross site network.

*{command}* is used to cross site networks. A cross site network
contains wire groups.
Nc                 ó–   • [         R                  " SS9U l        U R                  R                  USS9  [         R                  " U5        g )NF)ÚpluralÚcreate)Úoperation_type)r	   ÚCrossSiteNetworkArgumentÚCROSS_SITE_NETWORK_ARGÚAddArgumentÚAddDescription)ÚclsÚparsers     Ú?lib/surface/compute/interconnects/cross_site_networks/create.pyÚArgsÚCreate.Args:   s<   € ä!&×!?Ò!?ÀuÑ!M€CÔØ×Ñ×*Ñ*¨6À(Ð*ÑKÜ	×Ò˜Õ ó    c                 ó   • g)Nzcompute.crossSiteNetworks© )Úselfs    r   Ú
CollectionÚCreate.Collection@   s   € Ø&r   c                 ó€  • [         R                  " U R                  5       5      nU R                  R	                  XR
                  5      n[        R                  R                  R                  R                  5       n[        R                  " UUUR                  UR
                  S9nUR                  UR                  S9$ )N)Úcompute_clientÚ	resources)Údescription)r   ÚComputeApiHolderÚReleaseTrackr   ÚResolveAsResourcer%   r
   ÚVALUESÚcoreÚprojectÚ	GetOrFailr   ÚCrossSiteNetworkr   r&   )r    ÚargsÚholderÚrefr,   Úcross_site_networks         r   ÚRunÚ
Create.RunC   s¡   € Ü×*Ò*¨4×+<Ñ+<Ó+>Ó?€FØ
×
%Ñ
%×
7Ñ
7¸×>NÑ>NÓ
O€CÜ×Ñ×$Ñ$×,Ñ,×6Ñ6Ó8€GÜ×0Ò0ØØØ—}‘}Ø×"Ñ"ñ	Ðð ×$Ñ$Ø×$Ñ$ð %ð ð r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú_DETAILED_HELPÚdetailed_helpr   Úclassmethodr   r!   r3   Ú__static_attributes__r   r   r   r   r   *   s0   † ñ
ð !€-àÐàñ!ó ð!ò
'õr   r   N)r9   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.computer   Ú@googlecloudsdk.api_lib.compute.interconnects.cross_site_networksr   Úgooglecloudsdk.callioper   ÚDgooglecloudsdk.command_lib.compute.interconnects.cross_site_networksr	   Úgooglecloudsdk.corer
   r:   ÚUniverseCompatibleÚReleaseTracksr(   ÚALPHAÚBETAÚGAÚCreateCommandr   r   r   r   Ú<module>rJ      s˜   ðñ 0å &Ý Ý 'å 7Ý SÝ (Ý VÝ *ððñ€ð ×ÑØ×ÒØ×Ñ×Ñ˜T×.Ñ.×3Ñ3°T×5FÑ5F×5IÑ5Ióô"ˆT×Ñó "óó ñ"r   