blob: d79c85f5ed42f3eac816818dbf7f1333f4799694 [file] [log] [blame]
Carmelo Casconedda88d02017-07-19 22:42:01 -04001GRPC_VER = '1.3.0'
Carmelo Cascone59f57de2017-07-11 19:55:09 -04002
Andrea Campanella241896c2017-05-10 13:11:04 -07003COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07005 '//lib:minimal-json',
Carmelo Cascone59f57de2017-07-11 19:55:09 -04006 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
Carmelo Cascone87892e22017-11-13 16:01:29 -08007 '//protocols/p4runtime/model:onos-protocols-p4runtime-model',
Carmelo Casconea62ac3d2017-08-30 03:19:00 +02008 '//drivers/p4runtime:onos-drivers-p4runtime',
Carmelo Casconedda88d02017-07-19 22:42:01 -04009 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
10 '//lib:grpc-netty-' + GRPC_VER,
Carmelo Casconeca94bcf2017-10-27 14:16:59 -070011 '//pipelines/basic:onos-pipelines-basic',
Andrea Campanella241896c2017-05-10 13:11:04 -070012]
13
14BUNDLES = [
15 ':onos-drivers-bmv2',
Carmelo Casconedda88d02017-07-19 22:42:01 -040016]
Andrea Campanella241896c2017-05-10 13:11:04 -070017
Carmelo Casconedda88d02017-07-19 22:42:01 -040018osgi_jar(
Andrea Campanella241896c2017-05-10 13:11:04 -070019 deps = COMPILE_DEPS,
Andrea Campanella241896c2017-05-10 13:11:04 -070020)
21
22onos_app (
23 app_name = 'org.onosproject.drivers.bmv2',
Thomas Vachuskab0029682017-08-23 17:55:53 -070024 title = 'BMv2 Drivers',
Andrea Campanella241896c2017-05-10 13:11:04 -070025 category = 'Drivers',
26 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070027 description = 'Adds support for BMv2 P4 devices.',
Andrea Campanella241896c2017-05-10 13:11:04 -070028 included_bundles = BUNDLES,
Andrea Campanella378e21a2017-06-07 12:09:59 +020029 required_apps = [
Carmelo Casconeef826f92017-09-05 19:43:35 +020030 'org.onosproject.drivers.p4runtime',
Carmelo Casconeca94bcf2017-10-27 14:16:59 -070031 'org.onosproject.pipelines.basic',
Andrea Campanella378e21a2017-06-07 12:09:59 +020032 ],
Carmelo Cascone87892e22017-11-13 16:01:29 -080033)