Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describevpnconnections.pyo

ó
”ōXc@s^ddlZddlmZmZmZddlZddlmZdefd„ƒYZdS(i’’’’N(tArgtFiltertGenericTagFilter(t
EC2RequesttDescribeVpnConnectionscBs(eZdZedddddddƒedd	d(dd
ƒedd	d(ddƒgZed
ddƒedddƒedddƒedddƒedddƒedddƒedddƒedddƒedddƒeddd ƒed!dd"ƒed#dd$ƒgZd%d&gZ	d'„Z
RS()s&Show information about VPN connectionstVpnConnectionIdtmetavartVPNCONNtnargst*thelps)limit results to specific VPN connectionss--formattroute_tosŃshow connection
                information in a specific format (cisco-ios-isr,
                juniper-junos-j, juniper-screenos-6.1, juniper-screenos-6.2,
                generic, xml, none) (default: none)s--stylesheetsjformat the connection
                information using an XSL stylesheet.  If the value contains
                "{format}" it will be replaced with the format chosen by the
                --format option.  If the value is an HTTP or HTTPS URL it
                will be downloaded as needed.  (default: value of
                "vpn-stylesheet" region option)sbgp-asnsQthe BGP AS number advertised by the
                      customer gateway routerscustomer-gateway-configurations/connection information for the customer gatewayscustomer-gateway-ids$ID of the connected customer gatewaytstatesXthe VPN connection's state (available,
                      deleting, deleted, pending)soption.static-routes-onlysdwhether the VPN connection is restricted to
                      static routes instead of using BGPsroute.destination-cidr-blocks”the address block
                      corresponding to the subnet used in the data center
                      behind the customer gateway routerstag-keys+key of a tag assigned to the VPN connections	tag-values-value of a tag assigned to the VPN connectionstag:KEYs"specific tag key/value combinationttypes-the type of virtual private gateway (ipsec.1)svpn-connection-idsID of the VPN connectionsvpn-gateway-ids+ID of the connected virtual private gatewaytvpnConnectionSetttagSetcCsH|jjdƒdkr9|jjdƒ}t|ƒ}nÕ|jjdƒdkr`d}t}n®|jjdƒdkr‡d}t}n‡|jjdƒ}|s“|jjdƒ}n|rÖ|jd|jdƒ}n,|j	j
dƒd}tj|dt
jƒt|ƒ}x3|jd	gƒD]}|j|d
|d|ƒq!WdS(Ntformatt
stylesheettnonetxmlsvpn-stylesheets current region has no stylesheets›current region has no XSLT stylesheet to format output; connection info will not be shown  (try specifying one with "--stylesheet" or using "--format xml")tfileRtshow_conn_info(targstgettNonetbooltFalsetTruetconfigtget_region_optionRtlogtwarntsixtprint_tsyststderrtprint_vpn_connection(tselftresultRRtmsgtvpn((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describevpnconnections.pytprint_resultKs*		N(t__name__t
__module__tDESCRIPTIONRRtARGSRRtFILTERSt	LIST_TAGSR)(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describevpnconnections.pyR"s@											(	R"trequestbuilderRRRR teuca2ools.commands.ec2RR(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describevpnconnections.pyt<module>s
Back to Directory File Manager