Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createsubnet.pyc
�
��Xc@sVddlZddlmZddlmZddlmZdefd��YZdS(i����N(tArg(t
ArgumentError(t
EC2RequesttCreateSubnetcBs�eZdZeddddd�edddd	d
ddddej�ed
ddddedd�edddddddd�gZdgZ	d�Z
d�ZRS(sCreate a new VPC subnett	CidrBlocktmetavartCIDRthelps0CIDR address block for the new subnet (required)s-is--cidrtdesttdummytactiont
store_truetroute_tos-cs--vpctVpcIdtrequireds4ID of the VPC to create the new subnet in (required)s-zs--availability-zonetAvailabilityZonetZONEs3availability zone in which to create the new subnetttagSetcCs�tj|�|jjd�rg|jjd�rPtdj|jd���n|jd|jd<n|jjd�s�td��ndS(Ntpositional_cidrRsunrecognized arguments: {0}sargument -i/--cidr is required(Rt	configuretargstgettparamsRtformat(tself((sG/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createsubnet.pyR1s
	cCs |j|jd�pi�dS(Ntsubnet(tprint_subnetR(Rtresult((sG/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createsubnet.pytprint_result<sN(t__name__t
__module__tDESCRIPTIONRtNonetargparsetSUPPRESStTruetARGSt	LIST_TAGSRR(((sG/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createsubnet.pyR"s		(R!trequestbuilderRtrequestbuilder.exceptionsRteuca2ools.commands.ec2RR(((sG/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createsubnet.pyt<module>s