8.2.4.2.1. Action

8.2.4.2.1.1. Reset

Reset port-level parameters to default values, and delete all streams, filters, capture, and dataset definitions.

Corresponding low-level API class: P_RESET

# Reset
await port.reset.set()

8.2.4.2.1.2. Flash

Make the test port LED for a particular port flash on and off with a 1-second interval. This is helpful when you need to identify a specific port within a chassis.

Corresponding low-level API class: P_FLASH

# Flash
await port.flash.set(on_off=enums.OnOff.ON)
await port.flash.set_on()
await port.flash.set(on_off=enums.OnOff.OFF)
await port.flash.set_off()

resp = await port.flash.get()
resp.on_off