Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame] | 1 | GRPC_VER = '1.3.1' |
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', |
Esin Karaman | 971fb7f | 2017-12-28 13:44:52 +0000 | [diff] [blame] | 6 | '//lib:KRYO', |
| 7 | '//lib:JACKSON', |
| 8 | '//lib:libthrift', |
Carmelo Cascone | 59f57de | 2017-07-11 19:55:09 -0400 | [diff] [blame] | 9 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
Carmelo Cascone | 87892e2 | 2017-11-13 16:01:29 -0800 | [diff] [blame] | 10 | '//protocols/p4runtime/model:onos-protocols-p4runtime-model', |
Esin Karaman | 971fb7f | 2017-12-28 13:44:52 +0000 | [diff] [blame] | 11 | '//protocols/bmv2/thrift-api:onos-protocols-bmv2-thrift-api', |
Carmelo Cascone | a62ac3d | 2017-08-30 03:19:00 +0200 | [diff] [blame] | 12 | '//drivers/p4runtime:onos-drivers-p4runtime', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 13 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 14 | '//lib:grpc-netty-' + GRPC_VER, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 15 | '//pipelines/basic:onos-pipelines-basic', |
Esin Karaman | 971fb7f | 2017-12-28 13:44:52 +0000 | [diff] [blame] | 16 | '//core/store/serializers:onos-core-serializers', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 17 | ] |
| 18 | |
| 19 | BUNDLES = [ |
| 20 | ':onos-drivers-bmv2', |
Esin Karaman | 971fb7f | 2017-12-28 13:44:52 +0000 | [diff] [blame] | 21 | '//lib:libthrift', |
| 22 | '//protocols/bmv2/thrift-api:onos-protocols-bmv2-thrift-api', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 23 | ] |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 24 | |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 25 | osgi_jar( |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 26 | deps = COMPILE_DEPS, |
Esin Karaman | 971fb7f | 2017-12-28 13:44:52 +0000 | [diff] [blame] | 27 | resources_root = 'src/main/resources', |
| 28 | resources = glob(['src/main/resources/**']), |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 29 | ) |
| 30 | |
| 31 | onos_app ( |
| 32 | app_name = 'org.onosproject.drivers.bmv2', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 33 | title = 'BMv2 Drivers', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 34 | category = 'Drivers', |
| 35 | url = 'http://onosproject.org', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 36 | description = 'Adds support for BMv2 P4 devices.', |
Andrea Campanella | 241896c | 2017-05-10 13:11:04 -0700 | [diff] [blame] | 37 | included_bundles = BUNDLES, |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 38 | required_apps = [ |
Carmelo Cascone | ef826f9 | 2017-09-05 19:43:35 +0200 | [diff] [blame] | 39 | 'org.onosproject.drivers.p4runtime', |
Andrea Campanella | bf9e5ce | 2017-12-06 14:26:36 +0100 | [diff] [blame] | 40 | 'org.onosproject.drivers.gnmi', |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 41 | 'org.onosproject.pipelines.basic', |
Andrea Campanella | 378e21a | 2017-06-07 12:09:59 +0200 | [diff] [blame] | 42 | ], |
Carmelo Cascone | 87892e2 | 2017-11-13 16:01:29 -0800 | [diff] [blame] | 43 | ) |