diff --git a/.gitmodules b/.gitmodules index 8db0758ed2..a6928d64f2 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 0000000000..5fe275bdad --- /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 0000000000..ec33433f02 --- /dev/null +++ b/src/ptf @@ -0,0 +1 @@ +Subproject commit ec33433f027625f4ba85c4eba8258e29f1dd6496