nexthop_group_types.proto¶
Messages¶
NexthopGroup¶
Name | Value | Description |
---|---|---|
name | string | |
type | NexthopGroupEncapTypes | |
gre_key_type | NexthopGroupGreKeyTypes | |
oneof ttl_present.ttl | uint32 | Default value is 64. |
source_ip_addr | bytes | |
source_intf | IntfId | |
autosize | bool | |
nexthops | map NexthopGroup.NexthopsEntry | The numeric key corresponds to the nexthop index position for the entry. |
destination_ips | map NexthopGroup.DestinationIpsEntry | |
counters_unshared | bool | |
hierarchical_fecs_enabled | bool | |
counters_persistent | bool | |
version_id | uint32 | NOTE: this is actually a 16-bit value. |
backup_nexthops | map NexthopGroup.BackupNexthopsEntry | The numeric key corresponds to the nexthop index position for the entry. |
backup_nexthops_policy | NexthopGroupBackupNexthopsPolicy | Policy indicating how backup nexthops are to be activated. By default, all backup nexthops are activated when all primary nexthops are inactive. When the policy is set to NEXTHOP_GROUP_BACKUP_NEXTHOPS_ONE_TO_ONE, then the backup entries will be activated on a per entry basis when the corresponding entry in the same index position in the primary nexthops mapping becomes inactive. |
NexthopGroup.BackupNexthopsEntry¶
Name | Value | Description |
---|---|---|
key | uint32 | |
value | NexthopGroupEntry |
NexthopGroup.DestinationIpsEntry¶
Name | Value | Description |
---|---|---|
key | uint32 | |
value | bytes |
NexthopGroup.NexthopsEntry¶
Name | Value | Description |
---|---|---|
key | uint32 | |
value | NexthopGroupEntry |
NexthopGroupCounter¶
Name | Value | Description |
---|---|---|
packets | uint64 | |
bytes | uint64 | |
valid | bool | |
entry_id | uint32 |
NexthopGroupEntry¶
Name | Value | Description |
---|---|---|
mpls_action | NexthopGroupMplsAction | |
nexthop_ip | bytes | |
intf_id | IntfId | |
child_nexthop_group | string |
NexthopGroupMplsAction¶
Name | Value | Description |
---|---|---|
action | MplsActions | |
mpls_labels | repeated uint32 |
OnNexthopGroupProgrammed¶
Name | Value | Description |
---|---|---|
hw_state | NexthopGroupProgrammedHwState | |
counter_state | NexthopGroupCounterState |
Enums¶
NexthopGroupBackupNexthopsPolicy¶
Name | Value | Description |
---|---|---|
NEXTHOP_GROUP_BACKUP_NEXTHOPS_ALL_TO_ALL | 0 | |
NEXTHOP_GROUP_BACKUP_NEXTHOPS_ONE_TO_ONE | 1 |
NexthopGroupCounterState¶
Name | Value | Description |
---|---|---|
NEXTHOP_GROUP_COUNTER_INACTIVE | 0 | Nexthop group entry counters are not enabled for this group. |
NEXTHOP_GROUP_COUNTER_PROGRAMMING_FAILED | 1 | At least one nexthop group entry counter for this group has failed to be programmed. Confirm that the expected configuration fits within the hardware limits of the system and reconfigure all nexthop groups. |
NEXTHOP_GROUP_COUNTER_PROGRAMMING_COMPLETE | 2 | All nexthop group entry counters for this group have been successfully programmed. |
NexthopGroupEncapTypes¶
Name | Value | Description |
---|---|---|
NEXTHOP_GROUP_ENCAP_TYPE_NULL | 0 | |
NEXTHOP_GROUP_ENCAP_IP_IN_IP | 1 | |
NEXTHOP_GROUP_ENCAP_GRE | 2 | |
NEXTHOP_GROUP_ENCAP_MPLS | 3 | |
NEXTHOP_GROUP_ENCAP_MPLS_OVER_GRE | 4 | |
NEXTHOP_GROUP_ENCAP_IP | 5 |
NexthopGroupGreKeyTypes¶
Name | Value | Description |
---|---|---|
NEXTHOP_GROUP_GRE_KEY_NULL | 0 | |
NEXTHOP_GROUP_GRE_KEY_INGRESS_INTF | 1 |
NexthopGroupProgrammedHwState¶
Name | Value | Description |
---|---|---|
NEXTHOP_GROUP_HW_DROP | 0 | All nexthop group entries are not programmed in hardware. |
NEXTHOP_GROUP_HW_PARTIALLY_PROGRAMMED | 1 | At least one nexthop group entry is programmed in hardware. |
NEXTHOP_GROUP_HW_ALL_PROGRAMMED | 2 | All nexthop group entries are programmed in hardware. |