Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 1 | GRPC_VER = '1.3.0' |
Carmelo Cascone | 59f57de | 2017-07-11 19:55:09 -0400 | [diff] [blame] | 2 | |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
Carmelo Cascone | 59f57de | 2017-07-11 19:55:09 -0400 | [diff] [blame] | 5 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
| 6 | '//incubator/bmv2/model:onos-incubator-bmv2-model', |
Carmelo Cascone | 31d3e44 | 2017-07-18 16:58:51 -0400 | [diff] [blame] | 7 | '//drivers/default:onos-drivers-default', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 8 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 9 | '//lib:grpc-netty-' + GRPC_VER, |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 10 | ] |
| 11 | |
| 12 | BUNDLES = [ |
| 13 | ':onos-drivers-bmv2', |
Carmelo Cascone | 59f57de | 2017-07-11 19:55:09 -0400 | [diff] [blame] | 14 | '//incubator/bmv2/model:onos-incubator-bmv2-model', |
Carmelo Cascone | 31d3e44 | 2017-07-18 16:58:51 -0400 | [diff] [blame] | 15 | '//drivers/default:onos-drivers-default', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 16 | ] |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 17 | |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 18 | osgi_jar( |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 19 | deps = COMPILE_DEPS, |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 20 | ) |
| 21 | |
| 22 | onos_app ( |
| 23 | app_name = 'org.onosproject.drivers.bmv2', |
Thomas Vachuska | 7c45e28 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 24 | title = 'BMv2 Drivers', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 25 | category = 'Drivers', |
| 26 | url = 'http://onosproject.org', |
Thomas Vachuska | 7c45e28 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 27 | description = 'Adds support for BMv2 P4 devices.', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 28 | included_bundles = BUNDLES, |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 29 | required_apps = [ |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 30 | 'org.onosproject.generaldeviceprovider', |
Carmelo Cascone | 2cad9ef | 2017-08-01 21:52:07 +0200 | [diff] [blame] | 31 | 'org.onosproject.protocols.p4runtime', |
| 32 | 'org.onosproject.p4runtime', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 33 | ], |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 34 | ) |