Integrate ptf into buildimage (#111)

This commit is contained in:
Marian Pritsak 2016-12-08 19:24:48 +02:00 committed by lguohan
parent dd9389febf
commit 9095ea0d30
3 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View File

@ -41,3 +41,6 @@
[submodule "src/sonic-snmpagent"] [submodule "src/sonic-snmpagent"]
path = src/sonic-snmpagent path = src/sonic-snmpagent
url = https://github.com/Azure/sonic-snmpagent url = https://github.com/Azure/sonic-snmpagent
[submodule "src/ptf"]
path = src/ptf
url = https://github.com/p4lang/ptf.git

5
rules/ptf.mk Normal file
View File

@ -0,0 +1,5 @@
# ptf package
PTF = python-ptf_0.9-1_all.deb
$(PTF)_SRC_PATH = $(SRC_PATH)/ptf
SONIC_DPKG_DEBS += $(PTF)

1
src/ptf Submodule

@ -0,0 +1 @@
Subproject commit ec33433f027625f4ba85c4eba8258e29f1dd6496