forked from docs/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
310 lines
25 KiB
HTML
310 lines
25 KiB
HTML
<a name="en-dc_topic_0055025322"></a><a name="en-dc_topic_0055025322"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Virtual Gateway</h1>
|
|
<div id="body1506566169644"><div class="section" id="en-dc_topic_0055025322__section17487184"><h4 class="sectiontitle">Function</h4><p id="en-dc_topic_0055025322__p2106791092910">This API is used to create a virtual gateway.</p>
|
|
</div>
|
|
<div class="section" id="en-dc_topic_0055025322__section853188092910"><h4 class="sectiontitle">URI</h4><p id="en-dc_topic_0055025322__p153101282423">POST /v2.0/dcaas/virtual-gateways</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025322__table116196219413" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-dc_topic_0055025322__row1162611216418"><th align="left" class="cellrowborder" valign="top" width="14.430000000000001%" id="mcps1.3.2.3.2.5.1.1"><p id="en-dc_topic_0055025322__p3628921415">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="8.25%" id="mcps1.3.2.3.2.5.1.2"><p id="en-dc_topic_0055025322__p126302264110">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="8.25%" id="mcps1.3.2.3.2.5.1.3"><p id="en-dc_topic_0055025322__p1463272144111">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="69.07%" id="mcps1.3.2.3.2.5.1.4"><p id="en-dc_topic_0055025322__p66345214415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-dc_topic_0055025322__row463615254119"><td class="cellrowborder" valign="top" width="14.430000000000001%" headers="mcps1.3.2.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p16638723418">virtual_gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.25%" headers="mcps1.3.2.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p1263922194115">Dictionary data structure</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="8.25%" headers="mcps1.3.2.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p1642721414">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="69.07%" headers="mcps1.3.2.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p14646152154117">Specifies the <strong id="en-dc_topic_0055025322__b8423527061905">virtual_gateway</strong> object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="en-dc_topic_0055025322__section2281784192910"><h4 class="sectiontitle">Request</h4><p id="en-dc_topic_0055025322__p5712311614534"><a href="#en-dc_topic_0055025322__table3523051192910">Table 2</a> lists the <strong id="en-dc_topic_0055025322__b842352706184937">virtual_gateway</strong> parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="en-dc_topic_0055025322__table3523051192910"></a><a name="table3523051192910"></a><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025322__table3523051192910" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="en-dc_topic_0055025322__row1307920992910"><th align="left" class="cellrowborder" valign="top" width="21.007899210078993%" id="mcps1.3.3.3.2.5.1.1"><p id="en-dc_topic_0055025322__p4450739192910">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.23887611238876%" id="mcps1.3.3.3.2.5.1.2"><p id="en-dc_topic_0055025322__p26394292910">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.04819518048195%" id="mcps1.3.3.3.2.5.1.3"><p id="en-dc_topic_0055025322__p6472145192910">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.7050294970503%" id="mcps1.3.3.3.2.5.1.4"><p id="en-dc_topic_0055025322__p6443764692910">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-dc_topic_0055025322__row2660185192910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p3605816293239">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p6629905993311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p5941630693257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p1074630693412">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row2405214492910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p1588715393239">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p2631109893311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p1210552293257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p464917193412">Specifies the virtual gateway name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row5264583392910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p4444139293239">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p45532693311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p3573563593257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p6458631593412">Provides supplementary information about the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row677461492910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p3751344893239">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p1832518793311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p3680570793257">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p4777447793412">Specifies the ID of the VPC to be accessed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row2673906492910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p2167589193239">local_ep_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p1287368693311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p2246540693257">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p3012004693412">Specifies the ID of the local endpoint group that records CIDR blocks of the VPC subnets.</p>
|
|
<p id="en-dc_topic_0055025322__p5580254111215">For details about how to obtain the ID, see section <a href="en-dc_topic_0055025336.html">Creating an Endpoint Group</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row4354445992910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p40746793239">device_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p5176382993311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p4979474293257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p384989993412">Specifies the ID of the physical device used by the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row4939414495544"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p5641288995553">redundant_device_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p1681455295553">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p2527378495553">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p4245896095553">Specifies the ID of the redundant physical device used by the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row43184565141256"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p5942965514139">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p4907275914139">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p30502401142656">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p4515284414139">Specifies the virtual gateway type. The value can be <strong id="en-dc_topic_0055025322__b842352706232310">default</strong> or <strong id="en-dc_topic_0055025322__b842352706232316">double ipsec</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row38240519104130"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p26063336104152">ipsec_bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p30755435104152">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p2573087104130">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p7093483104130">Specifies the bandwidth provided for IPsec VPN in Mbit/s.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row1095019413362"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p97251695369">bgp_asn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p13725189103617">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p1872513919362">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p172519193615">Specifies the BGP ASN of the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row6233967292910"><td class="cellrowborder" valign="top" width="21.007899210078993%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025322__p6228249193239">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.23887611238876%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025322__p682237893311">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025322__p386476593257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.7050294970503%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025322__p5996447511383">Specifies the administrative status of the virtual gateway.</p>
|
|
<p id="en-dc_topic_0055025322__p5798730593412">The value can be <strong id="en-dc_topic_0055025322__b842352706154840">true</strong> or <strong id="en-dc_topic_0055025322__b842352706154844">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="en-dc_topic_0055025322__section1915447592910"><h4 class="sectiontitle">Response</h4><p id="en-dc_topic_0055025322__p17268844145745"><a href="#en-dc_topic_0055025322__table50992744154526">Table 3</a> lists the response parameter.</p>
|
|
|
|
<div class="tablenoborder"><a name="en-dc_topic_0055025322__table50992744154526"></a><a name="table50992744154526"></a><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025322__table50992744154526" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameter</caption><thead align="left"><tr id="en-dc_topic_0055025322__row20073554154526"><th align="left" class="cellrowborder" valign="top" width="29.000000000000004%" id="mcps1.3.4.3.2.4.1.1"><p id="en-dc_topic_0055025322__p15345186154526">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.00000000000001%" id="mcps1.3.4.3.2.4.1.2"><p id="en-dc_topic_0055025322__p35000534154526">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.4.3.2.4.1.3"><p id="en-dc_topic_0055025322__p59082508154526">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-dc_topic_0055025322__row20953821154526"><td class="cellrowborder" valign="top" width="29.000000000000004%" headers="mcps1.3.4.3.2.4.1.1 "><p id="en-dc_topic_0055025322__p19537972154526">virtual_gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.00000000000001%" headers="mcps1.3.4.3.2.4.1.2 "><p id="en-dc_topic_0055025322__p39071862154526">Dictionary data structure</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.4.3.2.4.1.3 "><p id="en-dc_topic_0055025322__p61739489154526">Specifies the <strong id="en-dc_topic_0055025322__b84235270619636">virtual_gateway</strong> object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025322__table6599744292910" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Description of field <strong id="en-dc_topic_0055025322__b8423527069345">virtual_gateway</strong></caption><thead align="left"><tr id="en-dc_topic_0055025322__row1344591292910"><th align="left" class="cellrowborder" valign="top" width="28.999999999999996%" id="mcps1.3.4.4.2.4.1.1"><p id="en-dc_topic_0055025322__p4888289392910"><strong id="en-dc_topic_0055025322__b8423527069918">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.4.4.2.4.1.2"><p id="en-dc_topic_0055025322__p228436892910"><strong id="en-dc_topic_0055025322__b842352706165439">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="38%" id="mcps1.3.4.4.2.4.1.3"><p id="en-dc_topic_0055025322__p1567805992910"><strong id="en-dc_topic_0055025322__b84235270615331">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-dc_topic_0055025322__row557857592910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p2232642692910">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p4674730592910">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p5414758192910">Specifies the virtual gateway ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row2072208492910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p6213532593429">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p6202319293429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p4865392993429">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row2092257692910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p4220277893429">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p3104281293429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p2203472093429">Specifies the virtual gateway name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row404465492910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p1666196693429">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p5183306893429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p4233879693429">Provides supplementary information about the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row611136292910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p3425966893429">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p5237210693429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p436434393429">Specifies the ID of the VPC to be accessed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row4800353492910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p1364920093429">local_ep_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p5788847893429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p6014873093429">Specifies the ID of the local endpoint group that records CIDR blocks of the VPC subnets.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row4957271792910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p374837693429">device_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p715986393429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p5627825093429">Specifies the ID of the physical device used by the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row467092395323"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p5631205595338">redundant_device_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p1395232595338">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p6315446495338">Specifies the ID of the redundant physical device used by the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row27709212142417"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p65101698142435">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p38746165142435">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p5212668142435">Specifies the virtual gateway type. The value can be <strong id="en-dc_topic_0055025322__b1520310732">default</strong> or <strong id="en-dc_topic_0055025322__b1098346835">double ipsec</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row26313399104224"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p10207605104227">ipsec_bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p21509689104227">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p62237721104227">Specifies the bandwidth provided for IPsec VPN in Mbit/s.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row1667715136374"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p16815121703718">bgp_asn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p78151817113714">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p10815417153713">Specifies the BGP ASN of the virtual gateway.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row169233392910"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p772042793429">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p6460901893429">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p11396196113834">Specifies the administrative status of the virtual gateway.</p>
|
|
<p id="en-dc_topic_0055025322__p1809396693429">The value can be <strong id="en-dc_topic_0055025322__b17212656113625">true</strong> or <strong id="en-dc_topic_0055025322__b18750106113625">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-dc_topic_0055025322__row10232124744112"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025322__p1223214715417">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025322__p78651554413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025322__p1286513554418">Specifies the virtual gateway status. The value can be <strong id="en-dc_topic_0055025322__b11729142384117">ACTIVE</strong>, <strong id="en-dc_topic_0055025322__b87382233419">DOWN</strong>, <strong id="en-dc_topic_0055025322__b1273972310413">BUILD</strong>, <strong id="en-dc_topic_0055025322__b574117234419">ERROR</strong>, <strong id="en-dc_topic_0055025322__b1674115235414">PENDING_CREATE</strong>, <strong id="en-dc_topic_0055025322__b157411923134111">PENDING_UPDATE</strong>, or <strong id="en-dc_topic_0055025322__b15742102394114">PENDING_DELETE</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="en-dc_topic_0055025322__section5174176392910"><h4 class="sectiontitle">Examples</h4><ul id="en-dc_topic_0055025322__ul896216492467"><li id="en-dc_topic_0055025322__li196213494461">Example request<pre class="screen" id="en-dc_topic_0055025322__screen2013533392910">POST /v2.0/dcaas/virtual-gateways
|
|
{
|
|
"virtual_gateway" : {
|
|
"name" : "virtual gateway1",
|
|
"vpc_id" : "908d9cf3-da64-4acb-393f-e5eb6b9e838a",
|
|
"local_ep_group_id" : "f8834cf1-5468-87c7-223d-56e78b9699ab",
|
|
"device_id" : "aaa_01"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="en-dc_topic_0055025322__ul5241010134714"><li id="en-dc_topic_0055025322__li6241410114711">Example response<pre class="screen" id="en-dc_topic_0055025322__screen071291924710">{
|
|
"virtual_gateway":{
|
|
"status": "PENDING_CREATE",
|
|
"redundant_device_id": "",
|
|
"description":"",
|
|
"admin_state_up": true,
|
|
"tenant_id": "6fbe9263116a4b68818cf1edce16bc4f",
|
|
"name": "virtual gateway1",
|
|
"local_ep_group_id":"011856d0-e1b0-4d78-b83a-edd67801764b",
|
|
"vpc_id":"908d9cf3-da64-4acb-393f-e5eb6b9e838a",
|
|
"device_id":"70.202.5.206",
|
|
"type": "default",
|
|
"id":"97b87776-49e3-44a4-ac4c-8f9156a360cd",
|
|
"ipsec_bandwidth":1
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
<div class="section" id="en-dc_topic_0055025322__sd936e658d4c44ad2b8ae55a74398fcd9"><h4 class="sectiontitle">Returned Value</h4><p id="en-dc_topic_0055025322__p176816317298">For details, see section <a href="en-dc_topic_0055025342.html">Common Returned Values</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-dc_topic_0055025320.html">Virtual Gateway</a></div>
|
|
</div>
|
|
</div>
|
|
|