Exposes build-defined capabilities so clients can adapt without per-platform custom builds
Path: /api/ftng/capabilities
Method: GET
Response on Success (200 OK):
{
"speeds": [
{
"speed": string, // possible values: "unknown", "port_2x100g", "port_2x40g", "port_4x25g", "port_8x10g"
"port_count": positive_integer, // number of logical ports exposed by this split
"port_names": [string, ...], // human-readable identifiers for each port, in port-id order
"supports_fec": bool // whether FEC can be enabled in this speed configuration
},
...
],
"ptp_nt": {
"supported": bool, // whether the NIC supports Napatech PTP
"allowed_domain_ranges": [ // domain ranges that can be used for configuration
{
"profile": string, // possible values: "unknown", "default", "telecom", "power", "enterprise", "g.8275.1", "smpte"
"start": positive_integer, // valid domain_number ranges start
"end": positive_integer, // valid domain_number ranges end
"default": positive_integer // default domain_number for given profile
},
...
]
},
"ptp_linux": {
"supported": bool,
},
"gps": {
"supported": bool,
},
"pps_ext": {
"supported": bool, // whether the device has a PPS port
"allowed_modes": [string, ...], // possible values: output, input_term_enabled, input_term_disabled.
},
"tunnel_termination": { "supported": bool, }, // whether the NIC supports tunnel termination
"inline_mode": { "supported": bool, }, // whether the NIC supports inline mode
"timesync": {
"supported": bool, // whether the NIC supports timesync
"allowed_initial_sources": [string, ...], // possible values: gps, system
"allowed_sync_sources": [string, ...], // possible values: ptp, gps, ext
}
"available_flow_sampling_intervals_s": [positive_integer, ...] // allowed values for `flow_sampling_interval_s` in /api/config
}