forked from laiweijian4/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
977 lines
103 KiB
HTML
977 lines
103 KiB
HTML
<a name="CreateVirtualInterface"></a><a name="CreateVirtualInterface"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Virtual Interface</h1>
|
|
<div id="body8662426"><div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section190813211713"><h4 class="sectiontitle">Function</h4><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13908532121711">This API is used to create a virtual interface.</p>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section090812328172"><h4 class="sectiontitle">URI</h4><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1190916321171">POST /v3/{project_id}/dcaas/virtual-interfaces</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_table1191073215175" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row169091832121716"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p129109326172">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p09111732151713">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p191193211173">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1591103211718">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1090923214172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9912163219172">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p791212321172">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11912932171716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p691373251720">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section12913173291714"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row691413215174"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p591513320176">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p29151732161714">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p09151332121710">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1191653211171">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row19145323173"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p591623261715">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p99166324174">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1891633251712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16917193217171">Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the <em id="CreateVirtualInterface__en-us_topic_0000001782705617_i091743201715">Identity and Access Management API Reference</em>. The token is the value of <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b11917132141717">X-Subject-Token</strong> in the response header.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3917143212170">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1491773221712">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11917153251714">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1991716325176">10240</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_request_CreateVirtualInterfaceRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row18918832181720"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18919143218170">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5919173214173">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p591916323171">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p129207321179">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1918163271711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6920113221719">virtual_interface</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1392073241710">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1792013210175"><a href="#CreateVirtualInterface__en-us_topic_0000001782705617_request_CreateVirtualInterface">CreateVirtualInterface</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16921332101710">Specifies parameters for creating a virtual interface.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001782705617_request_CreateVirtualInterface"></a><a name="en-us_topic_0000001782705617_request_CreateVirtualInterface"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_request_CreateVirtualInterface" frame="border" border="1" rules="all"><caption><b>Table 4 </b>CreateVirtualInterface</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row892253211174"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p792573261714">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p179263322176">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p592653291716">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p119261932141711">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row29231332101714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1492723251716">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7927173215174">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p20927163215176">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9928143211717">Specifies the virtual interface name.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11928732111713">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1992810329172">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9928123281720">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b18928113261719">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row109231032171716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16928732191710">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5929123214170">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6929432121720">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p15929432171711">Provides supplementary information about the virtual interface.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16929103215178">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1293010324176">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p8930732191719">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b5930532161713">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row169231832121712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p17930133281711">direct_connect_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9930532151713">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p149311232161711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p199311032131718">Specifies the ID of the connection associated with the virtual interface. When creating a virtual interface, you need to specify <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b129311532191715">direct_connect_id</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b7931832191714">lag_id</strong>. This parameter is mandatory when LAG is not supported at the site.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row7923332151711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1293183241716">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p693223211171">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7932932181717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18932832121720">Specifies the type of the virtual interface. The value is <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b6933123271717">private</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7933032141713">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul99331432151715"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li1493312327179"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b09331132171716">private</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li209338329178"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b16933732191713">public</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row10923132131719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10934133210179">service_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p69341632101719">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p593423210173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p109351632101714">Specifies the gateway type, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1093518324173">VGW</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b13935153271710">GDGW</strong>, or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1893514324178">LGW</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1893563211717">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul13935232181715"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li993513220174"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b13935193241719">VGW</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li139361532181717"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1993613211717">GDGW</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li2093619324174"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b693663221719">LGW</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row199231632141719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4936123213171">vlan</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p893717322170">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p49371232201711">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p49371132201716">Specifies the customer VLAN to be connected. If you select a hosted connection, the VLAN must be the same as that of the hosted connection.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1938193218178">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b15938123211177">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18938123215176">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b19388324176">3999</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row18923123271718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0938163214176">bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6938132161719">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p12939163271717">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1393963217176">Specifies the virtual interface bandwidth.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11939163261715">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b493911326173">2</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p59401632101715">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b149401332111710">2147483647</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1892353291710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p294063210177">local_gateway_v4_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19401332141719">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6941332171710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p209413322171">Specifies the IPv4 interface address of the gateway used on the cloud. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b794293210174">address_family</strong> is set to an IPv4 address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row692316327173"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9942173212179">remote_gateway_v4_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p199421132111714">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19943133201715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1894373281718">Specifies the IPv4 interface address of the gateway on the on-premises network. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1094373291714">address_family</strong> is set to an IPv4 address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1792343291710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1494343212175">address_family</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p29430321173">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9944332201720">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p99444326171">Specifies the address family type of the virtual interface, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b694443201717">IPv4</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b594414324171">IPv6</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p194463211175">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b59451732121712">ipv4</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row592473211178"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p129451632131714">local_gateway_v6_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19452329171">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p29456328179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1694617321171">Specifies the IPv6 interface address of the gateway used on the cloud. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b89461832121718">address_family</strong> is set to an IPv6 address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1292403210171"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1594643211710">remote_gateway_v6_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11946432121715">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1194743218171">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6947532201719">Specifies the IPv6 interface address of the gateway on the on-premises network. This parameter is mandatory if <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b994718324171">address_family</strong> is set to an IPv6 address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row16924123216172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p194717328174">vgw_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1594893215177">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p15948332111711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p12948432121716">Specifies the ID of the virtual gateway connected by the virtual interface.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row17924532111720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1094813212176">route_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1394915329177">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1194943214174">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p99491032131715">Specifies the routing mode, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b895043291719">static</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b59502032101711">bgp</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7950232131713">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b695083220178">static</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1495053261714">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul6950153211718"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li9950232191719"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b3950123211172">static</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li8950173216178"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b295110328174">bgp</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row5924113215173"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p20951932131712">bgp_asn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1895115327174">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p695183271719">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p149526321173">Specifies the ASN of the BGP peer on the customer side.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p139521532141710">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b189521832141716">1</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p99523328174">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b695219323172">4294967295</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row14924103215176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p89529328170">bgp_md5</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p49531325176">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p195333211172">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p14953832181715">Specifies the MD5 password of the BGP peer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1292493217179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1295473219177">remote_ep_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p495412328170">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p109548327170">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p209552324173">Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row59242327176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p09551832201711">service_ep_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11955143241710">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1795563231718">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1895673271711">Specifies the subnets that access Internet services through a direct connection.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row0924193261710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10956432181712">enable_bfd</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p2956113215179">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p49571932151718">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p395720327171">Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b189576327177">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1995720321173">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p14957332131711">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b295719326174">false</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row159241532161719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1095814327177">enable_nqa</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p495813321173">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18958632201717">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p195983221712">Specifies whether to enable NQA. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1995920327173">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1495943241713">false</strong>. (This is a reserved parameter and is not supported currently.)</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p169591332171714">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b295919321173">false</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1692433218174"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p20959113211178">lag_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16960193216173">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p396017321175">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p169601132101711">Specifies the ID of the LAG associated with the virtual interface.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19960932141720">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b19960163214171">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p89615328174">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b8961632101720">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1292512322179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5961632151711">resource_tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p49611132141720">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p8961132191719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p99624325171">Specifies the project ID of another tenant, which is used to create virtual interfaces across tenants.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row5925193211173"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p09621332131716">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5962203231713">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p17963173221714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p796393221711">Specifies the ID of the enterprise project that the resource belongs to.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p59631432191716">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b119631332141716">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p149631632181710">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b19964532161715">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section199711432141711"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p179721632161717"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b20972163231717">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_response_CreateVirtualInterfaceResponseBody" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row169721232111712"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18973193201710">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p79731232141711">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p29748320171">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row129721332111713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p149741327174">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p297419329178">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5974183251712">Specifies the request ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row5972103251712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1397563281712">virtual_interface</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13161633171720"><a href="#CreateVirtualInterface__en-us_topic_0000001782705617_response_VirtualInterface">VirtualInterface</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p71611033121714">Specifies parameters for creating a virtual interface.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001782705617_response_VirtualInterface"></a><a name="en-us_topic_0000001782705617_response_VirtualInterface"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_response_VirtualInterface" frame="border" border="1" rules="all"><caption><b>Table 6 </b>VirtualInterface</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row10978632201720"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11161103371713">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18161103312177">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p216111332170">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row6978113231715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1516117338175">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1916263351717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p616217335170">Specifies the virtual interface ID.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p111622033171717">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1716214339178">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1497819325175"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p12162103312179">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p17162733131714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19162153311711">Specifies the virtual interface name.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p121621533171715">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b016263319177">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1297863215172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p15162173312172">admin_state_up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p316243341716">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1416223351711">Specifies the administrative status, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b61622332174">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1316243341716">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1978113216177"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p14162833121710">bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p20162163314171">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p71631933201713">Specifies the virtual interface bandwidth.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p016373317172">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b151632339170">2</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p616393319171">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1316312334172">2147483647</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row18978532181717"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p616383321713">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1916316337172">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4163183311718">Specifies the time when the virtual interface was created. The UTC time format <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1121552025218">yyyy-MM-ddTHH:mm:ss.SSSZ</strong> is used.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1816393319173">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b19163033151719">255</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row797810329178"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p31639331173">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13163633131712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1816318338176">Provides supplementary information about the virtual interface.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p131634336175">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b131633338175">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row8978532111715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p12163133121715">direct_connect_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3163103313179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5164113311711">Specifies the connection ID.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1716443301714">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b61641433161713">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row69786328177"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p171641833181713">service_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1616416336174">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p111641033201718">Specifies the gateway type, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1416417339179">VGW</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b20164203314174">GDGW</strong>, or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b201641933121718">LGW</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p616413341717">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul1216411335172"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li1416423321712"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b2164143341711">VGW</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li3164163381717"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b101641338172">GDGW</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li2164133151710"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1316473351713">LGW</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row697993214177"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6164143371719">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p141659332179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p81651633101716">Specifies the operating status, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b17165173351717">ACTIVE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1816543318172">DOWN</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b14165133317179">BUILD</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b16165143341714">ERROR</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b12165113331715">PENDING_CREATE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b41651533191715">PENDING_UPDATE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b5165633151713">PENDING_DELETE</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1216593317172">DELETED</strong>, <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b20165153391718">AUTHORIZATION</strong>, or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b171651933161710">REJECTED</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row6979123291712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p31656331178">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p151651733101712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p31652338173">Specifies the project ID.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3165173319170">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b716512334171">32</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7165203321712">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b3165143391711">32</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row4979132181714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0165123313170">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p181651339178">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10166123311171">Specifies the type of the virtual interface. The value is <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b916603321714">private</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1416603313178">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1166163301713">private</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p216619333174">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1516619337175">255</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3166233171717">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul1216643310174"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li7166163371717"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b15166233141719">private</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li2166203351710"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b81661133161718">public</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row17979432111718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p21669336171">vgw_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p181661633151710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p141661533171715">Specifies the virtual gateway ID.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p416620335176">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b121661033151710">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p81668332173">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b131673334176">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row18979232171718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1716773351719">vlan</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p2016733311716">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6167153315171">Specifies the VLAN for connecting to the user gateway. The value ranges from <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b17167133181715">0</strong> to <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b01672331177">3999</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p01670335174">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b15167133341711">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10167203318176">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b31677330171">3999</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row12979113218171"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p316783351710">route_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p8167153371711">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1216733311718">Specifies the remote subnet route configurations of the virtual interface.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5167173351719">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b171676338175">1</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1316763310179">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1816793313176">200</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1816763310179">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b7167173316175">50</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row2097912328173"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p216843391713">enable_nqa</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p14168633191715">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p516823381710">Specifies whether to enable NQA. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b2168633141720">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b101681133111717">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row4979432141715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1116817333170">enable_bfd</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1616810330177">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p2016814330173">Specifies whether to enable Bidirectional Forwarding Detection (BFD). The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b151681233101710">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b116813319171">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row17979113281712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1516816338172">lag_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p916893310177">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1168123311719">Specifies the ID of the LAG associated with the virtual interface.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p516843312179">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b181681133181712">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p51681733101713">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1616863312176">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row397918322172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p416883331719">device_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1516943311716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1316983319176">Specifies the ID of the device that the virtual interface belongs to.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1979123216179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18169183311176">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11169033181715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1616919335170">Specifies the ID of the enterprise project that the virtual interface belongs to.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p20169113318175">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b17169123311719">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1216953371718">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b016953361712">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row169791032181710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1816918334173">local_gateway_v4_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16169143318173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1317023313179">Specifies the IPv4 interface address of the gateway used on the cloud. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b417012330174">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row49794324171"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18170193310179">remote_gateway_v4_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1917093320173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9170113316174">Specifies the IPv4 interface address of the gateway used on premises. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b12170633161720">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row4980163251712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1170433201719">ies_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3170633181714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1017053321716">Specifies the ID of an IES edge site. (This parameter is not supported currently.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row7980193211711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18170103321720">reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p61701133161715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7170433151714">Displays error information if the status of a line is <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b217010336179">Error</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row8980103251710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4170173301718">rate_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5170183341719">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p141704331173">Specifies whether rate limiting is enabled on a virtual interface.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row3980832171714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4171123311171">address_family</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p17171133161719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9171113314173">Specifies the address family of the virtual interface, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1417173312175">IPv4</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1217123313173">IPv6</strong>. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b81716334171">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row14980183210175"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0171133391718">local_gateway_v6_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1717114334175">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1171193313172">Specifies the IPv6 interface address of the gateway used on the cloud. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b101711933101719">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row198033211713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13171933161712">remote_gateway_v6_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p817115339173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p417111335173">Specifies the IPv6 interface address of the gateway used on premises. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b41711733131713">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row139803321177"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p21711233171719">lgw_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p017110334173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18171163351716">Specifies the ID of the local gateway, which is used in IES scenarios. (This parameter is not supported currently.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1198033210174"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19172173312171">gateway_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p171721133151712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p31721233151719">Specifies the ID of the gateway associated with the virtual interface.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row898033291716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p417243351718">remote_ep_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p14172153318173">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p181721733121715">Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b617217333171">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row199801532171719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1317211330177">service_ep_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p191721233151711">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1817223311719">Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections. This parameter has been migrated to the <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b317217333178">vifpeer</strong> parameter list and will be discarded later.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1398093218172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p017219337177">bgp_route_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p517223316176">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p131726334175">Specifies the BGP route configuration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row198053219173"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1617213337176">priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p41721833121716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p617311331171">Specifies the priority of a virtual interface. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b15173163341712">normal</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b81731633101716">low</strong>. If the priorities are the same, the virtual interfaces work in load balancing mode. If the priorities are different, the virtual interfaces work in active/standby pairs. Outbound traffic is preferentially forwarded to the normal virtual interface with a higher priority. This option is only supported by virtual interfaces that use BGP routing.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p817313371717">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b111735333177">normal</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4173033161712">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul20173103391719"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li9173333101712"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b12173433161718">normal</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li16173183319179"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b717315337174">low</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row19980103251716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p71731336177">vif_peers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p121738335175">Array of <a href="#CreateVirtualInterface__en-us_topic_0000001782705617_response_VifPeer">VifPeer</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p191735334176">Provides information about virtual interface peers. (This is a reserved parameter and is not supported currently.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row149811732191717"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p317373311174">extend_attribute</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p111731633111719"><a href="#CreateVirtualInterface__en-us_topic_0000001782705617_response_VifExtendAttribute">VifExtendAttribute</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p2174113311179">Provides extended parameter information. (This is a reserved parameter and is not supported currently.)</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001782705617_response_VifPeer"></a><a name="en-us_topic_0000001782705617_response_VifPeer"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_response_VifPeer" frame="border" border="1" rules="all"><caption><b>Table 7 </b>VifPeer</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row191423311718"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3175033111711">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p617513312172">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p131751033111717">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1414733201718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p417513301714">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4175833131717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p617593315178">Specifies the resource ID.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16176433101711">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b81761233151718">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7176123331711">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b11761133121719">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row214233141712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1817617331172">tenant_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3176193371718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10176183319178">Specifies the ID of the project that the virtual interface peer belongs to.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p717613361718">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b3176933181710">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1017643371713">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b317613371717">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1314193331719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p121761333131717">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5176163310173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p917693381714">Specifies the name of the virtual interface peer.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1417616332172">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b19176163321711">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18176163320178">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b217663311172">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1614163317170"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p117719338172">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1017743381716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p217733319178">Provides supplementary information about the virtual interface peer.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18177133317173">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b17177133311174">0</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0177123319176">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b7177193310179">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row414143381712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p2017703314173">address_family</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5177113351718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1117753321716">Specifies the address family type of the virtual interface, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b6177433141712">IPv4</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b2017723317178">IPv6</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1114193311712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p817733313174">local_gateway_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p117793321718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1117763310174">Specifies the address of the virtual interface peer used on the cloud.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row2014113311171"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1717711339177">remote_gateway_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p171779331175">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p417853311178">Specifies the address of the virtual interface peer used in the on-premises data center.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row20141033191720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p71784335175">route_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1178103318173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11178143371718">Specifies the routing mode, which can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b151781533151710">static</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1117813371714">bgp</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p217820338178">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b917820332170">255</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p17178163371714">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul18178033171715"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li717873381715"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b8178193371710">bgp</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li10178103312177"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b217893391712">static</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row16141133171713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0178633121710">bgp_asn</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p817803361717">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p121785335172">Specifies the ASN of the BGP peer.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1117883315174">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b12179103361717">1</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p817983311171">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b1817915338173">4294967295</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row14141933111718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p217910339175">bgp_md5</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1217913311715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p8179233171720">Specifies the MD5 password of the BGP peer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row101453313175"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18179123321710">remote_ep_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p131791633141716">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p181791633151714">Specifies the remote subnet list, which records the CIDR blocks used in the on-premises data center.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row181510337177"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1217983361716">service_ep_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p51792338173">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0179233191716">Specifies the list of public network addresses that can be accessed by the on-premises data center. This field is required in the APIs of public network connections.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1415733151716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p12179153312172">device_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p191792033191713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p61791133111713">Specifies the ID of the device that the virtual interface peer belongs to.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row131503371719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p917913333179">bgp_route_limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6180103314174">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p16180163381712">Specifies the BGP route configuration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1215633111719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p171806333176">bgp_status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p418012332170">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1180113318178">Specifies the BGP protocol status of the virtual interface peer. If the virtual interface peer uses static routing, the status is <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b61809332176">null</strong>.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1018043318177">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b101807331177">10</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row19151033171712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1718010337175">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18180163313176">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p218043314177">Specifies the status of the virtual interface peer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1515183310170"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p6180173312171">vif_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p318013331174">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1118043319172">Specifies the ID of the virtual interface corresponding to the virtual interface peer.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1618053319175">Minimum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b518043351715">36</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p71811133191720">Maximum: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b218193341716">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row515933121719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3181173315175">receive_route_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10181233151710">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p91811633151712">Specifies the number of received BGP routes if BGP routing is used. If static routing is used, this parameter is meaningless and the value is <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b31813336171">-1</strong>. Note: If this parameter cannot be obtained, contact customer service to migrate your ports.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row111514338172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13181103301714">enable_nqa</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p18181433161714">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p718173318179">Specifies whether to enable NQA. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b918119332178">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b19181183314175">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row91543331719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p31811333201718">enable_bfd</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p71817335171">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11811733121714">Specifies whether to enable BFD. The value can be <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b2181123301711">true</strong> or <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b318112334174">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateVirtualInterface__en-us_topic_0000001782705617_response_VifExtendAttribute"></a><a name="en-us_topic_0000001782705617_response_VifExtendAttribute"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_response_VifExtendAttribute" frame="border" border="1" rules="all"><caption><b>Table 8 </b>VifExtendAttribute</caption><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row8319332173"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3182183371716">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p2018243361714">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p141821233121718">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row232133361713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p418263316178">ha_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p8182533161720">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9182333111713">Specifies the availability detection type of the virtual interface.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p121821333121713">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul918223321711"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li9182133310173"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b51821333141715">nqa</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li1018212333175"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b518253315175">bfd</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1632633161720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p101821333201714">ha_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1318210334171">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p19182113301710">Specifies the availability detection mode.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p518316338179">Enumeration values:</p>
|
|
<ul id="CreateVirtualInterface__en-us_topic_0000001782705617_ul3183333111712"><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li11183533201714"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b718314337175">auto_single</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li10183103317173"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b11835336178">auto_multi</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li118315333170"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b21831233101718">static_single</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li418311335172"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b17183103310172">static_multi</strong></li><li id="CreateVirtualInterface__en-us_topic_0000001782705617_li10183143381711"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b141831033101712">enhance_nqa</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1732173315176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p41836339179">detect_multiplier</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p0183183314173">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p618393371710">Specifies the number of detection retries.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p171834335172">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b21849334173">5</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row5321332178"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p4184193311710">min_rx_interval</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13184163381713">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p5184193311719">Specifies the interval for receiving detection packets.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p10184173316175">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b13184533141713">1000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1732113351710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p218413319174">min_tx_interval</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11184233121717">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p12184633201712">Specifies the interval for sending detection packets.</p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1118413334179">Default: <strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b131842339172">1000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row11321433171711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p11841833141712">remote_disclaim</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1518414336172">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7184133161717">Specifies the remote identifier of the static BFD session.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row1321733191712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1818443314175">local_disclaim</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3184133317171">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p9185533101717">Specifies the local identifier of the static BFD session.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section18185163314175"><h4 class="sectiontitle">Example Requests</h4><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p618503316173">Creating a private virtual interface, with the bandwidth set to 2 Mbit/s, VLAN to 332, local gateway to 1.1.1.1/30, and remote gateway to 1.1.1.2/30, and routing mode to static routing</p>
|
|
<pre class="screen" id="CreateVirtualInterface__en-us_topic_0000001782705617_screen1318514330172">POST https://{dc_endpoint}/v3/0605768a3300d5762f82c01180692873/dcaas/virtual-interfaces
|
|
|
|
{
|
|
"virtual_interface" : {
|
|
"name" : "vif-0819",
|
|
"description" : "mytest",
|
|
"direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1",
|
|
"vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b",
|
|
"vlan" : 332,
|
|
"bandwidth" : 2,
|
|
"local_gateway_v4_ip" : "1.1.1.1/30",
|
|
"remote_gateway_v4_ip" : "1.1.1.2/30",
|
|
"type" : "private",
|
|
"route_mode" : "static",
|
|
"remote_ep_group" : [ "1.1.2.0/30" ]
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section6186433201717"><h4 class="sectiontitle">Example Responses</h4><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p1918633331714"><strong id="CreateVirtualInterface__en-us_topic_0000001782705617_b14186123316175">Status code: 201</strong></p>
|
|
<p id="CreateVirtualInterface__en-us_topic_0000001782705617_p3186333201719">Created</p>
|
|
<pre class="screen" id="CreateVirtualInterface__en-us_topic_0000001782705617_screen14186193320172">{
|
|
"virtual_interface" : {
|
|
"id" : "0d0fdf63-f2c4-491c-8866-d504796189be",
|
|
"name" : "vif-0819",
|
|
"description" : "mytest",
|
|
"tenant_id" : "0605768a3300d5762f82c01180692873",
|
|
"direct_connect_id" : "4673e339-8412-4ee1-b73e-2ba9cdfa54c1",
|
|
"vgw_id" : "8a47064a-f34c-4f94-b7fe-cac456c9b37b",
|
|
"type" : "private",
|
|
"service_type" : "VGW",
|
|
"vlan" : 332,
|
|
"bandwidth" : 2,
|
|
"device_id" : "18.9.215.131",
|
|
"status" : "ACTIVE",
|
|
"create_time" : "2022-08-19T11:28:06.000Z",
|
|
"admin_state_up" : true,
|
|
"enable_bfd" : false,
|
|
"route_limit" : 50,
|
|
"enable_nqa" : false,
|
|
"local_gateway_v4_ip" : "1.1.1.1/30",
|
|
"remote_gateway_v4_ip" : "1.1.1.2/30",
|
|
"ies_id" : null,
|
|
"reason" : null,
|
|
"rate_limit" : false,
|
|
"local_gateway_v6_ip" : null,
|
|
"remote_gateway_v6_ip" : null,
|
|
"lgw_id" : null,
|
|
"lag_id" : null,
|
|
"priority" : "normal",
|
|
"vif_peers" : [ {
|
|
"id" : "c768eb52-12a8-4859-9b43-81194643040c",
|
|
"tenant_id" : "0605768a3300d5762f82c01180692873",
|
|
"name" : "vif-0819",
|
|
"description" : "",
|
|
"address_family" : "ipv4",
|
|
"local_gateway_ip" : "1.1.1.1/30",
|
|
"remote_gateway_ip" : "1.1.1.2/30",
|
|
"route_mode" : "static",
|
|
"bgp_asn" : null,
|
|
"bgp_md5" : null,
|
|
"device_id" : "18.9.215.131",
|
|
"bgp_route_limit" : 100,
|
|
"bgp_status" : null,
|
|
"status" : "ACTIVE",
|
|
"vif_id" : "0d0fdf63-f2c4-491c-8866-d504796189be",
|
|
"receive_route_num" : -1,
|
|
"remote_ep_group" : [ "1.1.2.0/30" ],
|
|
"enable_bfd" : false,
|
|
"enable_nqa" : false,
|
|
"service_ep_group" : null
|
|
} ],
|
|
"enterprise_project_id" : "0"
|
|
},
|
|
"request_id" : "5633df7af874576d819a481c76673236"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section1019673391717"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateVirtualInterface__en-us_topic_0000001782705617_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row167418330177"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p319614332172">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p7196133319176">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateVirtualInterface__en-us_topic_0000001782705617_row127453361714"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p13196103319179">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p21961133121718">Created</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateVirtualInterface__en-us_topic_0000001782705617_section5196203318178"><h4 class="sectiontitle">Error Codes</h4><p id="CreateVirtualInterface__en-us_topic_0000001782705617_p181969335178">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000002.html">Virtual Interface</a></div>
|
|
</div>
|
|
</div>
|
|
|