ip_route_types.proto¶
Messages¶
IpRoute¶
| Name | Value | Description |
|---|---|---|
| key | IpRouteKey | |
| tag | uint32 | |
| rib_bypass | bool | |
| command_tag | string |
IpRouteKey¶
| Name | Value | Description |
|---|---|---|
| prefix | Prefix | |
| oneof preference_present.preference | uint32 | Default value is 1. |
IpRouteVia¶
| Name | Value | Description |
|---|---|---|
| key | IpRouteKey | |
| hop_addr | bytes | |
| intf_id | IntfId | |
| nhg_name | string | |
| oneof mpls_label_present.mpls_label | uint32 | Default value is 1048576 (invalid label). |
| vni | uint32 | |
| vtep_addr | bytes | |
| router_mac_eth_addr | bytes | |
| egress_vrf | string | |
| metric | uint32 | |
| vtep_sip_validation | bool | |
| vxlan_intf_id | IntfId | |
| weight | uint32 | Valid range of 1 - (2^24)-1, set to 0 if unused. |
Enums¶
IpRouteActions¶
| Name | Value | Description |
|---|---|---|
| IP_ROUTE_ACTION_NULL | 0 | |
| IP_ROUTE_ACTION_FORWARD | 1 | |
| IP_ROUTE_ACTION_DROP | 2 | |
| IP_ROUTE_ACTION_NEXTHOP_GROUP | 3 |