SolarCapture C Bindings User Guide  SF-115721-CD
Issue 3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_arista_ts Node Reference

Replace SolarCapture timestamp with timestamp from an Arista switch.

Detailed Description

This node is used with new Arista switches that are configured to add hardware timestamps to packets. It replaces the SolarCapture timestamp with the timestamp generated by the switch. The node has several modes for decoding timestamps from different models of arista switches and different settings of timestamping on Arista switches. The node arguments and statistics depend on the value of the switch_model and ts_format arguments.

Arguments

Argument Optional? Default Type Description
switch_model Yes NULL SC_PARAM_STR Which switch timestamp protocol to decode. Will assume "7150" if unspecified.
ts_format Yes NULL SC_PARAM_STR Which timestamp format to decode. Applicable for "7280" switch model only, will assume "48bit" if unspecified. Note: "64bit" timestamps are DEPRECATED.

Modes

sc_arista_ts, switch_model=7150 | Replace SolarCapture timestamp with timestamp from an Arista 7150 switch.

sc_arista_ts, switch_model=7280, ts_format=64bit | Replace SolarCapture timestamp with 64bit timestamp from an Arista 7280 switch.

sc_arista_ts, switch_model=7280, ts_format=48bit | Replace SolarCapture timestamp with timestamp decoded from 48bit timestamp from an Arista 7280 switch.