Step 1: If not yet running, launch the Voltha CLI:
cd $VOLTHA_BASE ./cli/main.py -L
_ _ _ ___ _ ___ __ _____| | |_| |_ __ _ / __| | |_ _| \ V / _ \ | _| ' \/ _` | | (__| |__ | | \_/\___/_|\__|_||_\__,_| \___|____|___| (to exit type quit or hit Ctrl-D) (voltha)
preprovision_olt --device-type tibit_olt --mac-address 00:0c:e2:31:40:00
devices
Devices: +--------------+-----------+-------------------+----------------+ | id | type | mac_address | admin_state | +--------------+-----------+-------------------+----------------+ | 4dfe7799ae21 | tibit_olt | 00:0c:e2:31:40:00 | PREPROVISIONED | +--------------+-----------+-------------------+----------------+
enable
devices
Devices: +--------------+-----------+------+------+-------------------+-------------+-------------+... | id | type | root | vlan | mac_address | admin_state | oper_status |... +--------------+-----------+------+------+-------------------+-------------+-------------+... | ad2360e71312 | tibit_olt | True | | 00:0c:e2:31:40:00 | ENABLED | ACTIVE |... | 252bceddc720 | tibit_onu | | 208 | 00:0c:e2:22:08:00 | ENABLED | ACTIVE |... +--------------+-----------+------+------+-------------------+-------------+-------------+...
Now that this OLT has not received any forwarding rules, it should drop all traffic. We can verify this by starting the RG emulator and observing that EAPOL authentication does not succeed. To do this start our RG docker container.
docker run --net=host --privileged --name RG -it cord/tester bash
this should land you in a command prompt that looks like
root@8358ef5cad0e:/#
and at this prompt issue the following command
/sbin/wpa_supplicant -Dwired -ieno4.2023 -c /etc/wpa_supplicant/wpa_supplicant.conf
this should hang with the following output. You will need to interrupt it with Ctrl-C.
Successfully initialized wpa_supplicant eth1: Associated with 01:80:c2:00:00:03 WMM AC: Missing IEs