Skip to content

eth_lag_intf.proto

EthLagIntfMgrService

watch

rpc watch(EthLagIntfWatchRequest) EthLagIntfWatchResponse

Subscription to monitor LAG interface events. This request stays active until the client cancels or the server shuts down. When all = false and no version is specified, this request has no effect.

EosSdk reference: eos::eth_lag_intf_handler (class)

eth_lag_intfs

rpc eth_lag_intfs(EthLagIntfsRequest) EthLagIntfsResponse

Returns a list of interfaces configured as members of any LAG interface in system.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_iter

exists

rpc exists(EthLagIntfExistsRequest) EthLagIntfExistsResponse

Queries whether an ethernet LAG interface exists.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_exists

eth_lag_intf_members

rpc eth_lag_intf_members(EthLagIntfMembersRequest) EthLagIntfMembersResponse

Returns a list of physical interfaces configured as members of any LAG interface in the system.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_member_iter

eth_lag_intf_is

rpc eth_lag_intf_is(EthLagIntfIsRequest) EthLagIntfIsResponse

Creates a LAG interface.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_is

bulk_eth_lag_intf_is

rpc bulk_eth_lag_intf_is(BulkEthLagIntfIsRequest) BulkEthLagIntfIsResponse

Creates many LAG interfaces in a single request.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_is

eth_lag_intf

rpc eth_lag_intf(EthLagIntfRequest) EthLagIntfResponse

Returns the details for a LAG interface given its ID.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf

eth_lag_intf_del

rpc eth_lag_intf_del(EthLagIntfDelRequest) EthLagIntfDelResponse

Deletes a LAG interface.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_del

bulk_eth_lag_intf_del

rpc bulk_eth_lag_intf_del(BulkEthLagIntfDelRequest) BulkEthLagIntfDelResponse

Deletes many LAG interfaces in a single request.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_del

speed

rpc speed(EthLagIntfSpeedRequest) EthLagIntfSpeedResponse

Returns the speed of a LAG interface, in Mbits/s.

EosSdk reference:: eos::eth_lag_intf_mgr::speed

rpc min_links(EthLagIntfMinLinksRequest) EthLagIntfMinLinksResponse

Returns the minimum number of links that must be up for a LAG interface to be considered up too.

EosSdk reference:: eos::eth_lag_intf_mgr::min_links

rpc min_links_is(EthLagIntfMinLinksIsRequest) EthLagIntfMinLinksIsResponse

Sets min links values for a LAG interface.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_min_links_is

rpc bulk_min_links_is(BulkEthLagIntfMinLinksIsRequest) BulkEthLagIntfMinLinksIsResponse

Sets min links values for many LAG interfaces.

EosSdk reference:: eos::eth_lag_intf_mgr::eth_lag_intf_min_links_is

min_speed

rpc min_speed(EthLagIntfMinSpeedRequest) EthLagIntfMinSpeedResponse

Returns the configured value for minimum speed (in Mbps)

EosSdk reference: eos::eth_lag_intf_mgr::min_speed

min_speed_is

rpc min_speed_is(EthLagIntfMinSpeedIsRequest) EthLagIntfMinSpeedIsResponse

Sets the configuration for minimum speed (in Mbps)

EosSdk reference: eos::eth_lag_intf_mgr::min_speed_is

bulk_min_speed_is

rpc bulk_min_speed_is(BulkEthLagIntfMinSpeedIsRequest) BulkEthLagIntfMinSpeedIsResponse

Bulk variant for min_speed_is

EosSdk reference: eos::eth_lag_intf_mgr::min_speed_is

fallback_type_is

rpc fallback_type_is(EthLagIntfFallbackTypeIsRequest) EthLagIntfFallbackTypeIsResponse

Sets the fallback type for a LAG interface.

EosSdk reference: eth_lag_intf_mgr::fallback_type_is

bulk_fallback_type_is

rpc bulk_fallback_type_is(BulkEthLagIntfFallbackTypeIsRequest) BulkEthLagIntfFallbackTypeIsResponse

Sets the fallback type for many LAG interfaces.

EosSdk reference: eth_lag_intf_mgr::fallback_type_is

fallback_type

rpc fallback_type(EthLagIntfFallbackTypeRequest) EthLagIntfFallbackTypeResponse

Returns the fallback mode for a LAG interface.

EosSdk reference: eth_lag_intf_mgr::fallback_type

fallback_timeout_is

rpc fallback_timeout_is(EthLagIntfFallbackTimeoutIsRequest) EthLagIntfFallbackTimeoutIsResponse

Sets the fallback timeout for a LAG interface, in seconds.

EosSdk reference: eth_lag_intf_mgr::fallback_timeout_is

bulk_fallback_timeout_is

rpc bulk_fallback_timeout_is(BulkEthLagIntfFallbackTimeoutIsRequest) BulkEthLagIntfFallbackTimeoutIsResponse

Sets fallback timeouts for multiple LAG interfaces, in seconds.

EosSdk reference: eth_lag_intf_mgr::fallback_timeout_is

fallback_timeout

rpc fallback_timeout(EthLagIntfFallbackTimeoutRequest) EthLagIntfFallbackTimeoutResponse

Returns the LACP active mode timeout value, in seconds.

EosSdk reference: eth_lag_intf_mgr::fallback_timeout

fallback_timeout_default

rpc fallback_timeout_default(EthLagIntfFallbackTimeoutDefaultRequest) EthLagIntfFallbackTimeoutDefaultResponse

Returns the default fallback timeout value, in seconds.

EosSdk reference: eth_lag_intf_mgr::fallback_timeout_default

membership_set

rpc membership_set(EthLagIntfMembershipSetRequest) EthLagIntfMembershipSetResponse

Adds a physical interface to a LAG interface.

EosSdk reference: eth_lag_intf_mgr::membership_set

bulk_membership_set

rpc bulk_membership_set(BulkEthLagIntfMembershipSetRequest) BulkEthLagIntfMembershipSetResponse

Adds multiple physical interfaces to multiple LAG interfaces.

EosSdk reference: eth_lag_intf_mgr::membership_set

membership_del

rpc membership_del(EthLagIntfMembershipDelRequest) EthLagIntfMembershipDelResponse

Removes an interface from a LAG interface.

EosSdk reference: eth_lag_intf_mgr::membership_del

bulk_membership_del

rpc bulk_membership_del(BulkEthLagIntfMembershipDelRequest) BulkEthLagIntfMembershipDelResponse

Removes multiple interfaces from muliple LAG interfaces.

EosSdk reference: eth_lag_intf_mgr::membership_del

membership

rpc membership(EthLagIntfMembershipRequest) EthLagIntfMembershipResponse

Returns the LAG interface ID to which the physical interface is configured to belong.

EosSdk reference: eth_lag_intf_mgr::membership

membership_status

rpc membership_status(EthLagIntfMembershipStatusRequest) EthLagIntfMembershipStatusResponse

Returns the member interface's status details.

EosSdk reference: eth_lag_intf_mgr::membership_status

member_priority_is

rpc member_priority_is(EthLagIntfMemberPriorityIsRequest) EthLagIntfMemberPriorityIsResponse

Sets the port LACP priority.

EosSdk reference: eth_lag_intf_mgr::member_priority_is

bulk_member_priority_is

rpc bulk_member_priority_is(BulkEthLagIntfMemberPriorityIsRequest) BulkEthLagIntfMemberPriorityIsResponse

Sets LACP priorities of multiple ports.

EosSdk reference: eth_lag_intf_mgr::member_priority_is

member_priority

rpc member_priority(EthLagIntfMemberPriorityRequest) EthLagIntfMemberPriorityResponse

Gets the interface's configured LACP priority.

EosSdk reference: eth_lag_intf_mgr::member_priority

member_mode_is

rpc member_mode_is(EthLagIntfMemberModeIsRequest) EthLagIntfMemberModeIsResponse

Sets the mode of this member in a LAG interface.

EosSdk reference: eth_lag_intf_mgr::member_mode_is

bulk_member_mode_is

rpc bulk_member_mode_is(BulkEthLagIntfMemberModeIsRequest) BulkEthLagIntfMemberModeIsResponse

Sets the modes of multiple members in LAG interfaces.

EosSdk reference: eth_lag_intf_mgr::member_mode_is

member_mode

rpc member_mode(EthLagIntfMemberModeRequest) EthLagIntfMemberModeResponse

Returns the mode of this member in a LAG interface.

EosSdk reference: eth_lag_intf_mgr::member_mode

member_timeout_is

rpc member_timeout_is(EthLagIntfMemberTimeoutIsRequest) EthLagIntfMemberTimeoutIsResponse

Sets the LACP timeout for a member in a LAG, in seconds.

EosSdk reference: eth_lag_intf_mgr::member_timeout_is

bulk_member_timeout_is

rpc bulk_member_timeout_is(BulkEthLagIntfMemberTimeoutIsRequest) BulkEthLagIntfMemberTimeoutIsResponse

Sets the LACP timeout for multiple members in LAG interfaces, in seconds.

EosSdk reference: eth_lag_intf_mgr::member_timeout_is

member_timeout

rpc member_timeout(EthLagIntfMemberTimeoutRequest) EthLagIntfMemberTimeoutResponse

Gets the configured LACP timeout for a member in a LAG, in seconds.

EosSdk reference: eth_lag_intf_mgr::member_timeout

member_active

rpc member_active(EthLagIntfMemberActiveRequest) EthLagIntfMemberActiveResponse

Returns whether this interface is active in a LAG.

EosSdk reference: eth_lag_intf_mgr::member_active

member_time

rpc member_time(EthLagIntfMemberTimeRequest) EthLagIntfMemberTimeResponse

Returns the time in seconds since reboot when this interface was last added or removed as a member from a LAG.

EosSdk reference: eth_lag_intf_mgr::member_time

member_reason

rpc member_reason(EthLagIntfMemberReasonRequest) EthLagIntfMemberReasonResponse

Returns the reason this interface isn't active in a LAG.

EosSdk reference: eth_lag_intf_mgr::member_reason

Messages

BulkEthLagIntfDelRequest

Name Value Description
requests repeated EthLagIntfDelRequest List of individual requests.

BulkEthLagIntfDelResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfFallbackTimeoutIsRequest

Name Value Description
requests repeated EthLagIntfFallbackTimeoutIsRequest List of individual requests.

BulkEthLagIntfFallbackTimeoutIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfFallbackTypeIsRequest

Name Value Description
requests repeated EthLagIntfFallbackTypeIsRequest List of individual requests.

BulkEthLagIntfFallbackTypeIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfIsRequest

Name Value Description
requests repeated EthLagIntfIsRequest List of individual requests.

BulkEthLagIntfIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMemberModeIsRequest

Name Value Description
requests repeated EthLagIntfMemberModeIsRequest List of individual requests.

BulkEthLagIntfMemberModeIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMemberPriorityIsRequest

Name Value Description
requests repeated EthLagIntfMemberPriorityIsRequest List of individual requests.

BulkEthLagIntfMemberPriorityIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMemberTimeoutIsRequest

Name Value Description
requests repeated EthLagIntfMemberTimeoutIsRequest List of individual requests.

BulkEthLagIntfMemberTimeoutIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMembershipDelRequest

Name Value Description
requests repeated EthLagIntfMembershipDelRequest List of individual requests.

BulkEthLagIntfMembershipDelResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMembershipSetRequest

Name Value Description
requests repeated EthLagIntfMembershipSetRequest List of individual requests.

BulkEthLagIntfMembershipSetResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMinLinksIsRequest

Name Value Description
requests repeated EthLagIntfMinLinksIsRequest List of individual requests.

BulkEthLagIntfMinLinksIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

BulkEthLagIntfMinSpeedIsRequest

Name Value Description
requests repeated EthLagIntfMinSpeedIsRequest List of individual requests

BulkEthLagIntfMinSpeedIsResponse

Name Value Description
processed uint64 Number of successful requests.
status RpcResponseStatus Cause of error (if any).

EthLagIntfDelRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfDelResponse

Empty message.

EthLagIntfExistsRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfExistsResponse

Name Value Description
exists bool True if LAG interface exists.

EthLagIntfFallbackTimeoutDefaultRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfFallbackTimeoutDefaultResponse

Name Value Description
fallback_timeout uint32 Default fallback timeout, in seconds.

EthLagIntfFallbackTimeoutIsRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.
fallback_timeout uint32 Fallback timeout, in seconds.

EthLagIntfFallbackTimeoutIsResponse

Empty message.

EthLagIntfFallbackTimeoutRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfFallbackTimeoutResponse

Name Value Description
fallback_timeout uint32 LAG interface fallback timeout, in seconds.

EthLagIntfFallbackTypeIsRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.
fallback_type EthLagIntfFallbackType

EthLagIntfFallbackTypeIsResponse

Empty message.

EthLagIntfFallbackTypeRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfFallbackTypeResponse

Name Value Description
fallback_type EthLagIntfFallbackType LAG interface fallback type.

EthLagIntfFieldsControl

Name Value Description
fields repeated EthLagIntfUpdateField

EthLagIntfIsRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfIsResponse

Empty message.

EthLagIntfMemberActiveRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMemberActiveResponse

Name Value Description
active bool

EthLagIntfMemberModeIsRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.
mode EthLagIntfMemberLacpMode LACP member mode for LAG interface.

EthLagIntfMemberModeIsResponse

Empty message.

EthLagIntfMemberModeRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMemberModeResponse

Name Value Description
mode EthLagIntfMemberLacpMode LACP member mode for LAG interface.

EthLagIntfMemberPriorityIsRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.
priority uint32 Member priority. Valid values from 0 to 65535

EthLagIntfMemberPriorityIsResponse

Empty message.

EthLagIntfMemberPriorityRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMemberPriorityResponse

Name Value Description
priority uint32 Member priority.

EthLagIntfMemberReasonRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMemberReasonResponse

Name Value Description
member_reason string

EthLagIntfMemberTimeRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMemberTimeResponse

Name Value Description
member_time double

EthLagIntfMemberTimeoutIsRequest

Name Value Description
member_intf_id IntfId Interface ID for member.
timeout EthLagIntfMemberLacpTimeout LACP timeout for member.

EthLagIntfMemberTimeoutIsResponse

Empty message.

EthLagIntfMemberTimeoutRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMemberTimeoutResponse

Name Value Description
response EthLagIntfMemberLacpTimeout

EthLagIntfMembersRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfMembersResponse

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMembershipDelRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMembershipDelResponse

Empty message.

EthLagIntfMembershipRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMembershipResponse

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfMembershipSetRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.
eth_lag_intf_id IntfId Interface ID for the LAG interface.
mode EthLagIntfMemberLacpMode LACP member mode for LAG interface.

EthLagIntfMembershipSetResponse

Empty message.

EthLagIntfMembershipStatusRequest

Name Value Description
member_intf_id IntfId Interface ID for the member.

EthLagIntfMembershipStatusResponse

Name Value Description
membership EthLagIntfMembership membership details.

EthLagIntfMinLinksIsRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.
min_links uint32 Minimum number of links that need to be up for LAG to be considered up.

EthLagIntfMinLinksIsResponse

Empty message.

EthLagIntfMinLinksRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfMinLinksResponse

Name Value Description
min_links uint32 Minimum number of links that need to be up for LAG to be considered up.

EthLagIntfMinSpeedIsRequest

Name Value Description
eth_lag_intf_id IntfId LAG interface ID (Port-Channel)
min_speed uint64 Speed in Mbps

EthLagIntfMinSpeedIsResponse

Empty message.

EthLagIntfMinSpeedRequest

Name Value Description
eth_lag_intf_id IntfId LAG interface ID (Port-Channel)

EthLagIntfMinSpeedResponse

Name Value Description
min_speed uint64 Speed in Mbps

EthLagIntfRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfResponse

Name Value Description
response EthLagIntf LAG interface parameters.

EthLagIntfSpeedRequest

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

EthLagIntfSpeedResponse

Name Value Description
speed uint64 Interface speed, in Mbits/s.

EthLagIntfWatchRequest

Name Value Description
oneof overloads.all_intfs bool Watch all LAG interfaces.
oneof overloads.eth_lag_intf_id IntfId Watch a single interface.
ack bool Set to true if acknowledgment is desired.
dump_fields EthLagIntfFieldsControl Specification of which fields to receive on dump.

EthLagIntfWatchResponse

Name Value Description
event EthLagIntfEvents Descriptor of the event.
eth_lag_intf_id IntfId LAG interface that changed state.
member_intf_id IntfId Member interface (if event is member related)
oneof speed_present.speed uint64
ack bool This message is merely an ack and not an event.
oneof eth_lag_intf_present.eth_lag_intf EthLagIntf
all_member_intf_id repeated IntfId

EthLagIntfsRequest

Empty message.

EthLagIntfsResponse

Name Value Description
eth_lag_intf_id IntfId Interface ID for the LAG interface.

Enums

EthLagIntfEvents

Possible events for LAG interfaces.

Name Value Description
ETH_LAG_INTF_EVENT_NONE 0
ETH_LAG_INTF_EVENT_CREATED 1
ETH_LAG_INTF_EVENT_DELETED 2
ETH_LAG_INTF_EVENT_MEMBER_SET 3
ETH_LAG_INTF_EVENT_MEMBER_DEL 4
ETH_LAG_INTF_EVENT_SPEED 5
ETH_LAG_INTF_MESSAGE_DUMP 6 Dump message is not an actual event and gets prefixed as MESSAGE instead.

EthLagIntfUpdateField

Name Value Description
ETH_LAG_INTF_ALL_FIELDS 0
ETH_LAG_INTF_FULL_MEMBER_LIST 1
ETH_LAG_INTF_SPEED 2