Skip to content

Commit 6da7036

Browse files
authored
[dvs] Fix install instructions in README (sonic-net#1379)
Signed-off-by: Danny Allen <[email protected]>
1 parent 2fe99e0 commit 6da7036

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

tests/README.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,29 @@ SWSS, Redis, and all the other required components run inside a virtual switch D
1313

1414
```
1515
sudo modprobe team
16-
sudo apt install net-tools ethtool vlan
17-
sudo pip3 install docker zipp==2.2.1 pytest==4.6.9 flaky redis distro==1.4.0
16+
sudo apt install python3-pip net-tools ethtool vlan libnl-nf-3-200 libnl-cli-3-200
17+
sudo pip3 install docker pytest flaky redis distro
18+
```
19+
20+
If you are running **Ubuntu 18.04** you will need to install this package:
21+
```
22+
sudo apt install libhiredis0.13
23+
```
24+
25+
If you are running **Ubuntu 20.04** you will need to install this package:
26+
```
27+
sudo apt install libhiredis0.14
1828
```
1929
3. Install `python3-swsscommon_1.0.0_amd64.deb`. You will need to install all the dependencies as well in the following order:
2030
2131
```
22-
sudo dpkg -i libnl-3-200_3.5.0-1_amd64.deb
23-
sudo dpkg -i libnl-genl-3-200_3.5.0-1_amd64.deb
24-
sudo dpkg -i libnl-route-3-200_3.5.0-1_amd64.deb
25-
sudo dpkg -i libnl-nf-3-200_3.5.0-1_amd64.deb
26-
sudo dpkg -i libhiredis0.14_0.14.0-3~bpo9+1_amd64.deb
2732
sudo dpkg -i libswsscommon_1.0.0_amd64.deb
28-
sudo dpkg -i python-swsscommon_1.0.0_amd64.deb
33+
sudo dpkg -i python3-swsscommon_1.0.0_amd64.deb
2934
```
3035
31-
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:
36+
You can get these two packages by:
3237
- [Building it from scratch](https://github.com/Azure/sonic-swss-common)
33-
- Downloading the latest build from Jenkins
34-
- [Debian](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build/lastSuccessfulBuild/artifact/target/)
38+
- Downloading the latest build from Jenkins:
3539
- [Ubuntu 18.04](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build-ubuntu/lastSuccessfulBuild/artifact/target/)
3640
- [Ubuntu 20.04](https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-swss-common-build-ubuntu-20_04/lastSuccessfulBuild/artifact/target/)
3741
4. Load the `docker-sonic-vs.gz` file into docker. You can get the image by:

0 commit comments

Comments
 (0)