blob: 5c50f12c16abd13d094334b5dc66262c55e741b7 [file] [log] [blame]
Andrea Campanella0288c872017-08-07 18:32:51 +02001GRPC_VER = '1.3.0'
2
3COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
5 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
6 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
7 '//lib:grpc-netty-' + GRPC_VER,
Yi Tseng82512da2017-08-16 19:46:36 -07008 '//core/store/serializers:onos-core-serializers',
9 '//lib:KRYO',
Andrea Campanella0288c872017-08-07 18:32:51 +020010]
11
12BUNDLES = [
13 ':onos-drivers-p4runtime',
14]
15
Yi Tseng82512da2017-08-16 19:46:36 -070016TEST_DEPS = [
17 '//lib:TEST_ADAPTERS',
18 '//core/api:onos-api-tests',
19]
20
21osgi_jar_with_tests (
Andrea Campanella0288c872017-08-07 18:32:51 +020022 deps = COMPILE_DEPS,
Yi Tseng82512da2017-08-16 19:46:36 -070023 test_deps = TEST_DEPS,
Andrea Campanella0288c872017-08-07 18:32:51 +020024)
25
26onos_app (
27 app_name = 'org.onosproject.drivers.p4runtime',
Thomas Vachuskac98aa2a2017-08-28 10:47:48 -070028 title = 'P4Runtime Drivers',
Andrea Campanella0288c872017-08-07 18:32:51 +020029 category = 'Drivers',
30 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070031 description = 'Adds support for devices using P4 Runtime protocol.',
Andrea Campanella0288c872017-08-07 18:32:51 +020032 included_bundles = BUNDLES,
33 required_apps = [
34 'org.onosproject.generaldeviceprovider',
35 'org.onosproject.protocols.p4runtime',
36 'org.onosproject.p4runtime',
Carmelo Casconeef826f92017-09-05 19:43:35 +020037 'org.onosproject.drivers',
Andrea Campanella0288c872017-08-07 18:32:51 +020038 ],
39)