blob: efc3f0805e77101b718724d101e710f96c3f321d [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",
Yi Tsenge671fc92018-10-31 15:34:30 -07007 "//protocols/gnmi/stub:onos-protocols-gnmi-stub",
Yi Tseng27851e32018-11-01 18:30:04 -07008 "//protocols/gnmi/api:onos-protocols-gnmi-api",
Carmelo Cascone41644362018-08-09 16:56:43 -07009 "//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
Ray Milkey05d609a2018-08-15 10:27:58 -070017osgi_jar(
Carmelo Cascone41644362018-08-09 16:56:43 -070018 resources = glob(["src/main/resources/**"]),
19 resources_root = "src/main/resources",
Ray Milkey05d609a2018-08-15 10:27:58 -070020 deps = COMPILE_DEPS,
Carmelo Cascone41644362018-08-09 16:56:43 -070021)
22
Ray Milkey05d609a2018-08-15 10:27:58 -070023onos_app(
Carmelo Cascone41644362018-08-09 16:56:43 -070024 app_name = "org.onosproject.drivers.gnmi",
Carmelo Cascone41644362018-08-09 16:56:43 -070025 category = "Drivers",
Carmelo Cascone41644362018-08-09 16:56:43 -070026 description = "Adds support for devices using gNMI protocol based on " +
Ray Milkey05d609a2018-08-15 10:27:58 -070027 " openconfig models: http://openconfig.net/ .",
Carmelo Cascone41644362018-08-09 16:56:43 -070028 included_bundles = BUNDLES,
29 required_apps = [
30 "org.onosproject.generaldeviceprovider",
Ray Milkey05d609a2018-08-15 10:27:58 -070031 "org.onosproject.protocols.gnmi",
Carmelo Cascone41644362018-08-09 16:56:43 -070032 ],
Ray Milkey05d609a2018-08-15 10:27:58 -070033 title = "gNMI Drivers",
34 url = "http://onosproject.org",
Carmelo Cascone41644362018-08-09 16:56:43 -070035)