1
0
forked from docs/doc-exports
doc-exports/docs/er/api-ref/DisablePropagation.html
Qin Ying, Fan 25ecbe8c03 ER API 20230411 version
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>
2024-01-16 13:22:29 +00:00

7.1 KiB

Deleting a Route Propagation

Function

This API is used to delete a propagation from the route table of an enterprise router for an attachment.

URI

POST /v3/{project_id}/enterprise-router/{er_id}/route-tables/{route_table_id}/disable-propagations

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

er_id

Yes

String

Enterprise router ID

route_table_id

Yes

String

Route table ID

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

attachment_id

No

String

Unique ID of the attachment

route_policy

No

ImportRoutePolicy object

Route that controls inbound traffic. This parameter is not supported for now.

Table 3 ImportRoutePolicy

Parameter

Mandatory

Type

Description

import_policy_id

No

String

ID of the route policy that controls inbound traffic. This parameter is not supported for now.

Minimum: 0

Maximum: 36

Response Parameters

None

Example Requests

Deleting a route table propagation

POST https://{erouter_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/enterprise-router/ad838a5e-dbef-22cc-b1d9-cb46bef77ae8/route-tables/915a14a6-867b-4af7-83d1-70efceb146f9/disable-propagations

{
  "attachment_id" : "a5b7d209-dc02-4c46-a51f-805eadd3de64"
}

Example Responses

None

Status Codes

Status Code

Description

202

Accepted

Error Codes

See Error Codes.