Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 1 | COMPILE_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 Tseng | 0f0ad3f | 2018-10-31 15:34:30 -0700 | [diff] [blame^] | 7 | "//protocols/gnmi/stub:onos-protocols-gnmi-stub", |
| 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 | 6a1ae71 | 2018-08-10 12:19:47 -0700 | [diff] [blame] | 10 | "//protocols/grpc/proto:onos-protocols-grpc-proto", |
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 | ) |