blob: 82df0683e68d72995d472bd2bcad2393dd0a6ced [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",
Carmelo Cascone6a1ae712018-08-10 12:19:47 -070010 "//protocols/grpc/proto:onos-protocols-grpc-proto",
Carmelo Cascone41644362018-08-09 16:56:43 -070011]
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)