diff --git a/seaweed-block/README.md b/seaweed-block/README.md index d78d848f2e..b8664a5ded 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -36,8 +36,9 @@ This is an **alpha** product path for supported lab clusters, not production. | Actionable read-only CRD status + Events | Available | Bounded SwBlockVolume finalizer lifecycle | Beta candidate | | Returned-replica ACK eligibility executor | Beta candidate | Returned-replica failback runtime | Source-gated | | Returned-replica rebuild traffic | Planned | Frontend publication after failback | Planned | -| NVMe/TCP CSI multipath + backend write batching | Source-gated | Backup/snapshot/restore | Planned | +| NVMe/TCP CSI multipath + backend write batching | Source-gated | NVMe/RDMA Kubernetes CSI publish/attach | Source-gated | | WAL multi-block record opt-in | Source-gated | WAL format default change | Not claimed | +| Backup/snapshot/restore | Planned | NVMe/RDMA failover or performance SLO | Not claimed | | Production SLO/performance claims | Not claimed | Hosted production UI | Not claimed | ## What You Can Do Today @@ -87,9 +88,10 @@ This is an **alpha** product path for supported lab clusters, not production. record opt-in has mounted profile and restart/recovery compatibility evidence, plus mounted durable-status `HeadLSN` confirmation, but remains default-off and requires a future matching-image release smoke before it becomes a public - image claim. A separate source-gated standalone Linux gate now proves a - standard `nvme connect -t rdma` write/read/flush path through the Seaweed - backend on the supported RoCE lab. RDMA is not yet published through CSI. + image claim. The opt-in NVMe/RDMA path now carries an explicit transport from + StorageClass through blockmaster publication and CSI NodeStage, mounts a + dynamic PVC on a second RoCE host, and verifies writer/reader data through a + standard Linux `nvme connect -t rdma` controller. It remains source-gated. These are supported-lab source-gated claims, not broad NVMe compatibility, production HA, or performance/SLO claims. - Replay support bundles offline. @@ -114,8 +116,9 @@ These are narrow alpha claims tied to documented gates. See parity beyond the documented supported-lab gates. The CSI-node reconnect owner, host-path reconnect gate, desired path-set replacement gate, and stale path pruning gate exist only as source-gated NVMe/TCP evidence. The - NVMe/RDMA path has passed its standalone lifecycle hardening gate but remains - standalone-only until the Kubernetes publish/attach gate passes. + NVMe/RDMA path has standalone and Kubernetes single-path publish/attach + evidence, but no RDMA multipath, reconnect/failover, performance, or SLO + claim. - Broad distro/kernel/initiator compatibility. - Upgrade or rollback execution. The status layer can report install drift, but it does not run Helm or kubectl mutations. diff --git a/seaweed-block/charts/seaweed-block/README.md b/seaweed-block/charts/seaweed-block/README.md index e1b9ca3e9d..526ce9ef5c 100644 --- a/seaweed-block/charts/seaweed-block/README.md +++ b/seaweed-block/charts/seaweed-block/README.md @@ -84,7 +84,28 @@ blockNodes: when set, blockvolume `data_addr` and NVMe/TCP or iSCSI publish targets use that address while `ctrl_addr` remains on `internalIP`. Use `frontendNetworkClass: 100gbe_tcp` for a TCP frontend on the lab 100GbE data -network. This is not an NVMe/RDMA or RoCE claim. +network. + +The source-gated NVMe/RDMA path is explicit and remains off by default: + +```yaml +storageClass: + protocol: nvme + nvmeTransport: rdma +network: + externalNVMe: true + frontendNetworkClass: 100gbe_roce + blockNodes: + - name: m02 + kubernetesNode: m02 + internalIP: 192.168.1.184 + frontendIP: 10.0.0.3 +``` + +RDMA requires a non-loopback RoCE frontend address and host `nvme-rdma`, +`nvmet-rdma`, NBD, configfs, and RDMA-device prerequisites. This supported-lab +path does not claim RDMA multipath, failover, performance improvement, or an +SLO. `network.rejectLoopbackPublishTargets` records the intended safety boundary. Some blockmaster launcher flags are gated by `compat.*` settings because older diff --git a/seaweed-block/charts/seaweed-block/crds/swblockvolumes.block.seaweedfs.com.yaml b/seaweed-block/charts/seaweed-block/crds/swblockvolumes.block.seaweedfs.com.yaml index f7a57def75..71f943b172 100644 --- a/seaweed-block/charts/seaweed-block/crds/swblockvolumes.block.seaweedfs.com.yaml +++ b/seaweed-block/charts/seaweed-block/crds/swblockvolumes.block.seaweedfs.com.yaml @@ -160,6 +160,11 @@ spec: type: string enum: - nvme + transport: + type: string + enum: + - tcp + - rdma nqn: type: string nsid: diff --git a/seaweed-block/charts/seaweed-block/templates/csi-node.yaml b/seaweed-block/charts/seaweed-block/templates/csi-node.yaml index f501223bbb..f7689c3704 100644 --- a/seaweed-block/charts/seaweed-block/templates/csi-node.yaml +++ b/seaweed-block/charts/seaweed-block/templates/csi-node.yaml @@ -27,7 +27,7 @@ spec: imagePullPolicy: {{ .Values.csiImage.pullPolicy }} command: ["/bin/sh", "-c"] args: - - "modprobe iscsi_tcp || true; modprobe nvme_tcp || true; modprobe dm_multipath || true; modprobe scsi_dh_alua || true" + - "modprobe iscsi_tcp || true; modprobe nvme_tcp || true; modprobe nvme_rdma || true; modprobe dm_multipath || true; modprobe scsi_dh_alua || true" securityContext: privileged: true volumeMounts: diff --git a/seaweed-block/charts/seaweed-block/templates/storageclass.yaml b/seaweed-block/charts/seaweed-block/templates/storageclass.yaml index 8a54d94233..43e5b5bc11 100644 --- a/seaweed-block/charts/seaweed-block/templates/storageclass.yaml +++ b/seaweed-block/charts/seaweed-block/templates/storageclass.yaml @@ -1,4 +1,10 @@ {{- if .Values.storageClass.create }} +{{- if and (eq .Values.storageClass.nvmeTransport "rdma") (ne .Values.storageClass.protocol "nvme") }} +{{- fail "storageClass.nvmeTransport=rdma requires storageClass.protocol=nvme" }} +{{- end }} +{{- if and (eq .Values.storageClass.nvmeTransport "rdma") (not .Values.network.externalNVMe) }} +{{- fail "storageClass.nvmeTransport=rdma requires network.externalNVMe=true" }} +{{- end }} apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: @@ -12,6 +18,9 @@ allowVolumeExpansion: {{ .Values.storageClass.allowVolumeExpansion }} parameters: replicationFactor: {{ .Values.storageClass.replicationFactor | quote }} sw-block.seaweedfs.com/protocol: {{ .Values.storageClass.protocol | quote }} + {{- if eq .Values.storageClass.protocol "nvme" }} + sw-block.seaweedfs.com/nvme-transport: {{ .Values.storageClass.nvmeTransport | quote }} + {{- end }} {{- if and .Values.chap.enabled .Values.storageClass.nodeStageSecret.enabled }} csi.storage.k8s.io/node-stage-secret-name: {{ .Values.chap.secretName | quote }} csi.storage.k8s.io/node-stage-secret-namespace: {{ .Values.appNamespace | quote }} diff --git a/seaweed-block/charts/seaweed-block/values.schema.json b/seaweed-block/charts/seaweed-block/values.schema.json index 54913293f4..3443e49ebf 100644 --- a/seaweed-block/charts/seaweed-block/values.schema.json +++ b/seaweed-block/charts/seaweed-block/values.schema.json @@ -24,7 +24,8 @@ "type": "object", "properties": { "replicationFactor": { "type": "integer", "minimum": 1 }, - "protocol": { "type": "string", "enum": ["iscsi", "nvme"] } + "protocol": { "type": "string", "enum": ["iscsi", "nvme"] }, + "nvmeTransport": { "type": "string", "enum": ["tcp", "rdma"] } } }, "blockmaster": { diff --git a/seaweed-block/charts/seaweed-block/values.yaml b/seaweed-block/charts/seaweed-block/values.yaml index 9f44df7107..732f543302 100644 --- a/seaweed-block/charts/seaweed-block/values.yaml +++ b/seaweed-block/charts/seaweed-block/values.yaml @@ -68,6 +68,9 @@ storageClass: allowVolumeExpansion: false replicationFactor: 1 protocol: iscsi + # tcp is the backward-compatible NVMe fabric. Set protocol=nvme and + # nvmeTransport=rdma to opt into the kernel NVMe/RDMA path. + nvmeTransport: tcp nodeStageSecret: enabled: true diff --git a/seaweed-block/cmd/blockvolume/iscsi_portal_addr_test.go b/seaweed-block/cmd/blockvolume/iscsi_portal_addr_test.go index f17d71f4db..74740c08eb 100644 --- a/seaweed-block/cmd/blockvolume/iscsi_portal_addr_test.go +++ b/seaweed-block/cmd/blockvolume/iscsi_portal_addr_test.go @@ -77,12 +77,14 @@ func TestParseFlags_NVMERDMARejectsTCPMaxH2COption(t *testing.T) { } } -func TestNVMERDMAStandaloneTargetIsNotPublishedToCSI(t *testing.T) { - if shouldPublishNVMeFrontendTarget("rdma") { - t.Fatal("standalone RDMA target must not enter master/CSI publish context") +func TestPhase165_NVMeFrontendTargetPublicationRequiresKnownTransport(t *testing.T) { + for _, transport := range []string{"tcp", "rdma"} { + if !shouldPublishNVMeFrontendTarget(transport) { + t.Fatalf("%s target must enter master/CSI publish context", transport) + } } - if !shouldPublishNVMeFrontendTarget("tcp") { - t.Fatal("TCP target publication changed") + if shouldPublishNVMeFrontendTarget("bogus") { + t.Fatal("unknown transport must not enter master/CSI publish context") } } diff --git a/seaweed-block/cmd/blockvolume/main.go b/seaweed-block/cmd/blockvolume/main.go index d8f01ef18a..aae14e8c8d 100644 --- a/seaweed-block/cmd/blockvolume/main.go +++ b/seaweed-block/cmd/blockvolume/main.go @@ -1011,10 +1011,11 @@ func run(f flags) int { }) if shouldPublishNVMeFrontendTarget(f.nvmeTransport) { frontendTargets = append(frontendTargets, &control.FrontendTarget{ - Protocol: "nvme", - Addr: nvmeAddr, - Nqn: f.nvmeSubsysNQN, - Nsid: uint32(f.nvmeNS), + Protocol: "nvme", + Transport: f.nvmeTransport, + Addr: nvmeAddr, + Nqn: f.nvmeSubsysNQN, + Nsid: uint32(f.nvmeNS), }) h.SetFrontendTargets(frontendTargets) } @@ -1064,7 +1065,7 @@ func run(f flags) int { } func shouldPublishNVMeFrontendTarget(transport string) bool { - return transport == "tcp" + return transport == "tcp" || transport == "rdma" } func nvmeRDMATargetStartFailureReason(err error) string { diff --git a/seaweed-block/cmd/sw-block/main.go b/seaweed-block/cmd/sw-block/main.go index 388ac14539..eb8cbfe4c8 100644 --- a/seaweed-block/cmd/sw-block/main.go +++ b/seaweed-block/cmd/sw-block/main.go @@ -1263,6 +1263,7 @@ func replicaEvidenceFromWire(replica *control.ReplicaEvidence) ops.ReplicaEviden CandidateReady: replica.GetCandidateReady(), CandidateReadyReason: replica.GetCandidateReadyReason(), FrontendProtocol: replica.GetFrontendProtocol(), + FrontendTransport: replica.GetFrontendTransport(), FrontendAddr: replica.GetFrontendAddr(), FrontendNQN: replica.GetFrontendNqn(), FrontendNSID: replica.GetFrontendNsid(), @@ -1670,6 +1671,7 @@ type helmValuesStorageClass struct { Name string `yaml:"name"` ReplicationFactor int `yaml:"replicationFactor"` Protocol string `yaml:"protocol"` + NVMeTransport string `yaml:"nvmeTransport"` } type helmValuesReplication struct { @@ -1731,6 +1733,7 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { ackProfile string storageClass string protocol string + nvmeTransport string appNamespace string targetNode string nodeLimit int @@ -1753,6 +1756,7 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { fs.StringVar(&ackProfile, "ack-profile", "best-effort", "replication ACK profile: best-effort, sync-quorum, or sync-all") fs.StringVar(&storageClass, "storageclass", "sw-block-dynamic", "StorageClass name") fs.StringVar(&protocol, "protocol", "iscsi", "StorageClass frontend protocol: iscsi or nvme") + fs.StringVar(&nvmeTransport, "nvme-transport", "tcp", "NVMe fabric transport: tcp or rdma") fs.StringVar(&appNamespace, "app-namespace", "default", "default application namespace") fs.StringVar(&targetNode, "target-node", "", "optional Kubernetes node name to select for single-node values") fs.IntVar(&nodeLimit, "node-limit", 0, "optional maximum selected Ready node count") @@ -1763,7 +1767,7 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { fs.StringVar(&restartPersistence, "restart-persistence", "ephemeral", "restart persistence mode: ephemeral or hostpath") fs.StringVar(&stateHostPath, "state-hostpath", "/var/lib/sw-block", "hostPath base used when --restart-persistence=hostpath") fs.StringVar(&frontendIPMapRaw, "frontend-ip-map", "", "optional comma-separated Kubernetes node to frontend/data-plane IP map, for example m01=10.0.0.181,m02=10.0.0.184") - fs.StringVar(&frontendClass, "frontend-network-class", "", "network class for --frontend-ip-map values: management_lan or 100gbe_tcp") + fs.StringVar(&frontendClass, "frontend-network-class", "", "network class for --frontend-ip-map values: management_lan, 100gbe_tcp, or 100gbe_roce") fs.DurationVar(&timeout, "timeout", 10*time.Second, "kubectl discovery timeout") if err := fs.Parse(args); err != nil { return ops.VolumeStatusExitInvalid @@ -1788,6 +1792,14 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { fmt.Fprintf(stderr, "sw-block ops generate-helm-values: --protocol=%q invalid; want iscsi or nvme\n", protocol) return ops.VolumeStatusExitInvalid } + if !helmValuesNVMeTransportAccepted(nvmeTransport) { + fmt.Fprintf(stderr, "sw-block ops generate-helm-values: --nvme-transport=%q invalid; want tcp or rdma\n", nvmeTransport) + return ops.VolumeStatusExitInvalid + } + if protocol != "nvme" && nvmeTransport != "tcp" { + fmt.Fprintln(stderr, "sw-block ops generate-helm-values: --nvme-transport=rdma requires --protocol=nvme") + return ops.VolumeStatusExitInvalid + } if !helmValuesRestartPersistenceAccepted(restartPersistence) { fmt.Fprintf(stderr, "sw-block ops generate-helm-values: --restart-persistence=%q invalid; want ephemeral or hostpath\n", restartPersistence) return ops.VolumeStatusExitInvalid @@ -1807,13 +1819,17 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { return ops.VolumeStatusExitInvalid } if !helmValuesFrontendNetworkClassAccepted(frontendClass) { - fmt.Fprintf(stderr, "sw-block ops generate-helm-values: --frontend-network-class=%q invalid; want management_lan or 100gbe_tcp\n", frontendClass) + fmt.Fprintf(stderr, "sw-block ops generate-helm-values: --frontend-network-class=%q invalid; want management_lan, 100gbe_tcp, or 100gbe_roce\n", frontendClass) return ops.VolumeStatusExitInvalid } } else if strings.TrimSpace(frontendClass) != "" { fmt.Fprintln(stderr, "sw-block ops generate-helm-values: --frontend-network-class requires --frontend-ip-map") return ops.VolumeStatusExitInvalid } + if nvmeTransport == "rdma" && (len(frontendIPMap) == 0 || frontendClass != "100gbe_roce") { + fmt.Fprintln(stderr, "sw-block ops generate-helm-values: NVMe/RDMA requires --frontend-ip-map and --frontend-network-class=100gbe_roce") + return ops.VolumeStatusExitInvalid + } ctx, cancel := context.WithTimeout(context.Background(), timeout) defer cancel() @@ -1839,7 +1855,7 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { multiNode := len(selected) > 1 externalISCSI := multiNode && protocol == "iscsi" - externalNVMe := multiNode && protocol == "nvme" + externalNVMe := protocol == "nvme" && (multiNode || nvmeTransport == "rdma") if externalISCSI && chapSecret == "" { chapSecret = generateHelmValuesSecret() } @@ -1852,6 +1868,7 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { Name: storageClass, ReplicationFactor: replicationFactor, Protocol: protocol, + NVMeTransport: nvmeTransport, }, Replication: helmValuesReplication{ AckProfile: ackProfile, @@ -1860,8 +1877,8 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { Network: helmValuesNetwork{ ExternalISCSI: externalISCSI, ExternalNVMe: externalNVMe, - ExternalStatus: multiNode, - RejectLoopbackPublishTargets: multiNode, + ExternalStatus: multiNode || nvmeTransport == "rdma", + RejectLoopbackPublishTargets: multiNode || nvmeTransport == "rdma", }, Compat: helmValuesCompat{ LauncherRejectLoopbackFlag: false, @@ -1942,6 +1959,7 @@ func runOpsGenerateHelmValues(args []string, stdout, stderr io.Writer) int { fmt.Fprintf(stdout, "frontend_network_class=%s\n", emptyCLI(frontendClass)) fmt.Fprintf(stdout, "chap_enabled=%t\n", externalISCSI) fmt.Fprintf(stdout, "protocol=%s\n", protocol) + fmt.Fprintf(stdout, "nvme_transport=%s\n", nvmeTransport) fmt.Fprintf(stdout, "replication_factor=%d\n", replicationFactor) fmt.Fprintf(stdout, "ack_profile=%s\n", ackProfile) fmt.Fprintf(stdout, "restart_persistence_mode=%s\n", restartPersistence) @@ -1969,6 +1987,10 @@ func helmValuesProtocolAccepted(value string) bool { } } +func helmValuesNVMeTransportAccepted(value string) bool { + return value == "tcp" || value == "rdma" +} + func helmValuesRestartPersistenceAccepted(value string) bool { switch value { case "ephemeral", "hostpath": @@ -1980,7 +2002,7 @@ func helmValuesRestartPersistenceAccepted(value string) bool { func helmValuesFrontendNetworkClassAccepted(value string) bool { switch value { - case "management_lan", "100gbe_tcp": + case "management_lan", "100gbe_tcp", "100gbe_roce": return true default: return false @@ -2253,7 +2275,7 @@ func usage(w io.Writer) { fmt.Fprintln(w, " sw-block ops report --master-api --out ") fmt.Fprintln(w, " sw-block ops dashboard --from-bundle [--listen 127.0.0.1:9334]") fmt.Fprintln(w, " sw-block ops dashboard --master-api [--listen 127.0.0.1:9334]") - fmt.Fprintln(w, " sw-block ops generate-helm-values --out values.yaml [--target-node ] [--replication-factor ] [--protocol iscsi|nvme]") + fmt.Fprintln(w, " sw-block ops generate-helm-values --out values.yaml [--target-node ] [--replication-factor ] [--protocol iscsi|nvme] [--nvme-transport tcp|rdma]") fmt.Fprintln(w, " [--restart-persistence ephemeral|hostpath] [--state-hostpath /var/lib/sw-block] [--timeout 10s]") fmt.Fprintln(w, " sw-block ops operator-status --dry-run [--master-api |--from-bundle ] [--cleanup-summary ] [--interval 30s]") fmt.Fprintln(w, " sw-block ops lifecycle-owner [--dry-run] [--namespace ] [--interval 30s]") diff --git a/seaweed-block/cmd/sw-block/main_test.go b/seaweed-block/cmd/sw-block/main_test.go index 5fff9b798d..07af7d5c32 100644 --- a/seaweed-block/cmd/sw-block/main_test.go +++ b/seaweed-block/cmd/sw-block/main_test.go @@ -2775,6 +2775,55 @@ func TestOpsGenerateHelmValuesMultiNodeNVMeFrontendIPMap(t *testing.T) { } } +func TestPhase165_OpsGenerateHelmValuesNVMERDMA(t *testing.T) { + oldRunCommand := opsGenerateHelmValuesRunCommand + opsGenerateHelmValuesRunCommand = fixtureCmdKubectl(map[string]string{ + "kubectl get nodes -o wide --no-headers": cmdHelmNodeWide, + }) + defer func() { opsGenerateHelmValuesRunCommand = oldRunCommand }() + + outPath := filepath.Join(t.TempDir(), "values.yaml") + var stdout, stderr bytes.Buffer + code := run([]string{ + "ops", "generate-helm-values", "--out", outPath, "--replication-factor", "1", + "--protocol", "nvme", "--nvme-transport", "rdma", + "--frontend-ip-map", "m01=10.0.0.181,m02=10.0.0.184,tp01=10.0.0.188", + "--frontend-network-class", "100gbe_roce", + }, &stdout, &stderr) + if code != ops.VolumeStatusExitOK { + t.Fatalf("exit=%d stderr=%s stdout=%s", code, stderr.String(), stdout.String()) + } + for _, want := range []string{"network_mode=external-nvme", "protocol=nvme", "nvme_transport=rdma", "frontend_network_class=100gbe_roce"} { + if !strings.Contains(stdout.String(), want) { + t.Fatalf("stdout missing %q:\n%s", want, stdout.String()) + } + } + values, err := os.ReadFile(outPath) + if err != nil { + t.Fatal(err) + } + for _, want := range []string{"protocol: nvme", "nvmeTransport: rdma", "externalNVMe: true", "frontendIP: 10.0.0.181", "frontendNetworkClass: 100gbe_roce"} { + if !strings.Contains(string(values), want) { + t.Fatalf("values missing %q:\n%s", want, values) + } + } +} + +func TestPhase165_OpsGenerateHelmValuesNVMERDMARequiresRoCEMap(t *testing.T) { + for _, args := range [][]string{ + {"--protocol", "iscsi", "--nvme-transport", "rdma"}, + {"--protocol", "nvme", "--nvme-transport", "rdma"}, + {"--protocol", "nvme", "--nvme-transport", "rdma", "--frontend-ip-map", "m01=10.0.0.181", "--frontend-network-class", "100gbe_tcp"}, + } { + var stdout, stderr bytes.Buffer + base := []string{"ops", "generate-helm-values", "--out", filepath.Join(t.TempDir(), "values.yaml")} + code := run(append(base, args...), &stdout, &stderr) + if code != ops.VolumeStatusExitInvalid { + t.Fatalf("args=%v exit=%d want invalid stdout=%s stderr=%s", args, code, stdout.String(), stderr.String()) + } + } +} + func TestOpsGenerateHelmValuesRejectsIncompleteFrontendIPMap(t *testing.T) { oldRunCommand := opsGenerateHelmValuesRunCommand opsGenerateHelmValuesRunCommand = fixtureCmdKubectl(map[string]string{ @@ -2811,6 +2860,17 @@ func TestNodeEvidenceFromWirePreservesFrontendAddress(t *testing.T) { } } +func TestReplicaEvidenceFromWirePreservesFrontendTransport(t *testing.T) { + replica := replicaEvidenceFromWire(&control.ReplicaEvidence{ + FrontendProtocol: "nvme", + FrontendTransport: "rdma", + FrontendAddr: "10.0.0.3:4420", + }) + if replica.FrontendTransport != "rdma" { + t.Fatalf("frontend transport evidence dropped: %+v", replica) + } +} + func TestOpsGenerateHelmValuesRestartPersistenceHostPath(t *testing.T) { oldRunCommand := opsGenerateHelmValuesRunCommand opsGenerateHelmValuesRunCommand = fixtureCmdKubectl(map[string]string{ diff --git a/seaweed-block/core/authority/observation_types.go b/seaweed-block/core/authority/observation_types.go index 505595fcf1..17cd91f028 100644 --- a/seaweed-block/core/authority/observation_types.go +++ b/seaweed-block/core/authority/observation_types.go @@ -74,12 +74,13 @@ type SlotFact struct { // NOT an authority, placement, or readiness input; CSI/controller // surfaces may use it only to publish an already-running endpoint. type FrontendTargetFact struct { - Protocol string - Addr string - IQN string - NQN string - LUN uint32 - NSID uint32 + Protocol string + Transport string + Addr string + IQN string + NQN string + LUN uint32 + NSID uint32 } // LocalRoleClaim is the raw role claim a server makes about diff --git a/seaweed-block/core/csi/backend.go b/seaweed-block/core/csi/backend.go index ef75cd3f02..95ae0f0e85 100644 --- a/seaweed-block/core/csi/backend.go +++ b/seaweed-block/core/csi/backend.go @@ -10,10 +10,13 @@ var ErrPublishTargetNotFound = errors.New("csi: publish target not found") var ErrVolumeConflict = errors.New("csi: volume already exists with different spec") type Protocol string +type FrontendTransport string const ( - ProtocolISCSI Protocol = "iscsi" - ProtocolNVMe Protocol = "nvme" + ProtocolISCSI Protocol = "iscsi" + ProtocolNVMe Protocol = "nvme" + FrontendTransportTCP FrontendTransport = "tcp" + FrontendTransportRDMA FrontendTransport = "rdma" EventTypeCSIReattachObserved = "csi_reattach_observed" EventSeverityInfo = "info" @@ -26,16 +29,24 @@ func normalizeProtocol(p Protocol) Protocol { return p } +func normalizeFrontendTransport(protocol Protocol, transport FrontendTransport) FrontendTransport { + if protocol == ProtocolNVMe && transport == "" { + return FrontendTransportTCP + } + return transport +} + // PublishTarget is a read-only frontend target fact. Epoch and // EndpointVersion are evidence copied from master status so recovery gates can // compare before/after target generations. They are not exposed in CSI // publish_context and do not give CSI authority mutation capability. type PublishTarget struct { - VolumeID string - ReplicaID string - Epoch uint64 - EndpointVersion uint64 - Protocol Protocol + VolumeID string + ReplicaID string + Epoch uint64 + EndpointVersion uint64 + Protocol Protocol + FrontendTransport FrontendTransport ISCSIAddr string ISCSIAddrs []string @@ -97,6 +108,7 @@ type VolumeSpec struct { SizeBytes uint64 ReplicationFactor int Protocol Protocol + FrontendTransport FrontendTransport PVCName string PVCNamespace string PVCUID string @@ -109,6 +121,9 @@ func publishContext(t PublishTarget) map[string]string { if t.Protocol != "" { ctx["protocol"] = string(t.Protocol) } + if t.Protocol == ProtocolNVMe { + ctx["nvmeTransport"] = string(normalizeFrontendTransport(t.Protocol, t.FrontendTransport)) + } if t.ISCSIAddr != "" && t.IQN != "" { ctx["iscsiAddr"] = t.ISCSIAddr ctx["iqn"] = t.IQN diff --git a/seaweed-block/core/csi/controller.go b/seaweed-block/core/csi/controller.go index 9ac9a6d165..c4471f4bd9 100644 --- a/seaweed-block/core/csi/controller.go +++ b/seaweed-block/core/csi/controller.go @@ -12,7 +12,10 @@ import ( "google.golang.org/grpc/status" ) -const storageClassProtocolParameter = "sw-block.seaweedfs.com/protocol" +const ( + storageClassProtocolParameter = "sw-block.seaweedfs.com/protocol" + storageClassNVMeTransportParameter = "sw-block.seaweedfs.com/nvme-transport" +) type ControllerServer struct { csipb.UnimplementedControllerServer @@ -67,6 +70,9 @@ func (s *ControllerServer) CreateVolume(ctx context.Context, req *csipb.CreateVo "replicationFactor": strconv.Itoa(created.ReplicationFactor), "protocol": string(protocol), } + if protocol == ProtocolNVMe { + volumeContext["nvmeTransport"] = string(normalizeFrontendTransport(protocol, created.FrontendTransport)) + } if iscsiMultipathFromContext(req.GetParameters()) { volumeContext["stage2_multipath"] = "true" } @@ -260,11 +266,16 @@ func volumeSpecFromCreateRequest(req *csipb.CreateVolumeRequest) (VolumeSpec, er if err != nil { return VolumeSpec{}, err } + frontendTransport, err := frontendTransportFromParameters(protocol, req.GetParameters()) + if err != nil { + return VolumeSpec{}, err + } return VolumeSpec{ VolumeID: req.GetName(), SizeBytes: uint64(size), ReplicationFactor: rf, Protocol: protocol, + FrontendTransport: frontendTransport, PVCName: req.GetParameters()["csi.storage.k8s.io/pvc/name"], PVCNamespace: req.GetParameters()["csi.storage.k8s.io/pvc/namespace"], PVCUID: req.GetParameters()["csi.storage.k8s.io/pvc/uid"], @@ -273,6 +284,25 @@ func volumeSpecFromCreateRequest(req *csipb.CreateVolumeRequest) (VolumeSpec, er }, nil } +func frontendTransportFromParameters(protocol Protocol, params map[string]string) (FrontendTransport, error) { + raw := params[storageClassNVMeTransportParameter] + if protocol != ProtocolNVMe { + if raw != "" { + return "", status.Errorf(codes.InvalidArgument, "%s is valid only with protocol=nvme", storageClassNVMeTransportParameter) + } + return "", nil + } + if raw == "" { + return FrontendTransportTCP, nil + } + switch FrontendTransport(raw) { + case FrontendTransportTCP, FrontendTransportRDMA: + return FrontendTransport(raw), nil + default: + return "", status.Errorf(codes.InvalidArgument, "invalid NVMe frontend transport %q", raw) + } +} + func protocolFromParameters(params map[string]string) (Protocol, error) { protocol := Protocol("") source := "" diff --git a/seaweed-block/core/csi/controller_test.go b/seaweed-block/core/csi/controller_test.go index ed4c817324..b7720b3d0f 100644 --- a/seaweed-block/core/csi/controller_test.go +++ b/seaweed-block/core/csi/controller_test.go @@ -505,6 +505,45 @@ func TestG15c_ControllerCreateVolume_RecordsProtocolSelection(t *testing.T) { } } +func TestPhase165_ControllerCreateVolumeCarriesNVMERDMATransport(t *testing.T) { + prov := &stubProvisioner{} + s := NewControllerServerWithProvisioner(&stubLookup{}, prov) + resp, err := s.CreateVolume(context.Background(), &csipb.CreateVolumeRequest{ + Name: "pvc-rdma", + CapacityRange: &csipb.CapacityRange{RequiredBytes: 1 << 30}, + VolumeCapabilities: []*csipb.VolumeCapability{testVolumeCapability()}, + Parameters: map[string]string{ + storageClassProtocolParameter: "nvme", + storageClassNVMeTransportParameter: "rdma", + }, + }) + if err != nil { + t.Fatalf("CreateVolume: %v", err) + } + if got := prov.calls[0].FrontendTransport; got != FrontendTransportRDMA { + t.Fatalf("provisioned transport=%q want rdma", got) + } + if got := resp.GetVolume().GetVolumeContext()["nvmeTransport"]; got != "rdma" { + t.Fatalf("volume context transport=%q want rdma", got) + } +} + +func TestPhase165_ControllerCreateVolumeRejectsInvalidNVMeTransportUse(t *testing.T) { + for _, params := range []map[string]string{ + {storageClassProtocolParameter: "iscsi", storageClassNVMeTransportParameter: "rdma"}, + {storageClassProtocolParameter: "nvme", storageClassNVMeTransportParameter: "bogus"}, + } { + s := NewControllerServerWithProvisioner(&stubLookup{}, &stubProvisioner{}) + _, err := s.CreateVolume(context.Background(), &csipb.CreateVolumeRequest{ + Name: "pvc-invalid", CapacityRange: &csipb.CapacityRange{RequiredBytes: 1 << 30}, + VolumeCapabilities: []*csipb.VolumeCapability{testVolumeCapability()}, Parameters: params, + }) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("CreateVolume params=%v error=%v want InvalidArgument", params, err) + } + } +} + func TestControllerCreateVolume_CarriesStage2MultipathVolumeContext(t *testing.T) { prov := &stubProvisioner{} s := NewControllerServerWithProvisioner(nil, prov) diff --git a/seaweed-block/core/csi/linux_util.go b/seaweed-block/core/csi/linux_util.go index b9a46c575c..0f4491f778 100644 --- a/seaweed-block/core/csi/linux_util.go +++ b/seaweed-block/core/csi/linux_util.go @@ -306,12 +306,16 @@ func (r *realISCSIUtil) RescanDevice(ctx context.Context, iqn string) error { type realNVMeUtil struct{} -func (r *realNVMeUtil) Connect(ctx context.Context, addr, nqn string) error { +func (r *realNVMeUtil) Connect(ctx context.Context, transport FrontendTransport, addr, nqn string) error { + transport = normalizeFrontendTransport(ProtocolNVMe, transport) + if transport != FrontendTransportTCP && transport != FrontendTransportRDMA { + return fmt.Errorf("invalid NVMe transport %q; want tcp or rdma", transport) + } host, port, err := splitHostPort(addr) if err != nil { return err } - cmd := exec.CommandContext(ctx, "nvme", "connect", "-t", "tcp", "-a", host, "-s", port, "-n", nqn) + cmd := exec.CommandContext(ctx, "nvme", "connect", "-t", string(transport), "-a", host, "-s", port, "-n", nqn) out, err := cmd.CombinedOutput() if err != nil { if nvmeConnectAlreadyConnected(string(out)) { diff --git a/seaweed-block/core/csi/master_backend.go b/seaweed-block/core/csi/master_backend.go index 834ba1a5a0..b18eec1888 100644 --- a/seaweed-block/core/csi/master_backend.go +++ b/seaweed-block/core/csi/master_backend.go @@ -94,6 +94,7 @@ func (p *ControlLifecycleProvisioner) CreateVolume(ctx context.Context, spec Vol SizeBytes: spec.SizeBytes, ReplicationFactor: int32(spec.ReplicationFactor), Protocol: string(spec.Protocol), + FrontendTransport: string(spec.FrontendTransport), PvcName: spec.PVCName, PvcNamespace: spec.PVCNamespace, PvcUid: spec.PVCUID, @@ -107,6 +108,7 @@ func (p *ControlLifecycleProvisioner) CreateVolume(ctx context.Context, spec Vol SizeBytes: resp.GetSizeBytes(), ReplicationFactor: int(resp.GetReplicationFactor()), Protocol: normalizeProtocol(Protocol(resp.GetProtocol())), + FrontendTransport: normalizeFrontendTransport(normalizeProtocol(Protocol(resp.GetProtocol())), FrontendTransport(resp.GetFrontendTransport())), PVCName: resp.GetPvcName(), PVCNamespace: resp.GetPvcNamespace(), PVCUID: resp.GetPvcUid(), @@ -191,7 +193,8 @@ func publishTargetFromStatus(resp *control.StatusResponse, enableMultipath bool, if ft.GetProtocol() != string(ProtocolNVMe) || ft.GetAddr() == "" || ft.GetNqn() == "" || rejectFrontendAddr(ft.GetAddr(), rejectLoopback) { continue } - key := ft.GetNqn() + "\x00" + strconv.FormatUint(uint64(ft.GetNsid()), 10) + transport := normalizeFrontendTransport(ProtocolNVMe, FrontendTransport(ft.GetTransport())) + key := ft.GetNqn() + "\x00" + strconv.FormatUint(uint64(ft.GetNsid()), 10) + "\x00" + string(transport) if _, ok := nvmeByKey[key]; !ok { nvmeOrder = append(nvmeOrder, key) } @@ -204,6 +207,7 @@ func publishTargetFromStatus(resp *control.StatusResponse, enableMultipath bool, } out := base out.Protocol = ProtocolNVMe + out.FrontendTransport = normalizeFrontendTransport(ProtocolNVMe, FrontendTransport(frontends[0].GetTransport())) out.NVMeAddr = frontends[0].GetAddr() out.NQN = frontends[0].GetNqn() out.NSID = frontends[0].GetNsid() @@ -234,6 +238,7 @@ func publishTargetFromStatus(resp *control.StatusResponse, enableMultipath bool, } out := base out.Protocol = ProtocolNVMe + out.FrontendTransport = normalizeFrontendTransport(ProtocolNVMe, FrontendTransport(ft.GetTransport())) out.NVMeAddr = ft.GetAddr() out.NQN = ft.GetNqn() out.NSID = ft.GetNsid() diff --git a/seaweed-block/core/csi/master_backend_test.go b/seaweed-block/core/csi/master_backend_test.go index 6aab7d9790..bff80f4eb2 100644 --- a/seaweed-block/core/csi/master_backend_test.go +++ b/seaweed-block/core/csi/master_backend_test.go @@ -308,17 +308,18 @@ func TestControlStatusLookup_MapsNVMeStatusFrontend(t *testing.T) { ReplicaId: "r1", Assigned: true, Frontends: []*control.FrontendTarget{{ - Protocol: "nvme", - Addr: "127.0.0.1:4420", - Nqn: "nqn.2026-05.io.seaweedfs:v1", - Nsid: 1, + Protocol: "nvme", + Transport: "rdma", + Addr: "127.0.0.1:4420", + Nqn: "nqn.2026-05.io.seaweedfs:v1", + Nsid: 1, }}, }}) got, err := lookup.LookupPublishTarget(context.Background(), "v1", "node-a") if err != nil { t.Fatalf("LookupPublishTarget: %v", err) } - if got.Protocol != ProtocolNVMe || got.NVMeAddr != "127.0.0.1:4420" || got.NQN == "" || got.NSID != 1 { + if got.Protocol != ProtocolNVMe || got.FrontendTransport != FrontendTransportRDMA || got.NVMeAddr != "127.0.0.1:4420" || got.NQN == "" || got.NSID != 1 { t.Fatalf("target=%+v", got) } } @@ -390,6 +391,7 @@ func (f *fakeLifecycleClient) CreateVolume(_ context.Context, req *control.Creat SizeBytes: req.GetSizeBytes(), ReplicationFactor: req.GetReplicationFactor(), Protocol: req.GetProtocol(), + FrontendTransport: req.GetFrontendTransport(), PvcName: req.GetPvcName(), PvcNamespace: req.GetPvcNamespace(), PvcUid: req.GetPvcUid(), @@ -410,6 +412,7 @@ func TestG15c_ControlLifecycleProvisioner_CreateVolumeRoundTrip(t *testing.T) { SizeBytes: 1 << 30, ReplicationFactor: 2, Protocol: ProtocolNVMe, + FrontendTransport: FrontendTransportRDMA, PVCName: "demo-pvc", PVCNamespace: "demo-ns", PVCUID: "uid-123", @@ -424,6 +427,9 @@ func TestG15c_ControlLifecycleProvisioner_CreateVolumeRoundTrip(t *testing.T) { if client.createReq.GetProtocol() != "nvme" { t.Fatalf("protocol=%q want nvme", client.createReq.GetProtocol()) } + if client.createReq.GetFrontendTransport() != "rdma" || got.FrontendTransport != FrontendTransportRDMA { + t.Fatalf("transport request=%q response=%q want rdma", client.createReq.GetFrontendTransport(), got.FrontendTransport) + } if client.createReq.GetPvcName() != "demo-pvc" || client.createReq.GetPvcNamespace() != "demo-ns" || client.createReq.GetPvcUid() != "uid-123" || client.createReq.GetPvName() != "pvc-a" { t.Fatalf("kubernetes metadata request=%+v", client.createReq) } diff --git a/seaweed-block/core/csi/node.go b/seaweed-block/core/csi/node.go index ce67693394..e243f727e9 100644 --- a/seaweed-block/core/csi/node.go +++ b/seaweed-block/core/csi/node.go @@ -40,7 +40,7 @@ type ISCSIUtil interface { } type NVMeUtil interface { - Connect(ctx context.Context, addr, nqn string) error + Connect(ctx context.Context, transport FrontendTransport, addr, nqn string) error Disconnect(ctx context.Context, nqn string) error DisconnectPath(ctx context.Context, controller string) error GetDeviceByNQN(ctx context.Context, nqn string) (string, error) @@ -67,16 +67,17 @@ type MountUtil interface { } type stagedVolumeInfo struct { - iqn string - iscsiAddr string - iscsiAddrs []string - multipath bool - nqn string - nvmeAddr string - nvmeAddrs []string - transport string - fsType string - stagingPath string + iqn string + iscsiAddr string + iscsiAddrs []string + multipath bool + nqn string + nvmeAddr string + nvmeAddrs []string + nvmeTransport FrontendTransport + transport string + fsType string + stagingPath string } type NodeServer struct { @@ -328,6 +329,10 @@ func (s *NodeServer) stageNVMe(ctx context.Context, req *csipb.NodeStageVolumeRe if addr == "" || nqn == "" { return nil, status.Error(codes.FailedPrecondition, "no NVMe publish target") } + nvmeTransport, err := nvmeTransportFromContexts(publishContext, req.GetPublishContext(), req.GetVolumeContext()) + if err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } if len(addrs) == 0 { addrs = []string{addr} } @@ -350,14 +355,14 @@ func (s *NodeServer) stageNVMe(ctx context.Context, req *csipb.NodeStageVolumeRe return nil, status.Errorf(codes.Internal, "check nvme path connect: %v", err) } if !pathConnected { - if err := s.nvmeUtil.Connect(ctx, pathAddr, nqn); err != nil { + if err := s.nvmeUtil.Connect(ctx, nvmeTransport, pathAddr, nqn); err != nil { return nil, status.Errorf(codes.Internal, "nvme connect: %v", err) } connectStarted = true } } } else if !connected { - if err := s.nvmeUtil.Connect(ctx, addr, nqn); err != nil { + if err := s.nvmeUtil.Connect(ctx, nvmeTransport, addr, nqn); err != nil { return nil, status.Errorf(codes.Internal, "nvme connect: %v", err) } connectStarted = true @@ -411,17 +416,18 @@ func (s *NodeServer) stageNVMe(ctx context.Context, req *csipb.NodeStageVolumeRe s.stagedMu.Lock() s.staged[volumeID] = &stagedVolumeInfo{ - nqn: nqn, - nvmeAddr: addr, - nvmeAddrs: append([]string(nil), addrs...), - multipath: len(addrs) > 1, - transport: transportNVMe, - fsType: fsType, - stagingPath: stagingPath, + nqn: nqn, + nvmeAddr: addr, + nvmeAddrs: append([]string(nil), addrs...), + nvmeTransport: nvmeTransport, + multipath: len(addrs) > 1, + transport: transportNVMe, + fsType: fsType, + stagingPath: stagingPath, } s.stagedMu.Unlock() - s.logger.Printf("NodeStageVolume: %s staged transport=nvme portal=%s portals=%s target=%s multipath=%v staging=%s", volumeID, addr, strings.Join(addrs, ","), nqn, len(addrs) > 1, stagingPath) + s.logger.Printf("NodeStageVolume: %s staged transport=nvme fabric=%s portal=%s portals=%s target=%s multipath=%v staging=%s", volumeID, nvmeTransport, addr, strings.Join(addrs, ","), nqn, len(addrs) > 1, stagingPath) success = true s.reportCSIReattachObserved(ctx, volumeID, transportNVMe, addr, publish) return &csipb.NodeStageVolumeResponse{}, nil @@ -460,9 +466,10 @@ func (s *NodeServer) ReconcileMountedNVMeVolumes(ctx context.Context) (MountedNV return result, err } publishContext := map[string]string{ - "protocol": transportNVMe, - "nvmeAddr": volume.info.nvmeAddr, - "nqn": volume.info.nqn, + "protocol": transportNVMe, + "nvmeTransport": string(normalizeFrontendTransport(ProtocolNVMe, volume.info.nvmeTransport)), + "nvmeAddr": volume.info.nvmeAddr, + "nqn": volume.info.nqn, } if len(volume.info.nvmeAddrs) > 0 { publishContext["nvmeAddrs"] = strings.Join(volume.info.nvmeAddrs, ",") @@ -535,6 +542,10 @@ func (s *NodeServer) reconcileMountedNVMePaths(ctx context.Context, req *csipb.N if addr == "" || nqn == "" { return mountedNVMeReconcileOutcome{}, nil } + nvmeTransport, err := nvmeTransportFromContexts(publishContext, req.GetPublishContext(), req.GetVolumeContext()) + if err != nil { + return mountedNVMeReconcileOutcome{}, status.Error(codes.InvalidArgument, err.Error()) + } if len(addrs) == 0 { addrs = []string{addr} } @@ -557,7 +568,7 @@ func (s *NodeServer) reconcileMountedNVMePaths(ctx context.Context, req *csipb.N if pathConnected { continue } - if err := s.nvmeUtil.Connect(ctx, pathAddr, nqn); err != nil { + if err := s.nvmeUtil.Connect(ctx, nvmeTransport, pathAddr, nqn); err != nil { return mountedNVMeReconcileOutcome{}, status.Errorf(codes.Internal, "nvme reconnect path: %v", err) } outcome.connectedNewPath = true @@ -576,7 +587,7 @@ func (s *NodeServer) reconcileMountedNVMePaths(ctx context.Context, req *csipb.N return mountedNVMeReconcileOutcome{}, status.Errorf(codes.Internal, "check nvme connect: %v", err) } if !connected { - if err := s.nvmeUtil.Connect(ctx, addr, nqn); err != nil { + if err := s.nvmeUtil.Connect(ctx, nvmeTransport, addr, nqn); err != nil { return mountedNVMeReconcileOutcome{}, status.Errorf(codes.Internal, "nvme reconnect: %v", err) } outcome.connectedNewPath = true @@ -595,12 +606,13 @@ func (s *NodeServer) reconcileMountedNVMePaths(ctx context.Context, req *csipb.N s.stagedMu.Lock() s.staged[volumeID] = &stagedVolumeInfo{ - nqn: nqn, - nvmeAddr: addr, - nvmeAddrs: append([]string(nil), addrs...), - multipath: len(addrs) > 1, - transport: transportNVMe, - stagingPath: stagingPath, + nqn: nqn, + nvmeAddr: addr, + nvmeAddrs: append([]string(nil), addrs...), + nvmeTransport: nvmeTransport, + multipath: len(addrs) > 1, + transport: transportNVMe, + stagingPath: stagingPath, } s.stagedMu.Unlock() if outcome.connectedNewPath || outcome.prunedStalePath { @@ -934,6 +946,23 @@ func nvmeAddrsFromContext(ctx map[string]string) []string { return out } +func nvmeTransportFromContexts(contexts ...map[string]string) (FrontendTransport, error) { + transport := FrontendTransport("") + for _, ctx := range contexts { + if ctx != nil && ctx["nvmeTransport"] != "" { + transport = FrontendTransport(ctx["nvmeTransport"]) + break + } + } + transport = normalizeFrontendTransport(ProtocolNVMe, transport) + switch transport { + case FrontendTransportTCP, FrontendTransportRDMA: + return transport, nil + default: + return "", fmt.Errorf("invalid NVMe transport %q; want tcp or rdma", transport) + } +} + func transportFromContext(contexts ...map[string]string) string { for _, ctx := range contexts { if ctx == nil { diff --git a/seaweed-block/core/csi/node_test.go b/seaweed-block/core/csi/node_test.go index 4af29a5f77..9fdbfbc12d 100644 --- a/seaweed-block/core/csi/node_test.go +++ b/seaweed-block/core/csi/node_test.go @@ -94,21 +94,23 @@ type mockMountUtil struct { } type mockNVMeUtil struct { - connectErr error - disconnectErr error - getDeviceResult string - getDeviceErr error - connected map[string]bool - connectedPaths map[string]bool - calls []string + connectErr error + disconnectErr error + getDeviceResult string + getDeviceErr error + connected map[string]bool + connectedPaths map[string]bool + calls []string + connectTransports []FrontendTransport } func newMockNVMeUtil() *mockNVMeUtil { return &mockNVMeUtil{connected: map[string]bool{}, connectedPaths: map[string]bool{}, getDeviceResult: "/dev/nvme1n1"} } -func (m *mockNVMeUtil) Connect(_ context.Context, addr, nqn string) error { +func (m *mockNVMeUtil) Connect(_ context.Context, transport FrontendTransport, addr, nqn string) error { m.calls = append(m.calls, "connect:"+addr+":"+nqn) + m.connectTransports = append(m.connectTransports, transport) if m.connectErr != nil { return m.connectErr } @@ -687,6 +689,47 @@ func TestNodeStage_NVMeProtocolUsesNVMeTarget(t *testing.T) { if info == nil || info.transport != transportNVMe || info.nqn != "nqn.2026-05.io.seaweedfs:v1" { t.Fatalf("staged info=%+v", info) } + if len(mn.connectTransports) != 1 || mn.connectTransports[0] != FrontendTransportTCP { + t.Fatalf("legacy connect transports=%v want tcp", mn.connectTransports) + } +} + +func TestPhase165_NodeStageUsesExplicitNVMERDMATransport(t *testing.T) { + mi, mn, mm := newMockISCSIUtil(), newMockNVMeUtil(), newMockMountUtil() + ns := newTestNodeWithNVMe(mi, mn, mm) + staging := t.TempDir() + _, err := ns.NodeStageVolume(context.Background(), &csipb.NodeStageVolumeRequest{ + VolumeId: "v1", StagingTargetPath: staging, VolumeCapability: testVolumeCapability(), + PublishContext: map[string]string{ + "protocol": "nvme", "nvmeTransport": "rdma", "nvmeAddr": "10.0.0.3:4420", "nqn": "nqn.2026-05.io.seaweedfs:v1", + }, + }) + if err != nil { + t.Fatalf("NodeStageVolume: %v", err) + } + if len(mn.connectTransports) != 1 || mn.connectTransports[0] != FrontendTransportRDMA { + t.Fatalf("connect transports=%v want rdma", mn.connectTransports) + } + if info := ns.staged["v1"]; info == nil || info.nvmeTransport != FrontendTransportRDMA { + t.Fatalf("staged info=%+v", info) + } +} + +func TestPhase165_NodeStageRejectsUnknownNVMeTransport(t *testing.T) { + mi, mn, mm := newMockISCSIUtil(), newMockNVMeUtil(), newMockMountUtil() + ns := newTestNodeWithNVMe(mi, mn, mm) + _, err := ns.NodeStageVolume(context.Background(), &csipb.NodeStageVolumeRequest{ + VolumeId: "v1", StagingTargetPath: t.TempDir(), VolumeCapability: testVolumeCapability(), + PublishContext: map[string]string{ + "protocol": "nvme", "nvmeTransport": "bogus", "nvmeAddr": "10.0.0.3:4420", "nqn": "nqn.2026-05.io.seaweedfs:v1", + }, + }) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("NodeStageVolume error=%v want InvalidArgument", err) + } + if len(mn.connectTransports) != 0 { + t.Fatalf("invalid transport attempted connect: %v", mn.connectTransports) + } } func TestNodeStage_NVMeMultipathConnectsAllTargets(t *testing.T) { diff --git a/seaweed-block/core/host/master/lifecycle_service_test.go b/seaweed-block/core/host/master/lifecycle_service_test.go index d14a01c3fe..8861a983d5 100644 --- a/seaweed-block/core/host/master/lifecycle_service_test.go +++ b/seaweed-block/core/host/master/lifecycle_service_test.go @@ -21,6 +21,7 @@ func TestG15c_LifecycleService_CreateVolumePersistsDesiredIntent(t *testing.T) { SizeBytes: 1 << 30, ReplicationFactor: 2, Protocol: "nvme", + FrontendTransport: "rdma", PvcName: "demo-pvc", PvcNamespace: "demo-ns", PvcUid: "uid-123", @@ -38,6 +39,9 @@ func TestG15c_LifecycleService_CreateVolumePersistsDesiredIntent(t *testing.T) { if resp.GetProtocol() != "nvme" { t.Fatalf("response protocol=%q want nvme", resp.GetProtocol()) } + if resp.GetFrontendTransport() != "rdma" { + t.Fatalf("response transport=%q want rdma", resp.GetFrontendTransport()) + } rec, ok := h.Lifecycle().Volumes.GetVolume("pvc-a") if !ok { t.Fatal("desired volume not persisted") @@ -48,6 +52,9 @@ func TestG15c_LifecycleService_CreateVolumePersistsDesiredIntent(t *testing.T) { if rec.Spec.Protocol != "nvme" { t.Fatalf("record protocol=%q want nvme", rec.Spec.Protocol) } + if rec.Spec.FrontendTransport != "rdma" { + t.Fatalf("record transport=%q want rdma", rec.Spec.FrontendTransport) + } if rec.Spec.PVCName != "demo-pvc" || rec.Spec.PVCNamespace != "demo-ns" || rec.Spec.PVCUID != "uid-123" || rec.Spec.PVName != "pvc-a" { t.Fatalf("kubernetes metadata record=%+v", rec) } diff --git a/seaweed-block/core/host/master/observation_service.go b/seaweed-block/core/host/master/observation_service.go index c631625ce6..ba88402af9 100644 --- a/seaweed-block/core/host/master/observation_service.go +++ b/seaweed-block/core/host/master/observation_service.go @@ -219,6 +219,7 @@ func replicaEvidenceToWire(replica ops.ReplicaEvidence) *control.ReplicaEvidence CandidateReady: replica.CandidateReady, CandidateReadyReason: replica.CandidateReadyReason, FrontendProtocol: replica.FrontendProtocol, + FrontendTransport: replica.FrontendTransport, FrontendAddr: replica.FrontendAddr, FrontendNqn: replica.FrontendNQN, FrontendNsid: replica.FrontendNSID, diff --git a/seaweed-block/core/host/master/observation_service_test.go b/seaweed-block/core/host/master/observation_service_test.go index 707babd525..4bd857bb98 100644 --- a/seaweed-block/core/host/master/observation_service_test.go +++ b/seaweed-block/core/host/master/observation_service_test.go @@ -67,6 +67,17 @@ func TestNodeEvidenceToWirePreservesFrontendAddress(t *testing.T) { } } +func TestReplicaEvidenceToWirePreservesFrontendTransport(t *testing.T) { + wire := replicaEvidenceToWire(ops.ReplicaEvidence{ + FrontendProtocol: "nvme", + FrontendTransport: "rdma", + FrontendAddr: "10.0.0.3:4420", + }) + if wire.GetFrontendTransport() != "rdma" { + t.Fatalf("frontend transport evidence dropped: %+v", wire) + } +} + func TestClusterEvidenceService_GRPCRegistered(t *testing.T) { h := newTestMasterWithControllerConfig(t, t.TempDir(), authority.TopologyControllerConfig{ ExpectedSlotsPerVolume: 3, diff --git a/seaweed-block/core/host/master/observation_snapshot.go b/seaweed-block/core/host/master/observation_snapshot.go index 2e683efad1..8e154b80c7 100644 --- a/seaweed-block/core/host/master/observation_snapshot.go +++ b/seaweed-block/core/host/master/observation_snapshot.go @@ -244,6 +244,7 @@ func (h *Host) observationReplicas(volumeID string, placement lifecycle.Placemen } if len(fact.Frontends) > 0 { replica.FrontendProtocol = fact.Frontends[0].Protocol + replica.FrontendTransport = fact.Frontends[0].Transport replica.FrontendAddr = fact.Frontends[0].Addr replica.FrontendNQN = fact.Frontends[0].NQN replica.FrontendNSID = fact.Frontends[0].NSID diff --git a/seaweed-block/core/host/master/services.go b/seaweed-block/core/host/master/services.go index 0c9aa34ed9..81b8b577f3 100644 --- a/seaweed-block/core/host/master/services.go +++ b/seaweed-block/core/host/master/services.go @@ -64,6 +64,7 @@ func (s *services) CreateVolume(ctx context.Context, req *control.CreateVolumeRe SizeBytes: rec.Spec.SizeBytes, ReplicationFactor: int32(rec.Spec.ReplicationFactor), Protocol: rec.Spec.Protocol, + FrontendTransport: rec.Spec.FrontendTransport, PvcName: rec.Spec.PVCName, PvcNamespace: rec.Spec.PVCNamespace, PvcUid: rec.Spec.PVCUID, @@ -146,6 +147,7 @@ func lifecycleSpecFromWire(req *control.CreateVolumeRequest) lifecycle.VolumeSpe SizeBytes: req.GetSizeBytes(), ReplicationFactor: int(req.GetReplicationFactor()), Protocol: req.GetProtocol(), + FrontendTransport: req.GetFrontendTransport(), PVCName: req.GetPvcName(), PVCNamespace: req.GetPvcNamespace(), PVCUID: req.GetPvcUid(), @@ -413,7 +415,14 @@ func frontendTargetKey(ft *control.FrontendTarget) string { if ft == nil { return "" } - return fmt.Sprintf("%s|%s|%s|%s|%d|%d", ft.GetProtocol(), ft.GetAddr(), ft.GetIqn(), ft.GetNqn(), ft.GetLun(), ft.GetNsid()) + return fmt.Sprintf("%s|%s|%s|%s|%s|%d|%d", ft.GetProtocol(), normalizedFrontendTransport(ft.GetProtocol(), ft.GetTransport()), ft.GetAddr(), ft.GetIqn(), ft.GetNqn(), ft.GetLun(), ft.GetNsid()) +} + +func normalizedFrontendTransport(protocol, transport string) string { + if protocol == "nvme" && transport == "" { + return "tcp" + } + return transport } // validateHeartbeat rejects reports that are missing required @@ -462,10 +471,16 @@ func validateHeartbeat(r *control.HeartbeatReport) error { } switch ft.Protocol { case "iscsi": + if ft.Transport != "" { + return fmt.Errorf("heartbeat: slot[%d].frontends[%d] iscsi transport must be empty", i, j) + } if ft.Iqn == "" { return fmt.Errorf("heartbeat: slot[%d].frontends[%d] iscsi missing iqn", i, j) } case "nvme": + if ft.Transport != "" && ft.Transport != "tcp" && ft.Transport != "rdma" { + return fmt.Errorf("heartbeat: slot[%d].frontends[%d] invalid nvme transport %q", i, j, ft.Transport) + } if ft.Nqn == "" { return fmt.Errorf("heartbeat: slot[%d].frontends[%d] nvme missing nqn", i, j) } @@ -665,12 +680,13 @@ func frontendTargetsFromWire(in []*control.FrontendTarget) []authority.FrontendT continue } out = append(out, authority.FrontendTargetFact{ - Protocol: ft.Protocol, - Addr: ft.Addr, - IQN: ft.Iqn, - NQN: ft.Nqn, - LUN: ft.Lun, - NSID: ft.Nsid, + Protocol: ft.Protocol, + Transport: normalizedFrontendTransport(ft.Protocol, ft.Transport), + Addr: ft.Addr, + IQN: ft.Iqn, + NQN: ft.Nqn, + LUN: ft.Lun, + NSID: ft.Nsid, }) } return out @@ -683,12 +699,13 @@ func frontendTargetsToWire(in []authority.FrontendTargetFact) []*control.Fronten out := make([]*control.FrontendTarget, 0, len(in)) for _, ft := range in { out = append(out, &control.FrontendTarget{ - Protocol: ft.Protocol, - Addr: ft.Addr, - Iqn: ft.IQN, - Nqn: ft.NQN, - Lun: ft.LUN, - Nsid: ft.NSID, + Protocol: ft.Protocol, + Transport: normalizedFrontendTransport(ft.Protocol, ft.Transport), + Addr: ft.Addr, + Iqn: ft.IQN, + Nqn: ft.NQN, + Lun: ft.LUN, + Nsid: ft.NSID, }) } return out diff --git a/seaweed-block/core/launcher/k8s_renderer.go b/seaweed-block/core/launcher/k8s_renderer.go index 28276f2d0f..487317e903 100644 --- a/seaweed-block/core/launcher/k8s_renderer.go +++ b/seaweed-block/core/launcher/k8s_renderer.go @@ -100,6 +100,22 @@ func RenderBlockVolumeDeployments(plan lifecycle.BlockVolumeWorkloadPlan, cfg K8 if err != nil { return nil, err } + volumeMounts := []volumeMount{{Name: "state", MountPath: stateMountPath}} + volumes := []volume{stateVolume(cfg)} + var securityContext *containerSecurityContext + if plan.Protocol == "nvme" && plan.NVMeTransport == "rdma" { + volumeMounts = append(volumeMounts, + volumeMount{Name: "dev", MountPath: "/dev"}, + volumeMount{Name: "configfs", MountPath: "/sys/kernel/config"}, + volumeMount{Name: "modules-dir", MountPath: "/lib/modules", ReadOnly: true}, + ) + volumes = append(volumes, + volume{Name: "dev", HostPath: &hostPath{Path: "/dev", Type: "Directory"}}, + volume{Name: "configfs", HostPath: &hostPath{Path: "/sys/kernel/config", Type: "Directory"}}, + volume{Name: "modules-dir", HostPath: &hostPath{Path: "/lib/modules", Type: "Directory"}}, + ) + securityContext = &containerSecurityContext{RunAsUser: int64Ptr(0), Privileged: boolPtr(true)} + } deploy := blockVolumeDeployment{ APIVersion: "apps/v1", Kind: "Deployment", @@ -129,14 +145,15 @@ func RenderBlockVolumeDeployments(plan lifecycle.BlockVolumeWorkloadPlan, cfg K8 NodeSelector: map[string]string{"kubernetes.io/hostname": replicaKubernetesNodeName(replica)}, InitContainers: blockVolumeInitContainers(plan, replica, cfg), Containers: []container{{ - Name: "blockvolume", - Image: cfg.Image, - Command: []string{"/usr/local/bin/blockvolume"}, - Args: args, - Env: blockVolumeEnv(cfg), - VolumeMounts: []volumeMount{{Name: "state", MountPath: stateMountPath}}, + Name: "blockvolume", + Image: cfg.Image, + Command: []string{"/usr/local/bin/blockvolume"}, + Args: args, + Env: blockVolumeEnv(cfg), + VolumeMounts: volumeMounts, + SecurityContext: securityContext, }}, - Volumes: []volume{stateVolume(cfg)}, + Volumes: volumes, }, }, }, @@ -218,21 +235,35 @@ func blockVolumeArgs(plan lifecycle.BlockVolumeWorkloadPlan, replica lifecycle.B } switch plan.Protocol { case "nvme": + nvmeTransport := plan.NVMeTransport + if nvmeTransport == "" { + nvmeTransport = "tcp" + } + if nvmeTransport != "tcp" && nvmeTransport != "rdma" { + return nil, fmt.Errorf("launcher: NVMe transport %q invalid; want tcp or rdma", nvmeTransport) + } + if nvmeTransport == "rdma" && !cfg.ExternalNVMe { + return nil, fmt.Errorf("launcher: NVMe/RDMA requires external NVMe node addressing") + } nvmeListen := fmt.Sprintf("127.0.0.1:%d", replica.NVMeListenPort) if cfg.ExternalNVMe { host, err := hostFromAddr(replica.DataAddr) if err != nil { - return nil, fmt.Errorf("launcher: external NVMe/TCP volume=%s replica=%s: %w", plan.VolumeID, replica.ReplicaID, err) + return nil, fmt.Errorf("launcher: external NVMe volume=%s replica=%s: %w", plan.VolumeID, replica.ReplicaID, err) } nvmeListen = fmt.Sprintf("%s:%d", host, replica.NVMeListenPort) args = append(args, "--allow-external-nvme-bind") } args = append(args, "--nvme-listen="+nvmeListen, + "--nvme-transport="+nvmeTransport, "--nvme-subsysnqn="+replica.NVMeSubsystemNQN, fmt.Sprintf("--nvme-ns=%d", replica.NVMeNSID), ) - if cfg.NVMeMaxH2CDataLength != 0 { + if cfg.NVMeMaxH2CDataLength != 0 && cfg.NVMeMaxH2CDataLength != 32768 && nvmeTransport == "rdma" { + return nil, fmt.Errorf("launcher: NVMe MaxH2CDataLength is TCP-only") + } + if cfg.NVMeMaxH2CDataLength != 0 && nvmeTransport == "tcp" { args = append(args, fmt.Sprintf("--nvme-max-h2c-data-length=%d", cfg.NVMeMaxH2CDataLength)) } default: @@ -437,7 +468,8 @@ type container struct { } type containerSecurityContext struct { - RunAsUser *int64 `yaml:"runAsUser,omitempty"` + RunAsUser *int64 `yaml:"runAsUser,omitempty"` + Privileged *bool `yaml:"privileged,omitempty"` } type envVar struct { @@ -457,6 +489,7 @@ type secretKeySelector struct { type volumeMount struct { Name string `yaml:"name"` MountPath string `yaml:"mountPath"` + ReadOnly bool `yaml:"readOnly,omitempty"` } type volume struct { diff --git a/seaweed-block/core/launcher/k8s_renderer_test.go b/seaweed-block/core/launcher/k8s_renderer_test.go index d7894f31e8..9c31e15b43 100644 --- a/seaweed-block/core/launcher/k8s_renderer_test.go +++ b/seaweed-block/core/launcher/k8s_renderer_test.go @@ -377,6 +377,58 @@ func TestPhase106_K8sRenderer_ExternalNVMeUsesNodeAddress(t *testing.T) { } } +func TestPhase165_K8sRenderer_NVMERDMAUsesExternalPrivilegedKernelTarget(t *testing.T) { + plan := sampleWorkloadPlan() + plan.Protocol = "nvme" + plan.NVMeTransport = "rdma" + manifests, err := RenderBlockVolumeDeployments(plan, K8sRenderConfig{ + MasterAddr: "m:9333", ExternalNVMe: true, NVMeMaxH2CDataLength: 32768, + }) + if err != nil { + t.Fatalf("RenderBlockVolumeDeployments: %v", err) + } + raw := string(manifests[0].YAML) + for _, want := range []string{ + "--nvme-transport=rdma", "--nvme-listen=10.0.0.1:4420", "privileged: true", "runAsUser: 0", + "mountPath: /dev", "mountPath: /sys/kernel/config", "mountPath: /lib/modules", "path: /sys/kernel/config", + } { + if !strings.Contains(raw, want) { + t.Fatalf("RDMA manifest missing %q:\n%s", want, raw) + } + } + if strings.Contains(raw, "--nvme-max-h2c-data-length") { + t.Fatalf("RDMA manifest contains TCP-only H2C tuning:\n%s", raw) + } +} + +func TestPhase165_K8sRenderer_NVMERDMARequiresExternalAddressing(t *testing.T) { + plan := sampleWorkloadPlan() + plan.Protocol = "nvme" + plan.NVMeTransport = "rdma" + _, err := RenderBlockVolumeDeployments(plan, K8sRenderConfig{MasterAddr: "m:9333"}) + if err == nil || !strings.Contains(err.Error(), "requires external NVMe") { + t.Fatalf("error=%v want external NVMe requirement", err) + } +} + +func TestPhase165_K8sRenderer_TCPDoesNotGainRDMAPrivileges(t *testing.T) { + plan := sampleWorkloadPlan() + plan.Protocol = "nvme" + manifests, err := RenderBlockVolumeDeployments(plan, K8sRenderConfig{MasterAddr: "m:9333", ExternalNVMe: true}) + if err != nil { + t.Fatalf("RenderBlockVolumeDeployments: %v", err) + } + raw := string(manifests[0].YAML) + if !strings.Contains(raw, "--nvme-transport=tcp") { + t.Fatalf("TCP manifest missing explicit transport:\n%s", raw) + } + for _, forbidden := range []string{"privileged: true", "mountPath: /sys/kernel/config", "mountPath: /lib/modules"} { + if strings.Contains(raw, forbidden) { + t.Fatalf("TCP manifest unexpectedly contains %q:\n%s", forbidden, raw) + } + } +} + func TestPhase106_K8sRenderer_ExternalNVMeRejectsLoopbackNodeAddress(t *testing.T) { plan := sampleWorkloadPlan() plan.Protocol = "nvme" diff --git a/seaweed-block/core/lifecycle/store.go b/seaweed-block/core/lifecycle/store.go index 98a7f012d9..1de3e090e2 100644 --- a/seaweed-block/core/lifecycle/store.go +++ b/seaweed-block/core/lifecycle/store.go @@ -34,6 +34,7 @@ type VolumeSpec struct { SizeBytes uint64 `json:"size_bytes"` ReplicationFactor int `json:"replication_factor"` Protocol string `json:"protocol,omitempty"` + FrontendTransport string `json:"frontend_transport,omitempty"` PVCName string `json:"pvc_name,omitempty"` PVCNamespace string `json:"pvc_namespace,omitempty"` PVCUID string `json:"pvc_uid,omitempty"` @@ -109,7 +110,8 @@ func volumeSpecsCompatible(a, b VolumeSpec) bool { return a.VolumeID == b.VolumeID && a.SizeBytes == b.SizeBytes && a.ReplicationFactor == b.ReplicationFactor && - a.Protocol == b.Protocol + a.Protocol == b.Protocol && + a.FrontendTransport == b.FrontendTransport } func mergeVolumeSpecMetadata(existing, incoming VolumeSpec) VolumeSpec { @@ -294,7 +296,14 @@ func validateSpec(spec VolumeSpec) error { return fmt.Errorf("%w: replication_factor must be > 0", ErrInvalidVolumeSpec) } switch spec.Protocol { - case "iscsi", "nvme": + case "iscsi": + if spec.FrontendTransport != "" { + return fmt.Errorf("%w: frontend_transport is valid only for nvme", ErrInvalidVolumeSpec) + } + case "nvme": + if spec.FrontendTransport != "tcp" && spec.FrontendTransport != "rdma" { + return fmt.Errorf("%w: nvme frontend_transport must be tcp or rdma", ErrInvalidVolumeSpec) + } default: return fmt.Errorf("%w: protocol must be iscsi or nvme", ErrInvalidVolumeSpec) } @@ -305,6 +314,9 @@ func normalizeVolumeSpec(spec VolumeSpec) VolumeSpec { if spec.Protocol == "" { spec.Protocol = "iscsi" } + if spec.Protocol == "nvme" && spec.FrontendTransport == "" { + spec.FrontendTransport = "tcp" + } return spec } diff --git a/seaweed-block/core/lifecycle/store_test.go b/seaweed-block/core/lifecycle/store_test.go index ab0c29ccd1..2e4cfef4b1 100644 --- a/seaweed-block/core/lifecycle/store_test.go +++ b/seaweed-block/core/lifecycle/store_test.go @@ -98,6 +98,37 @@ func TestFileStore_CreateVolumePersistsProtocolSelection(t *testing.T) { } } +func TestPhase165_FileStorePersistsNVMeTransportAndDefaultsLegacyToTCP(t *testing.T) { + s, err := OpenFileStore(t.TempDir()) + if err != nil { + t.Fatalf("open: %v", err) + } + for _, tc := range []struct { + id string + transport string + want string + }{ + {id: "legacy", want: "tcp"}, + {id: "rdma", transport: "rdma", want: "rdma"}, + } { + rec, err := s.CreateVolume(VolumeSpec{VolumeID: tc.id, SizeBytes: 1 << 20, ReplicationFactor: 1, Protocol: "nvme", FrontendTransport: tc.transport}) + if err != nil { + t.Fatalf("create %s: %v", tc.id, err) + } + if rec.Spec.FrontendTransport != tc.want { + t.Fatalf("%s transport=%q want %q", tc.id, rec.Spec.FrontendTransport, tc.want) + } + } + for _, spec := range []VolumeSpec{ + {VolumeID: "bad-iscsi", SizeBytes: 1 << 20, ReplicationFactor: 1, Protocol: "iscsi", FrontendTransport: "rdma"}, + {VolumeID: "bad-nvme", SizeBytes: 1 << 20, ReplicationFactor: 1, Protocol: "nvme", FrontendTransport: "bogus"}, + } { + if _, err := s.CreateVolume(spec); err == nil { + t.Fatalf("CreateVolume(%+v) succeeded; want invalid transport rejected", spec) + } + } +} + func TestFileStore_CreateVolumeRejectsConflictingSpec(t *testing.T) { s, err := OpenFileStore(t.TempDir()) if err != nil { diff --git a/seaweed-block/core/lifecycle/workload_plan.go b/seaweed-block/core/lifecycle/workload_plan.go index 35d7cc6639..60758e14fc 100644 --- a/seaweed-block/core/lifecycle/workload_plan.go +++ b/seaweed-block/core/lifecycle/workload_plan.go @@ -9,13 +9,14 @@ import ( // daemons should exist for one desired volume. It is deliberately not // authority-shaped: no epoch, endpoint_version, primary, ready, or healthy. type BlockVolumeWorkloadPlan struct { - VolumeID string - SizeBytes uint64 - Protocol string - PVCName string - PVCNamespace string - PVCUID string - Replicas []BlockVolumeReplicaWorkload + VolumeID string + SizeBytes uint64 + Protocol string + NVMeTransport string + PVCName string + PVCNamespace string + PVCUID string + Replicas []BlockVolumeReplicaWorkload } type BlockVolumeReplicaWorkload struct { @@ -38,6 +39,7 @@ type BlockVolumeReplicaWorkload struct { // intent into blockvolume daemon workload intent. It does not verify // observation, choose primary, or publish authority. func PlanBlockVolumeWorkloads(volume VolumeRecord, placement PlacementIntent, nodes []NodeRegistration, cfg WorkloadPlanConfig) (BlockVolumeWorkloadPlan, error) { + volume.Spec = normalizeVolumeSpec(volume.Spec) if err := validateSpec(volume.Spec); err != nil { return BlockVolumeWorkloadPlan{}, err } @@ -69,13 +71,14 @@ func PlanBlockVolumeWorkloads(volume VolumeRecord, placement PlacementIntent, no } out := BlockVolumeWorkloadPlan{ - VolumeID: volume.Spec.VolumeID, - SizeBytes: volume.Spec.SizeBytes, - Protocol: protocol, - PVCName: volume.Spec.PVCName, - PVCNamespace: volume.Spec.PVCNamespace, - PVCUID: volume.Spec.PVCUID, - Replicas: make([]BlockVolumeReplicaWorkload, 0, len(placement.Slots)), + VolumeID: volume.Spec.VolumeID, + SizeBytes: volume.Spec.SizeBytes, + Protocol: protocol, + NVMeTransport: volume.Spec.FrontendTransport, + PVCName: volume.Spec.PVCName, + PVCNamespace: volume.Spec.PVCNamespace, + PVCUID: volume.Spec.PVCUID, + Replicas: make([]BlockVolumeReplicaWorkload, 0, len(placement.Slots)), } for i, slot := range placement.Slots { node, ok := nodeByID[slot.ServerID] diff --git a/seaweed-block/core/lifecycle/workload_plan_test.go b/seaweed-block/core/lifecycle/workload_plan_test.go index e591543a72..dcc14b23c9 100644 --- a/seaweed-block/core/lifecycle/workload_plan_test.go +++ b/seaweed-block/core/lifecycle/workload_plan_test.go @@ -71,6 +71,9 @@ func TestG15d_WorkloadPlan_NVMeProtocolCreatesNVMeTargets(t *testing.T) { if plan.Protocol != "nvme" { t.Fatalf("protocol=%q want nvme", plan.Protocol) } + if plan.NVMeTransport != "tcp" { + t.Fatalf("transport=%q want legacy default tcp", plan.NVMeTransport) + } if got := plan.Replicas[0].NVMeListenPort; got != 4420 { t.Fatalf("nvme port=%d want 4420", got) } @@ -82,6 +85,20 @@ func TestG15d_WorkloadPlan_NVMeProtocolCreatesNVMeTargets(t *testing.T) { } } +func TestPhase165_WorkloadPlanCarriesNVMERDMATransport(t *testing.T) { + volume := VolumeRecord{Spec: VolumeSpec{VolumeID: "pvc-rdma", SizeBytes: 1 << 20, ReplicationFactor: 1, Protocol: "nvme", FrontendTransport: "rdma"}} + placement := PlacementIntent{VolumeID: "pvc-rdma", DesiredRF: 1, Slots: []PlacementSlotIntent{{ServerID: "node-a", PoolID: "pool-a", Source: PlacementSourceBlankPool}}} + plan, err := PlanBlockVolumeWorkloads(volume, placement, []NodeRegistration{ + nodeForWorkload("node-a", "10.0.0.1:9201", "10.0.0.1:9101"), + }, WorkloadPlanConfig{NVMePortBase: 4420, NQNPrefix: "nqn.test"}) + if err != nil { + t.Fatalf("PlanBlockVolumeWorkloads: %v", err) + } + if plan.NVMeTransport != "rdma" { + t.Fatalf("transport=%q want rdma", plan.NVMeTransport) + } +} + func TestG15d_WorkloadPlan_ExistingReplicaKeepsReplicaID(t *testing.T) { volume := VolumeRecord{Spec: VolumeSpec{VolumeID: "pvc-a", SizeBytes: 1 << 20, ReplicationFactor: 1}} placement := PlacementIntent{ diff --git a/seaweed-block/core/ops/managed_volume_model.go b/seaweed-block/core/ops/managed_volume_model.go index fbbaa7fff7..35697b3b79 100644 --- a/seaweed-block/core/ops/managed_volume_model.go +++ b/seaweed-block/core/ops/managed_volume_model.go @@ -179,6 +179,7 @@ type ReplicaFact struct { AckEligibilityKnown bool `json:"ack_eligibility_known,omitempty"` AckEligible bool `json:"ack_eligible,omitempty"` FrontendProtocol string `json:"frontend_protocol,omitempty"` + FrontendTransport string `json:"frontend_transport,omitempty"` FrontendAddr string `json:"frontend_addr,omitempty"` FrontendNQN string `json:"frontend_nqn,omitempty"` FrontendNSID uint32 `json:"frontend_nsid,omitempty"` @@ -243,6 +244,7 @@ type ManagedVolumeProjection struct { type ManagedVolumeNVMeStatus struct { Protocol string `json:"protocol,omitempty"` + Transport string `json:"transport,omitempty"` NQN string `json:"nqn,omitempty"` NSID uint32 `json:"nsid,omitempty"` NVMeAddr string `json:"nvme_addr,omitempty"` @@ -326,7 +328,7 @@ func RenderManagedVolumeProjectionText(projection ManagedVolumeProjection) strin projection.AuthorityEpoch, projection.AuthorityEndpointVersion) if projection.NVMe != nil { - fmt.Fprintf(&b, "managed_volume_nvme protocol=%s nqn=%s nsid=%d addr=%s addrs=%s path_count=%d multipath_observed=%t reason=%s\n", + fmt.Fprintf(&b, "managed_volume_nvme protocol=%s nqn=%s nsid=%d addr=%s addrs=%s path_count=%d multipath_observed=%t reason=%s transport=%s\n", emptyAsDash(projection.NVMe.Protocol), emptyAsDash(projection.NVMe.NQN), projection.NVMe.NSID, @@ -334,7 +336,8 @@ func RenderManagedVolumeProjectionText(projection ManagedVolumeProjection) strin emptyAsDash(strings.Join(projection.NVMe.NVMeAddrs, ",")), projection.NVMe.PathCount, projection.NVMe.MultipathObserved, - emptyAsDash(projection.NVMe.ReasonCode)) + emptyAsDash(projection.NVMe.ReasonCode), + emptyAsDash(projection.NVMe.Transport)) } if projection.DeleteSafety != nil { fmt.Fprintf(&b, "managed_volume_delete_safety state=%s decision=%s reason=%s release_allowed=%t action=%s\n", @@ -494,6 +497,7 @@ func managedVolumeFactsFromVolumeEvidence(volume VolumeEvidence) ManagedVolumeFa AckEligibilityKnown: replica.AckEligibilityKnown, AckEligible: replica.AckEligible, FrontendProtocol: replica.FrontendProtocol, + FrontendTransport: replica.FrontendTransport, FrontendAddr: replica.FrontendAddr, FrontendNQN: replica.FrontendNQN, FrontendNSID: replica.FrontendNSID, @@ -548,20 +552,26 @@ func ProjectManagedVolume(facts ManagedVolumeFacts) ManagedVolumeProjection { func managedVolumeNVMeStatus(facts ManagedVolumeFacts) *ManagedVolumeNVMeStatus { type nvmePath struct { - addr string - nqn string - nsid uint32 - ana string + addr string + nqn string + nsid uint32 + transport string + ana string } var paths []nvmePath for _, replica := range facts.Replicas { if replica.FrontendProtocol != "nvme" || replica.FrontendAddr == "" { continue } + transport := replica.FrontendTransport + if transport == "" { + transport = "tcp" + } paths = append(paths, nvmePath{ - addr: replica.FrontendAddr, - nqn: replica.FrontendNQN, - nsid: replica.FrontendNSID, + addr: replica.FrontendAddr, + nqn: replica.FrontendNQN, + nsid: replica.FrontendNSID, + transport: transport, }) } for _, hostPath := range facts.HostPaths { @@ -593,7 +603,8 @@ func managedVolumeNVMeStatus(facts ManagedVolumeFacts) *ManagedVolumeNVMeStatus if status.NQN == "" { status.NQN = path.nqn status.NSID = path.nsid - } else if path.nqn != status.NQN || path.nsid != status.NSID { + status.Transport = path.transport + } else if path.nqn != status.NQN || path.nsid != status.NSID || path.transport != status.Transport { status.ReasonCode = ReasonNVMePathIdentityMismatch } if path.ana != "" && status.ANAState == "" { diff --git a/seaweed-block/core/ops/observation.go b/seaweed-block/core/ops/observation.go index 36ca2580ff..d4e5d12a22 100644 --- a/seaweed-block/core/ops/observation.go +++ b/seaweed-block/core/ops/observation.go @@ -164,6 +164,7 @@ type ReplicaEvidence struct { AckEligibilityKnown bool `json:"ack_eligibility_known,omitempty"` AckEligible bool `json:"ack_eligible,omitempty"` FrontendProtocol string `json:"frontend_protocol,omitempty"` + FrontendTransport string `json:"frontend_transport,omitempty"` FrontendAddr string `json:"frontend_addr,omitempty"` FrontendNQN string `json:"frontend_nqn,omitempty"` FrontendNSID uint32 `json:"frontend_nsid,omitempty"` diff --git a/seaweed-block/core/ops/observation_report.go b/seaweed-block/core/ops/observation_report.go index 88e73236cb..36867365e5 100644 --- a/seaweed-block/core/ops/observation_report.go +++ b/seaweed-block/core/ops/observation_report.go @@ -145,7 +145,7 @@ func renderManagedProjectionSummary(b *strings.Builder, managed ManagedVolumePro managed.AuthorityEpoch, managed.AuthorityEndpointVersion) if managed.NVMe != nil { - fmt.Fprintf(b, "managed_volume_nvme=%s nqn=%s nsid=%d addr=%s addrs=%s path_count=%d multipath_observed=%t reason=%s\n", + fmt.Fprintf(b, "managed_volume_nvme=%s nqn=%s nsid=%d addr=%s addrs=%s path_count=%d multipath_observed=%t reason=%s transport=%s\n", emptyAsDash(managed.VolumeID), emptyAsDash(managed.NVMe.NQN), managed.NVMe.NSID, @@ -153,7 +153,8 @@ func renderManagedProjectionSummary(b *strings.Builder, managed ManagedVolumePro emptyAsDash(strings.Join(managed.NVMe.NVMeAddrs, ",")), managed.NVMe.PathCount, managed.NVMe.MultipathObserved, - emptyAsDash(managed.NVMe.ReasonCode)) + emptyAsDash(managed.NVMe.ReasonCode), + emptyAsDash(managed.NVMe.Transport)) } for _, condition := range managed.Conditions { fmt.Fprintf(b, "managed_volume_condition=%s status=%s reason=%s severity=%s\n", diff --git a/seaweed-block/core/ops/operator_status_controller.go b/seaweed-block/core/ops/operator_status_controller.go index 26457a857e..92866240ff 100644 --- a/seaweed-block/core/ops/operator_status_controller.go +++ b/seaweed-block/core/ops/operator_status_controller.go @@ -287,6 +287,7 @@ type SwBlockVolumeCRDStatus struct { type SwBlockVolumeCRDNVMeStatus struct { Protocol string `json:"protocol,omitempty"` + Transport string `json:"transport,omitempty"` NQN string `json:"nqn,omitempty"` NSID uint32 `json:"nsid,omitempty"` NVMeAddr string `json:"nvmeAddr,omitempty"` @@ -591,6 +592,7 @@ func swBlockVolumeCRDNVMeStatus(in *ManagedVolumeNVMeStatus) *SwBlockVolumeCRDNV } return &SwBlockVolumeCRDNVMeStatus{ Protocol: in.Protocol, + Transport: in.Transport, NQN: in.NQN, NSID: in.NSID, NVMeAddr: in.NVMeAddr, diff --git a/seaweed-block/core/ops/volume_status_report.go b/seaweed-block/core/ops/volume_status_report.go index c4bb5e24c4..2150070b06 100644 --- a/seaweed-block/core/ops/volume_status_report.go +++ b/seaweed-block/core/ops/volume_status_report.go @@ -62,12 +62,13 @@ type VolumeReport struct { } type FrontendReport struct { - Protocol string `json:"protocol"` - Addr string `json:"addr,omitempty"` - IQN string `json:"iqn,omitempty"` - NQN string `json:"nqn,omitempty"` - LUN uint32 `json:"lun"` - NSID uint32 `json:"nsid"` + Protocol string `json:"protocol"` + Transport string `json:"transport,omitempty"` + Addr string `json:"addr,omitempty"` + IQN string `json:"iqn,omitempty"` + NQN string `json:"nqn,omitempty"` + LUN uint32 `json:"lun"` + NSID uint32 `json:"nsid"` } type AuthorityReport struct { @@ -193,12 +194,13 @@ func frontendSnapshots(targets []*control.FrontendTarget) []FrontendReport { continue } out = append(out, FrontendReport{ - Protocol: t.GetProtocol(), - Addr: t.GetAddr(), - IQN: t.GetIqn(), - NQN: t.GetNqn(), - LUN: t.GetLun(), - NSID: t.GetNsid(), + Protocol: t.GetProtocol(), + Transport: t.GetTransport(), + Addr: t.GetAddr(), + IQN: t.GetIqn(), + NQN: t.GetNqn(), + LUN: t.GetLun(), + NSID: t.GetNsid(), }) } return out diff --git a/seaweed-block/core/rpc/control/control.pb.go b/seaweed-block/core/rpc/control/control.pb.go index 1e2a8776d0..55e8c0f2dc 100644 --- a/seaweed-block/core/rpc/control/control.pb.go +++ b/seaweed-block/core/rpc/control/control.pb.go @@ -261,12 +261,13 @@ type FrontendTarget struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` // "iscsi" | "nvme" - Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` - Iqn string `protobuf:"bytes,3,opt,name=iqn,proto3" json:"iqn,omitempty"` - Nqn string `protobuf:"bytes,4,opt,name=nqn,proto3" json:"nqn,omitempty"` - Lun uint32 `protobuf:"varint,5,opt,name=lun,proto3" json:"lun,omitempty"` - Nsid uint32 `protobuf:"varint,6,opt,name=nsid,proto3" json:"nsid,omitempty"` + Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` // "iscsi" | "nvme" + Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` + Iqn string `protobuf:"bytes,3,opt,name=iqn,proto3" json:"iqn,omitempty"` + Nqn string `protobuf:"bytes,4,opt,name=nqn,proto3" json:"nqn,omitempty"` + Lun uint32 `protobuf:"varint,5,opt,name=lun,proto3" json:"lun,omitempty"` + Nsid uint32 `protobuf:"varint,6,opt,name=nsid,proto3" json:"nsid,omitempty"` + Transport string `protobuf:"bytes,7,opt,name=transport,proto3" json:"transport,omitempty"` // NVMe: "tcp" (default) | "rdma"; empty for iSCSI } func (x *FrontendTarget) Reset() { @@ -343,6 +344,13 @@ func (x *FrontendTarget) GetNsid() uint32 { return 0 } +func (x *FrontendTarget) GetTransport() string { + if x != nil { + return x.Transport + } + return "" +} + type HeartbeatAck struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1654,6 +1662,7 @@ type ReplicaEvidence struct { SupportBundlePath string `protobuf:"bytes,18,opt,name=support_bundle_path,json=supportBundlePath,proto3" json:"support_bundle_path,omitempty"` FrontendNqn string `protobuf:"bytes,19,opt,name=frontend_nqn,json=frontendNqn,proto3" json:"frontend_nqn,omitempty"` FrontendNsid uint32 `protobuf:"varint,20,opt,name=frontend_nsid,json=frontendNsid,proto3" json:"frontend_nsid,omitempty"` + FrontendTransport string `protobuf:"bytes,21,opt,name=frontend_transport,json=frontendTransport,proto3" json:"frontend_transport,omitempty"` } func (x *ReplicaEvidence) Reset() { @@ -1828,6 +1837,13 @@ func (x *ReplicaEvidence) GetFrontendNsid() uint32 { return 0 } +func (x *ReplicaEvidence) GetFrontendTransport() string { + if x != nil { + return x.FrontendTransport + } + return "" +} + type ClusterEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2133,7 +2149,8 @@ type CreateVolumeRequest struct { PvcNamespace string `protobuf:"bytes,5,opt,name=pvc_namespace,json=pvcNamespace,proto3" json:"pvc_namespace,omitempty"` PvName string `protobuf:"bytes,6,opt,name=pv_name,json=pvName,proto3" json:"pv_name,omitempty"` PvcUid string `protobuf:"bytes,7,opt,name=pvc_uid,json=pvcUid,proto3" json:"pvc_uid,omitempty"` - Protocol string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"` // "iscsi" default | "nvme" + Protocol string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"` // "iscsi" default | "nvme" + FrontendTransport string `protobuf:"bytes,9,opt,name=frontend_transport,json=frontendTransport,proto3" json:"frontend_transport,omitempty"` // NVMe: "tcp" default | "rdma" } func (x *CreateVolumeRequest) Reset() { @@ -2224,6 +2241,13 @@ func (x *CreateVolumeRequest) GetProtocol() string { return "" } +func (x *CreateVolumeRequest) GetFrontendTransport() string { + if x != nil { + return x.FrontendTransport + } + return "" +} + type CreateVolumeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2236,7 +2260,8 @@ type CreateVolumeResponse struct { PvcNamespace string `protobuf:"bytes,5,opt,name=pvc_namespace,json=pvcNamespace,proto3" json:"pvc_namespace,omitempty"` PvName string `protobuf:"bytes,6,opt,name=pv_name,json=pvName,proto3" json:"pv_name,omitempty"` PvcUid string `protobuf:"bytes,7,opt,name=pvc_uid,json=pvcUid,proto3" json:"pvc_uid,omitempty"` - Protocol string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"` // "iscsi" default | "nvme" + Protocol string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"` // "iscsi" default | "nvme" + FrontendTransport string `protobuf:"bytes,9,opt,name=frontend_transport,json=frontendTransport,proto3" json:"frontend_transport,omitempty"` // NVMe: "tcp" default | "rdma" } func (x *CreateVolumeResponse) Reset() { @@ -2327,6 +2352,13 @@ func (x *CreateVolumeResponse) GetProtocol() string { return "" } +func (x *CreateVolumeResponse) GetFrontendTransport() string { + if x != nil { + return x.FrontendTransport + } + return "" +} + type DeleteVolumeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2681,7 +2713,7 @@ var file_control_proto_rawDesc = []byte{ 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x0e, + 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x0e, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, @@ -2690,528 +2722,539 @@ var file_control_proto_rawDesc = []byte{ 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x71, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6e, 0x71, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6c, 0x75, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x22, 0x67, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x72, - 0x74, 0x62, 0x65, 0x61, 0x74, 0x41, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, - 0x65, 0x22, 0x69, 0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x41, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x41, - 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x10, - 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x28, 0x0d, 0x52, 0x04, 0x6e, 0x73, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x67, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, + 0x65, 0x61, 0x74, 0x41, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x22, + 0x69, 0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x10, 0x53, 0x75, + 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, + 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x22, 0xad, 0x01, + 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x41, 0x64, 0x64, 0x72, + 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x74, 0x72, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x74, 0x72, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x22, 0xb9, 0x02, + 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, - 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x22, - 0xad, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, - 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x41, 0x64, - 0x64, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x74, 0x72, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x74, 0x72, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x22, - 0xb9, 0x02, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x61, - 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, - 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1b, 0x0a, 0x09, - 0x63, 0x74, 0x72, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x63, 0x74, 0x72, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x12, 0x40, 0x0a, 0x05, 0x70, 0x65, 0x65, - 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, - 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x70, - 0x65, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x70, 0x65, 0x65, 0x72, 0x53, 0x65, - 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x0d, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0xe3, 0x02, 0x0a, 0x0e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, - 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x6e, - 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x75, - 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x39, 0x0a, - 0x19, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, - 0x65, 0x5f, 0x73, 0x74, 0x75, 0x63, 0x6b, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x16, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, - 0x65, 0x53, 0x74, 0x75, 0x63, 0x6b, 0x41, 0x74, 0x12, 0x45, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, - 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x73, 0x22, - 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, - 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x35, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, + 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x74, + 0x72, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, + 0x74, 0x72, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x12, 0x40, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, + 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x6f, 0x72, 0x52, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x65, 0x65, + 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x70, 0x65, 0x65, 0x72, 0x53, 0x65, 0x74, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, - 0x22, 0x41, 0x0a, 0x19, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, - 0x0e, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x14, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, - 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xeb, 0x03, 0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, - 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, - 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x05, 0x6e, - 0x6f, 0x64, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, - 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x07, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, - 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, - 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x61, - 0x69, 0x6d, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x6f, 0x6e, 0x43, 0x6c, - 0x61, 0x69, 0x6d, 0x73, 0x22, 0xb5, 0x04, 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x76, 0x69, - 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, - 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x75, 0x62, - 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, - 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x70, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, - 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, 0x62, 0x6c, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x12, 0x46, 0x0a, 0x11, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x61, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x41, - 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, - 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, - 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, - 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x64, 0x5f, 0x69, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x64, 0x49, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, - 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x22, 0x98, 0x06, 0x0a, - 0x0e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x76, - 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x76, - 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, - 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, - 0x63, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, - 0x0b, 0x61, 0x63, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x72, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, - 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x2b, - 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x70, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, - 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x73, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, - 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x44, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0xe3, 0x02, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x6e, 0x73, 0x75, + 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x19, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x65, 0x5f, + 0x73, 0x74, 0x75, 0x63, 0x6b, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, + 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x65, 0x53, + 0x74, 0x75, 0x63, 0x6b, 0x41, 0x74, 0x12, 0x45, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x14, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x22, 0xd2, 0x06, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x73, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, - 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, - 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x75, 0x72, 0x61, 0x62, - 0x6c, 0x65, 0x4c, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x75, 0x72, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x5f, 0x6b, 0x6e, - 0x6f, 0x77, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x64, 0x75, 0x72, 0x61, 0x62, - 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, - 0x30, 0x0a, 0x14, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, - 0x69, 0x65, 0x72, 0x5f, 0x6c, 0x73, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x64, - 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x4c, 0x73, - 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, - 0x65, 0x61, 0x64, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x61, 0x6e, 0x64, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x61, - 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x72, 0x65, - 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x61, 0x6e, 0x64, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, - 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x72, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, - 0x0d, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x41, 0x64, - 0x64, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, - 0x64, 0x64, 0x72, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x66, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x12, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x46, - 0x65, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, - 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, - 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, - 0x5f, 0x6e, 0x71, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x71, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, - 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x73, 0x69, 0x64, 0x22, 0xf8, 0x03, 0x0a, - 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, - 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, - 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, - 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, - 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, - 0x0e, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, - 0x5f, 0x72, 0x65, 0x66, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x76, 0x69, 0x64, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x66, 0x22, 0xbc, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, - 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x41, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, - 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x22, 0xd8, 0x01, 0x0a, 0x16, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x74, - 0x75, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, - 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, - 0x63, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x23, 0x0a, 0x0d, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, - 0x07, 0x70, 0x76, 0x63, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x70, 0x76, 0x63, 0x55, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x22, 0x8f, 0x02, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, - 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x69, - 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x17, 0x0a, 0x07, 0x70, 0x76, 0x63, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x70, 0x76, 0x63, 0x55, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x32, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x6f, - 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0xa5, 0x04, 0x0a, 0x0f, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, - 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x64, 0x64, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x74, 0x72, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x74, 0x72, 0x6c, - 0x41, 0x64, 0x64, 0x72, 0x12, 0x3d, 0x0a, 0x1b, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x65, 0x78, 0x70, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x14, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, - 0x5f, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0b, 0x61, 0x63, 0x6b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x1f, - 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x66, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, - 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x46, - 0x65, 0x6e, 0x63, 0x65, 0x64, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x62, - 0x61, 0x63, 0x6b, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, - 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x72, - 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x12, 0x44, 0x0a, - 0x1f, 0x6e, 0x6f, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x6e, 0x6f, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x56, - 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, - 0x72, 0x65, 0x66, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x76, 0x69, 0x64, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x66, 0x73, 0x22, 0xa7, 0x03, 0x0a, 0x10, 0x46, 0x61, 0x69, - 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, - 0x10, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, - 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x76, 0x61, - 0x6e, 0x63, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, - 0x65, 0x64, 0x12, 0x41, 0x0a, 0x1d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x62, - 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x73, 0x69, 0x6e, 0x67, 0x6c, - 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x61, 0x69, - 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x50, 0x0a, 0x25, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, - 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x70, 0x65, 0x64, 0x5f, - 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x21, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x53, 0x77, 0x61, 0x70, 0x70, 0x65, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, - 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x6f, 0x5f, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6e, 0x6f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, - 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x63, 0x72, - 0x6f, 0x73, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x1b, 0x6e, 0x6f, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, - 0x66, 0x73, 0x32, 0xdf, 0x01, 0x0a, 0x12, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x62, 0x0a, 0x0f, 0x52, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x28, 0x2e, 0x73, - 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, - 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x41, 0x63, 0x6b, 0x12, 0x65, 0x0a, - 0x12, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x61, - 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x41, 0x63, 0x6b, 0x32, 0x81, 0x01, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, - 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x14, 0x53, 0x75, - 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x75, 0x62, - 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, - 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x46, 0x61, 0x63, 0x74, 0x30, 0x01, 0x32, 0x77, 0x0a, 0x0f, 0x45, 0x76, 0x69, 0x64, - 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x26, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, - 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x32, 0xd1, 0x04, 0x0a, 0x16, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x69, - 0x64, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x74, 0x0a, 0x10, - 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x30, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, - 0x73, 0x12, 0x2b, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, - 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x2f, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, - 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x31, - 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x72, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x19, 0x0a, + 0x17, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x35, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x6c, 0x75, - 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x71, 0x0a, 0x12, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x41, + 0x0a, 0x19, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x73, + 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x22, 0x90, 0x01, 0x0a, 0x14, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0xeb, 0x03, 0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, + 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, + 0x65, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, + 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, + 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, + 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x6f, 0x6e, 0x43, 0x6c, 0x61, 0x69, + 0x6d, 0x73, 0x22, 0xb5, 0x04, 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, + 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x75, 0x62, 0x65, 0x72, + 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x79, + 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x70, 0x12, + 0x20, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x12, 0x46, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, + 0x6c, 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x41, 0x74, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, + 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x72, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x25, 0x0a, + 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, - 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x30, 0x01, 0x32, 0xec, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, - 0x63, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x0c, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x61, - 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, - 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, + 0x6f, 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, + 0x69, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x64, 0x49, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, + 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x22, 0x98, 0x06, 0x0a, 0x0e, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x76, 0x63, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x76, 0x63, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x61, + 0x63, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x61, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x65, 0x73, + 0x69, 0x72, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x2b, 0x0a, 0x11, + 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6e, 0x6f, + 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, + 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, + 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x48, 0x69, 0x6e, 0x74, 0x22, 0x81, 0x07, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x48, + 0x6f, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, + 0x6f, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x27, + 0x0a, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, + 0x4c, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x75, 0x72, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, + 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x30, 0x0a, + 0x14, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, + 0x72, 0x5f, 0x6c, 0x73, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x64, 0x75, 0x72, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, 0x72, 0x4c, 0x73, 0x6e, 0x12, + 0x27, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x61, + 0x64, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x61, 0x6e, 0x64, + 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2b, + 0x0a, 0x11, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x72, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x66, + 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, + 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x64, 0x64, + 0x72, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x5f, 0x66, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x46, 0x65, 0x6e, + 0x63, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, + 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x75, + 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x50, 0x61, + 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x6e, + 0x71, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x64, 0x4e, 0x71, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x64, 0x5f, 0x6e, 0x73, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x66, 0x72, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x73, 0x69, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x66, 0x72, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xf8, 0x03, 0x0a, 0x0c, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, + 0x72, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, + 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, + 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, + 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, + 0x66, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x66, 0x22, 0xbc, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x41, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x22, 0xd8, 0x01, 0x0a, 0x16, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, + 0x3d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xbd, + 0x02, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, + 0x63, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x63, + 0x55, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x2d, 0x0a, 0x12, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x66, 0x72, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xbe, + 0x02, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x70, 0x76, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x76, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, + 0x76, 0x63, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x76, + 0x63, 0x55, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x12, 0x2d, 0x0a, 0x12, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x66, 0x72, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x22, + 0x32, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x04, 0x0a, 0x0f, + 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x41, 0x64, 0x64, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x63, 0x74, 0x72, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x74, 0x72, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x12, + 0x3d, 0x0a, 0x1b, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x34, + 0x0a, 0x16, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, + 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x63, 0x6b, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x1f, 0x66, 0x72, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x64, 0x5f, 0x66, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, + 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x1c, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x46, 0x65, 0x6e, 0x63, 0x65, 0x64, + 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x38, + 0x0a, 0x18, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x69, + 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x16, 0x64, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x69, 0x65, + 0x72, 0x43, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x63, + 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x1b, 0x6e, 0x6f, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, + 0x0a, 0x0d, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x66, 0x73, 0x22, 0xa7, 0x03, 0x0a, 0x10, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x61, 0x69, 0x6c, + 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x41, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x41, 0x0a, + 0x1d, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, + 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x12, 0x50, 0x0a, 0x25, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x21, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x77, + 0x61, 0x70, 0x70, 0x65, 0x64, 0x41, 0x66, 0x74, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, + 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x5f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x11, 0x6e, 0x6f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x6e, 0x6f, 0x43, + 0x72, 0x6f, 0x73, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x76, 0x69, 0x64, + 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0c, 0x65, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x66, 0x73, 0x32, 0xdf, 0x01, + 0x0a, 0x12, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x62, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x65, + 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, + 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x61, 0x72, + 0x74, 0x62, 0x65, 0x61, 0x74, 0x41, 0x63, 0x6b, 0x12, 0x65, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x25, + 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x79, 0x0a, 0x0f, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x61, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x6b, 0x32, + 0x81, 0x01, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x62, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x29, 0x2e, + 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, + 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x63, + 0x74, 0x30, 0x01, 0x32, 0x77, 0x0a, 0x0f, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x2e, 0x73, 0x65, + 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xd1, 0x04, 0x0a, + 0x16, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x74, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x30, 0x2e, 0x73, 0x65, + 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, + 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, + 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x73, + 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x65, 0x61, 0x77, + 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, - 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x46, - 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, - 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x2d, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x65, + 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x76, 0x69, 0x64, + 0x65, 0x6e, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x31, 0x2e, 0x73, 0x65, 0x61, 0x77, + 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x73, + 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, + 0x12, 0x57, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, + 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, + 0x32, 0xec, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, + 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x12, 0x2c, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2d, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0x79, 0x0a, 0x0f, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x61, 0x69, + 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, + 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, + 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x62, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, + 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x2d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/seaweed-block/core/rpc/proto/control.proto b/seaweed-block/core/rpc/proto/control.proto index 6f95e41b5f..7cb24c513f 100644 --- a/seaweed-block/core/rpc/proto/control.proto +++ b/seaweed-block/core/rpc/proto/control.proto @@ -136,6 +136,7 @@ message FrontendTarget { string nqn = 4; uint32 lun = 5; uint32 nsid = 6; + string transport = 7; // NVMe: "tcp" (default) | "rdma"; empty for iSCSI } message HeartbeatAck { @@ -320,6 +321,7 @@ message ReplicaEvidence { string support_bundle_path = 18; string frontend_nqn = 19; uint32 frontend_nsid = 20; + string frontend_transport = 21; } message ClusterEvent { @@ -362,6 +364,7 @@ message CreateVolumeRequest { string pv_name = 6; string pvc_uid = 7; string protocol = 8; // "iscsi" default | "nvme" + string frontend_transport = 9; // NVMe: "tcp" default | "rdma" } message CreateVolumeResponse { @@ -373,6 +376,7 @@ message CreateVolumeResponse { string pv_name = 6; string pvc_uid = 7; string protocol = 8; // "iscsi" default | "nvme" + string frontend_transport = 9; // NVMe: "tcp" default | "rdma" } message DeleteVolumeRequest { diff --git a/seaweed-block/deploy/k8s/g15b/Dockerfile.sw-block b/seaweed-block/deploy/k8s/g15b/Dockerfile.sw-block index 690b14f3b3..76e9c8b298 100644 --- a/seaweed-block/deploy/k8s/g15b/Dockerfile.sw-block +++ b/seaweed-block/deploy/k8s/g15b/Dockerfile.sw-block @@ -10,6 +10,10 @@ RUN CGO_ENABLED=0 go build -o /out/blockmaster ./cmd/blockmaster && \ FROM debian:bookworm-slim +RUN apt-get update && \ + apt-get install -y --no-install-recommends kmod && \ + rm -rf /var/lib/apt/lists/* + COPY --from=build /out/blockmaster /usr/local/bin/blockmaster COPY --from=build /out/blockvolume /usr/local/bin/blockvolume COPY --from=build /out/sw-block /usr/local/bin/sw-block diff --git a/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md b/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md index 7c4b0aec34..e419e3fb15 100644 --- a/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md +++ b/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md @@ -1,9 +1,9 @@ # NVMe/RDMA Capability Boundary -Status: **source-gated standalone supported-lab path**. Seaweed Block can serve -one explicitly configured Linux NVMe/RDMA target in the supported RoCE lab. -Kubernetes CSI publication/attach, multipath/failover, broad compatibility, -performance improvement, and production SLOs remain non-claims. +Status: **source-gated standalone and Kubernetes single-path supported-lab +path**. Seaweed Block can serve one explicitly selected NVMe/RDMA target and +mount it through CSI in the supported RoCE lab. Multipath/failover, broad +compatibility, performance improvement, and production SLOs remain non-claims. ## Claim Matrix @@ -11,7 +11,7 @@ performance improvement, and production SLOs remain non-claims. | --- | --- | | NVMe/TCP Kubernetes CSI path | Source-gated supported lab | | NVMe/RDMA standalone Linux target | Source-gated supported lab, Phases 163-164 | -| NVMe/RDMA Kubernetes CSI publish/attach | Not implemented | +| NVMe/RDMA Kubernetes CSI publish/attach | Source-gated supported lab, Phase 165 | | NVMe/RDMA multipath or failover | Not implemented | | Broad kernel, NIC, distro, or initiator compatibility | Not claimed | | RDMA acceleration or performance SLO | Not claimed | @@ -121,32 +121,50 @@ negative_preflight_refusal_verified=true cleanup_status=ok ``` -## Why This Is Not Yet A Kubernetes Claim +## Phase 165 Kubernetes Evidence -The standalone target is deliberately not advertised to blockmaster or CSI. -The existing publish-target path remains NVMe/TCP-only. Therefore Phases -163-164 do not prove: +TestOps run `20260718-025048-9d6a` passed 14/14 actions with fresh matching +product and CSI images. A dynamic PVC selected `nvmeTransport: rdma`, the target +published `10.0.0.3:4420`, CSI mounted it on m01, and writer/reader verification +passed. + +```text +phase165_nvme_rdma_k8s_publish_attach_status=ok +csi_publish_context_transport=rdma +active_host_controller_transport=rdma +active_host_controller_traddr=10.0.0.3 +swblockvolume_status_transport=rdma +writer_verified=true +reader_verified=true +tcp_fallback_observed=false +target_configfs_residue_count=0 +target_nbd_residue_count=0 +app_nvme_controller_residue_count=0 +kubernetes_product_residue_count=0 +cleanup_status=ok +``` + +The transport is explicit in lifecycle RPCs, frontend facts, CSI publish +context, CRD status, and the host connect command. Empty transport on older +NVMe records remains TCP for compatibility; RDMA never silently falls back to +TCP. Only RDMA target Pods receive the required privileged host device, +configfs, and module mounts. + +Phase 165 proves: - RDMA addresses in CSI publish context; - CSI NodeStage/NodeUnstage using `nvme connect -t rdma`; - mounted application I/O through a dynamic PVC; -- reconnect after target or node movement; -- RDMA multipath, ANA, or failover behavior; -- CRD/report/dashboard/explain agreement for RDMA target health; -- Kubernetes delete/uninstall cleanup of RDMA host state. +- CRD status and live host-controller agreement on RDMA transport; +- Kubernetes delete/uninstall cleanup of the exact RDMA controller, target, + configfs namespace, NBD device, and product resources. -Silently advertising the standalone endpoint as a Kubernetes target before -those ownership and cleanup paths exist would create an unsafe partial claim. +It does not prove reconnect after target or node movement, RDMA multipath, ANA +or failover behavior, performance improvement, or broad compatibility. ## Next Gates -### Phase 165: Kubernetes Publish/Attach - -The next gate carries an explicit RDMA transport through frontend publication, -connects from CSI-node, mounts an application PVC, exposes status, and proves -delete/uninstall cleanup while preserving NVMe/TCP as the default. - -### Later: Multipath, Failover, And Performance +### Next: Reconnect, Failover, And Performance RDMA multipath/failover requires its own authority, ANA, reconnect, and mounted I/O gates. Performance comparison must use the same backend, durability, diff --git a/seaweed-block/docs/releases/nvme-tcp-supported-lab.md b/seaweed-block/docs/releases/nvme-tcp-supported-lab.md index 0a99d89dfc..86c33a1683 100644 --- a/seaweed-block/docs/releases/nvme-tcp-supported-lab.md +++ b/seaweed-block/docs/releases/nvme-tcp-supported-lab.md @@ -106,6 +106,7 @@ The supported-lab claim is intentionally narrow: | 162 | NVMe/RDMA listener start decision skeleton stays disabled by default | PASS | | 163 | Standalone NVMe/RDMA live I/O through the Seaweed backend | PASS | | 164 | Standalone NVMe/RDMA lifecycle, restart, isolation, refusal, and cleanup hardening | PASS | +| 165 | Opt-in Kubernetes NVMe/RDMA CSI publish/attach and mounted I/O | PASS | Key QA sign-offs: @@ -152,6 +153,9 @@ Key QA sign-offs: - `internal/docs/qa-assignments/phase160-nvme-rdma-transport-adapter-seam-qa-signoff.md` - `internal/docs/qa-assignments/phase161-nvme-rdma-standalone-preflight-refusal-qa-signoff.md` - `internal/docs/qa-assignments/phase162-nvme-rdma-standalone-listener-skeleton-qa-signoff.md` +- `internal/docs/qa-assignments/phase163-nvme-rdma-standalone-live-qa-signoff.md` +- `internal/docs/qa-assignments/phase164-nvme-rdma-standalone-hardening-qa-signoff.md` +- `internal/docs/qa-assignments/phase165-nvme-rdma-kubernetes-publish-attach-qa-signoff.md` ## Performance Baseline diff --git a/seaweed-block/docs/roadmap.md b/seaweed-block/docs/roadmap.md index f6c5be86f2..7b6f59c02c 100644 --- a/seaweed-block/docs/roadmap.md +++ b/seaweed-block/docs/roadmap.md @@ -162,8 +162,14 @@ Seaweed Block can already demonstrate a narrow Kubernetes block-storage loop: failover, broad compatibility, and performance remain non-claims. - Phase 164 hardens that standalone path with startup rollback, 4 KiB and larger I/O, FUA/flush, durable restart/reconnect, two-target isolation, - bounded churn, stable refusal, and zero-residue cleanup. Phase 165 owns the - separate opt-in Kubernetes publish/attach and mounted workload gate. + bounded churn, stable refusal, and zero-residue cleanup. +- Phase 165 closes the separate opt-in Kubernetes NVMe/RDMA publish/attach + gate. StorageClass intent is carried explicitly through lifecycle and + frontend facts into CSI; a dynamic PVC mounts on m01 through the m02 RoCE + address, CRD status and host sysfs both report RDMA, writer/reader pass, and + exact controller/configfs/NBD/Kubernetes cleanup returns to zero. NVMe/TCP + remains the default. RDMA reconnect/failover, multipath, performance, broad + compatibility, and SLOs remain separate future gates. - Kubernetes NVMe/TCP mounted reconnect is source-gated through changed desired path-set evidence: CSI-node can connect a newly published desired NVMe path, prune the stale old host path for the same NQN, preserve pod diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index edcec33c0d..d8f41b9329 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -1,11 +1,10 @@ # Current Plan: Phase 165 NVMe/RDMA Kubernetes Publish And Attach -Status: planning. +Status: closed on 2026-07-18. Phase 164 closed the standalone Linux NVMe/RDMA correctness and lifecycle gate. -The transport remains invisible to Kubernetes: RDMA targets are not published -by the volume process, the control RPC has no explicit NVMe transport field, -and CSI node attach assumes NVMe/TCP. +Phase 165 carries that transport through Kubernetes without changing the +NVMe/TCP default. ## Goal @@ -65,3 +64,21 @@ Phase 165 closes only when a normal Kubernetes user can select the opt-in NVMe/RDMA class, mount a PVC, read back written data, and delete it with zero residue while NVMe/TCP behavior remains unchanged. The next phase may then own NVMe/RDMA reconnect/failover; performance work remains later and separate. + +## Result + +All deliverables are complete. TestOps run `20260718-025048-9d6a` passed 14/14 +actions with fresh matching images. It proved an RDMA StorageClass, dynamic PVC, +mounted writer/reader, `SwBlockVolume.status.nvme.transport=rdma`, a live m01 +controller with `transport=rdma` and `traddr=10.0.0.3`, no TCP fallback, and zero +Kubernetes, controller, configfs, and NBD residue. + +During the live gate, two contract gaps were fixed rather than hidden: + +- the cluster-evidence protobuf initially dropped `frontend_transport`, causing + a false TCP CRD projection despite real RDMA I/O; +- the runtime image lacked `modprobe`, so `nvmet-rdma` startup could not run. + +Gate-only namespace, verifier filename, CR cleanup ownership, and PV deletion +ordering defects were also corrected. The status CR is explicitly test-cleaned +because CSI does not own CR deletion under the Phase 44 lifecycle contract. diff --git a/seaweed-block/internal/docs/finished-plans/phase165_finishedplan_nvme_rdma_kubernetes_publish_attach.md b/seaweed-block/internal/docs/finished-plans/phase165_finishedplan_nvme_rdma_kubernetes_publish_attach.md new file mode 100644 index 0000000000..cff9c1bcfd --- /dev/null +++ b/seaweed-block/internal/docs/finished-plans/phase165_finishedplan_nvme_rdma_kubernetes_publish_attach.md @@ -0,0 +1,66 @@ +# Phase 165 Finished Plan: NVMe/RDMA Kubernetes Publish And Attach + +Status: closed on 2026-07-18. + +## Outcome + +Seaweed Block now has an explicit, opt-in Kubernetes NVMe/RDMA single-path in +the supported RoCE lab: + +```text +StorageClass nvmeTransport=rdma +-> lifecycle and frontend publication transport=rdma +-> RDMA blockvolume target on m02/10.0.0.3 +-> CSI NodeStage nvme connect -t rdma on m01 +-> mounted Pod writer/reader +-> CRD and host-controller transport evidence +-> exact delete/uninstall cleanup +``` + +NVMe/TCP remains the compatibility default for old or empty transport records. +Invalid transport combinations fail closed, and RDMA does not fall back to TCP. + +## Delivered + +- Added typed NVMe transport to lifecycle RPCs, stored volume intent, frontend + facts, CSI publish context, observation evidence, and CRD status. +- Added `storageClass.nvmeTransport` and generator + `--nvme-transport tcp|rdma`; RDMA requires protocol NVMe, a complete external + frontend map, and `100gbe_roce`. +- Made CSI NodeStage and mounted reconnect issue transport-aware + `nvme connect -t rdma`. +- Rendered privileged `/dev`, configfs, and module mounts only for RDMA target + Pods; TCP and iSCSI remain unchanged. +- Added `kmod` to the runtime image so product-owned module preflight can call + `modprobe` rather than silently skipping it. +- Added a TestOps close gate using fresh matching product and CSI images on m02 + and m01, with scoped failure cleanup. + +## Live Findings + +The gate caught two product defects before close: + +1. The target image lacked `modprobe`, so the real `nvmet-rdma` target could not + start even though unit tests passed. +2. `ReplicaEvidence` protobuf omitted the transport, so a real RDMA mount was + projected as TCP in `SwBlockVolume.status`. + +Both were fixed at their owning boundaries and covered by regression tests. +The gate also fixed its own namespace lookup, verifier output filename, status +CR cleanup ownership, and PV/provisioner ordering instead of converting those +failures into false product evidence. + +## QA Evidence + +TestOps run `20260718-025048-9d6a` passed 14/14 actions. See +`internal/docs/qa-assignments/phase165-nvme-rdma-kubernetes-publish-attach-qa-signoff.md`. + +## Claim Boundary + +This phase supports a source-gated supported-lab claim for one Kubernetes +NVMe/RDMA publish/attach path with mounted I/O and zero residue. It does not +claim RDMA multipath, reconnect after target movement, failover, performance +improvement, broad kernel/NIC/distro compatibility, or production SLOs. + +The next protocol milestone should own reconnect/failover semantics explicitly +before making any transparent-HA claim. diff --git a/seaweed-block/internal/docs/product-roadmap.md b/seaweed-block/internal/docs/product-roadmap.md index 54a799a028..4b2956e0ce 100644 --- a/seaweed-block/internal/docs/product-roadmap.md +++ b/seaweed-block/internal/docs/product-roadmap.md @@ -116,8 +116,12 @@ This is the short internal roadmap. Keep it current and readable. publication, failover, broad compatibility, and performance/SLOs. - Phase 164 closes standalone hardening across rollback, flush/FUA, durable restart/reconnect, multi-target isolation, bounded churn, refusal evidence, - and zero-residue cleanup. Phase 165 now owns an opt-in, explicitly typed - Kubernetes RDMA publish/attach path with mounted workload I/O. + and zero-residue cleanup. +- Phase 165 closes an opt-in, explicitly typed Kubernetes RDMA publish/attach + path with mounted workload I/O. A dynamic PVC uses the RoCE target address, + CSI and CRD status retain `rdma`, the Linux initiator confirms the active + RDMA controller, and exact cleanup returns to baseline. NVMe/TCP remains the + default; RDMA reconnect/failover and performance remain non-claims. Do not skip from scripts directly to mutating operator lifecycle. Helm has stabilized the installation contract, and Phase 35 added read-only CRD status, @@ -553,22 +557,20 @@ rebuild, delete safety, or cleanup must start as a separate gated phase. diagnostic boundary mismatch: superblock WAL byte-position metadata was being reported as the LSN `HeadLSN` after recovery. Storage and durable-provider regressions now assert recovered `HeadLSN` is bounded by the recovered LSN. -- The standalone NVMe/RDMA implementation and hardening gate now pass behind a - source-gated Linux supported-lab boundary. Next, add a separate opt-in - Kubernetes publish/attach gate. Keep transport correctness, Kubernetes - lifecycle, reconnect/failover, performance characterization, and object/NIXL - acceleration as separate claims. +- The standalone and opt-in Kubernetes single-path NVMe/RDMA gates now pass + behind a source-gated Linux supported-lab boundary. Keep reconnect/failover, + multipath, performance characterization, and object/NIXL acceleration as + separate claims. ### Track E: Protocol / Backend Expansion - Current: iSCSI and NVMe-oF are protocol-gated frontends. `walstore` remains - the MVP backend. NVMe/TCP has a Kubernetes supported-lab path; NVMe/RDMA has - a narrower standalone Linux supported-lab path through kernel `nvmet-rdma` - and a product-owned NBD-to-backend bridge. -- Next: Phase 165 opt-in Kubernetes NVMe/RDMA publish/attach with an explicit - transport contract and mounted workload I/O. Reconnect/failover and - performance remain later, separate gates. Storage-engine boundary and - smartwal/delta experiments also remain separate. + the MVP backend. NVMe/TCP and opt-in NVMe/RDMA have Kubernetes supported-lab + paths; RDMA uses kernel `nvmet-rdma` and a product-owned NBD-to-backend + bridge. +- Next: make NVMe/RDMA reconnect/failover ownership explicit before any + transparent-HA claim. Multipath and performance remain later, separate gates. + Storage-engine boundary and smartwal/delta experiments also remain separate. - Protocol hardening now has a dedicated working area under `internal/docs/protocol/`. New protocol semantics should update the control model, invariant ledger, and anti-pattern checklist there before release diff --git a/seaweed-block/internal/docs/qa-assignments/phase165-nvme-rdma-kubernetes-publish-attach-qa-signoff.md b/seaweed-block/internal/docs/qa-assignments/phase165-nvme-rdma-kubernetes-publish-attach-qa-signoff.md new file mode 100644 index 0000000000..c01faa9309 --- /dev/null +++ b/seaweed-block/internal/docs/qa-assignments/phase165-nvme-rdma-kubernetes-publish-attach-qa-signoff.md @@ -0,0 +1,63 @@ +# Phase 165 QA Sign-Off: NVMe/RDMA Kubernetes Publish And Attach + +Status: PASS on 2026-07-18. + +## Run + +- Scenario: `testops/scenarios/nvme-rdma-k8s-publish-attach-chain.yaml` +- Run: `20260718-025048-9d6a` +- Result: 14/14 actions PASS +- Target: m02, RoCE `10.0.0.3` +- CSI application node: m01, RoCE `10.0.0.1` +- Images: fresh no-cache matching `sw-block:local` and + `sw-block-csi:local`, imported to the participating k3s nodes + +## Evidence + +```text +phase165_nvme_rdma_k8s_publish_attach_status=ok +rdma_host_preflight=ok +generated_nvme_transport=rdma +generated_frontend_network_class=100gbe_roce +csi_publish_context_transport=rdma +active_host_controller_transport=rdma +active_host_controller_traddr=10.0.0.3 +swblockvolume_status_transport=rdma +writer_verified=true +reader_verified=true +tcp_fallback_observed=false +target_configfs_residue_count=0 +target_nbd_residue_count=0 +app_nvme_controller_residue_count=0 +kubernetes_product_residue_count=0 +cleanup_status=ok +``` + +The live initiator evidence identified `controller=nvme1`, `transport=rdma`, +and `address=traddr=10.0.0.3,trsvcid=4420`. The CRD independently reported the +same RDMA transport and endpoint while the PVC was mounted. + +## Gate Coverage + +- Typed StorageClass, lifecycle RPC, frontend fact, CSI publish-context, and + CRD-status transport agreement: PASS. +- Dynamic PVC, writer, reader, and held mounted Pod on the real CSI node path: + PASS. +- No implicit TCP fallback: PASS. +- RDMA-only target privilege and host mounts: PASS. +- Exact NQN controller, configfs, NBD, Kubernetes resources, CR instances, and + Helm-retained CRD cleanup: PASS. +- Existing NVMe/TCP compatibility tests: PASS. + +## Findings Resolved During QA + +- Runtime image missing `modprobe`: fixed by installing `kmod`. +- Cluster-evidence RPC dropped frontend transport and projected false TCP: + fixed with an additive protobuf field plus server/client round-trip tests. +- Gate Deployment namespace, verifier filename, status-CR teardown, and PV + deletion ordering: corrected and kept scoped to gate-owned resources. + +## Non-Claims + +This sign-off does not cover RDMA multipath, reconnect/failover, performance or +SLO improvement, broad compatibility, or published release images. diff --git a/seaweed-block/scripts/run-basic-app-example.sh b/seaweed-block/scripts/run-basic-app-example.sh index 31abf52424..b88f7a0ce4 100644 --- a/seaweed-block/scripts/run-basic-app-example.sh +++ b/seaweed-block/scripts/run-basic-app-example.sh @@ -19,6 +19,7 @@ INSTALL_IMAGE="${SW_BLOCK_IMAGE:-}" INSTALL_CSI_IMAGE="${SW_BLOCK_CSI_IMAGE:-}" BASIC_APP_NODE_SELECTOR="${SW_BLOCK_BASIC_APP_NODE_SELECTOR:-}" BASIC_APP_PROTOCOL="${SW_BLOCK_BASIC_APP_PROTOCOL:-iscsi}" +BASIC_APP_NVME_TRANSPORT="${SW_BLOCK_BASIC_APP_NVME_TRANSPORT:-tcp}" FIRST_VOLUME_STATUS="ok" FAILED_PHASE="" CLEANUP_STATUS="external_to_script" @@ -99,11 +100,12 @@ render_example_manifest() { cp "$input" "$output" log "node_stage_secret=none" fi - if [[ "$BASIC_APP_PROTOCOL" == "nvme" ]]; then - awk ' + if [[ "$BASIC_APP_PROTOCOL" == "nvme" ]]; then + awk -v transport="$BASIC_APP_NVME_TRANSPORT" ' /^parameters:[[:space:]]*$/ { print print " sw-block.seaweedfs.com/protocol: \"nvme\"" + print " sw-block.seaweedfs.com/nvme-transport: \"" transport "\"" print " protocol: \"nvme\"" next } @@ -278,7 +280,8 @@ write_summary() { echo "csi_image_digest=$(summary_value "$(image_digest "$INSTALL_CSI_IMAGE")")" fi echo "app_node_selector=${BASIC_APP_NODE_SELECTOR:-none}" - echo "app_protocol=$BASIC_APP_PROTOCOL" + echo "app_protocol=$BASIC_APP_PROTOCOL" + echo "app_nvme_transport=$BASIC_APP_NVME_TRANSPORT" echo "pvc=$PVC_NAME" echo "pvc_phase=${pvc_phase:-unknown}" echo "pv=${pv_name:-unknown}" @@ -304,6 +307,14 @@ if [[ "$BASIC_APP_PROTOCOL" != "iscsi" && "$BASIC_APP_PROTOCOL" != "nvme" ]]; th echo "SW_BLOCK_BASIC_APP_PROTOCOL must be iscsi or nvme" >&2 exit 2 fi +if [[ "$BASIC_APP_NVME_TRANSPORT" != "tcp" && "$BASIC_APP_NVME_TRANSPORT" != "rdma" ]]; then + echo "SW_BLOCK_BASIC_APP_NVME_TRANSPORT must be tcp or rdma" >&2 + exit 2 +fi +if [[ "$BASIC_APP_PROTOCOL" != "nvme" && "$BASIC_APP_NVME_TRANSPORT" != "tcp" ]]; then + echo "SW_BLOCK_BASIC_APP_NVME_TRANSPORT=rdma requires SW_BLOCK_BASIC_APP_PROTOCOL=nvme" >&2 + exit 2 +fi if [[ -z "${SW_BLOCK_CLI:-}" ]] && ! command -v sw-block >/dev/null 2>&1; then require_cmd go fi @@ -321,6 +332,7 @@ render_pod_manifest "$EXAMPLE_DIR/writer-pod.yaml" "$WRITER_MANIFEST" render_pod_manifest "$EXAMPLE_DIR/reader-pod.yaml" "$READER_MANIFEST" log "app_node_selector=${BASIC_APP_NODE_SELECTOR:-none}" log "app_protocol=$BASIC_APP_PROTOCOL" +log "app_nvme_transport=$BASIC_APP_NVME_TRANSPORT" log "apply StorageClass and PVC" kubectl apply -f "$EXAMPLE_MANIFEST" | tee "$ARTIFACT_DIR/apply-storageclass-pvc.log" kubectl -n "$NAMESPACE" wait --for=jsonpath='{.status.phase}'=Bound "pvc/${PVC_NAME}" --timeout=180s | tee "$ARTIFACT_DIR/wait-pvc-bound.log" diff --git a/seaweed-block/scripts/run-phase165-nvme-rdma-k8s-publish-attach-gate.sh b/seaweed-block/scripts/run-phase165-nvme-rdma-k8s-publish-attach-gate.sh new file mode 100644 index 0000000000..c428065f3d --- /dev/null +++ b/seaweed-block/scripts/run-phase165-nvme-rdma-k8s-publish-attach-gate.sh @@ -0,0 +1,326 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT="${1:-$(pwd)}" +RUN_ID="${SW_BLOCK_PHASE165_RUN_ID:-$(date -u +%Y%m%dT%H%M%SZ)}" +ARTIFACT_DIR="${SW_BLOCK_ARTIFACT_DIR:-${ROOT}/results/phase165-nvme-rdma-k8s-publish-attach-gate}" +SUMMARY="${ARTIFACT_DIR}/phase165-nvme-rdma-k8s-publish-attach-summary.txt" +VALUES_FILE="${ARTIFACT_DIR}/values/values.nvme-rdma.yaml" +HELM_RELEASE="${SW_BLOCK_HELM_RELEASE:-sw-block}" +HELM_NAMESPACE="${SW_BLOCK_HELM_NAMESPACE:-kube-system}" +APP_NAMESPACE="${SW_BLOCK_PHASE165_APP_NAMESPACE:-default}" +APP_PVC="sw-block-example-pvc" +TARGET_NODE="${SW_BLOCK_PHASE165_TARGET_NODE:-m02}" +TARGET_RDMA_IP="${SW_BLOCK_PHASE165_TARGET_RDMA_IP:-10.0.0.3}" +APP_NODE="${SW_BLOCK_PHASE165_APP_NODE:-m01}" +APP_RDMA_IP="${SW_BLOCK_PHASE165_APP_RDMA_IP:-10.0.0.1}" +APP_SSH_ADDR="${SW_BLOCK_PHASE165_APP_SSH_ADDR:-192.168.1.181}" +APP_SSH_USER="${SW_BLOCK_PHASE165_APP_SSH_USER:-testdev}" +APP_SSH_KEY="${SW_BLOCK_PHASE165_APP_SSH_KEY:-/opt/work/testdev_key}" +KUBECONFIG="${KUBECONFIG:-/etc/rancher/k3s/k3s.yaml}" +export KUBECONFIG + +VOLUME_ID="" +NQN="" +NBD_BASELINE="" + +mkdir -p "${ARTIFACT_DIR}"/{build,values,install,basic-app,live,cleanup} +: >"${SUMMARY}" + +write_summary() { + echo "$*" | tee -a "${SUMMARY}" >/dev/null +} + +active_nbd_count() { + local count=0 pid_file + for pid_file in /sys/block/nbd*/pid; do + [[ -e "${pid_file}" ]] || continue + [[ -s "${pid_file}" ]] && count=$((count + 1)) + done + echo "${count}" +} + +app_ssh() { + ssh -i "${APP_SSH_KEY}" -o BatchMode=yes -o ConnectTimeout=8 \ + "${APP_SSH_USER}@${APP_SSH_ADDR}" "$@" +} + +disconnect_gate_nqn() { + [[ -n "${NQN}" ]] || return 0 + app_ssh "sudo nvme disconnect -n '${NQN}' >/dev/null 2>&1 || true" >/dev/null 2>&1 || true +} + +cleanup() { + set +e + kubectl -n "${APP_NAMESPACE}" delete pod phase165-rdma-hold sw-block-example-reader sw-block-example-writer \ + --ignore-not-found=true --wait=true --timeout=90s >/dev/null 2>&1 || true + kubectl -n "${APP_NAMESPACE}" delete pvc "${APP_PVC}" --ignore-not-found=true --wait=true --timeout=120s >/dev/null 2>&1 || true + kubectl delete storageclass sw-block-example --ignore-not-found=true --wait=true --timeout=60s >/dev/null 2>&1 || true + helm status "${HELM_RELEASE}" -n "${HELM_NAMESPACE}" >/dev/null 2>&1 && \ + helm uninstall "${HELM_RELEASE}" -n "${HELM_NAMESPACE}" --wait --timeout 180s >/dev/null 2>&1 || true + disconnect_gate_nqn + kubectl -n "${HELM_NAMESPACE}" delete swblockvolume "${APP_PVC}" --ignore-not-found=true --wait=true --timeout=60s >/dev/null 2>&1 || true + kubectl -n "${HELM_NAMESPACE}" delete swblockcluster sw-block --ignore-not-found=true --wait=true --timeout=60s >/dev/null 2>&1 || true + if [[ -n "${VOLUME_ID}" ]] && kubectl get pv "${VOLUME_ID}" >/dev/null 2>&1; then + claim_ref="$(kubectl get pv "${VOLUME_ID}" -o jsonpath='{.spec.claimRef.namespace}/{.spec.claimRef.name}' 2>/dev/null)" + if [[ "${claim_ref}" == "${APP_NAMESPACE}/${APP_PVC}" ]]; then + kubectl patch pv "${VOLUME_ID}" --type=merge -p '{"metadata":{"finalizers":[]}}' >/dev/null 2>&1 || true + kubectl delete pv "${VOLUME_ID}" --ignore-not-found=true --wait=true --timeout=60s >/dev/null 2>&1 || true + fi + fi + if [[ "$(kubectl get swblockvolumes -A --no-headers 2>/dev/null | wc -l)" == 0 && + "$(kubectl get swblockclusters -A --no-headers 2>/dev/null | wc -l)" == 0 ]]; then + kubectl delete crd \ + swblockclusters.block.seaweedfs.com \ + swblockvolumes.block.seaweedfs.com \ + swblockreplicaeligibilities.block.seaweedfs.com \ + swblockreplicarebuilds.block.seaweedfs.com \ + swblockreplicafailbacks.block.seaweedfs.com \ + swblockfrontendpublications.block.seaweedfs.com \ + --ignore-not-found=true >/dev/null 2>&1 || true + fi +} +trap cleanup EXIT + +write_summary "phase165_nvme_rdma_k8s_publish_attach_status=running" +write_summary "target_node=${TARGET_NODE}" +write_summary "target_rdma_ip=${TARGET_RDMA_IP}" +write_summary "app_node=${APP_NODE}" +write_summary "app_rdma_ip=${APP_RDMA_IP}" +write_summary "performance_slo_claim_allowed=false" +write_summary "failover_claim_allowed=false" + +# Refuse to build evidence on top of an existing product install or controller. +if helm list -A -q | grep -q '^sw-block$'; then + echo "existing sw-block Helm release; refusing unscoped cleanup" >&2 + exit 1 +fi +if kubectl get pods,pvc,pv -A -o name 2>/dev/null | grep -Eq '(sw-block|seaweed-block)'; then + echo "existing Seaweed Block Kubernetes resources; refusing unscoped cleanup" >&2 + exit 1 +fi +if app_ssh "sudo nvme list-subsys -o json 2>/dev/null" | grep -q 'nqn.2026-05.io.seaweedfs'; then + echo "existing Seaweed Block NVMe controller on app host; refusing unscoped cleanup" >&2 + exit 1 +fi + +kubectl get node "${TARGET_NODE}" -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}' | grep -q '^True$' +kubectl get node "${APP_NODE}" -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}' | grep -q '^True$' +ip -4 -o addr show | grep -q " ${TARGET_RDMA_IP}/" +rdma link show | grep -q 'state ACTIVE' +app_ssh "ip -4 -o addr show | grep -q ' ${APP_RDMA_IP}/'; rdma link show | grep -q 'state ACTIVE'; sudo modprobe nvme-rdma" +sudo modprobe nvmet-rdma +sudo modprobe nbd +NBD_BASELINE="$(active_nbd_count)" +write_summary "rdma_host_preflight=ok" +write_summary "nbd_baseline=${NBD_BASELINE}" + +cd "${ROOT}" +go test ./core/lifecycle ./core/csi ./core/host/master ./core/ops ./core/launcher ./cmd/blockvolume ./cmd/sw-block \ + >"${ARTIFACT_DIR}/local-go-test.log" 2>&1 +helm lint charts/seaweed-block >"${ARTIFACT_DIR}/helm-lint-default.log" 2>&1 +if helm template guard charts/seaweed-block --set storageClass.protocol=nvme \ + --set storageClass.nvmeTransport=rdma >"${ARTIFACT_DIR}/rdma-guard.log" 2>&1; then + echo "RDMA chart rendered without external NVMe" >&2 + exit 1 +fi +grep -q 'requires network.externalNVMe=true' "${ARTIFACT_DIR}/rdma-guard.log" +write_summary "local_contract_gate=ok" +write_summary "rdma_external_address_guard=ok" + +SW_BLOCK_IMPORT_K3S=1 \ +SW_BLOCK_IMPORT_K3S_NODES="${APP_SSH_ADDR}" \ +SW_BLOCK_IMPORT_K3S_SSH_USER="${APP_SSH_USER}" \ +SW_BLOCK_IMPORT_K3S_SSH_KEY="${APP_SSH_KEY}" \ +SW_BLOCK_ARTIFACT_DIR="${ARTIFACT_DIR}/build" \ +SW_BLOCK_DOCKER_NO_CACHE=1 \ + bash scripts/build-alpha-images.sh "${ROOT}" >"${ARTIFACT_DIR}/build/build.log" 2>&1 +grep -q '^SW_BLOCK_IMAGE_ID=' "${ARTIFACT_DIR}/build/alpha-images.env" +grep -q '^SW_BLOCK_CSI_IMAGE_ID=' "${ARTIFACT_DIR}/build/alpha-images.env" +write_summary "fresh_matching_images=ok" + +go build -o "${ARTIFACT_DIR}/sw-block" ./cmd/sw-block +"${ARTIFACT_DIR}/sw-block" ops generate-helm-values \ + --kubeconfig "${KUBECONFIG}" \ + --out "${VALUES_FILE}" \ + --image sw-block:local \ + --csi-image sw-block-csi:local \ + --target-node "${TARGET_NODE}" \ + --protocol nvme \ + --nvme-transport rdma \ + --frontend-ip-map "${TARGET_NODE}=${TARGET_RDMA_IP}" \ + --frontend-network-class 100gbe_roce \ + >"${ARTIFACT_DIR}/values/generate.stdout.txt" +grep -q '^nvme_transport=rdma$' "${ARTIFACT_DIR}/values/generate.stdout.txt" +grep -q 'nvmeTransport: rdma' "${VALUES_FILE}" +grep -q "frontendIP: ${TARGET_RDMA_IP}" "${VALUES_FILE}" +write_summary "generated_nvme_transport=rdma" +write_summary "generated_frontend_network_class=100gbe_roce" + +helm lint charts/seaweed-block -f "${VALUES_FILE}" >"${ARTIFACT_DIR}/install/helm-lint-rdma.log" 2>&1 +helm template "${HELM_RELEASE}" charts/seaweed-block -n "${HELM_NAMESPACE}" -f "${VALUES_FILE}" \ + --set operatorStatus.create=true --set operatorStatus.dryRun=false --set operatorStatus.interval=2s \ + >"${ARTIFACT_DIR}/install/helm-template.yaml" +grep -q 'sw-block.seaweedfs.com/nvme-transport: "rdma"' "${ARTIFACT_DIR}/install/helm-template.yaml" +grep -q 'modprobe nvme_rdma' "${ARTIFACT_DIR}/install/helm-template.yaml" +helm install "${HELM_RELEASE}" charts/seaweed-block -n "${HELM_NAMESPACE}" --create-namespace \ + -f "${VALUES_FILE}" \ + --set operatorStatus.create=true --set operatorStatus.dryRun=false --set operatorStatus.interval=2s \ + --wait --timeout 10m >"${ARTIFACT_DIR}/install/helm-install.log" +cat <<'YAML' | kubectl apply -f - +apiVersion: block.seaweedfs.com/v1alpha1 +kind: SwBlockCluster +metadata: + name: sw-block + namespace: kube-system +spec: {} +YAML +write_summary "helm_install=ok" + +SW_BLOCK_BASIC_APP_NODE_SELECTOR="${APP_NODE}" \ +SW_BLOCK_BASIC_APP_PROTOCOL=nvme \ +SW_BLOCK_BASIC_APP_NVME_TRANSPORT=rdma \ +SW_BLOCK_BASIC_APP_CLEANUP=0 \ +SW_BLOCK_ARTIFACT_DIR="${ARTIFACT_DIR}/basic-app" \ +SW_BLOCK_INSTALL_MODE=helm \ +SW_BLOCK_HELM_RELEASE="${HELM_RELEASE}" \ +SW_BLOCK_HELM_NAMESPACE="${HELM_NAMESPACE}" \ +SW_BLOCK_HELM_VALUES_FILE="${VALUES_FILE}" \ +SW_BLOCK_CLI="${ARTIFACT_DIR}/sw-block" \ + bash scripts/run-basic-app-example.sh "${ROOT}" \ + >"${ARTIFACT_DIR}/basic-app/stdout.txt" 2>"${ARTIFACT_DIR}/basic-app/stderr.txt" +grep -q '^writer_verified=true$' "${ARTIFACT_DIR}/basic-app/first-volume-summary.txt" +grep -q '^reader_verified=true$' "${ARTIFACT_DIR}/basic-app/first-volume-summary.txt" +grep -q '^app_nvme_transport=rdma$' "${ARTIFACT_DIR}/basic-app/first-volume-summary.txt" +VOLUME_ID="$(sed -n 's/^volume_id=//p' "${ARTIFACT_DIR}/basic-app/first-volume-summary.txt" | head -1)" +[[ -n "${VOLUME_ID}" && "${VOLUME_ID}" != "unknown" ]] + +cat </dev/null || true)" + TRANSPORT="$(kubectl -n "${HELM_NAMESPACE}" get swblockvolume sw-block-example-pvc -o jsonpath='{.status.nvme.transport}' 2>/dev/null || true)" + [[ -n "${NQN}" && "${TRANSPORT}" == "rdma" ]] && break + sleep 2 +done +[[ -n "${NQN}" ]] +[[ "${TRANSPORT}" == "rdma" ]] +kubectl -n "${HELM_NAMESPACE}" get swblockvolume sw-block-example-pvc -o yaml >"${ARTIFACT_DIR}/live/swblockvolume.yaml" +grep -q 'transport: rdma' "${ARTIFACT_DIR}/live/swblockvolume.yaml" +grep -q 'nvmeAddr: 10.0.0.3:' "${ARTIFACT_DIR}/live/swblockvolume.yaml" + +DEPLOYMENT="$(kubectl -n "${APP_NAMESPACE}" get deploy -l sw-block.seaweedfs.com/volume="${VOLUME_ID}" -o jsonpath='{.items[0].metadata.name}')" +[[ -n "${DEPLOYMENT}" ]] +kubectl -n "${APP_NAMESPACE}" get deploy "${DEPLOYMENT}" -o yaml >"${ARTIFACT_DIR}/live/blockvolume-deployment.yaml" +grep -q -- '--nvme-transport=rdma' "${ARTIFACT_DIR}/live/blockvolume-deployment.yaml" +grep -q 'privileged: true' "${ARTIFACT_DIR}/live/blockvolume-deployment.yaml" +grep -q 'mountPath: /sys/kernel/config' "${ARTIFACT_DIR}/live/blockvolume-deployment.yaml" + +app_ssh "sudo bash -s" >"${ARTIFACT_DIR}/live/app-nvme-controller.txt" </dev/null 2>&1 || break + sleep 2 +done +if kubectl get pv "${VOLUME_ID}" >/dev/null 2>&1; then + echo "PV ${VOLUME_ID} still exists before Helm uninstall" >&2 + exit 1 +fi +helm uninstall "${HELM_RELEASE}" -n "${HELM_NAMESPACE}" --wait --timeout 180s \ + >"${ARTIFACT_DIR}/cleanup/helm-uninstall.log" +kubectl -n "${HELM_NAMESPACE}" delete swblockvolume "${APP_PVC}" \ + --ignore-not-found=true --wait=true --timeout=60s +kubectl -n "${HELM_NAMESPACE}" delete swblockcluster sw-block --ignore-not-found=true --wait=true --timeout=60s + +for _ in $(seq 1 90); do + target_present=0 + [[ -e "/sys/kernel/config/nvmet/subsystems/${NQN}" ]] && target_present=1 + controller_present="$(app_ssh "sudo nvme list-subsys -o json 2>/dev/null | grep -c '${NQN}' || true")" + [[ "${target_present}" == 0 && "${controller_present}" == 0 && "$(active_nbd_count)" == "${NBD_BASELINE}" ]] && break + sleep 2 +done +[[ ! -e "/sys/kernel/config/nvmet/subsystems/${NQN}" ]] +[[ "$(app_ssh "sudo nvme list-subsys -o json 2>/dev/null | grep -c '${NQN}' || true")" == 0 ]] +[[ "$(active_nbd_count)" == "${NBD_BASELINE}" ]] + +SW_BLOCK_ARTIFACT_DIR="${ARTIFACT_DIR}/cleanup/verifier" \ +SW_BLOCK_HELM_RELEASE="${HELM_RELEASE}" \ +SW_BLOCK_HELM_NAMESPACE="${HELM_NAMESPACE}" \ + bash scripts/verify-helm-cleanup.sh >"${ARTIFACT_DIR}/cleanup/verifier.stdout.txt" +grep -q '^cleanup_status=ok$' "${ARTIFACT_DIR}/cleanup/verifier/cleanup-summary.txt" + +# Helm intentionally retains CRDs. The gate removes them only after proving no +# instances remain, so the shared lab returns to its pre-run baseline. +[[ "$(kubectl get swblockvolumes -A --no-headers 2>/dev/null | wc -l)" == 0 ]] +[[ "$(kubectl get swblockclusters -A --no-headers 2>/dev/null | wc -l)" == 0 ]] +kubectl delete crd \ + swblockclusters.block.seaweedfs.com \ + swblockvolumes.block.seaweedfs.com \ + swblockreplicaeligibilities.block.seaweedfs.com \ + swblockreplicarebuilds.block.seaweedfs.com \ + swblockreplicafailbacks.block.seaweedfs.com \ + swblockfrontendpublications.block.seaweedfs.com \ + --ignore-not-found=true >/dev/null + +write_summary "target_configfs_residue_count=0" +write_summary "target_nbd_residue_count=0" +write_summary "app_nvme_controller_residue_count=0" +write_summary "kubernetes_product_residue_count=0" +write_summary "test_owned_status_cr_cleanup=true" +write_summary "cleanup_status=ok" +write_summary "phase165_nvme_rdma_k8s_publish_attach_status=ok" + +cat "${SUMMARY}" diff --git a/seaweed-block/testops/scenarios/nvme-rdma-k8s-publish-attach-chain.yaml b/seaweed-block/testops/scenarios/nvme-rdma-k8s-publish-attach-chain.yaml new file mode 100644 index 0000000000..1f0d594c08 --- /dev/null +++ b/seaweed-block/testops/scenarios/nvme-rdma-k8s-publish-attach-chain.yaml @@ -0,0 +1,85 @@ +name: nvme-rdma-k8s-publish-attach-chain +timeout: 60m + +env: + product_root: "/tmp/seaweed_block" + ssh_key: "C:\\work\\dev_server\\testdev_key" + +topology: + nodes: + m02: + host: 192.168.1.184 + user: testdev + key: "{{ ssh_key }}" + +phases: + - name: run_close_gate + actions: + - action: exec + node: m02 + timeout: 55m + cmd: "cd {{ product_root }} && bash scripts/run-phase165-nvme-rdma-k8s-publish-attach-gate.sh {{ product_root }}" + env.KUBECONFIG: "/etc/rancher/k3s/k3s.yaml" + env.SW_BLOCK_ARTIFACT_DIR: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s" + env.SW_BLOCK_PHASE165_RUN_ID: "{{ run_id }}" + env.SW_BLOCK_PHASE165_APP_SSH_KEY: "/opt/work/testdev_key" + + - name: assert_terminal_evidence + actions: + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s/phase165-nvme-rdma-k8s-publish-attach-summary.txt" + pattern: "^phase165_nvme_rdma_k8s_publish_attach_status=ok$" + save_as: gate_ok + - action: assert_greater + actual: "{{ gate_ok }}" + threshold: "0" + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s/phase165-nvme-rdma-k8s-publish-attach-summary.txt" + pattern: "^active_host_controller_transport=rdma$" + save_as: host_rdma + - action: assert_greater + actual: "{{ host_rdma }}" + threshold: "0" + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s/phase165-nvme-rdma-k8s-publish-attach-summary.txt" + pattern: "^swblockvolume_status_transport=rdma$" + save_as: status_rdma + - action: assert_greater + actual: "{{ status_rdma }}" + threshold: "0" + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s/phase165-nvme-rdma-k8s-publish-attach-summary.txt" + pattern: "^writer_verified=true$" + save_as: writer_ok + - action: assert_greater + actual: "{{ writer_ok }}" + threshold: "0" + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s/phase165-nvme-rdma-k8s-publish-attach-summary.txt" + pattern: "^reader_verified=true$" + save_as: reader_ok + - action: assert_greater + actual: "{{ reader_ok }}" + threshold: "0" + - action: grep_log + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s/phase165-nvme-rdma-k8s-publish-attach-summary.txt" + pattern: "^cleanup_status=ok$" + save_as: cleanup_ok + - action: assert_greater + actual: "{{ cleanup_ok }}" + threshold: "0" + + - name: collect + always: true + actions: + - action: collect_path + node: m02 + path: "/mnt/smb/work/share/g15d-k8s/{{ run_id }}-phase165-nvme-rdma-k8s" + name: remote-phases + ignore_error: true