blob: e3535cc05af82b54f55056b893437fcad1f8f145 [file] [log] [blame]
Carmelo Cascone41644362018-08-09 16:56:43 -07001COMPILE_DEPS = CORE_DEPS + KRYO + [
Carmelo Casconed33d3b42019-06-18 12:12:36 -07002 "//deps:com_google_protobuf_protobuf_java",
3 "//deps:io_grpc_grpc_api_context",
4 "//deps:io_grpc_grpc_netty",
5 "//deps:io_grpc_grpc_stub",
Carmelo Cascone41644362018-08-09 16:56:43 -07006 "//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",
pierventrecd03c1c2022-02-15 12:25:27 +01009 "//protocols/gnmi/ctl:onos-protocols-gnmi-ctl",
Carmelo Cascone41644362018-08-09 16:56:43 -070010 "//protocols/grpc/api:onos-protocols-grpc-api",
Carmelo Casconec2be50a2019-04-10 00:15:39 -070011 "//protocols/grpc/utils:onos-protocols-grpc-utils",
Carmelo Cascone41644362018-08-09 16:56:43 -070012]
13
14BUNDLES = [
15 ":onos-drivers-gnmi",
16]
17
Ray Milkey05d609a2018-08-15 10:27:58 -070018osgi_jar(
Carmelo Cascone41644362018-08-09 16:56:43 -070019 resources = glob(["src/main/resources/**"]),
20 resources_root = "src/main/resources",
Ray Milkey05d609a2018-08-15 10:27:58 -070021 deps = COMPILE_DEPS,
Carmelo Cascone41644362018-08-09 16:56:43 -070022)
23
Ray Milkey05d609a2018-08-15 10:27:58 -070024onos_app(
Carmelo Cascone41644362018-08-09 16:56:43 -070025 app_name = "org.onosproject.drivers.gnmi",
Carmelo Cascone41644362018-08-09 16:56:43 -070026 category = "Drivers",
Carmelo Cascone41644362018-08-09 16:56:43 -070027 description = "Adds support for devices using gNMI protocol based on " +
Ray Milkey05d609a2018-08-15 10:27:58 -070028 " openconfig models: http://openconfig.net/ .",
Carmelo Cascone41644362018-08-09 16:56:43 -070029 included_bundles = BUNDLES,
30 required_apps = [
31 "org.onosproject.generaldeviceprovider",
Ray Milkey05d609a2018-08-15 10:27:58 -070032 "org.onosproject.protocols.gnmi",
Carmelo Cascone41644362018-08-09 16:56:43 -070033 ],
Ray Milkey05d609a2018-08-15 10:27:58 -070034 title = "gNMI Drivers",
35 url = "http://onosproject.org",
Carmelo Cascone41644362018-08-09 16:56:43 -070036)