SolarCapture C Bindings User Guide  SF-115721-CD
Issue 1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_arista_ts, switch_model=7280

Replace SolarCapture timestamp with timestamp from an Arista 7280 switch.

Detailed Description

This mode is used to decode timestamps added by Arista 7280 series switches.

Arguments

Argument Optional? Default Type Description
filter_oui Yes SC_PARAM_STR Assume packets with this OUI in the Ethernet source field do not have a switch timestamp.
strip_ticks Yes 1 SC_PARAM_INT Toggle the option for the node to strip switch timestamps. Set to 0 for off and 1 for on.
rollover_window_ms Yes 1000 SC_PARAM_INT Window before lower bit rollover in which to check packets for the rollover bug.
switch_model Yes SC_PARAM_STR Passed through from sc_arista_ts, must be either '7280' or unspecified.

Named Input Links

None

Output Links

Link Default Description
"" free Packets with corrected timestamps
no_timestamp default Packets with no arista timestamp
lldp no_timestamp Used for LLDP packets

LLDP packets are treated specially because they are not timestamped by the switch, and so it is not possible to give them timestamps with the same clock as other packets.

Exposed Statistics

Arista timestamp statistics that are exposed by the sc_arista_ts node when switch_model=7280.

Name Type Data Type Description
strip_ticks int config 1 if the node is stripping ticks 0 otherwise.
rollover_window_ns uint64_t config The window over which the node is checking for the rollover bug.
last_good_delta_ns int64_t time delta The last measured time delta between arista and NIC times from packets outside the rollover window.