blob: 772ae885b8536101edaac921519f602ae6d13584 [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",
Carmelo Cascone41644362018-08-09 16:56:43 -07009 "//protocols/grpc/api:onos-protocols-grpc-api",
Carmelo Casconec2be50a2019-04-10 00:15:39 -070010 "//protocols/grpc/utils:onos-protocols-grpc-utils",
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)