ONOS-7058 Refactored default pipeconfs in new pipelines directory
- Minimal refactoring of P4 programs
- Removed symlinks to BMv2 JSON/P4Info
- Bumped p4c commit (which fixes known parser bug)
- Renamed "default" pipeconf to "basic" (ONOS-6818)
Change-Id: I319f8b142ab22dba9b15457e28cd62d17f78a423
diff --git a/pipelines/basic/src/main/resources/Makefile b/pipelines/basic/src/main/resources/Makefile
new file mode 100644
index 0000000..f695e02
--- /dev/null
+++ b/pipelines/basic/src/main/resources/Makefile
@@ -0,0 +1,14 @@
+all: basic ecmp
+
+basic: basic.p4
+ p4c-bm2-ss -o p4c-out/bmv2/basic.json \
+ --p4runtime-file p4c-out/bmv2/basic.p4info \
+ --p4runtime-format text basic.p4
+
+ecmp: ecmp.p4
+ p4c-bm2-ss -o p4c-out/bmv2/ecmp.json \
+ --p4runtime-file p4c-out/bmv2/ecmp.p4info \
+ --p4runtime-format text ecmp.p4
+clean:
+ rm -rf p4c-out/bmv2/*.json
+ rm -rf p4c-out/bmv2/*.p4info
\ No newline at end of file