| COMPILE_DEPS = CORE_DEPS + KRYO + [ |
| "//lib:com_google_protobuf_protobuf_java", |
| "//lib:io_grpc_grpc_api_context", |
| "//lib:io_grpc_grpc_netty", |
| "//lib:io_grpc_grpc_stub", |
| "//core/store/serializers:onos-core-serializers", |
| "//protocols/gnmi/stub:onos-protocols-gnmi-stub", |
| "//protocols/gnmi/api:onos-protocols-gnmi-api", |
| "//protocols/grpc/api:onos-protocols-grpc-api", |
| "//protocols/grpc/utils:onos-protocols-grpc-utils", |
| ] |
| |
| BUNDLES = [ |
| ":onos-drivers-gnmi", |
| ] |
| |
| osgi_jar( |
| resources = glob(["src/main/resources/**"]), |
| resources_root = "src/main/resources", |
| deps = COMPILE_DEPS, |
| ) |
| |
| onos_app( |
| app_name = "org.onosproject.drivers.gnmi", |
| category = "Drivers", |
| description = "Adds support for devices using gNMI protocol based on " + |
| " openconfig models: http://openconfig.net/ .", |
| included_bundles = BUNDLES, |
| required_apps = [ |
| "org.onosproject.generaldeviceprovider", |
| "org.onosproject.protocols.gnmi", |
| ], |
| title = "gNMI Drivers", |
| url = "http://onosproject.org", |
| ) |