blob: 0c9f23d0c5275e7ba23e0ba9eac65342fa85fc45 [file] [log] [blame]
Carmelo Casconeb1936bd2017-12-12 14:42:27 -08001GRPC_VER = '1.3.1'
Andrea Campanella0288c872017-08-07 18:32:51 +02002
3COMPILE_DEPS = [
4 '//lib:CORE_DEPS',
Carmelo Cascone6a0b5a32017-11-20 23:08:32 -08005 '//lib:KRYO',
Andrea Campanella0288c872017-08-07 18:32:51 +02006 '//protocols/p4runtime/api:onos-protocols-p4runtime-api',
7 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
8 '//lib:grpc-netty-' + GRPC_VER,
Carmelo Cascone6a0b5a32017-11-20 23:08:32 -08009 '//core/store/serializers:onos-core-serializers',
Andrea Campanella0288c872017-08-07 18:32:51 +020010]
11
12BUNDLES = [
13 ':onos-drivers-p4runtime',
14]
15
Carmelo Cascone87b9b392017-10-02 18:33:20 +020016osgi_jar (
Andrea Campanella0288c872017-08-07 18:32:51 +020017 deps = COMPILE_DEPS,
18)
19
20onos_app (
21 app_name = 'org.onosproject.drivers.p4runtime',
Thomas Vachuskac98aa2a2017-08-28 10:47:48 -070022 title = 'P4Runtime Drivers',
Andrea Campanella0288c872017-08-07 18:32:51 +020023 category = 'Drivers',
24 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070025 description = 'Adds support for devices using P4 Runtime protocol.',
Andrea Campanella0288c872017-08-07 18:32:51 +020026 included_bundles = BUNDLES,
27 required_apps = [
28 'org.onosproject.generaldeviceprovider',
29 'org.onosproject.protocols.p4runtime',
30 'org.onosproject.p4runtime',
Carmelo Casconeef826f92017-09-05 19:43:35 +020031 'org.onosproject.drivers',
Andrea Campanella0288c872017-08-07 18:32:51 +020032 ],
33)