mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-11-03 01:31:21 +01:00
This change introduces a refactoring of the gRPC protocol subsystem that allows the creation of a gRPC chanel independently of the client, while allowing multiple clients to share the same channel (e.g. as in Stratum where we use 3 clients). Moreover, we refactor the P4RuntimeClient API to support multiple P4Runtime-internal device ID using the same client. While before the client was associated to one of such ID. Finally, we provide an abstract implementation for gRPC-based driver behaviors, reducing code duplication in P4Runtime, gNMI and gNOI drivers. Change-Id: I1a46352bbbef1e0d24042f169ae8ba580202944f
14 lines
367 B
Python
14 lines
367 B
Python
COMPILE_DEPS = CORE_DEPS + [
|
|
"//protocols/grpc/api:onos-protocols-grpc-api",
|
|
"@io_grpc_grpc_java//core",
|
|
"@io_grpc_grpc_java//netty",
|
|
"@io_grpc_grpc_java//protobuf-lite",
|
|
"@com_google_protobuf//:protobuf_java",
|
|
"@com_google_api_grpc_proto_google_common_protos//jar",
|
|
"@io_netty_netty_handler//jar",
|
|
]
|
|
|
|
osgi_jar(
|
|
deps = COMPILE_DEPS,
|
|
)
|