Files
doc-exports/docs/as/dev/en-us_topic_0110252687.html
guoyanyan bdd7833dbb as_dev_303
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: guoyanyan <guoyanyan3@huawei.com>
Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2023-03-14 15:44:48 +00:00

248 lines
24 KiB
HTML

<a name="EN-US_TOPIC_0110252687"></a><a name="EN-US_TOPIC_0110252687"></a>
<h1 class="topictitle1">Response Parameters for Querying Subnets</h1>
<div id="body30379836"><p class="msonormal" id="EN-US_TOPIC_0110252687__p31777804"><strong id="EN-US_TOPIC_0110252687__b1432614815323">Response parameters are as follows.</strong></p>
<p id="EN-US_TOPIC_0110252687__p146251110145116">Parameter description</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252687__table13832193212511" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Response parameter</caption><thead align="left"><tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row95582811588"><th align="left" class="cellrowborder" valign="top" width="18.34%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p360232861588">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.15%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p584710571588">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.51%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p385351831588">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row343421581588"><td class="cellrowborder" valign="top" width="18.34%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p302514461588">subnets</p>
</td>
<td class="cellrowborder" valign="top" width="22.15%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p26395826172022">Array of <a href="#EN-US_TOPIC_0110252687__table1079195210520">subnets</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="59.51%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p530125231588">Specifies the <a href="#EN-US_TOPIC_0110252687__table1079195210520">subnets objects</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0110252687__p191217226525">Descriptions of <strong id="EN-US_TOPIC_0110252687__b18606161319329">subnets</strong> fields</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0110252687__table1079195210520"></a><a name="table1079195210520"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252687__table1079195210520" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="EN-US_TOPIC_0110252687__b8330152874414">subnets</strong> objects</caption><thead align="left"><tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row2260217717596"><th align="left" class="cellrowborder" valign="top" width="29.017098290170978%" id="mcps1.3.5.2.4.1.1"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p1883706917596">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.6983301669833%" id="mcps1.3.5.2.4.1.2"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p4259704317596">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.284571542845704%" id="mcps1.3.5.2.4.1.3"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p2780847717596">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row3789415517596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p4952771817596">id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p1023955317596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p2409742517596">Specifies a resource ID in UUID format.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row1555023417596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5160943617596">name</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p4529288117596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_ul23311559134110"><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li10331195974115">Specifies the subnet name.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li13332135944118">The value can contain 1 to 64 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row6838204320315"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p541524553114">description</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p0415745133114">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_ul237215542179"><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li19372754181713">Provides supplementary information about the subnet.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li13372125412173">The value can contain no more than 255 characters and cannot contain angle brackets (&lt; or &gt;).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row94962917596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p981112017596">cidr</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p1336165217596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p855202117596">Specifies the subnet CIDR block.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row985932517596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p6040786717596">gateway_ip</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5817993817596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p1495452217596">Specifies the subnet gateway address.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row37297117596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p3021071917596">dhcp_enable</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p4005526017596">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p2325061317596">Specifies whether the DHCP function is enabled for the subnet.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row792892917596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p3826349217596">primary_dns</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5962058717596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p6453823917596">Specifies the IP address of DNS server 1 on the subnet.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row4397324617596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p506319417596">secondary_dns</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p73411217596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5946313017596">Specifies the IP address of DNS server 2 on the subnet.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row545834911143"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p591866701143">dnsList</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p318589811143">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p304407061143">Specifies the IP address list of DNS servers on the subnet.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row6540612517596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p6340476417596">availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5792277317596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p6123300617596">Identifies the AZ to which the subnet belongs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row1422614217596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p1146682617596">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p481418517596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5440471517596">Specifies the ID of the VPC to which the subnet belongs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row1988039417596"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p6680804517596">status</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p3959872717596">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><ul id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_ul1290083685410"><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li13201524194619">Specifies the status of the subnet.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li18201524114619">The value can be <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_b11841625131719">ACTIVE</strong>, <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_b1618482531716">UNKNOWN</strong>, or <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_b418416254171">ERROR</strong>.<ul id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_ul83391032184614"><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li175681357183117"><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_b1282232355019">ACTIVE</strong>: indicates that the subnet has been associated with a VPC.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li5568157103111"><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_b5558132585016">UNKNOWN</strong>: indicates that the subnet has not been associated with a VPC.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_li85681932326"><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_b842352706151734">ERROR</strong>: indicates that the subnet is abnormal.</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row6437766611027"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p2150517711033">neutron_network_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p3263900011033">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p2651330711033">Specifies the ID of the corresponding network (OpenStack Neutron API).</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row2552805011031"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p84866711033">neutron_subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p6517899211033">String</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p4500696511033">Specifies the ID of the corresponding subnet (OpenStack Neutron API).</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_row147527203715"><td class="cellrowborder" valign="top" width="29.017098290170978%" headers="mcps1.3.5.2.4.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p5714303263">extra_dhcp_opts</p>
</td>
<td class="cellrowborder" valign="top" width="16.6983301669833%" headers="mcps1.3.5.2.4.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p01223042610">Array of <a href="#EN-US_TOPIC_0110252687__table17713214828">extra_dhcp_opt</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="54.284571542845704%" headers="mcps1.3.5.2.4.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_p111573015263">Specifies the NTP server address configured for the subnet. For details, see <a href="#EN-US_TOPIC_0110252687__table17713214828">Table 3</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0110252687__table17713214828"></a><a name="table17713214828"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0110252687__table17713214828" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b842352706165741">extra_dhcp_opt</strong> object</caption><thead align="left"><tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_row1806141418109"><th align="left" class="cellrowborder" valign="top" width="21.740000000000002%" id="mcps1.3.6.2.5.1.1"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p1948182811017"><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b842352706195711">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.17%" id="mcps1.3.6.2.5.1.2"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p19515288107">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.619999999999997%" id="mcps1.3.6.2.5.1.3"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p755202861014">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45.47%" id="mcps1.3.6.2.5.1.4"><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p66018281105"><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b1716215324573">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_row19806161420105"><td class="cellrowborder" valign="top" width="21.740000000000002%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p1834323611017">opt_value</p>
</td>
<td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p1034310368108">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.619999999999997%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p15343163651014">String</p>
</td>
<td class="cellrowborder" valign="top" width="45.47%" headers="mcps1.3.6.2.5.1.4 "><ul id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_ul1734314363102"><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_li2034343671010">Specifies the NTP server address or DHCP lease expiration time configured for the subnet.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_li12343183661011">Constraints:<p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p1984274292214"><a name="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_li12343183661011"></a><a name="en-us_topic_0201534243_en-us_topic_0201534255_li12343183661011"></a>The option <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b18312174218176">ntp</strong> for <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b2456833191713">opt_name</strong> indicates the NTP server configured for the subnet. Currently, only IPv4 addresses are supported. A maximum of four IP addresses can be configured, and each address must be unique. Multiple IP addresses must be separated using commas (,). The option <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b1973813315213">null</strong> for <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b9368121819213">opt_name</strong> indicates that no NTP server is configured for the subnet. The parameter value cannot be an empty string.</p>
<p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p7842442102220">The option <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b172671445112219">addresstime</strong> for <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b1928103492217">opt_name</strong> indicates the DHCP lease expiration time. The value can be <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b23961849142915">-1</strong>, which indicates unlimited lease time, or <em id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_i188811427183010">Number</em><strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b182171137103010">+h</strong>. The number ranges from 1 to 30,000. For example, the value can be <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b7540193214315">5h</strong>. The default value is <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b355513493490">24h</strong>.</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_row48061714191011"><td class="cellrowborder" valign="top" width="21.740000000000002%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p33437363104">opt_name</p>
</td>
<td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p1634393613106">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.619999999999997%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_p14343113613104">String</p>
</td>
<td class="cellrowborder" valign="top" width="45.47%" headers="mcps1.3.6.2.5.1.4 "><ul id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_ul1934353641010"><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_li1534373631020">Specifies the NTP server address name or DHCP lease expiration time name configured for the subnet.</li><li id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_li11343133651014">Currently, the value can only be set to <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b185618261310">ntp</strong> or <strong id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_en-us_topic_0201534255_b675171812599">addresstime</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0110252687__p686082120567"><strong id="EN-US_TOPIC_0110252687__b164113717345">Example response</strong></p>
<pre class="screen" id="EN-US_TOPIC_0110252687__screen14351131645710">{
"subnets": [
{
"id": "4779ab1c-7c1a-44b1-a02e-93dfc361b32d",
"name": "subnet",
"description": "",
"cidr": "192.168.20.0/24",
"dnsList": [
"114.xx.xx.114",
"114.xx.xx.115"
],
"status": "ACTIVE",
"vpc_id": "3ec3b33f-ac1c-4630-ad1c-7dba1ed79d85",
"gateway_ip": "192.168.20.1",
"dhcp_enable": true,
"primary_dns": "114.xx.xx.114",
"secondary_dns": "114.xx.xx.115",
"availability_zone": "aa-bb-cc",//For example, the AZ is <em id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_i10794520183113">aa-bb-cc</em>.
"neutron_network_id": "4779ab1c-7c1a-44b1-a02e-93dfc361b32d",
"neutron_subnet_id": "213cb9d-3122-2ac1-1a29-91ffc1231a12",
"extra_dhcp_opts": [
{
"opt_value": "10.100.0.33,10.100.0.34",
"opt_name": "ntp"
}
{
"opt_value": "24h",
"opt_name": "addresstime"
}
]
},
{
"id": "531dec0f-3116-411b-a21b-e612e42349fd",
"name": "Subnet1",
"description": "",
"cidr": "192.168.1.0/24",
"dnsList": [
"114.xx.xx.114",
"114.xx.xx.115"
],
"status": "ACTIVE",
"vpc_id": "3ec3b33f-ac1c-4630-ad1c-7dba1ed79d85",
"gateway_ip": "192.168.1.1",
"dhcp_enable": true,
"primary_dns": "114.xx.xx.114",
"secondary_dns": "114.xx.xx.115",
"availability_zone": "aa-bb-cc",//For example, the AZ is <em id="EN-US_TOPIC_0110252687__en-us_topic_0201534243_i1971422193118">aa-bb-cc</em>.
"neutron_network_id": "531dec0f-3116-411b-a21b-e612e42349fd",
"neutron_subnet_id": "1aac193-a2ad-f153-d122-12d64c2c1d78",
"extra_dhcp_opts": [
{
"opt_value": "10.100.0.33,10.100.0.34",
"opt_name": "ntp"
},
{
"opt_value": "24h",
"opt_name": "addresstime"
}
],
}
]
}</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0110252685.html">Appendix</a></div>
</div>
</div>