Before you start, please ensure the following requirements have been met.
Assuming remote access, ssh into the server and then execute the following commands.
ssh <username>@<server-address> # and use your credentials
Navigate to the Voltha base dir and source the environment. For example:
cd cord/incubator/voltha source env.sh
Your exact path may differ. After the above step, the prompt should include the term venv-linux
now.
Execute:
pip install -r requirements.txt
Execute:
sudo apt install -y wireshark tshark npm nodejs-legacy bridge-utils
This step is needed only if you intend to run the automated PON-level tests. Execute:
cd $VOLTHA_BASE # if you don't have this, go back to Step 1 # Now, go up a directory so that we don't install in the voltha repo cd .. git clone git@bitbucket.org:corddesign/olt-oftest.git git clone git://github.com/mininet/mininet ./mininet/util/install.sh # this may ask for your password
cd $VOLTHA_BASE
make fetch
cd $VOLTHA_BASE
make
At this point your Voltha components shall be ready for local Docker deployment.
Confirm that you have connectivity from the VOLTHA server to the OLT chassis or device.
Any L2 switches participating in connecting the Voltha test server to the PON components need to be configured to pass specific VLAN-tagged traffic. The details are POD and device specific. Please consult with your vendor.
Please continue with next section of the document.