v1

latestSwagger 2.02026-07-173949114.3 KB
clag

Get all CLAG session information for a given network device

For every CLAG session running on the network device, retrieves local node hostname, CLAG sysmac, remote peer role, state, and interface, backup IP address, bond status, and so forth. Refer to the ClagSessionInfo model for all data collected.

get/object/clag/hostname/{hostname}

Path parameters

hostnamestring required

User-specified name for a network switch or host. For example, leaf01, spine04, host-6, engr-1, tor-22.

Query parameters

eq_timestampinteger

Display results for a given time. Time must be entered in Epoch format. For example, to display the results for Monday February 13, 2019 at 1:25 pm, use a time converter and enter 1550082300.

countinteger

Number of entries to display starting from the offset value. For example, a count of 100 displays 100 entries at a time.

offsetinteger

Used in combination with count, offest specifies the starting location within the set of entries returned. For example, an offset of 100 would display results beginning with entry 101.

Response

successful operation

opidinteger
hostnamestring
clag_sysmacstring
timestampinteger
db_statestring
peer_rolestring
peer_stateboolean
peer_ifstring
backup_ip_activeboolean
backup_ipstring
single_bondsstring
dual_bondsstring
conflicted_bondsstring
proto_down_bondsstring
vxlan_anycaststring
rolestring