blob: b13a673281660b7cb7844ad784020e311598e399 [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',
7 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Carmelo Cascone31d3e442017-07-18 16:58:51 -04008 '//drivers/default:onos-drivers-default',
Carmelo Casconea62ac3d2017-08-30 03:19:00 +02009 '//drivers/p4runtime:onos-drivers-p4runtime',
Carmelo Casconedda88d02017-07-19 22:42:01 -040010 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
11 '//lib:grpc-netty-' + GRPC_VER,
Andrea Campanella241896c2017-05-10 13:11:04 -070012]
13
14BUNDLES = [
15 ':onos-drivers-bmv2',
Carmelo Cascone59f57de2017-07-11 19:55:09 -040016 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Carmelo Cascone31d3e442017-07-18 16:58:51 -040017 '//drivers/default:onos-drivers-default',
Carmelo Casconedda88d02017-07-19 22:42:01 -040018]
Andrea Campanella241896c2017-05-10 13:11:04 -070019
Carmelo Casconedda88d02017-07-19 22:42:01 -040020osgi_jar(
Andrea Campanella241896c2017-05-10 13:11:04 -070021 deps = COMPILE_DEPS,
Andrea Campanella241896c2017-05-10 13:11:04 -070022)
23
24onos_app (
25 app_name = 'org.onosproject.drivers.bmv2',
Thomas Vachuskab0029682017-08-23 17:55:53 -070026 title = 'BMv2 Drivers',
Andrea Campanella241896c2017-05-10 13:11:04 -070027 category = 'Drivers',
28 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070029 description = 'Adds support for BMv2 P4 devices.',
Andrea Campanella241896c2017-05-10 13:11:04 -070030 included_bundles = BUNDLES,
Andrea Campanella378e21a2017-06-07 12:09:59 +020031 required_apps = [
Carmelo Casconedda88d02017-07-19 22:42:01 -040032 'org.onosproject.generaldeviceprovider',
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +020033 'org.onosproject.protocols.p4runtime',
34 'org.onosproject.p4runtime',
Andrea Campanella0288c872017-08-07 18:32:51 +020035 'org.onosproject.drivers.p4runtime'
Andrea Campanella378e21a2017-06-07 12:09:59 +020036 ],
Andrea Campanella241896c2017-05-10 13:11:04 -070037)