blob: ea135ef7201bfb52a69dd4cc189fa92b3d6b8b3b [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,
Carmelo Cascone6a0b5a32017-11-20 23:08:32 -08008 '//core/store/serializers:onos-core-serializers',
Andrea Campanella0288c872017-08-07 18:32:51 +02009]
10
11BUNDLES = [
12 ':onos-drivers-p4runtime',
13]
14
Carmelo Cascone87b9b392017-10-02 18:33:20 +020015osgi_jar (
Andrea Campanella0288c872017-08-07 18:32:51 +020016 deps = COMPILE_DEPS,
17)
18
19onos_app (
20 app_name = 'org.onosproject.drivers.p4runtime',
Thomas Vachuskac98aa2a2017-08-28 10:47:48 -070021 title = 'P4Runtime Drivers',
Andrea Campanella0288c872017-08-07 18:32:51 +020022 category = 'Drivers',
23 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070024 description = 'Adds support for devices using P4 Runtime protocol.',
Andrea Campanella0288c872017-08-07 18:32:51 +020025 included_bundles = BUNDLES,
26 required_apps = [
27 'org.onosproject.generaldeviceprovider',
28 'org.onosproject.protocols.p4runtime',
29 'org.onosproject.p4runtime',
Carmelo Casconeef826f92017-09-05 19:43:35 +020030 'org.onosproject.drivers',
Andrea Campanella0288c872017-08-07 18:32:51 +020031 ],
32)