From 9095ea0d307121c9ee44186199dd1c6205a770bd Mon Sep 17 00:00:00 2001 From: Marian Pritsak Date: Thu, 8 Dec 2016 19:24:48 +0200 Subject: [PATCH] Integrate ptf into buildimage (#111) --- .gitmodules | 3 +++ rules/ptf.mk | 5 +++++ src/ptf | 1 + 3 files changed, 9 insertions(+) create mode 100644 rules/ptf.mk create mode 160000 src/ptf diff --git a/.gitmodules b/.gitmodules index 8db0758ed..a6928d64f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -41,3 +41,6 @@ [submodule "src/sonic-snmpagent"] path = src/sonic-snmpagent url = https://github.com/Azure/sonic-snmpagent +[submodule "src/ptf"] + path = src/ptf + url = https://github.com/p4lang/ptf.git diff --git a/rules/ptf.mk b/rules/ptf.mk new file mode 100644 index 000000000..5fe275bda --- /dev/null +++ b/rules/ptf.mk @@ -0,0 +1,5 @@ +# ptf package + +PTF = python-ptf_0.9-1_all.deb +$(PTF)_SRC_PATH = $(SRC_PATH)/ptf +SONIC_DPKG_DEBS += $(PTF) diff --git a/src/ptf b/src/ptf new file mode 160000 index 000000000..ec33433f0 --- /dev/null +++ b/src/ptf @@ -0,0 +1 @@ +Subproject commit ec33433f027625f4ba85c4eba8258e29f1dd6496