blob: 8e1728aad56d7e57283945f0f27fad98bee4fb2a [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',
Carmelo Cascone59f57de2017-07-11 19:55:09 -04005 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
6 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Carmelo Cascone31d3e442017-07-18 16:58:51 -04007 '//drivers/default:onos-drivers-default',
Carmelo Casconedda88d02017-07-19 22:42:01 -04008 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
9 '//lib:grpc-netty-' + GRPC_VER,
Andrea Campanella241896c2017-05-10 13:11:04 -070010]
11
12BUNDLES = [
13 ':onos-drivers-bmv2',
Carmelo Cascone59f57de2017-07-11 19:55:09 -040014 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Carmelo Cascone31d3e442017-07-18 16:58:51 -040015 '//drivers/default:onos-drivers-default',
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 Vachuska7c45e282017-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 Vachuska7c45e282017-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 Casconedda88d02017-07-19 22:42:01 -040030 'org.onosproject.generaldeviceprovider',
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +020031 'org.onosproject.protocols.p4runtime',
32 'org.onosproject.p4runtime',
Andrea Campanella378e21a2017-06-07 12:09:59 +020033 ],
Andrea Campanella241896c2017-05-10 13:11:04 -070034)