Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 1 | P4_SRC_DIR=$(ONOS_ROOT)/pipelines/fabric/src/main/resources |
| 2 | |
| 3 | MAVERICKS_CPU_PORT=320 |
Carmelo Cascone | 0fbc908 | 2018-02-11 13:02:37 -0800 | [diff] [blame] | 4 | MONTARA_CPU_PORT=192 |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 5 | |
| 6 | MAVERICKS_OPTIONS=-DCPU_PORT=$(MAVERICKS_CPU_PORT) |
Carmelo Cascone | 0fbc908 | 2018-02-11 13:02:37 -0800 | [diff] [blame] | 7 | MONTARA_OPTIONS=-DCPU_PORT=$(MONTARA_CPU_PORT) |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 8 | |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 9 | fabric-tofino: |
Carmelo Cascone | a14a5d3 | 2018-05-30 16:56:04 -0700 | [diff] [blame^] | 10 | ./fabric-compile.sh "$(P4_SRC_DIR)" "$(MAVERICKS_OPTIONS)" "$(MONTARA_OPTIONS)" \ |
| 11 | "" fabric |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 12 | |
| 13 | fabric-spgw-tofino: |
Carmelo Cascone | a14a5d3 | 2018-05-30 16:56:04 -0700 | [diff] [blame^] | 14 | ./fabric-compile.sh "$(P4_SRC_DIR)" "$(MAVERICKS_OPTIONS)" "$(MONTARA_OPTIONS)" \ |
| 15 | "-DWITH_SPGW" fabric-spgw |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 16 | |
Carmelo Cascone | e2c568f | 2018-03-24 15:03:40 -0700 | [diff] [blame] | 17 | fabric-spgw-int-tofino: fabric-spgw-int-1-tofino fabric-spgw-int-2-tofino |
| 18 | |
| 19 | fabric-spgw-int-1-tofino: |
Carmelo Cascone | a14a5d3 | 2018-05-30 16:56:04 -0700 | [diff] [blame^] | 20 | ./fabric-compile.sh "$(P4_SRC_DIR)" "$(MAVERICKS_OPTIONS)" "$(MONTARA_OPTIONS)" \ |
| 21 | "-DWITH_SPGW -DWITH_INT_TRANSIT -DINT_SWITCH_ID=100" fabric-spgw-int-1 |
Carmelo Cascone | e2c568f | 2018-03-24 15:03:40 -0700 | [diff] [blame] | 22 | |
| 23 | fabric-spgw-int-2-tofino: |
Carmelo Cascone | a14a5d3 | 2018-05-30 16:56:04 -0700 | [diff] [blame^] | 24 | ./fabric-compile.sh "$(P4_SRC_DIR)" "$(MAVERICKS_OPTIONS)" "$(MONTARA_OPTIONS)" \ |
| 25 | "-DWITH_SPGW -DWITH_INT_TRANSIT -DINT_SWITCH_ID=200" fabric-spgw-int-2 |
Carmelo Cascone | 0488822 | 2018-03-19 22:18:12 -0700 | [diff] [blame] | 26 | |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 27 | clean: |
| 28 | rm -rf p4c-out/* |