Merge pull request #69511 from VallariAg/wip-update-submodule-182

mgr/dashboard: bump nvmeof submodule to 1.8.2
This commit is contained in:
Vallari Agrawal 2026-06-17 21:14:50 +05:30 committed by GitHub
commit e4cf2f0c84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 502 additions and 196 deletions

@ -1 +1 @@
Subproject commit e27436eddacf8d4b2eace77c5fbd250adf48a155
Subproject commit c862723fe6dcc2fd3d5217b7fd4772e5311c352e

View File

@ -71,6 +71,9 @@ service Gateway {
// Delete a subsystem network
rpc del_subsystem_network(del_subsystem_network_req) returns(req_status) {}
// Refresh auto-listeners for all network masks configured on the given subsystem on this gateway
rpc gw_refresh_network(gw_refresh_network_req) returns(gw_refresh_network_status) {}
// Add KMIP server endpoints
rpc add_kmip_server_endpoints(add_kmip_server_endpoints_req) returns(req_status) {}
@ -125,6 +128,9 @@ service Gateway {
// Removes a host from a subsystem
rpc remove_host(remove_host_req) returns (req_status) {}
// Set keep host connected flag
rpc set_keep_host_connected(set_keep_host_connected_req) returns (req_status) {}
// Changes a host inband authentication keys
rpc change_host_key(change_host_key_req) returns (req_status) {}
@ -326,6 +332,17 @@ message del_subsystem_network_req {
string network_mask = 2;
}
message gw_refresh_network_req {
string subsystem_nqn = 1;
}
message gw_refresh_network_status {
int32 status = 1;
string error_message = 2;
repeated string added = 3;
repeated string removed = 4;
}
message kmip_server_endpoint {
string address = 1;
optional uint32 port = 2;
@ -395,6 +412,12 @@ message remove_host_req {
string subsystem_nqn = 1;
string host_nqn = 2;
optional bool force = 3;
optional bool keep_connections = 4;
}
message set_keep_host_connected_req {
string subsystem_nqn = 1;
string host_nqn = 2;
}
message list_hosts_req {
@ -567,6 +590,7 @@ message namespace {
optional string nonce = 7;
optional bool auto_visible = 8;
repeated string hosts = 9;
optional string rados_namespace_name = 10;
}
message subsystems_info_cli {
@ -749,6 +773,7 @@ message connection {
optional string subsystem = 12;
optional bool disconnected_due_to_keepalive_timeout = 13;
optional DHCHAPControllerKeyOrigin dhchap_controller_origin = 14;
optional bool host_deleted = 15;
}
message connections_info {

File diff suppressed because one or more lines are too long

View File

@ -44,6 +44,11 @@ class GatewayStub(object):
request_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.del_subsystem_network_req.SerializeToString,
response_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.FromString,
)
self.gw_refresh_network = channel.unary_unary(
'/Gateway/gw_refresh_network',
request_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.gw_refresh_network_req.SerializeToString,
response_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.gw_refresh_network_status.FromString,
)
self.add_kmip_server_endpoints = channel.unary_unary(
'/Gateway/add_kmip_server_endpoints',
request_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.add_kmip_server_endpoints_req.SerializeToString,
@ -134,6 +139,11 @@ class GatewayStub(object):
request_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.remove_host_req.SerializeToString,
response_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.FromString,
)
self.set_keep_host_connected = channel.unary_unary(
'/Gateway/set_keep_host_connected',
request_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.set_keep_host_connected_req.SerializeToString,
response_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.FromString,
)
self.change_host_key = channel.unary_unary(
'/Gateway/change_host_key',
request_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.change_host_key_req.SerializeToString,
@ -281,6 +291,13 @@ class GatewayServicer(object):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def gw_refresh_network(self, request, context):
"""Refresh auto-listeners for all network masks configured on the given subsystem on this gateway
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_kmip_server_endpoints(self, request, context):
"""Add KMIP server endpoints
"""
@ -407,6 +424,13 @@ class GatewayServicer(object):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def set_keep_host_connected(self, request, context):
"""Set keep host connected flag
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def change_host_key(self, request, context):
"""Changes a host inband authentication keys
"""
@ -580,6 +604,11 @@ def add_GatewayServicer_to_server(servicer, server):
request_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.del_subsystem_network_req.FromString,
response_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.SerializeToString,
),
'gw_refresh_network': grpc.unary_unary_rpc_method_handler(
servicer.gw_refresh_network,
request_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.gw_refresh_network_req.FromString,
response_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.gw_refresh_network_status.SerializeToString,
),
'add_kmip_server_endpoints': grpc.unary_unary_rpc_method_handler(
servicer.add_kmip_server_endpoints,
request_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.add_kmip_server_endpoints_req.FromString,
@ -670,6 +699,11 @@ def add_GatewayServicer_to_server(servicer, server):
request_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.remove_host_req.FromString,
response_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.SerializeToString,
),
'set_keep_host_connected': grpc.unary_unary_rpc_method_handler(
servicer.set_keep_host_connected,
request_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.set_keep_host_connected_req.FromString,
response_serializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.SerializeToString,
),
'change_host_key': grpc.unary_unary_rpc_method_handler(
servicer.change_host_key,
request_deserializer=dashboard_dot_services_dot_proto_dot_gateway__pb2.change_host_key_req.FromString,
@ -882,6 +916,23 @@ class Gateway(object):
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def gw_refresh_network(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Gateway/gw_refresh_network',
dashboard_dot_services_dot_proto_dot_gateway__pb2.gw_refresh_network_req.SerializeToString,
dashboard_dot_services_dot_proto_dot_gateway__pb2.gw_refresh_network_status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def add_kmip_server_endpoints(request,
target,
@ -1188,6 +1239,23 @@ class Gateway(object):
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def set_keep_host_connected(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/Gateway/set_keep_host_connected',
dashboard_dot_services_dot_proto_dot_gateway__pb2.set_keep_host_connected_req.SerializeToString,
dashboard_dot_services_dot_proto_dot_gateway__pb2.req_status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def change_host_key(request,
target,