edit-icon download-icon

DescribeRouteConflict

Last Updated: Mar 28, 2018

Description

Query the conflicted route entries in the specified VRouter or VBR.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:

DescribeRouteConflict

ChildInstanceRegionId String Yes Specify the ID of the region where the network (VPC or VBR) is located.
ChildInstanceType String Yes

Specify the instance type. Valid value:

VPC | VBR

ChildInstanceRouteTableIdStringYes The ID of the router table.
DestinationCidrBlockStringNoThe destination CIDR block.

Response parameters

Name Type Description
PageNumber Integer The current page number.
TotalCount Integer The number of queried entries.
PageSize Integer The number of entries in the current page.
RouteConflicts JSON String The detailed information of conflicted route entries.
The RouteConflicts parameter contains the following elements:
DestinationCidrBlock String The destination CIDR block of the route entry.
RegionId String The ID of the region.
InstanceId String The ID of the VRouter or the VBR.
InstanceType String The instance type, VPC or VBR.
Status String

The status of the route entry:

  • Conflict: The route entry is in conflict.
  • Overflow: The number of router entries in other network instances exceeds the limit.
  • Prohibited: The route entry is not allowed by VBR.

Error Codes

See Common error codes.

Examples

Request example

  1. http://cen.aliyuncs.com/?Action=DescribeRouteConflict
  2. &ChildInstanceId=vpc-wz9fldmuq4v3g8gyp1qqy
  3. &ChildInstanceType=VPC
  4. &ChildInstanceRegionId=cn-shenzhen
  5. &ChildInstanceRouteTableId=vrt-wz93gtdvt87w7cpff071n
  6. &<公共请求参数>

Response example

XML format

  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <DescribeRouteConflictResponse>
  3. <PageNumber>1</PageNumber>
  4. <PageSize>10</PageSize>
  5. <RequestId>B6C11547-2D56-4EEC-A8D5-FDC5A53E53D0</RequestId>
  6. <RouteConflicts>
  7. <RouteConflict/>
  8. </RouteConflicts>
  9. <TotalCount>0</TotalCount>
  10. </DescribeRouteConflictResponse>

JSONformat

  1. {
  2. "PageNumber": 1,
  3. "TotalCount": 0,
  4. "PageSize": 10,
  5. "RequestId": "B6C11547-2D56-4EEC-A8D5-FDC5A53E53D0",
  6. "RouteConflicts": {
  7. "RouteConflict": []
  8. }
  9. }
Thank you! We've received your feedback.