blob: a8dfd589cbfd437f2dee77c3d86c4936539fe878 [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 Casconedda88d02017-07-19 22:42:01 -04009 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
10 '//lib:grpc-netty-' + GRPC_VER,
Andrea Campanella241896c2017-05-10 13:11:04 -070011]
12
13BUNDLES = [
14 ':onos-drivers-bmv2',
Carmelo Cascone59f57de2017-07-11 19:55:09 -040015 '//incubator/bmv2/model:onos-incubator-bmv2-model',
Carmelo Cascone31d3e442017-07-18 16:58:51 -040016 '//drivers/default:onos-drivers-default',
Carmelo Casconedda88d02017-07-19 22:42:01 -040017]
Andrea Campanella241896c2017-05-10 13:11:04 -070018
Carmelo Casconedda88d02017-07-19 22:42:01 -040019osgi_jar(
Andrea Campanella241896c2017-05-10 13:11:04 -070020 deps = COMPILE_DEPS,
Andrea Campanella241896c2017-05-10 13:11:04 -070021)
22
23onos_app (
24 app_name = 'org.onosproject.drivers.bmv2',
Andrea Campanella378e21a2017-06-07 12:09:59 +020025 title = 'BMv2 Device Drivers',
Andrea Campanella241896c2017-05-10 13:11:04 -070026 category = 'Drivers',
27 url = 'http://onosproject.org',
Carmelo Casconedda88d02017-07-19 22:42:01 -040028 description = 'ONOS BMv2 device drivers application.',
Andrea Campanella241896c2017-05-10 13:11:04 -070029 included_bundles = BUNDLES,
Andrea Campanella378e21a2017-06-07 12:09:59 +020030 required_apps = [
Carmelo Casconedda88d02017-07-19 22:42:01 -040031 'org.onosproject.generaldeviceprovider',
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +020032 'org.onosproject.protocols.p4runtime',
33 'org.onosproject.p4runtime',
Andrea Campanella378e21a2017-06-07 12:09:59 +020034 ],
Andrea Campanella241896c2017-05-10 13:11:04 -070035)