Updating Extended Parameters for Reliability Detection on a Virtual Interface
Function
This API is used to update extended parameters for reliability on a virtual interface, such as min_rx_interval, min_tx_interval, and detect_multiplier.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
PUT /v3/{project_id}/dcaas/virtual-interfaces/{virtual_interface_id}/extend-attributes
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Specifies the project ID. Minimum: 0 Maximum: 36 |
|
virtual_interface_id |
Yes |
String |
Specifies the virtual interface ID. Minimum: 0 Maximum: 36 |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header. Minimum: 0 Maximum: 10240 |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
request_id |
String |
Specifies the request ID. |
|
extend_attribute |
VifExtendAttribute object |
Specifies extended parameters when BFD or NQA is used for reliability detection. |
|
Parameter |
Type |
Description |
|---|---|---|
|
ha_type |
String |
Specifies the availability detection type of the virtual interface. The value can be:
|
|
ha_mode |
String |
Specifies the availability detection mode of the virtual interface. The value can be:
|
|
detect_multiplier |
Integer |
Specifies the number of detection retries. Minimum: 3 Maximum: 20 Default: 5 |
|
min_rx_interval |
Integer |
Specifies how often the system receives detection packets, in milliseconds.
Minimum: 200 Maximum: 5000 Default: 1000 |
|
min_tx_interval |
Integer |
Specifies how often the system sends detection packets, in milliseconds.
Minimum: 200 Maximum: 5000 Default: 1000 |
|
remote_disclaim |
Integer |
Specifies the remote identifier of the static BFD session. Minimum: 1 Maximum: 16384 |
|
local_disclaim |
Integer |
Specifies the local identifier of the static BFD session. Minimum: 1 Maximum: 16384 |
|
ipv6_remote_disclaim |
Integer |
Specifies the remote identifier of the static IPv6 BFD session. Minimum: 1 Maximum: 16384 |
|
ipv6_local_disclaim |
Integer |
Specifies the local identifier of the static IPv6 BFD session. Minimum: 1 Maximum: 16384 |
Example Requests
Updating ha_type to bfd, ha_mode to auto_single, min_rx_interval to 500, min_tx_interval to 500, and detect_multiplier to 3.
PUT https://{dc_endpoinent}/v3/4bd6efdb0fb747b39aa2c0162c112226/dcaas/virtual-interfaces/96201035-6a29-49f2-bd2c-a6bb641dd500/extend-attributes
{
"extend_attribute" : {
"ha_type" : "bfd",
"ha_mode" : "auto_single",
"min_rx_interval" : 500,
"min_tx_interval" : 500,
"detect_multiplier" : 3
}
}
Example Responses
Status code: 200
OK
Specifies the response body for updating the extended parameters of the virtual interface reliability detection.
{
"request_id" : "c31651e323414fa89c5cfba267a3035b",
"extend_attribute" : {
"ha_type" : "bfd",
"ha_mode" : "auto_single",
"min_rx_interval" : 500,
"min_tx_interval" : 500,
"detect_multiplier" : 3
}
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot