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