From 662663b0397ed9cf37ffbb3daaebd247f436941e Mon Sep 17 00:00:00 2001 From: Vasant Patil <36455926+vasant17@users.noreply.github.com> Date: Wed, 12 Feb 2020 21:40:31 -0800 Subject: [PATCH] Enable DPB dependency check using YANG model in VS container (#45) Signed-off-by: Sangita Maity sangitamaity0211@gmail.com --- platform/vs/docker-sonic-vs.mk | 5 ++++- platform/vs/docker-sonic-vs/Dockerfile.j2 | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/vs/docker-sonic-vs.mk b/platform/vs/docker-sonic-vs.mk index ab86e4716a19..3ba0fb315f7e 100644 --- a/platform/vs/docker-sonic-vs.mk +++ b/platform/vs/docker-sonic-vs.mk @@ -7,7 +7,10 @@ $(DOCKER_SONIC_VS)_DEPENDS += $(SWSS) \ $(PYTHON_SWSSCOMMON) \ $(LIBTEAMDCTL) \ $(LIBTEAM_UTILS) \ - $(SONIC_DEVICE_DATA) + $(SONIC_DEVICE_DATA) \ + $(LIBYANG) \ + $(LIBYANG_CPP) \ + $(LIBYANG_PY2) $(DOCKER_SONIC_VS)_PYTHON_DEBS += $(SONIC_UTILS) diff --git a/platform/vs/docker-sonic-vs/Dockerfile.j2 b/platform/vs/docker-sonic-vs/Dockerfile.j2 index 65253fc6a572..d193e71a957e 100644 --- a/platform/vs/docker-sonic-vs/Dockerfile.j2 +++ b/platform/vs/docker-sonic-vs/Dockerfile.j2 @@ -60,6 +60,8 @@ RUN pip install crontab # Install dependencies for Dynamic Port Breakout RUN pip install xmltodict==0.12.0 RUN pip install jsondiff==1.2.0 +RUN pip install click==7.0.0 +RUN pip install ijson {% if docker_sonic_vs_debs.strip() -%} # Copy locally-built Debian package dependencies