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. |
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¶
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. |