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 | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 17 | ] |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 18 | |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 19 | osgi_jar( |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 20 | deps = COMPILE_DEPS, |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 21 | ) |
| 22 | |
| 23 | onos_app ( |
| 24 | app_name = 'org.onosproject.drivers.bmv2', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 25 | title = 'BMv2 Drivers', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 26 | category = 'Drivers', |
| 27 | url = 'http://onosproject.org', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 28 | description = 'Adds support for BMv2 P4 devices.', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 29 | included_bundles = BUNDLES, |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 30 | required_apps = [ |
Carmelo Cascone | ef826f9 | 2017-09-05 19:43:35 +0200 | [diff] [blame] | 31 | 'org.onosproject.drivers.p4runtime', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 32 | ], |
Carmelo Cascone | ef826f9 | 2017-09-05 19:43:35 +0200 | [diff] [blame] | 33 | ) |