wu | 5f6c5b8 | 2017-08-04 16:45:19 +0800 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:minimal-json', |
| 4 | '//incubator/bmv2/model:onos-incubator-bmv2-model', |
| 5 | '//apps/pi-demo/common:onos-apps-pi-demo-common', |
Carmelo Cascone | 9f760a1 | 2017-08-24 13:14:53 +0200 | [diff] [blame] | 6 | '//drivers/default:onos-drivers-default', |
Carmelo Cascone | a62ac3d | 2017-08-30 03:19:00 +0200 | [diff] [blame] | 7 | '//drivers/p4runtime:onos-drivers-p4runtime', |
wu | 5f6c5b8 | 2017-08-04 16:45:19 +0800 | [diff] [blame] | 8 | ] |
| 9 | |
| 10 | osgi_jar ( |
| 11 | deps = COMPILE_DEPS, |
| 12 | ) |
| 13 | |
| 14 | BUNDLES = [ |
| 15 | '//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp', |
| 16 | '//apps/pi-demo/common:onos-apps-pi-demo-common', |
Carmelo Cascone | 9f760a1 | 2017-08-24 13:14:53 +0200 | [diff] [blame] | 17 | '//drivers/default:onos-drivers-default', |
Carmelo Cascone | 14d9b36 | 2017-09-14 14:38:20 +0200 | [diff] [blame] | 18 | '//incubator/bmv2/model:onos-incubator-bmv2-model', |
wu | 5f6c5b8 | 2017-08-04 16:45:19 +0800 | [diff] [blame] | 19 | ] |
| 20 | |
| 21 | onos_app ( |
| 22 | app_name = 'org.onosproject.pi-ecmp-fabric', |
| 23 | title = 'PI Demo ECMP Fabric', |
| 24 | category = 'Traffic Steering', |
| 25 | url = 'http://onosproject.org', |
| 26 | description = 'Provides ECMP support for a 2-stage clos fabric topology of PI-enabled devices', |
| 27 | included_bundles = BUNDLES, |
Carmelo Cascone | 14d9b36 | 2017-09-14 14:38:20 +0200 | [diff] [blame] | 28 | required_apps = [ |
| 29 | # FIXME: there should be no dependendcy on a driver here. |
| 30 | # However, we depend on the DefaultP4Interpreter that currently lives in the p4runtime |
| 31 | # driver. Bringing up the whole app avoids to specify all transitive runtime dependencies |
| 32 | # as bundles. DefaultP4Interpreter and other pipeconf-related stuff should leave in a |
| 33 | # separate location, outside the drivers. |
| 34 | 'org.onosproject.drivers.p4runtime' |
| 35 | ] |
wu | 5f6c5b8 | 2017-08-04 16:45:19 +0800 | [diff] [blame] | 36 | ) |