cd $VOLTHA_BASE ./cli/main.py -L
(Note, the -L option is needed if Voltha was launched as a container using docker-compose.)
Note the Voltha logical device ID of the PON network being tested. If in doubt, use the following Voltha CLI command to list all devices:
devices
The output may be something like this (lines are truncated):
(voltha) devices Devices: +--------------+---------------+------+--------------+------+--------------... | id | type | root | parent_id | vlan | mac_add... +--------------+---------------+------+--------------+------+--------------... | 25dadc44a847 | maple_olt | True | 1 | | 00:0c:e2:31:4... | d178c7a3b07b | broadcom_onu | | 25dadc44a847 | 101 | ... +--------------+---------------+------+--------------+------+--------------...
In this case the OLT's device id was 25dadc44a847 and the logical device id shown as the parent_id for the OLT. In this case the logical device id is 1.
Using the test mode of the CLI, download the rules:
test install_eapol_flow 1
where you must use the logical device ID. The CLI provides TAB completion that can help too.
[Zsolt to finish]