commit | 700648c99327938868bbc9145352a2bb20ee7645 | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@opennetworking.org> | Wed Apr 11 12:02:16 2018 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Thu Apr 12 01:13:33 2018 +0000 |
tree | 2b859f43723571409d75e3a52b30f2d532a4b203 | |
parent | 181f3f46cca806c94424692a0e12cbac2f6df4a8 [diff] [blame] |
MyTunnel P4 tutorial app and pipeconf Change-Id: I0549276fc7f6c8d0d244d6c52b1b9e85b9c3e13c
diff --git a/apps/p4-tutorial/pipeconf/src/main/resources/Makefile b/apps/p4-tutorial/pipeconf/src/main/resources/Makefile index 9a6a8d0..adfd7ed 100644 --- a/apps/p4-tutorial/pipeconf/src/main/resources/Makefile +++ b/apps/p4-tutorial/pipeconf/src/main/resources/Makefile
@@ -1,6 +1,4 @@ -all: main +all: mytunnel -main: main.p4 - p4c-bm2-ss -o main.json --p4runtime-file main.p4info --p4runtime-format text main.p4 - # Fix for BMv2/p4c bug... - sed -i -e 's/"value" : "0xff"/"value" : "0x00ff"/g' main.json \ No newline at end of file +mytunnel: mytunnel.p4 + p4c-bm2-ss -o mytunnel.json --p4runtime-file mytunnel.p4info --p4runtime-format text mytunnel.p4