blob: f2680280cc1c46c13b1f3cb28742fa3785e372ee [file] [log] [blame]
wu5f6c5b82017-08-04 16:45:19 +08001COMPILE_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 Cascone9f760a12017-08-24 13:14:53 +02006 '//drivers/default:onos-drivers-default',
Carmelo Casconea62ac3d2017-08-30 03:19:00 +02007 '//drivers/p4runtime:onos-drivers-p4runtime',
wu5f6c5b82017-08-04 16:45:19 +08008]
9
10osgi_jar (
11 deps = COMPILE_DEPS,
12)
13
14BUNDLES = [
15 '//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp',
16 '//apps/pi-demo/common:onos-apps-pi-demo-common',
Carmelo Cascone9f760a12017-08-24 13:14:53 +020017 '//drivers/default:onos-drivers-default',
Carmelo Cascone14d9b362017-09-14 14:38:20 +020018 '//incubator/bmv2/model:onos-incubator-bmv2-model',
wu5f6c5b82017-08-04 16:45:19 +080019]
20
21onos_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 Cascone14d9b362017-09-14 14:38:20 +020028 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 ]
wu5f6c5b82017-08-04 16:45:19 +080036)