AddVRouterRouteEntry

Adds a vRouter route entry. For example,
AddVRouterRouteEntry routeTableUuid=315d780fe5ea495394d59db9a2177b19 destination=192.168.19.0/24

Parameters

Name Description Optional Valid Value Starting Version
description The detailed description of the resource. Yes 2.1
type The type. You can add two types of routes: static route and black hole route. The system will automatically determine the type by judging whether to enter the next IP address. Yes
  • UserStatic
  • UserBlackhole
2.1
routeTableUuid The UUID of the vRouter route table. 2.1
destination The destination network address, in CIDR format. If you enter a non-standard CIDR, note that the system will automatically transform it to the standard CIDR format. 2.1
target The next IP address, which can be accessed directly by the vRouter VM instance. If the IP address cannot be accessed directly, the route recursion will be triggered. Yes 2.1
distance The route priority. Due to the minimum route rule, if you have many route rules to match IP address, note that the minimum number of route rules will be prioritized to do the match according to the priority sequence of the route rules. 2.1
resourceUuid The resource UUID. Yes 2.1
userTags The user tags. For more information, see CreateUserTag. The resource type is VirtualRouterVRouterRouteTableRefVO. Yes 2.1
systemTags The system tags. For more information, see CreateSystemTag. The resource type is VirtualRouterVRouterRouteTableRefVO. Yes 2.1
timeout Yes