Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + KRYO + [ |
Carmelo Cascone | d33d3b4 | 2019-06-18 12:12:36 -0700 | [diff] [blame] | 2 | "//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 Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 6 | "//core/store/serializers:onos-core-serializers", |
Yi Tseng | e671fc9 | 2018-10-31 15:34:30 -0700 | [diff] [blame] | 7 | "//protocols/gnmi/stub:onos-protocols-gnmi-stub", |
Yi Tseng | 27851e3 | 2018-11-01 18:30:04 -0700 | [diff] [blame] | 8 | "//protocols/gnmi/api:onos-protocols-gnmi-api", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 9 | "//protocols/grpc/api:onos-protocols-grpc-api", |
Carmelo Cascone | c2be50a | 2019-04-10 00:15:39 -0700 | [diff] [blame] | 10 | "//protocols/grpc/utils:onos-protocols-grpc-utils", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ":onos-drivers-gnmi", |
| 15 | ] |
| 16 | |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 17 | osgi_jar( |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 18 | resources = glob(["src/main/resources/**"]), |
| 19 | resources_root = "src/main/resources", |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 20 | deps = COMPILE_DEPS, |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 21 | ) |
| 22 | |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 23 | onos_app( |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 24 | app_name = "org.onosproject.drivers.gnmi", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 25 | category = "Drivers", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 26 | description = "Adds support for devices using gNMI protocol based on " + |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 27 | " openconfig models: http://openconfig.net/ .", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 28 | included_bundles = BUNDLES, |
| 29 | required_apps = [ |
| 30 | "org.onosproject.generaldeviceprovider", |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 31 | "org.onosproject.protocols.gnmi", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 32 | ], |
Ray Milkey | 05d609a | 2018-08-15 10:27:58 -0700 | [diff] [blame] | 33 | title = "gNMI Drivers", |
| 34 | url = "http://onosproject.org", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 35 | ) |