blob: 0fe379e6e0f1ea70e62d5e124568e9774edd2460 [file] [log] [blame]
Andrea Campanellabf9e5ce2017-12-06 14:26:36 +01001PROTOBUF_VER = '3.2.0'
2GRPC_VER = '1.3.1'
3
4COMPILE_DEPS = [
5 '//lib:CORE_DEPS',
6 '//lib:KRYO',
7 '//protocols/grpc/api:onos-protocols-grpc-api',
8 '//protocols/grpc/proto:onos-protocols-grpc-proto',
9 '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER,
10 '//lib:grpc-netty-' + GRPC_VER,
11 '//lib:protobuf-java-' + PROTOBUF_VER,
12 '//lib:grpc-stub-' + GRPC_VER,
13 '//core/store/serializers:onos-core-serializers',
14 '//protocols/gnmi/stub:onos-protocols-gnmi-stub',
15]
16
17BUNDLES = [
18 ':onos-drivers-gnmi',
19]
20
21osgi_jar (
22 deps = COMPILE_DEPS,
23)
24
25onos_app (
26 app_name = 'org.onosproject.drivers.gnmi',
27 title = 'gNMI Drivers',
28 category = 'Drivers',
29 url = 'http://onosproject.org',
30 description = 'Adds support for devices using gNMI protocol based on ' +
31 ' openconfig models: http://openconfig.net/ .',
32 included_bundles = BUNDLES,
33 required_apps = [
34 'org.onosproject.generaldeviceprovider',
35 'org.onosproject.protocols.grpc',
36 'org.onosproject.protocols.gnmi'
37 ],
38)