v1

latestSwagger 2.02026-07-17443059.0 KB

Forward MAC frames to a specified destination (subscribe to a frame stream).

put/subscription/frames

Request body

subscriptionMode'Start' | 'Stop' required

The listener starts or stops a frame subscription/forwarding. Start means start forwarding frames and Stop means cease forwarding frames. If the device implements /subscription/frames/hash, the device MUST maintain a SHA256 hash of all PCAPNG data forwarded between the acceptance of Start and Stop (inclusive), with this hash initialized to 0 upon reception of Start.

fwdAddressstring required

The IPv4 or IPv6 address of the listener. IPv6 address strings are formatted per RFC 5952.

fwdPortinteger required

The port number of the listener.

Response

Listener successfully subscribed.