blob: 0616f2722eb63f0fd4b5a65a7c0e3ada6d14b8ce [file] [log] [blame]
Carmelo Cascone41644362018-08-09 16:56:43 -07001COMPILE_DEPS = CORE_DEPS + KRYO + [
2 "@com_google_protobuf//:protobuf_java",
3 "@io_grpc_grpc_java//core",
4 "@io_grpc_grpc_java//netty",
5 "@io_grpc_grpc_java//stub",
6 "//core/store/serializers:onos-core-serializers",
7 "//protocols/gnmi/stub:gnmi_java_grpc",
8 "//protocols/gnmi/stub:gnmi_java_proto",
9 "//protocols/grpc/api:onos-protocols-grpc-api",
10 "//protocols/grpc/proto:dummy_java_grpc",
11]
12
13BUNDLES = [
14 ":onos-drivers-gnmi",
15]
16
17osgi_jar (
18 deps = COMPILE_DEPS,
19 resources = glob(["src/main/resources/**"]),
20 resources_root = "src/main/resources",
21)
22
23onos_app (
24 app_name = "org.onosproject.drivers.gnmi",
25 title = "gNMI Drivers",
26 category = "Drivers",
27 url = "http://onosproject.org",
28 description = "Adds support for devices using gNMI protocol based on " +
29 " openconfig models: http://openconfig.net/ .",
30 included_bundles = BUNDLES,
31 required_apps = [
32 "org.onosproject.generaldeviceprovider",
33 "org.onosproject.protocols.grpc",
34 "org.onosproject.protocols.gnmi"
35 ],
36)