Skip to content

Commit

Permalink
[dvs] Fix install instructions in README (sonic-net#1379)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall authored Aug 6, 2020
1 parent 2fe99e0 commit 6da7036
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,29 @@ SWSS, Redis, and all the other required components run inside a virtual switch D

```
sudo modprobe team
sudo apt install net-tools ethtool vlan
sudo pip3 install docker zipp==2.2.1 pytest==4.6.9 flaky redis distro==1.4.0
sudo apt install python3-pip net-tools ethtool vlan libnl-nf-3-200 libnl-cli-3-200
sudo pip3 install docker pytest flaky redis distro
```
If you are running **Ubuntu 18.04** you will need to install this package:
```
sudo apt install libhiredis0.13
```
If you are running **Ubuntu 20.04** you will need to install this package:
```
sudo apt install libhiredis0.14
```
3. Install `python3-swsscommon_1.0.0_amd64.deb`. You will need to install all the dependencies as well in the following order:
```
sudo dpkg -i libnl-3-200_3.5.0-1_amd64.deb
sudo dpkg -i libnl-genl-3-200_3.5.0-1_amd64.deb
sudo dpkg -i libnl-route-3-200_3.5.0-1_amd64.deb
sudo dpkg -i libnl-nf-3-200_3.5.0-1_amd64.deb
sudo dpkg -i libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb
sudo dpkg -i libswsscommon_1.0.0_amd64.deb
sudo dpkg -i python-swsscommon_1.0.0_amd64.deb
sudo dpkg -i python3-swsscommon_1.0.0_amd64.deb
```
You can find the dependencies [here](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/lastSuccessfulBuild/artifact/target/debs/stretch/), and get this package by:
You can get these two packages by:
- [Building it from scratch](https://github.com/Azure/sonic-swss-common)
- Downloading the latest build from Jenkins
- [Debian](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build/lastSuccessfulBuild/artifact/target/)
- Downloading the latest build from Jenkins:
- [Ubuntu 18.04](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build-ubuntu/lastSuccessfulBuild/artifact/target/)
- [Ubuntu 20.04](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build-ubuntu-20_04/lastSuccessfulBuild/artifact/target/)
4. Load the `docker-sonic-vs.gz` file into docker. You can get the image by:
Expand Down

0 comments on commit 6da7036

Please sign in to comment.