docker exec -ti compose_voltha_1 bash ip link add link eth1 name eth1.4092 type vlan id 4092 ip addr add 192.168.24.20/24 brd + dev eth1.4092 ip link set eth1.4092 up apt install -y iputils-ping ping 192.168.24.10 exit
cd $VOLTHA_BASE ./cli/main.py -L
_ _ _ ___ _ ___ __ _____| | |_| |_ __ _ / __| | |_ _| \ V / _ \ | _| ' \/ _` | | (__| |__ | | \_/\___/_|\__|_||_\__,_| \___|____|___| (to exit type quit or hit Ctrl-D) (voltha)
preprovision_olt --device-type=maple_olt --ip-address=192.168.24.10
devices
Devices: +--------------+-----------+---------------+----------------+ | id | type | ipv4_address | admin_state | +--------------+-----------+---------------+----------------+ | 32dd2fa5827d | maple_olt | 192.168.24.10 | PREPROVISIONED | +--------------+-----------+---------------+----------------+
enable
VOLTHA should initiate a connection and activation request to the Maple OLT
VOLHA will create the logical OpenFlow device and ports and notify ONOS
VOLTHA will send an OLT-Activated event notification to the PON Manager
VOLTHA will automatically provision and activate a single ONU
Note: the automatic provisioning and activation of the single ONU is only temporary and will be replaced by ONU discovery and activation in a future release.
Verify the OLT and ONU status on device console with the following command
devices
Devices: +--------------+--------------+------+--------------+------+---------------+-------------+-------------+----------------+----------------+-------------------------+--------------------------+ | id | type | root | parent_id | vlan | ipv4_address | admin_state | oper_status | connect_status | parent_port_no | proxy_address.device_id | proxy_address.channel_id | +--------------+--------------+------+--------------+------+---------------+-------------+-------------+----------------+----------------+-------------------------+--------------------------+ | 32dd2fa5827d | maple_olt | True | 1 | | 192.168.24.10 | ENABLED | ACTIVE | REACHABLE | | | | | a957b19f955c | broadcom_onu | True | 32dd2fa5827d | 1025 | | ENABLED | ACTIVE | REACHABLE | 1 | 32dd2fa5827d | 1025 | +--------------+--------------+------+--------------+------+---------------+-------------+-------------+----------------+----------------+-------------------------+--------------------------+
Now that this OLT has provisioned all forwarding rules, it should continue to drop all traffic since ONOS is not running. 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 voltha/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 -ieno1 -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 eno1: Associated with 01:80:c2:00:00:03 WMM AC: Missing IEs