blob: 50d8b5e7393bd16e02b106515b0ba5cc54a1d322 [file] [log] [blame]
COMPILE_DEPS = CORE_DEPS + KRYO + [
"@com_google_protobuf//:protobuf_java",
"@io_grpc_grpc_java//core",
"@io_grpc_grpc_java//netty",
"@io_grpc_grpc_java//stub",
"//core/store/serializers:onos-core-serializers",
"//protocols/gnmi/stub:gnmi_java_grpc",
"//protocols/gnmi/stub:gnmi_java_proto",
"//protocols/grpc/api:onos-protocols-grpc-api",
"//protocols/grpc/proto:onos-protocols-grpc-proto",
]
BUNDLES = [
":onos-drivers-gnmi",
]
osgi_jar(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.drivers.gnmi",
category = "Drivers",
description = "Adds support for devices using gNMI protocol based on " +
" openconfig models: http://openconfig.net/ .",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.generaldeviceprovider",
"org.onosproject.protocols.grpc",
"org.onosproject.protocols.gnmi",
],
title = "gNMI Drivers",
url = "http://onosproject.org",
)