getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public opi_api.storage.v1.FabricsPath getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
-}
-
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FabricsPathOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FabricsPathOrBuilder.java
deleted file mode 100644
index b5c0de0f..00000000
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FabricsPathOrBuilder.java
+++ /dev/null
@@ -1,108 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: backend_nvme.proto
-
-package opi_api.storage.v1;
-
-public interface FabricsPathOrBuilder extends
- // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.FabricsPath)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- * Destination service id (e.g. Port)
- *
- *
- * int64 trsvcid = 1 [(.google.api.field_behavior) = REQUIRED];
- * @return The trsvcid.
- */
- long getTrsvcid();
-
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return The subnqn.
- */
- java.lang.String getSubnqn();
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return The bytes for subnqn.
- */
- com.google.protobuf.ByteString
- getSubnqnBytes();
-
- /**
- *
- * Address family
- *
- *
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return The enum numeric value on the wire for adrfam.
- */
- int getAdrfamValue();
- /**
- *
- * Address family
- *
- *
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 3 [(.google.api.field_behavior) = REQUIRED];
- * @return The adrfam.
- */
- opi_api.storage.v1.NvmeAddressFamily getAdrfam();
-
- /**
- *
- * Source address (e.g. IP of local NIC)
- *
- *
- * string source_traddr = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTraddr.
- */
- java.lang.String getSourceTraddr();
- /**
- *
- * Source address (e.g. IP of local NIC)
- *
- *
- * string source_traddr = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for sourceTraddr.
- */
- com.google.protobuf.ByteString
- getSourceTraddrBytes();
-
- /**
- *
- * Source port (e.g. Port of local NIC)
- *
- *
- * int64 source_trsvcid = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTrsvcid.
- */
- long getSourceTrsvcid();
-
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hostnqn.
- */
- java.lang.String getHostnqn();
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for hostnqn.
- */
- com.google.protobuf.ByteString
- getHostnqnBytes();
-}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java
index 75872507..383469ad 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java
@@ -23,7 +23,6 @@ private NvmePath() {
name_ = "";
controllerNameRef_ = "";
trtype_ = 0;
- traddr_ = "";
}
@java.lang.Override
@@ -75,22 +74,31 @@ private NvmePath(
break;
}
case 34: {
- java.lang.String s = input.readStringRequireUtf8();
-
- traddr_ = s;
+ opi_api.storage.v1.PciEndpoint.Builder subBuilder = null;
+ if (endpointCase_ == 4) {
+ subBuilder = ((opi_api.storage.v1.PciEndpoint) endpoint_).toBuilder();
+ }
+ endpoint_ =
+ input.readMessage(opi_api.storage.v1.PciEndpoint.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom((opi_api.storage.v1.PciEndpoint) endpoint_);
+ endpoint_ = subBuilder.buildPartial();
+ }
+ endpointCase_ = 4;
break;
}
case 42: {
- opi_api.storage.v1.FabricsPath.Builder subBuilder = null;
- if (fabrics_ != null) {
- subBuilder = fabrics_.toBuilder();
+ opi_api.storage.v1.FabricsEndpoint.Builder subBuilder = null;
+ if (endpointCase_ == 5) {
+ subBuilder = ((opi_api.storage.v1.FabricsEndpoint) endpoint_).toBuilder();
}
- fabrics_ = input.readMessage(opi_api.storage.v1.FabricsPath.parser(), extensionRegistry);
+ endpoint_ =
+ input.readMessage(opi_api.storage.v1.FabricsEndpoint.parser(), extensionRegistry);
if (subBuilder != null) {
- subBuilder.mergeFrom(fabrics_);
- fabrics_ = subBuilder.buildPartial();
+ subBuilder.mergeFrom((opi_api.storage.v1.FabricsEndpoint) endpoint_);
+ endpoint_ = subBuilder.buildPartial();
}
-
+ endpointCase_ = 5;
break;
}
default: {
@@ -127,6 +135,47 @@ private NvmePath(
opi_api.storage.v1.NvmePath.class, opi_api.storage.v1.NvmePath.Builder.class);
}
+ private int endpointCase_ = 0;
+ private java.lang.Object endpoint_;
+ public enum EndpointCase
+ implements com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ PCIE(4),
+ FABRICS(5),
+ ENDPOINT_NOT_SET(0);
+ private final int value;
+ private EndpointCase(int value) {
+ this.value = value;
+ }
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static EndpointCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static EndpointCase forNumber(int value) {
+ switch (value) {
+ case 4: return PCIE;
+ case 5: return FABRICS;
+ case 0: return ENDPOINT_NOT_SET;
+ default: return null;
+ }
+ }
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public EndpointCase
+ getEndpointCase() {
+ return EndpointCase.forNumber(
+ endpointCase_);
+ }
+
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -250,88 +299,90 @@ public java.lang.String getControllerNameRef() {
return result == null ? opi_api.storage.v1.NvmeTransportType.UNRECOGNIZED : result;
}
- public static final int TRADDR_FIELD_NUMBER = 4;
- private volatile java.lang.Object traddr_;
+ public static final int PCIE_FIELD_NUMBER = 4;
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return The traddr.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the pcie field is set.
*/
@java.lang.Override
- public java.lang.String getTraddr() {
- java.lang.Object ref = traddr_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- traddr_ = s;
- return s;
+ public boolean hasPcie() {
+ return endpointCase_ == 4;
+ }
+ /**
+ *
+ * Required for pcie transport type.
+ *
+ *
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The pcie.
+ */
+ @java.lang.Override
+ public opi_api.storage.v1.PciEndpoint getPcie() {
+ if (endpointCase_ == 4) {
+ return (opi_api.storage.v1.PciEndpoint) endpoint_;
}
+ return opi_api.storage.v1.PciEndpoint.getDefaultInstance();
}
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return The bytes for traddr.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getTraddrBytes() {
- java.lang.Object ref = traddr_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- traddr_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
+ public opi_api.storage.v1.PciEndpointOrBuilder getPcieOrBuilder() {
+ if (endpointCase_ == 4) {
+ return (opi_api.storage.v1.PciEndpoint) endpoint_;
}
+ return opi_api.storage.v1.PciEndpoint.getDefaultInstance();
}
public static final int FABRICS_FIELD_NUMBER = 5;
- private opi_api.storage.v1.FabricsPath fabrics_;
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return Whether the fabrics field is set.
*/
@java.lang.Override
public boolean hasFabrics() {
- return fabrics_ != null;
+ return endpointCase_ == 5;
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return The fabrics.
*/
@java.lang.Override
- public opi_api.storage.v1.FabricsPath getFabrics() {
- return fabrics_ == null ? opi_api.storage.v1.FabricsPath.getDefaultInstance() : fabrics_;
+ public opi_api.storage.v1.FabricsEndpoint getFabrics() {
+ if (endpointCase_ == 5) {
+ return (opi_api.storage.v1.FabricsEndpoint) endpoint_;
+ }
+ return opi_api.storage.v1.FabricsEndpoint.getDefaultInstance();
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public opi_api.storage.v1.FabricsPathOrBuilder getFabricsOrBuilder() {
- return getFabrics();
+ public opi_api.storage.v1.FabricsEndpointOrBuilder getFabricsOrBuilder() {
+ if (endpointCase_ == 5) {
+ return (opi_api.storage.v1.FabricsEndpoint) endpoint_;
+ }
+ return opi_api.storage.v1.FabricsEndpoint.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@@ -357,11 +408,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (trtype_ != opi_api.storage.v1.NvmeTransportType.NVME_TRANSPORT_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(3, trtype_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traddr_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, traddr_);
+ if (endpointCase_ == 4) {
+ output.writeMessage(4, (opi_api.storage.v1.PciEndpoint) endpoint_);
}
- if (fabrics_ != null) {
- output.writeMessage(5, getFabrics());
+ if (endpointCase_ == 5) {
+ output.writeMessage(5, (opi_api.storage.v1.FabricsEndpoint) endpoint_);
}
unknownFields.writeTo(output);
}
@@ -382,12 +433,13 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, trtype_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traddr_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, traddr_);
+ if (endpointCase_ == 4) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, (opi_api.storage.v1.PciEndpoint) endpoint_);
}
- if (fabrics_ != null) {
+ if (endpointCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getFabrics());
+ .computeMessageSize(5, (opi_api.storage.v1.FabricsEndpoint) endpoint_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -409,12 +461,18 @@ public boolean equals(final java.lang.Object obj) {
if (!getControllerNameRef()
.equals(other.getControllerNameRef())) return false;
if (trtype_ != other.trtype_) return false;
- if (!getTraddr()
- .equals(other.getTraddr())) return false;
- if (hasFabrics() != other.hasFabrics()) return false;
- if (hasFabrics()) {
- if (!getFabrics()
- .equals(other.getFabrics())) return false;
+ if (!getEndpointCase().equals(other.getEndpointCase())) return false;
+ switch (endpointCase_) {
+ case 4:
+ if (!getPcie()
+ .equals(other.getPcie())) return false;
+ break;
+ case 5:
+ if (!getFabrics()
+ .equals(other.getFabrics())) return false;
+ break;
+ case 0:
+ default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@@ -433,11 +491,17 @@ public int hashCode() {
hash = (53 * hash) + getControllerNameRef().hashCode();
hash = (37 * hash) + TRTYPE_FIELD_NUMBER;
hash = (53 * hash) + trtype_;
- hash = (37 * hash) + TRADDR_FIELD_NUMBER;
- hash = (53 * hash) + getTraddr().hashCode();
- if (hasFabrics()) {
- hash = (37 * hash) + FABRICS_FIELD_NUMBER;
- hash = (53 * hash) + getFabrics().hashCode();
+ switch (endpointCase_) {
+ case 4:
+ hash = (37 * hash) + PCIE_FIELD_NUMBER;
+ hash = (53 * hash) + getPcie().hashCode();
+ break;
+ case 5:
+ hash = (37 * hash) + FABRICS_FIELD_NUMBER;
+ hash = (53 * hash) + getFabrics().hashCode();
+ break;
+ case 0:
+ default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
@@ -582,14 +646,8 @@ public Builder clear() {
trtype_ = 0;
- traddr_ = "";
-
- if (fabricsBuilder_ == null) {
- fabrics_ = null;
- } else {
- fabrics_ = null;
- fabricsBuilder_ = null;
- }
+ endpointCase_ = 0;
+ endpoint_ = null;
return this;
}
@@ -619,12 +677,21 @@ public opi_api.storage.v1.NvmePath buildPartial() {
result.name_ = name_;
result.controllerNameRef_ = controllerNameRef_;
result.trtype_ = trtype_;
- result.traddr_ = traddr_;
- if (fabricsBuilder_ == null) {
- result.fabrics_ = fabrics_;
- } else {
- result.fabrics_ = fabricsBuilder_.build();
+ if (endpointCase_ == 4) {
+ if (pcieBuilder_ == null) {
+ result.endpoint_ = endpoint_;
+ } else {
+ result.endpoint_ = pcieBuilder_.build();
+ }
+ }
+ if (endpointCase_ == 5) {
+ if (fabricsBuilder_ == null) {
+ result.endpoint_ = endpoint_;
+ } else {
+ result.endpoint_ = fabricsBuilder_.build();
+ }
}
+ result.endpointCase_ = endpointCase_;
onBuilt();
return result;
}
@@ -684,12 +751,18 @@ public Builder mergeFrom(opi_api.storage.v1.NvmePath other) {
if (other.trtype_ != 0) {
setTrtypeValue(other.getTrtypeValue());
}
- if (!other.getTraddr().isEmpty()) {
- traddr_ = other.traddr_;
- onChanged();
- }
- if (other.hasFabrics()) {
- mergeFabrics(other.getFabrics());
+ switch (other.getEndpointCase()) {
+ case PCIE: {
+ mergePcie(other.getPcie());
+ break;
+ }
+ case FABRICS: {
+ mergeFabrics(other.getFabrics());
+ break;
+ }
+ case ENDPOINT_NOT_SET: {
+ break;
+ }
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -719,6 +792,21 @@ public Builder mergeFrom(
}
return this;
}
+ private int endpointCase_ = 0;
+ private java.lang.Object endpoint_;
+ public EndpointCase
+ getEndpointCase() {
+ return EndpointCase.forNumber(
+ endpointCase_);
+ }
+
+ public Builder clearEndpoint() {
+ endpointCase_ = 0;
+ endpoint_ = null;
+ onChanged();
+ return this;
+ }
+
private java.lang.Object name_ = "";
/**
@@ -996,254 +1084,359 @@ public Builder clearTrtype() {
return this;
}
- private java.lang.Object traddr_ = "";
+ private com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.PciEndpoint, opi_api.storage.v1.PciEndpoint.Builder, opi_api.storage.v1.PciEndpointOrBuilder> pcieBuilder_;
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return The traddr.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the pcie field is set.
*/
- public java.lang.String getTraddr() {
- java.lang.Object ref = traddr_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- traddr_ = s;
- return s;
+ @java.lang.Override
+ public boolean hasPcie() {
+ return endpointCase_ == 4;
+ }
+ /**
+ *
+ * Required for pcie transport type.
+ *
+ *
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The pcie.
+ */
+ @java.lang.Override
+ public opi_api.storage.v1.PciEndpoint getPcie() {
+ if (pcieBuilder_ == null) {
+ if (endpointCase_ == 4) {
+ return (opi_api.storage.v1.PciEndpoint) endpoint_;
+ }
+ return opi_api.storage.v1.PciEndpoint.getDefaultInstance();
} else {
- return (java.lang.String) ref;
+ if (endpointCase_ == 4) {
+ return pcieBuilder_.getMessage();
+ }
+ return opi_api.storage.v1.PciEndpoint.getDefaultInstance();
}
}
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return The bytes for traddr.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- public com.google.protobuf.ByteString
- getTraddrBytes() {
- java.lang.Object ref = traddr_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- traddr_ = b;
- return b;
+ public Builder setPcie(opi_api.storage.v1.PciEndpoint value) {
+ if (pcieBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endpoint_ = value;
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ pcieBuilder_.setMessage(value);
}
+ endpointCase_ = 4;
+ return this;
}
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param value The traddr to set.
- * @return This builder for chaining.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder setTraddr(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- traddr_ = value;
- onChanged();
+ public Builder setPcie(
+ opi_api.storage.v1.PciEndpoint.Builder builderForValue) {
+ if (pcieBuilder_ == null) {
+ endpoint_ = builderForValue.build();
+ onChanged();
+ } else {
+ pcieBuilder_.setMessage(builderForValue.build());
+ }
+ endpointCase_ = 4;
return this;
}
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return This builder for chaining.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder clearTraddr() {
-
- traddr_ = getDefaultInstance().getTraddr();
- onChanged();
+ public Builder mergePcie(opi_api.storage.v1.PciEndpoint value) {
+ if (pcieBuilder_ == null) {
+ if (endpointCase_ == 4 &&
+ endpoint_ != opi_api.storage.v1.PciEndpoint.getDefaultInstance()) {
+ endpoint_ = opi_api.storage.v1.PciEndpoint.newBuilder((opi_api.storage.v1.PciEndpoint) endpoint_)
+ .mergeFrom(value).buildPartial();
+ } else {
+ endpoint_ = value;
+ }
+ onChanged();
+ } else {
+ if (endpointCase_ == 4) {
+ pcieBuilder_.mergeFrom(value);
+ } else {
+ pcieBuilder_.setMessage(value);
+ }
+ }
+ endpointCase_ = 4;
return this;
}
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @param value The bytes for traddr to set.
- * @return This builder for chaining.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder setTraddrBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- traddr_ = value;
- onChanged();
+ public Builder clearPcie() {
+ if (pcieBuilder_ == null) {
+ if (endpointCase_ == 4) {
+ endpointCase_ = 0;
+ endpoint_ = null;
+ onChanged();
+ }
+ } else {
+ if (endpointCase_ == 4) {
+ endpointCase_ = 0;
+ endpoint_ = null;
+ }
+ pcieBuilder_.clear();
+ }
return this;
}
+ /**
+ *
+ * Required for pcie transport type.
+ *
+ *
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public opi_api.storage.v1.PciEndpoint.Builder getPcieBuilder() {
+ return getPcieFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ * Required for pcie transport type.
+ *
+ *
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ @java.lang.Override
+ public opi_api.storage.v1.PciEndpointOrBuilder getPcieOrBuilder() {
+ if ((endpointCase_ == 4) && (pcieBuilder_ != null)) {
+ return pcieBuilder_.getMessageOrBuilder();
+ } else {
+ if (endpointCase_ == 4) {
+ return (opi_api.storage.v1.PciEndpoint) endpoint_;
+ }
+ return opi_api.storage.v1.PciEndpoint.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ * Required for pcie transport type.
+ *
+ *
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.PciEndpoint, opi_api.storage.v1.PciEndpoint.Builder, opi_api.storage.v1.PciEndpointOrBuilder>
+ getPcieFieldBuilder() {
+ if (pcieBuilder_ == null) {
+ if (!(endpointCase_ == 4)) {
+ endpoint_ = opi_api.storage.v1.PciEndpoint.getDefaultInstance();
+ }
+ pcieBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.PciEndpoint, opi_api.storage.v1.PciEndpoint.Builder, opi_api.storage.v1.PciEndpointOrBuilder>(
+ (opi_api.storage.v1.PciEndpoint) endpoint_,
+ getParentForChildren(),
+ isClean());
+ endpoint_ = null;
+ }
+ endpointCase_ = 4;
+ onChanged();;
+ return pcieBuilder_;
+ }
- private opi_api.storage.v1.FabricsPath fabrics_;
private com.google.protobuf.SingleFieldBuilderV3<
- opi_api.storage.v1.FabricsPath, opi_api.storage.v1.FabricsPath.Builder, opi_api.storage.v1.FabricsPathOrBuilder> fabricsBuilder_;
+ opi_api.storage.v1.FabricsEndpoint, opi_api.storage.v1.FabricsEndpoint.Builder, opi_api.storage.v1.FabricsEndpointOrBuilder> fabricsBuilder_;
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return Whether the fabrics field is set.
*/
+ @java.lang.Override
public boolean hasFabrics() {
- return fabricsBuilder_ != null || fabrics_ != null;
+ return endpointCase_ == 5;
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return The fabrics.
*/
- public opi_api.storage.v1.FabricsPath getFabrics() {
+ @java.lang.Override
+ public opi_api.storage.v1.FabricsEndpoint getFabrics() {
if (fabricsBuilder_ == null) {
- return fabrics_ == null ? opi_api.storage.v1.FabricsPath.getDefaultInstance() : fabrics_;
+ if (endpointCase_ == 5) {
+ return (opi_api.storage.v1.FabricsEndpoint) endpoint_;
+ }
+ return opi_api.storage.v1.FabricsEndpoint.getDefaultInstance();
} else {
- return fabricsBuilder_.getMessage();
+ if (endpointCase_ == 5) {
+ return fabricsBuilder_.getMessage();
+ }
+ return opi_api.storage.v1.FabricsEndpoint.getDefaultInstance();
}
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder setFabrics(opi_api.storage.v1.FabricsPath value) {
+ public Builder setFabrics(opi_api.storage.v1.FabricsEndpoint value) {
if (fabricsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- fabrics_ = value;
+ endpoint_ = value;
onChanged();
} else {
fabricsBuilder_.setMessage(value);
}
-
+ endpointCase_ = 5;
return this;
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
public Builder setFabrics(
- opi_api.storage.v1.FabricsPath.Builder builderForValue) {
+ opi_api.storage.v1.FabricsEndpoint.Builder builderForValue) {
if (fabricsBuilder_ == null) {
- fabrics_ = builderForValue.build();
+ endpoint_ = builderForValue.build();
onChanged();
} else {
fabricsBuilder_.setMessage(builderForValue.build());
}
-
+ endpointCase_ = 5;
return this;
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder mergeFabrics(opi_api.storage.v1.FabricsPath value) {
+ public Builder mergeFabrics(opi_api.storage.v1.FabricsEndpoint value) {
if (fabricsBuilder_ == null) {
- if (fabrics_ != null) {
- fabrics_ =
- opi_api.storage.v1.FabricsPath.newBuilder(fabrics_).mergeFrom(value).buildPartial();
+ if (endpointCase_ == 5 &&
+ endpoint_ != opi_api.storage.v1.FabricsEndpoint.getDefaultInstance()) {
+ endpoint_ = opi_api.storage.v1.FabricsEndpoint.newBuilder((opi_api.storage.v1.FabricsEndpoint) endpoint_)
+ .mergeFrom(value).buildPartial();
} else {
- fabrics_ = value;
+ endpoint_ = value;
}
onChanged();
} else {
- fabricsBuilder_.mergeFrom(value);
+ if (endpointCase_ == 5) {
+ fabricsBuilder_.mergeFrom(value);
+ } else {
+ fabricsBuilder_.setMessage(value);
+ }
}
-
+ endpointCase_ = 5;
return this;
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
public Builder clearFabrics() {
if (fabricsBuilder_ == null) {
- fabrics_ = null;
- onChanged();
+ if (endpointCase_ == 5) {
+ endpointCase_ = 0;
+ endpoint_ = null;
+ onChanged();
+ }
} else {
- fabrics_ = null;
- fabricsBuilder_ = null;
+ if (endpointCase_ == 5) {
+ endpointCase_ = 0;
+ endpoint_ = null;
+ }
+ fabricsBuilder_.clear();
}
-
return this;
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public opi_api.storage.v1.FabricsPath.Builder getFabricsBuilder() {
-
- onChanged();
+ public opi_api.storage.v1.FabricsEndpoint.Builder getFabricsBuilder() {
return getFabricsFieldBuilder().getBuilder();
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public opi_api.storage.v1.FabricsPathOrBuilder getFabricsOrBuilder() {
- if (fabricsBuilder_ != null) {
+ @java.lang.Override
+ public opi_api.storage.v1.FabricsEndpointOrBuilder getFabricsOrBuilder() {
+ if ((endpointCase_ == 5) && (fabricsBuilder_ != null)) {
return fabricsBuilder_.getMessageOrBuilder();
} else {
- return fabrics_ == null ?
- opi_api.storage.v1.FabricsPath.getDefaultInstance() : fabrics_;
+ if (endpointCase_ == 5) {
+ return (opi_api.storage.v1.FabricsEndpoint) endpoint_;
+ }
+ return opi_api.storage.v1.FabricsEndpoint.getDefaultInstance();
}
}
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
private com.google.protobuf.SingleFieldBuilderV3<
- opi_api.storage.v1.FabricsPath, opi_api.storage.v1.FabricsPath.Builder, opi_api.storage.v1.FabricsPathOrBuilder>
+ opi_api.storage.v1.FabricsEndpoint, opi_api.storage.v1.FabricsEndpoint.Builder, opi_api.storage.v1.FabricsEndpointOrBuilder>
getFabricsFieldBuilder() {
if (fabricsBuilder_ == null) {
+ if (!(endpointCase_ == 5)) {
+ endpoint_ = opi_api.storage.v1.FabricsEndpoint.getDefaultInstance();
+ }
fabricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- opi_api.storage.v1.FabricsPath, opi_api.storage.v1.FabricsPath.Builder, opi_api.storage.v1.FabricsPathOrBuilder>(
- getFabrics(),
+ opi_api.storage.v1.FabricsEndpoint, opi_api.storage.v1.FabricsEndpoint.Builder, opi_api.storage.v1.FabricsEndpointOrBuilder>(
+ (opi_api.storage.v1.FabricsEndpoint) endpoint_,
getParentForChildren(),
isClean());
- fabrics_ = null;
+ endpoint_ = null;
}
+ endpointCase_ = 5;
+ onChanged();;
return fabricsBuilder_;
}
@java.lang.Override
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java
index 08d5b62a..d2f350ff 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java
@@ -72,48 +72,57 @@ public interface NvmePathOrBuilder extends
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return The traddr.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the pcie field is set.
*/
- java.lang.String getTraddr();
+ boolean hasPcie();
/**
*
- * Destination address (e.g. IP address, BDF for local PCIe)
+ * Required for pcie transport type.
*
*
- * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
- * @return The bytes for traddr.
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The pcie.
*/
- com.google.protobuf.ByteString
- getTraddrBytes();
+ opi_api.storage.v1.PciEndpoint getPcie();
+ /**
+ *
+ * Required for pcie transport type.
+ *
+ *
+ * .opi_api.storage.v1.PciEndpoint pcie = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ opi_api.storage.v1.PciEndpointOrBuilder getPcieOrBuilder();
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return Whether the fabrics field is set.
*/
boolean hasFabrics();
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return The fabrics.
*/
- opi_api.storage.v1.FabricsPath getFabrics();
+ opi_api.storage.v1.FabricsEndpoint getFabrics();
/**
*
- * Not applicable for local PCIe. Required for Nvme over fabrics transport types
+ * Required for Nvme over fabrics transport types
*
*
- * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.FabricsEndpoint fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- opi_api.storage.v1.FabricsPathOrBuilder getFabricsOrBuilder();
+ opi_api.storage.v1.FabricsEndpointOrBuilder getFabricsOrBuilder();
+
+ public opi_api.storage.v1.NvmePath.EndpointCase getEndpointCase();
}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java
index fbe79882..33f7f18f 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java
@@ -22,6 +22,8 @@ private NvmeRemoteController(com.google.protobuf.GeneratedMessageV3.Builder> b
private NvmeRemoteController() {
name_ = "";
multipath_ = 0;
+ subnqn_ = "";
+ hostnqn_ = "";
}
@java.lang.Override
@@ -66,17 +68,29 @@ private NvmeRemoteController(
multipath_ = rawValue;
break;
}
- case 24: {
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ subnqn_ = s;
+ break;
+ }
+ case 34: {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ hostnqn_ = s;
+ break;
+ }
+ case 40: {
ioQueuesCount_ = input.readInt64();
break;
}
- case 32: {
+ case 48: {
queueSize_ = input.readInt64();
break;
}
- case 42: {
+ case 58: {
opi_api.storage.v1.TcpController.Builder subBuilder = null;
if (tcp_ != null) {
subBuilder = tcp_.toBuilder();
@@ -200,14 +214,106 @@ public java.lang.String getName() {
return result == null ? opi_api.storage.v1.NvmeMultipath.UNRECOGNIZED : result;
}
- public static final int IO_QUEUES_COUNT_FIELD_NUMBER = 3;
+ public static final int SUBNQN_FIELD_NUMBER = 3;
+ private volatile java.lang.Object subnqn_;
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The subnqn.
+ */
+ @java.lang.Override
+ public java.lang.String getSubnqn() {
+ java.lang.Object ref = subnqn_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ subnqn_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for subnqn.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getSubnqnBytes() {
+ java.lang.Object ref = subnqn_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ subnqn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int HOSTNQN_FIELD_NUMBER = 4;
+ private volatile java.lang.Object hostnqn_;
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hostnqn.
+ */
+ @java.lang.Override
+ public java.lang.String getHostnqn() {
+ java.lang.Object ref = hostnqn_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ hostnqn_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for hostnqn.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getHostnqnBytes() {
+ java.lang.Object ref = hostnqn_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ hostnqn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int IO_QUEUES_COUNT_FIELD_NUMBER = 5;
private long ioQueuesCount_;
/**
*
* IO queues count
*
*
- * int64 io_queues_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 io_queues_count = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return The ioQueuesCount.
*/
@java.lang.Override
@@ -215,14 +321,14 @@ public long getIoQueuesCount() {
return ioQueuesCount_;
}
- public static final int QUEUE_SIZE_FIELD_NUMBER = 4;
+ public static final int QUEUE_SIZE_FIELD_NUMBER = 6;
private long queueSize_;
/**
*
* Queue size
*
*
- * int64 queue_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 queue_size = 6 [(.google.api.field_behavior) = OPTIONAL];
* @return The queueSize.
*/
@java.lang.Override
@@ -230,14 +336,14 @@ public long getQueueSize() {
return queueSize_;
}
- public static final int TCP_FIELD_NUMBER = 5;
+ public static final int TCP_FIELD_NUMBER = 7;
private opi_api.storage.v1.TcpController tcp_;
/**
*
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
* @return Whether the tcp field is set.
*/
@java.lang.Override
@@ -249,7 +355,7 @@ public boolean hasTcp() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
* @return The tcp.
*/
@java.lang.Override
@@ -261,7 +367,7 @@ public opi_api.storage.v1.TcpController getTcp() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
public opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder() {
@@ -288,14 +394,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (multipath_ != opi_api.storage.v1.NvmeMultipath.NVME_MULTIPATH_UNSPECIFIED.getNumber()) {
output.writeEnum(2, multipath_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnqn_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subnqn_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostnqn_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hostnqn_);
+ }
if (ioQueuesCount_ != 0L) {
- output.writeInt64(3, ioQueuesCount_);
+ output.writeInt64(5, ioQueuesCount_);
}
if (queueSize_ != 0L) {
- output.writeInt64(4, queueSize_);
+ output.writeInt64(6, queueSize_);
}
if (tcp_ != null) {
- output.writeMessage(5, getTcp());
+ output.writeMessage(7, getTcp());
}
unknownFields.writeTo(output);
}
@@ -313,17 +425,23 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, multipath_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnqn_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnqn_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostnqn_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hostnqn_);
+ }
if (ioQueuesCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, ioQueuesCount_);
+ .computeInt64Size(5, ioQueuesCount_);
}
if (queueSize_ != 0L) {
size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(4, queueSize_);
+ .computeInt64Size(6, queueSize_);
}
if (tcp_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, getTcp());
+ .computeMessageSize(7, getTcp());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -343,6 +461,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getName()
.equals(other.getName())) return false;
if (multipath_ != other.multipath_) return false;
+ if (!getSubnqn()
+ .equals(other.getSubnqn())) return false;
+ if (!getHostnqn()
+ .equals(other.getHostnqn())) return false;
if (getIoQueuesCount()
!= other.getIoQueuesCount()) return false;
if (getQueueSize()
@@ -367,6 +489,10 @@ public int hashCode() {
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + MULTIPATH_FIELD_NUMBER;
hash = (53 * hash) + multipath_;
+ hash = (37 * hash) + SUBNQN_FIELD_NUMBER;
+ hash = (53 * hash) + getSubnqn().hashCode();
+ hash = (37 * hash) + HOSTNQN_FIELD_NUMBER;
+ hash = (53 * hash) + getHostnqn().hashCode();
hash = (37 * hash) + IO_QUEUES_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIoQueuesCount());
@@ -518,6 +644,10 @@ public Builder clear() {
multipath_ = 0;
+ subnqn_ = "";
+
+ hostnqn_ = "";
+
ioQueuesCount_ = 0L;
queueSize_ = 0L;
@@ -556,6 +686,8 @@ public opi_api.storage.v1.NvmeRemoteController buildPartial() {
opi_api.storage.v1.NvmeRemoteController result = new opi_api.storage.v1.NvmeRemoteController(this);
result.name_ = name_;
result.multipath_ = multipath_;
+ result.subnqn_ = subnqn_;
+ result.hostnqn_ = hostnqn_;
result.ioQueuesCount_ = ioQueuesCount_;
result.queueSize_ = queueSize_;
if (tcpBuilder_ == null) {
@@ -618,6 +750,14 @@ public Builder mergeFrom(opi_api.storage.v1.NvmeRemoteController other) {
if (other.multipath_ != 0) {
setMultipathValue(other.getMultipathValue());
}
+ if (!other.getSubnqn().isEmpty()) {
+ subnqn_ = other.subnqn_;
+ onChanged();
+ }
+ if (!other.getHostnqn().isEmpty()) {
+ hostnqn_ = other.hostnqn_;
+ onChanged();
+ }
if (other.getIoQueuesCount() != 0L) {
setIoQueuesCount(other.getIoQueuesCount());
}
@@ -836,13 +976,205 @@ public Builder clearMultipath() {
return this;
}
+ private java.lang.Object subnqn_ = "";
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The subnqn.
+ */
+ public java.lang.String getSubnqn() {
+ java.lang.Object ref = subnqn_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ subnqn_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for subnqn.
+ */
+ public com.google.protobuf.ByteString
+ getSubnqnBytes() {
+ java.lang.Object ref = subnqn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ subnqn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The subnqn to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSubnqn(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ subnqn_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return This builder for chaining.
+ */
+ public Builder clearSubnqn() {
+
+ subnqn_ = getDefaultInstance().getSubnqn();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The bytes for subnqn to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSubnqnBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ subnqn_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object hostnqn_ = "";
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hostnqn.
+ */
+ public java.lang.String getHostnqn() {
+ java.lang.Object ref = hostnqn_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ hostnqn_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for hostnqn.
+ */
+ public com.google.protobuf.ByteString
+ getHostnqnBytes() {
+ java.lang.Object ref = hostnqn_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ hostnqn_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The hostnqn to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHostnqn(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ hostnqn_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return This builder for chaining.
+ */
+ public Builder clearHostnqn() {
+
+ hostnqn_ = getDefaultInstance().getHostnqn();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The bytes for hostnqn to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHostnqnBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ hostnqn_ = value;
+ onChanged();
+ return this;
+ }
+
private long ioQueuesCount_ ;
/**
*
* IO queues count
*
*
- * int64 io_queues_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 io_queues_count = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return The ioQueuesCount.
*/
@java.lang.Override
@@ -854,7 +1186,7 @@ public long getIoQueuesCount() {
* IO queues count
*
*
- * int64 io_queues_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 io_queues_count = 5 [(.google.api.field_behavior) = OPTIONAL];
* @param value The ioQueuesCount to set.
* @return This builder for chaining.
*/
@@ -869,7 +1201,7 @@ public Builder setIoQueuesCount(long value) {
* IO queues count
*
*
- * int64 io_queues_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 io_queues_count = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return This builder for chaining.
*/
public Builder clearIoQueuesCount() {
@@ -885,7 +1217,7 @@ public Builder clearIoQueuesCount() {
* Queue size
*
*
- * int64 queue_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 queue_size = 6 [(.google.api.field_behavior) = OPTIONAL];
* @return The queueSize.
*/
@java.lang.Override
@@ -897,7 +1229,7 @@ public long getQueueSize() {
* Queue size
*
*
- * int64 queue_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 queue_size = 6 [(.google.api.field_behavior) = OPTIONAL];
* @param value The queueSize to set.
* @return This builder for chaining.
*/
@@ -912,7 +1244,7 @@ public Builder setQueueSize(long value) {
* Queue size
*
*
- * int64 queue_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 queue_size = 6 [(.google.api.field_behavior) = OPTIONAL];
* @return This builder for chaining.
*/
public Builder clearQueueSize() {
@@ -930,7 +1262,7 @@ public Builder clearQueueSize() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
* @return Whether the tcp field is set.
*/
public boolean hasTcp() {
@@ -941,7 +1273,7 @@ public boolean hasTcp() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
* @return The tcp.
*/
public opi_api.storage.v1.TcpController getTcp() {
@@ -956,7 +1288,7 @@ public opi_api.storage.v1.TcpController getTcp() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
public Builder setTcp(opi_api.storage.v1.TcpController value) {
if (tcpBuilder_ == null) {
@@ -976,7 +1308,7 @@ public Builder setTcp(opi_api.storage.v1.TcpController value) {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
public Builder setTcp(
opi_api.storage.v1.TcpController.Builder builderForValue) {
@@ -994,7 +1326,7 @@ public Builder setTcp(
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
public Builder mergeTcp(opi_api.storage.v1.TcpController value) {
if (tcpBuilder_ == null) {
@@ -1016,7 +1348,7 @@ public Builder mergeTcp(opi_api.storage.v1.TcpController value) {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
public Builder clearTcp() {
if (tcpBuilder_ == null) {
@@ -1034,7 +1366,7 @@ public Builder clearTcp() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
public opi_api.storage.v1.TcpController.Builder getTcpBuilder() {
@@ -1046,7 +1378,7 @@ public opi_api.storage.v1.TcpController.Builder getTcpBuilder() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
public opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder() {
if (tcpBuilder_ != null) {
@@ -1061,7 +1393,7 @@ public opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder() {
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
private com.google.protobuf.SingleFieldBuilderV3<
opi_api.storage.v1.TcpController, opi_api.storage.v1.TcpController.Builder, opi_api.storage.v1.TcpControllerOrBuilder>
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java
index 6aadc965..d6dddade 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java
@@ -50,12 +50,52 @@ public interface NvmeRemoteControllerOrBuilder extends
*/
opi_api.storage.v1.NvmeMultipath getMultipath();
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The subnqn.
+ */
+ java.lang.String getSubnqn();
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for subnqn.
+ */
+ com.google.protobuf.ByteString
+ getSubnqnBytes();
+
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hostnqn.
+ */
+ java.lang.String getHostnqn();
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for hostnqn.
+ */
+ com.google.protobuf.ByteString
+ getHostnqnBytes();
+
/**
*
* IO queues count
*
*
- * int64 io_queues_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 io_queues_count = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return The ioQueuesCount.
*/
long getIoQueuesCount();
@@ -65,7 +105,7 @@ public interface NvmeRemoteControllerOrBuilder extends
* Queue size
*
*
- * int64 queue_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * int64 queue_size = 6 [(.google.api.field_behavior) = OPTIONAL];
* @return The queueSize.
*/
long getQueueSize();
@@ -75,7 +115,7 @@ public interface NvmeRemoteControllerOrBuilder extends
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
* @return Whether the tcp field is set.
*/
boolean hasTcp();
@@ -84,7 +124,7 @@ public interface NvmeRemoteControllerOrBuilder extends
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
* @return The tcp.
*/
opi_api.storage.v1.TcpController getTcp();
@@ -93,7 +133,7 @@ public interface NvmeRemoteControllerOrBuilder extends
* Nvme over TCP specific fields
*
*
- * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * .opi_api.storage.v1.TcpController tcp = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder();
}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java
index f8b8c89f..221a5448 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/OpiCommonProto.java
@@ -45,45 +45,48 @@ public static void registerAllExtensions(
java.lang.String[] descriptorData = {
"\n\017opicommon.proto\022\022opi_api.storage.v1\032\037g" +
"oogle/api/field_behavior.proto\032\036google/p" +
- "rotobuf/wrappers.proto\"\271\001\n\013PciEndpoint\0221" +
+ "rotobuf/wrappers.proto\"\356\001\n\013PciEndpoint\0221" +
"\n\007port_id\030\001 \001(\0132\033.google.protobuf.Int32V" +
"alueB\003\340A\002\022;\n\021physical_function\030\002 \001(\0132\033.g" +
"oogle.protobuf.Int32ValueB\003\340A\002\022:\n\020virtua" +
"l_function\030\003 \001(\0132\033.google.protobuf.Int32" +
- "ValueB\003\340A\002\"x\n\017FabricsEndpoint\022\023\n\006traddr\030" +
- "\001 \001(\tB\003\340A\002\022\024\n\007trsvcid\030\002 \001(\tB\003\340A\002\022:\n\006adrf" +
- "am\030\003 \001(\0162%.opi_api.storage.v1.NvmeAddres" +
- "sFamilyB\003\340A\002\"\252\002\n\013VolumeStats\022\035\n\020read_byt" +
- "es_count\030\001 \001(\005B\003\340A\003\022\033\n\016read_ops_count\030\002 " +
- "\001(\005B\003\340A\003\022\036\n\021write_bytes_count\030\003 \001(\005B\003\340A\003" +
- "\022\034\n\017write_ops_count\030\004 \001(\005B\003\340A\003\022\036\n\021unmap_" +
- "bytes_count\030\005 \001(\005B\003\340A\003\022\034\n\017unmap_ops_coun" +
- "t\030\006 \001(\005B\003\340A\003\022\037\n\022read_latency_ticks\030\007 \001(\005" +
- "B\003\340A\003\022 \n\023write_latency_ticks\030\010 \001(\005B\003\340A\003\022" +
- " \n\023unmap_latency_ticks\030\t \001(\005B\003\340A\003\"\273\001\n\010Qo" +
- "sLimit\022\032\n\rrd_iops_kiops\030\001 \001(\003B\003\340A\001\022\032\n\rwr" +
- "_iops_kiops\030\002 \001(\003B\003\340A\001\022\032\n\rrw_iops_kiops\030" +
- "\003 \001(\003B\003\340A\001\022\035\n\020rd_bandwidth_mbs\030\004 \001(\003B\003\340A" +
- "\001\022\035\n\020wr_bandwidth_mbs\030\005 \001(\003B\003\340A\001\022\035\n\020rw_b" +
- "andwidth_mbs\030\006 \001(\003B\003\340A\001*\367\001\n\016EncryptionTy" +
- "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\037\n\033E" +
- "NCRYPTION_TYPE_AES_CBC_128\020\001\022\037\n\033ENCRYPTI" +
- "ON_TYPE_AES_CBC_192\020\002\022\037\n\033ENCRYPTION_TYPE" +
- "_AES_CBC_256\020\003\022\037\n\033ENCRYPTION_TYPE_AES_XT" +
- "S_128\020\004\022\037\n\033ENCRYPTION_TYPE_AES_XTS_192\020\005" +
- "\022\037\n\033ENCRYPTION_TYPE_AES_XTS_256\020\006*\264\001\n\021Nv" +
- "meTransportType\022#\n\037NVME_TRANSPORT_TYPE_U" +
- "NSPECIFIED\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001\022\027\n\023N" +
- "VME_TRANSPORT_PCIE\020\002\022\027\n\023NVME_TRANSPORT_R" +
- "DMA\020\003\022\026\n\022NVME_TRANSPORT_TCP\020\004\022\031\n\025NVME_TR" +
- "ANSPORT_CUSTOM\020\005*\250\001\n\021NvmeAddressFamily\022#" +
- "\n\037NVME_ADDRESS_FAMILY_UNSPECIFIED\020\000\022\024\n\020N" +
- "VME_ADRFAM_IPV4\020\001\022\024\n\020NVME_ADRFAM_IPV6\020\002\022" +
- "\022\n\016NVME_ADRFAM_IB\020\003\022\022\n\016NVME_ADRFAM_FC\020\004\022" +
- "\032\n\026NVME_ADRFAM_INTRA_HOST\020\005B]\n\022opi_api.s" +
- "torage.v1B\016OpiCommonProtoP\001Z5github.com/" +
- "opiproject/opi-api/storage/v1alpha1/gen/" +
- "gob\006proto3"
+ "ValueB\003\340A\002\0223\n\tdomain_id\030\004 \001(\0132\033.google.p" +
+ "rotobuf.Int32ValueB\003\340A\001\"\261\001\n\017FabricsEndpo" +
+ "int\022\023\n\006traddr\030\001 \001(\tB\003\340A\002\022\024\n\007trsvcid\030\002 \001(" +
+ "\tB\003\340A\002\022:\n\006adrfam\030\003 \001(\0162%.opi_api.storage" +
+ ".v1.NvmeAddressFamilyB\003\340A\002\022\032\n\rsource_tra" +
+ "ddr\030\004 \001(\tB\003\340A\001\022\033\n\016source_trsvcid\030\005 \001(\tB\003" +
+ "\340A\001\"\252\002\n\013VolumeStats\022\035\n\020read_bytes_count\030" +
+ "\001 \001(\005B\003\340A\003\022\033\n\016read_ops_count\030\002 \001(\005B\003\340A\003\022" +
+ "\036\n\021write_bytes_count\030\003 \001(\005B\003\340A\003\022\034\n\017write" +
+ "_ops_count\030\004 \001(\005B\003\340A\003\022\036\n\021unmap_bytes_cou" +
+ "nt\030\005 \001(\005B\003\340A\003\022\034\n\017unmap_ops_count\030\006 \001(\005B\003" +
+ "\340A\003\022\037\n\022read_latency_ticks\030\007 \001(\005B\003\340A\003\022 \n\023" +
+ "write_latency_ticks\030\010 \001(\005B\003\340A\003\022 \n\023unmap_" +
+ "latency_ticks\030\t \001(\005B\003\340A\003\"\273\001\n\010QosLimit\022\032\n" +
+ "\rrd_iops_kiops\030\001 \001(\003B\003\340A\001\022\032\n\rwr_iops_kio" +
+ "ps\030\002 \001(\003B\003\340A\001\022\032\n\rrw_iops_kiops\030\003 \001(\003B\003\340A" +
+ "\001\022\035\n\020rd_bandwidth_mbs\030\004 \001(\003B\003\340A\001\022\035\n\020wr_b" +
+ "andwidth_mbs\030\005 \001(\003B\003\340A\001\022\035\n\020rw_bandwidth_" +
+ "mbs\030\006 \001(\003B\003\340A\001*\367\001\n\016EncryptionType\022\037\n\033ENC" +
+ "RYPTION_TYPE_UNSPECIFIED\020\000\022\037\n\033ENCRYPTION" +
+ "_TYPE_AES_CBC_128\020\001\022\037\n\033ENCRYPTION_TYPE_A" +
+ "ES_CBC_192\020\002\022\037\n\033ENCRYPTION_TYPE_AES_CBC_" +
+ "256\020\003\022\037\n\033ENCRYPTION_TYPE_AES_XTS_128\020\004\022\037" +
+ "\n\033ENCRYPTION_TYPE_AES_XTS_192\020\005\022\037\n\033ENCRY" +
+ "PTION_TYPE_AES_XTS_256\020\006*\264\001\n\021NvmeTranspo" +
+ "rtType\022#\n\037NVME_TRANSPORT_TYPE_UNSPECIFIE" +
+ "D\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001\022\027\n\023NVME_TRANS" +
+ "PORT_PCIE\020\002\022\027\n\023NVME_TRANSPORT_RDMA\020\003\022\026\n\022" +
+ "NVME_TRANSPORT_TCP\020\004\022\031\n\025NVME_TRANSPORT_C" +
+ "USTOM\020\005*\250\001\n\021NvmeAddressFamily\022#\n\037NVME_AD" +
+ "DRESS_FAMILY_UNSPECIFIED\020\000\022\024\n\020NVME_ADRFA" +
+ "M_IPV4\020\001\022\024\n\020NVME_ADRFAM_IPV6\020\002\022\022\n\016NVME_A" +
+ "DRFAM_IB\020\003\022\022\n\016NVME_ADRFAM_FC\020\004\022\032\n\026NVME_A" +
+ "DRFAM_INTRA_HOST\020\005B]\n\022opi_api.storage.v1" +
+ "B\016OpiCommonProtoP\001Z5github.com/opiprojec" +
+ "t/opi-api/storage/v1alpha1/gen/gob\006proto" +
+ "3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -96,13 +99,13 @@ public static void registerAllExtensions(
internal_static_opi_api_storage_v1_PciEndpoint_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_opi_api_storage_v1_PciEndpoint_descriptor,
- new java.lang.String[] { "PortId", "PhysicalFunction", "VirtualFunction", });
+ new java.lang.String[] { "PortId", "PhysicalFunction", "VirtualFunction", "DomainId", });
internal_static_opi_api_storage_v1_FabricsEndpoint_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_opi_api_storage_v1_FabricsEndpoint_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_opi_api_storage_v1_FabricsEndpoint_descriptor,
- new java.lang.String[] { "Traddr", "Trsvcid", "Adrfam", });
+ new java.lang.String[] { "Traddr", "Trsvcid", "Adrfam", "SourceTraddr", "SourceTrsvcid", });
internal_static_opi_api_storage_v1_VolumeStats_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_opi_api_storage_v1_VolumeStats_fieldAccessorTable = new
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpoint.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpoint.java
index e9c3022f..e849cdd4 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpoint.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpoint.java
@@ -98,6 +98,19 @@ private PciEndpoint(
break;
}
+ case 34: {
+ com.google.protobuf.Int32Value.Builder subBuilder = null;
+ if (domainId_ != null) {
+ subBuilder = domainId_.toBuilder();
+ }
+ domainId_ = input.readMessage(com.google.protobuf.Int32Value.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(domainId_);
+ domainId_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -136,10 +149,13 @@ private PciEndpoint(
private com.google.protobuf.Int32Value portId_;
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -151,10 +167,13 @@ public boolean hasPortId() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -166,10 +185,13 @@ public com.google.protobuf.Int32Value getPortId() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -183,9 +205,12 @@ public com.google.protobuf.Int32ValueOrBuilder getPortIdOrBuilder() {
private com.google.protobuf.Int32Value physicalFunction_;
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -197,9 +222,12 @@ public boolean hasPhysicalFunction() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -211,9 +239,12 @@ public com.google.protobuf.Int32Value getPhysicalFunction() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -227,11 +258,14 @@ public com.google.protobuf.Int32ValueOrBuilder getPhysicalFunctionOrBuilder() {
private com.google.protobuf.Int32Value virtualFunction_;
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -243,11 +277,14 @@ public boolean hasVirtualFunction() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -259,11 +296,14 @@ public com.google.protobuf.Int32Value getVirtualFunction() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -273,6 +313,53 @@ public com.google.protobuf.Int32ValueOrBuilder getVirtualFunctionOrBuilder() {
return getVirtualFunction();
}
+ public static final int DOMAIN_ID_FIELD_NUMBER = 4;
+ private com.google.protobuf.Int32Value domainId_;
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the domainId field is set.
+ */
+ @java.lang.Override
+ public boolean hasDomainId() {
+ return domainId_ != null;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The domainId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Int32Value getDomainId() {
+ return domainId_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : domainId_;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ @java.lang.Override
+ public com.google.protobuf.Int32ValueOrBuilder getDomainIdOrBuilder() {
+ return getDomainId();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -296,6 +383,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (virtualFunction_ != null) {
output.writeMessage(3, getVirtualFunction());
}
+ if (domainId_ != null) {
+ output.writeMessage(4, getDomainId());
+ }
unknownFields.writeTo(output);
}
@@ -317,6 +407,10 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVirtualFunction());
}
+ if (domainId_ != null) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, getDomainId());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -347,6 +441,11 @@ public boolean equals(final java.lang.Object obj) {
if (!getVirtualFunction()
.equals(other.getVirtualFunction())) return false;
}
+ if (hasDomainId() != other.hasDomainId()) return false;
+ if (hasDomainId()) {
+ if (!getDomainId()
+ .equals(other.getDomainId())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -370,6 +469,10 @@ public int hashCode() {
hash = (37 * hash) + VIRTUAL_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getVirtualFunction().hashCode();
}
+ if (hasDomainId()) {
+ hash = (37 * hash) + DOMAIN_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getDomainId().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -532,6 +635,12 @@ public Builder clear() {
virtualFunction_ = null;
virtualFunctionBuilder_ = null;
}
+ if (domainIdBuilder_ == null) {
+ domainId_ = null;
+ } else {
+ domainId_ = null;
+ domainIdBuilder_ = null;
+ }
return this;
}
@@ -573,6 +682,11 @@ public opi_api.storage.v1.PciEndpoint buildPartial() {
} else {
result.virtualFunction_ = virtualFunctionBuilder_.build();
}
+ if (domainIdBuilder_ == null) {
+ result.domainId_ = domainId_;
+ } else {
+ result.domainId_ = domainIdBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -630,6 +744,9 @@ public Builder mergeFrom(opi_api.storage.v1.PciEndpoint other) {
if (other.hasVirtualFunction()) {
mergeVirtualFunction(other.getVirtualFunction());
}
+ if (other.hasDomainId()) {
+ mergeDomainId(other.getDomainId());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -664,10 +781,13 @@ public Builder mergeFrom(
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> portIdBuilder_;
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -678,10 +798,13 @@ public boolean hasPortId() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -696,10 +819,13 @@ public com.google.protobuf.Int32Value getPortId() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -719,10 +845,13 @@ public Builder setPortId(com.google.protobuf.Int32Value value) {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -740,10 +869,13 @@ public Builder setPortId(
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -765,10 +897,13 @@ public Builder mergePortId(com.google.protobuf.Int32Value value) {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -786,10 +921,13 @@ public Builder clearPortId() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -801,10 +939,13 @@ public com.google.protobuf.Int32Value.Builder getPortIdBuilder() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -819,10 +960,13 @@ public com.google.protobuf.Int32ValueOrBuilder getPortIdOrBuilder() {
}
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -846,9 +990,12 @@ public com.google.protobuf.Int32ValueOrBuilder getPortIdOrBuilder() {
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> physicalFunctionBuilder_;
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -859,9 +1006,12 @@ public boolean hasPhysicalFunction() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -876,9 +1026,12 @@ public com.google.protobuf.Int32Value getPhysicalFunction() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -898,9 +1051,12 @@ public Builder setPhysicalFunction(com.google.protobuf.Int32Value value) {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -918,9 +1074,12 @@ public Builder setPhysicalFunction(
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -942,9 +1101,12 @@ public Builder mergePhysicalFunction(com.google.protobuf.Int32Value value) {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -962,9 +1124,12 @@ public Builder clearPhysicalFunction() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -976,9 +1141,12 @@ public com.google.protobuf.Int32Value.Builder getPhysicalFunctionBuilder() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -993,9 +1161,12 @@ public com.google.protobuf.Int32ValueOrBuilder getPhysicalFunctionOrBuilder() {
}
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -1019,11 +1190,14 @@ public com.google.protobuf.Int32ValueOrBuilder getPhysicalFunctionOrBuilder() {
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> virtualFunctionBuilder_;
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1034,11 +1208,14 @@ public boolean hasVirtualFunction() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1053,11 +1230,14 @@ public com.google.protobuf.Int32Value getVirtualFunction() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1077,11 +1257,14 @@ public Builder setVirtualFunction(com.google.protobuf.Int32Value value) {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1099,11 +1282,14 @@ public Builder setVirtualFunction(
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1125,11 +1311,14 @@ public Builder mergeVirtualFunction(com.google.protobuf.Int32Value value) {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1147,11 +1336,14 @@ public Builder clearVirtualFunction() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1163,11 +1355,14 @@ public com.google.protobuf.Int32Value.Builder getVirtualFunctionBuilder() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1182,11 +1377,14 @@ public com.google.protobuf.Int32ValueOrBuilder getVirtualFunctionOrBuilder() {
}
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -1204,6 +1402,188 @@ public com.google.protobuf.Int32ValueOrBuilder getVirtualFunctionOrBuilder() {
}
return virtualFunctionBuilder_;
}
+
+ private com.google.protobuf.Int32Value domainId_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> domainIdBuilder_;
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the domainId field is set.
+ */
+ public boolean hasDomainId() {
+ return domainIdBuilder_ != null || domainId_ != null;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The domainId.
+ */
+ public com.google.protobuf.Int32Value getDomainId() {
+ if (domainIdBuilder_ == null) {
+ return domainId_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : domainId_;
+ } else {
+ return domainIdBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder setDomainId(com.google.protobuf.Int32Value value) {
+ if (domainIdBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ domainId_ = value;
+ onChanged();
+ } else {
+ domainIdBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder setDomainId(
+ com.google.protobuf.Int32Value.Builder builderForValue) {
+ if (domainIdBuilder_ == null) {
+ domainId_ = builderForValue.build();
+ onChanged();
+ } else {
+ domainIdBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder mergeDomainId(com.google.protobuf.Int32Value value) {
+ if (domainIdBuilder_ == null) {
+ if (domainId_ != null) {
+ domainId_ =
+ com.google.protobuf.Int32Value.newBuilder(domainId_).mergeFrom(value).buildPartial();
+ } else {
+ domainId_ = value;
+ }
+ onChanged();
+ } else {
+ domainIdBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public Builder clearDomainId() {
+ if (domainIdBuilder_ == null) {
+ domainId_ = null;
+ onChanged();
+ } else {
+ domainId_ = null;
+ domainIdBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public com.google.protobuf.Int32Value.Builder getDomainIdBuilder() {
+
+ onChanged();
+ return getDomainIdFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ public com.google.protobuf.Int32ValueOrBuilder getDomainIdOrBuilder() {
+ if (domainIdBuilder_ != null) {
+ return domainIdBuilder_.getMessageOrBuilder();
+ } else {
+ return domainId_ == null ?
+ com.google.protobuf.Int32Value.getDefaultInstance() : domainId_;
+ }
+ }
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
+ getDomainIdFieldBuilder() {
+ if (domainIdBuilder_ == null) {
+ domainIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
+ getDomainId(),
+ getParentForChildren(),
+ isClean());
+ domainId_ = null;
+ }
+ return domainIdBuilder_;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpointOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpointOrBuilder.java
index b58f2c25..3625bbbb 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpointOrBuilder.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/PciEndpointOrBuilder.java
@@ -9,10 +9,13 @@ public interface PciEndpointOrBuilder extends
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -21,10 +24,13 @@ public interface PciEndpointOrBuilder extends
boolean hasPortId();
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -33,10 +39,13 @@ public interface PciEndpointOrBuilder extends
com.google.protobuf.Int32Value getPortId();
/**
*
+ * for frontend:
* The "port" or "device". In other words, the connector/cable that's
* plugged into a particular host. This number may end up matching
* the host-assigned "device" value in the bus:device:function identifier,
* but it does not strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "bus" part of BDF
*
*
* .google.protobuf.Int32Value port_id = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -45,9 +54,12 @@ public interface PciEndpointOrBuilder extends
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -56,9 +68,12 @@ public interface PciEndpointOrBuilder extends
boolean hasPhysicalFunction();
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -67,9 +82,12 @@ public interface PciEndpointOrBuilder extends
com.google.protobuf.Int32Value getPhysicalFunction();
/**
*
+ * for frontend:
* Physical function index. This may end up matching the host-assigned
* "function" value in the bus:device:function identifier, but it does not
* strictly have to and that should not be relied upon.
+ * for backend:
+ * Corresponds to "device" part of BDF
*
*
* .google.protobuf.Int32Value physical_function = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -78,11 +96,14 @@ public interface PciEndpointOrBuilder extends
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -91,11 +112,14 @@ public interface PciEndpointOrBuilder extends
boolean hasVirtualFunction();
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
@@ -104,14 +128,53 @@ public interface PciEndpointOrBuilder extends
com.google.protobuf.Int32Value getVirtualFunction();
/**
*
+ * for frontend:
* Virtual function index. 1-based index.
* The value 0 is reserved to represent the PCI physical "device".
* This may end up matching the host-assigned "function" value in the
* bus:device:function identifier, but it does not strictly have to and
* that should not be relied upon.
+ * for backend:
+ * Corresponds to "function" part of BDF
*
*
* .google.protobuf.Int32Value virtual_function = 3 [(.google.api.field_behavior) = REQUIRED];
*/
com.google.protobuf.Int32ValueOrBuilder getVirtualFunctionOrBuilder();
+
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the domainId field is set.
+ */
+ boolean hasDomainId();
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The domainId.
+ */
+ com.google.protobuf.Int32Value getDomainId();
+ /**
+ *
+ * for frontend:
+ * Not used
+ * for backend:
+ * Corresponds to pci domain value
+ *
+ *
+ * .google.protobuf.Int32Value domain_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ com.google.protobuf.Int32ValueOrBuilder getDomainIdOrBuilder();
}
diff --git a/storage/v1alpha1/gen/python/backend_nvme_pb2.py b/storage/v1alpha1/gen/python/backend_nvme_pb2.py
index 6315c5ea..100f9865 100644
--- a/storage/v1alpha1/gen/python/backend_nvme_pb2.py
+++ b/storage/v1alpha1/gen/python/backend_nvme_pb2.py
@@ -21,7 +21,7 @@
import uuid_pb2 as uuid__pb2
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62\x61\x63kend_nvme.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xcb\x02\n\x14NvmeRemoteController\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x39\n\tmultipath\x18\x02 \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipathB\x03\xe0\x41\x02\x12\x1c\n\x0fio_queues_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nqueue_size\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x33\n\x03tcp\x18\x05 \x01(\x0b\x32!.opi_api.storage.v1.TcpControllerB\x03\xe0\x41\x01:y\xea\x41v\n\'opi_api.storage.v1/NvmeRemoteController\x12\x1envmeRemoteControllers/{volume}*\x15nvmeRemoteControllers2\x14nvmeRemoteController\"I\n\rTcpController\x12\x12\n\x05hdgst\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x64\x64gst\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x03psk\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"\xbe\x02\n\x08NvmePath\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12:\n\x06trtype\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportTypeB\x03\xe0\x41\x02\x12\x13\n\x06traddr\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x07\x66\x61\x62rics\x18\x05 \x01(\x0b\x32\x1f.opi_api.storage.v1.FabricsPathB\x03\xe0\x41\x01:I\xea\x41\x46\n\x1bopi_api.storage.v1/NvmePath\x12\x12nvmePaths/{volume}*\tnvmePaths2\x08nvmePath\"\xc3\x01\n\x0b\x46\x61\x62ricsPath\x12\x14\n\x07trsvcid\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x13\n\x06subnqn\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamilyB\x03\xe0\x41\x02\x12\x1a\n\rsource_traddr\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0esource_trsvcid\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07hostnqn\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\xd4\x02\n\x13NvmeRemoteNamespace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x11\n\x04nsid\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x12\n\x05nguid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65ui64\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12*\n\x04uuid\x18\x06 \x01(\x0b\x32\x17.opi_api.common.v1.UuidB\x03\xe0\x41\x03:u\xea\x41r\n&opi_api.storage.v1/NvmeRemoteNamespace\x12\x1dnvmeRemoteNamespaces/{volume}*\x14nvmeRemoteNamespaces2\x13nvmeRemoteNamespace\"\x9a\x01\n!CreateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12&\n\x19nvme_remote_controller_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"~\n!DeleteNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc4\x01\n!UpdateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n ListNvmeRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'opi_api.storage.v1/NvmeRemoteController\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n!ListNvmeRemoteControllersResponse\x12I\n\x17nvme_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n ResetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n StatsNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"S\n!StatsNvmeRemoteControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x92\x01\n\x1fListNvmeRemoteNamespacesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&opi_api.storage.v1/NvmeRemoteNamespace\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n ListNvmeRemoteNamespacesResponse\x12G\n\x16nvme_remote_namespaces\x18\x01 \x03(\x0b\x32\'.opi_api.storage.v1.NvmeRemoteNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1dGetNvmeRemoteNamespaceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\"h\n\x15\x43reateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x19\n\x0cnvme_path_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"f\n\x15\x44\x65leteNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x9f\x01\n\x15UpdateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"|\n\x14ListNvmePathsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bopi_api.storage.v1/NvmePath\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"b\n\x15ListNvmePathsResponse\x12\x30\n\nnvme_paths\x18\x01 \x03(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x12GetNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"I\n\x14StatsNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"G\n\x15StatsNvmePathResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\xb2\x14\n\x1bNvmeRemoteControllerService\x12\xeb\x01\n\x1a\x43reateNvmeRemoteController\x12\x35.opi_api.storage.v1.CreateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"l\x82\xd3\xe4\x93\x02\x33\"\x19/v1/nvmeRemoteControllers:\x16nvme_remote_controller\xda\x41\x30nvme_remote_controller,nvme_remote_controller_id\x12\x9e\x01\n\x1a\x44\x65leteNvmeRemoteController\x12\x35.opi_api.storage.v1.DeleteNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=nvmeRemoteControllers/*}\xda\x41\x04name\x12\xfd\x01\n\x1aUpdateNvmeRemoteController\x12\x35.opi_api.storage.v1.UpdateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"~\x82\xd3\xe4\x93\x02S29/v1/{nvme_remote_controller.name=nvmeRemoteControllers/*}:\x16nvme_remote_controller\xda\x41\"nvme_remote_controller,update_mask\x12\xb2\x01\n\x19ListNvmeRemoteControllers\x12\x34.opi_api.storage.v1.ListNvmeRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNvmeRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xaa\x01\n\x17GetNvmeRemoteController\x12\x32.opi_api.storage.v1.GetNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=nvmeRemoteControllers/*}\xda\x41\x04name\x12\xa5\x01\n\x19ResetNvmeRemoteController\x12\x34.opi_api.storage.v1.ResetNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-\"(/v1/{name=nvmeRemoteControllers/*}:reset:\x01*\xda\x41\x04name\x12\xc1\x01\n\x19StatsNvmeRemoteController\x12\x34.opi_api.storage.v1.StatsNvmeRemoteControllerRequest\x1a\x35.opi_api.storage.v1.StatsNvmeRemoteControllerResponse\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=nvmeRemoteControllers/*}:stats\xda\x41\x04name\x12\xaf\x01\n\x18ListNvmeRemoteNamespaces\x12\x33.opi_api.storage.v1.ListNvmeRemoteNamespacesRequest\x1a\x34.opi_api.storage.v1.ListNvmeRemoteNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa6\x01\n\x16GetNvmeRemoteNamespace\x12\x31.opi_api.storage.v1.GetNvmeRemoteNamespaceRequest\x1a\'.opi_api.storage.v1.NvmeRemoteNamespace\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=nvmeRemoteNamespaces/*}\xda\x41\x04name\x12\x94\x01\n\x0e\x43reateNvmePath\x12).opi_api.storage.v1.CreateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"9\x82\xd3\xe4\x93\x02\x1a\"\r/v1/nvmePaths:\tnvme_path\xda\x41\x16nvme_path,nvme_path_id\x12z\n\x0e\x44\x65leteNvmePath\x12).opi_api.storage.v1.DeleteNvmePathRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x18*\x16/v1/{name=nvmePaths/*}\xda\x41\x04name\x12\xa6\x01\n\x0eUpdateNvmePath\x12).opi_api.storage.v1.UpdateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"K\x82\xd3\xe4\x93\x02-2 /v1/{nvme_path.name=nvmePaths/*}:\tnvme_path\xda\x41\x15nvme_path,update_mask\x12\x8e\x01\n\rListNvmePaths\x12(.opi_api.storage.v1.ListNvmePathsRequest\x1a).opi_api.storage.v1.ListNvmePathsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12z\n\x0bGetNvmePath\x12&.opi_api.storage.v1.GetNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"%\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{name=nvmePaths/*}\xda\x41\x04name\x12\x91\x01\n\rStatsNvmePath\x12(.opi_api.storage.v1.StatsNvmePathRequest\x1a).opi_api.storage.v1.StatsNvmePathResponse\"+\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{name=nvmePaths/*}:stats\xda\x41\x04nameB_\n\x12opi_api.storage.v1B\x10\x42\x61\x63kendNvmeProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62\x61\x63kend_nvme.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xf6\x02\n\x14NvmeRemoteController\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x39\n\tmultipath\x18\x02 \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipathB\x03\xe0\x41\x02\x12\x13\n\x06subnqn\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07hostnqn\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fio_queues_count\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nqueue_size\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01\x12\x33\n\x03tcp\x18\x07 \x01(\x0b\x32!.opi_api.storage.v1.TcpControllerB\x03\xe0\x41\x01:y\xea\x41v\n\'opi_api.storage.v1/NvmeRemoteController\x12\x1envmeRemoteControllers/{volume}*\x15nvmeRemoteControllers2\x14nvmeRemoteController\"I\n\rTcpController\x12\x12\n\x05hdgst\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x64\x64gst\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x03psk\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"\xf1\x02\n\x08NvmePath\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12:\n\x06trtype\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportTypeB\x03\xe0\x41\x02\x12\x34\n\x04pcie\x18\x04 \x01(\x0b\x32\x1f.opi_api.storage.v1.PciEndpointB\x03\xe0\x41\x01H\x00\x12;\n\x07\x66\x61\x62rics\x18\x05 \x01(\x0b\x32#.opi_api.storage.v1.FabricsEndpointB\x03\xe0\x41\x01H\x00:I\xea\x41\x46\n\x1bopi_api.storage.v1/NvmePath\x12\x12nvmePaths/{volume}*\tnvmePaths2\x08nvmePathB\n\n\x08\x65ndpoint\"\xd4\x02\n\x13NvmeRemoteNamespace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x11\n\x04nsid\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x12\n\x05nguid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65ui64\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12*\n\x04uuid\x18\x06 \x01(\x0b\x32\x17.opi_api.common.v1.UuidB\x03\xe0\x41\x03:u\xea\x41r\n&opi_api.storage.v1/NvmeRemoteNamespace\x12\x1dnvmeRemoteNamespaces/{volume}*\x14nvmeRemoteNamespaces2\x13nvmeRemoteNamespace\"\x9a\x01\n!CreateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12&\n\x19nvme_remote_controller_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"~\n!DeleteNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc4\x01\n!UpdateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n ListNvmeRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'opi_api.storage.v1/NvmeRemoteController\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n!ListNvmeRemoteControllersResponse\x12I\n\x17nvme_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n ResetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n StatsNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"S\n!StatsNvmeRemoteControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x92\x01\n\x1fListNvmeRemoteNamespacesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&opi_api.storage.v1/NvmeRemoteNamespace\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n ListNvmeRemoteNamespacesResponse\x12G\n\x16nvme_remote_namespaces\x18\x01 \x03(\x0b\x32\'.opi_api.storage.v1.NvmeRemoteNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1dGetNvmeRemoteNamespaceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\"h\n\x15\x43reateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x19\n\x0cnvme_path_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"f\n\x15\x44\x65leteNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x9f\x01\n\x15UpdateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"|\n\x14ListNvmePathsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bopi_api.storage.v1/NvmePath\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"b\n\x15ListNvmePathsResponse\x12\x30\n\nnvme_paths\x18\x01 \x03(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x12GetNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"I\n\x14StatsNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"G\n\x15StatsNvmePathResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\xb2\x14\n\x1bNvmeRemoteControllerService\x12\xeb\x01\n\x1a\x43reateNvmeRemoteController\x12\x35.opi_api.storage.v1.CreateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"l\x82\xd3\xe4\x93\x02\x33\"\x19/v1/nvmeRemoteControllers:\x16nvme_remote_controller\xda\x41\x30nvme_remote_controller,nvme_remote_controller_id\x12\x9e\x01\n\x1a\x44\x65leteNvmeRemoteController\x12\x35.opi_api.storage.v1.DeleteNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=nvmeRemoteControllers/*}\xda\x41\x04name\x12\xfd\x01\n\x1aUpdateNvmeRemoteController\x12\x35.opi_api.storage.v1.UpdateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"~\x82\xd3\xe4\x93\x02S29/v1/{nvme_remote_controller.name=nvmeRemoteControllers/*}:\x16nvme_remote_controller\xda\x41\"nvme_remote_controller,update_mask\x12\xb2\x01\n\x19ListNvmeRemoteControllers\x12\x34.opi_api.storage.v1.ListNvmeRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNvmeRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xaa\x01\n\x17GetNvmeRemoteController\x12\x32.opi_api.storage.v1.GetNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=nvmeRemoteControllers/*}\xda\x41\x04name\x12\xa5\x01\n\x19ResetNvmeRemoteController\x12\x34.opi_api.storage.v1.ResetNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-\"(/v1/{name=nvmeRemoteControllers/*}:reset:\x01*\xda\x41\x04name\x12\xc1\x01\n\x19StatsNvmeRemoteController\x12\x34.opi_api.storage.v1.StatsNvmeRemoteControllerRequest\x1a\x35.opi_api.storage.v1.StatsNvmeRemoteControllerResponse\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=nvmeRemoteControllers/*}:stats\xda\x41\x04name\x12\xaf\x01\n\x18ListNvmeRemoteNamespaces\x12\x33.opi_api.storage.v1.ListNvmeRemoteNamespacesRequest\x1a\x34.opi_api.storage.v1.ListNvmeRemoteNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa6\x01\n\x16GetNvmeRemoteNamespace\x12\x31.opi_api.storage.v1.GetNvmeRemoteNamespaceRequest\x1a\'.opi_api.storage.v1.NvmeRemoteNamespace\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=nvmeRemoteNamespaces/*}\xda\x41\x04name\x12\x94\x01\n\x0e\x43reateNvmePath\x12).opi_api.storage.v1.CreateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"9\x82\xd3\xe4\x93\x02\x1a\"\r/v1/nvmePaths:\tnvme_path\xda\x41\x16nvme_path,nvme_path_id\x12z\n\x0e\x44\x65leteNvmePath\x12).opi_api.storage.v1.DeleteNvmePathRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x18*\x16/v1/{name=nvmePaths/*}\xda\x41\x04name\x12\xa6\x01\n\x0eUpdateNvmePath\x12).opi_api.storage.v1.UpdateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"K\x82\xd3\xe4\x93\x02-2 /v1/{nvme_path.name=nvmePaths/*}:\tnvme_path\xda\x41\x15nvme_path,update_mask\x12\x8e\x01\n\rListNvmePaths\x12(.opi_api.storage.v1.ListNvmePathsRequest\x1a).opi_api.storage.v1.ListNvmePathsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12z\n\x0bGetNvmePath\x12&.opi_api.storage.v1.GetNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"%\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{name=nvmePaths/*}\xda\x41\x04name\x12\x91\x01\n\rStatsNvmePath\x12(.opi_api.storage.v1.StatsNvmePathRequest\x1a).opi_api.storage.v1.StatsNvmePathResponse\"+\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{name=nvmePaths/*}:stats\xda\x41\x04nameB_\n\x12opi_api.storage.v1B\x10\x42\x61\x63kendNvmeProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'backend_nvme_pb2', globals())
@@ -33,6 +33,10 @@
_NVMEREMOTECONTROLLER.fields_by_name['name']._serialized_options = b'\340A\010'
_NVMEREMOTECONTROLLER.fields_by_name['multipath']._options = None
_NVMEREMOTECONTROLLER.fields_by_name['multipath']._serialized_options = b'\340A\002'
+ _NVMEREMOTECONTROLLER.fields_by_name['subnqn']._options = None
+ _NVMEREMOTECONTROLLER.fields_by_name['subnqn']._serialized_options = b'\340A\001'
+ _NVMEREMOTECONTROLLER.fields_by_name['hostnqn']._options = None
+ _NVMEREMOTECONTROLLER.fields_by_name['hostnqn']._serialized_options = b'\340A\001'
_NVMEREMOTECONTROLLER.fields_by_name['io_queues_count']._options = None
_NVMEREMOTECONTROLLER.fields_by_name['io_queues_count']._serialized_options = b'\340A\001'
_NVMEREMOTECONTROLLER.fields_by_name['queue_size']._options = None
@@ -53,24 +57,12 @@
_NVMEPATH.fields_by_name['controller_name_ref']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController'
_NVMEPATH.fields_by_name['trtype']._options = None
_NVMEPATH.fields_by_name['trtype']._serialized_options = b'\340A\002'
- _NVMEPATH.fields_by_name['traddr']._options = None
- _NVMEPATH.fields_by_name['traddr']._serialized_options = b'\340A\002'
+ _NVMEPATH.fields_by_name['pcie']._options = None
+ _NVMEPATH.fields_by_name['pcie']._serialized_options = b'\340A\001'
_NVMEPATH.fields_by_name['fabrics']._options = None
_NVMEPATH.fields_by_name['fabrics']._serialized_options = b'\340A\001'
_NVMEPATH._options = None
_NVMEPATH._serialized_options = b'\352AF\n\033opi_api.storage.v1/NvmePath\022\022nvmePaths/{volume}*\tnvmePaths2\010nvmePath'
- _FABRICSPATH.fields_by_name['trsvcid']._options = None
- _FABRICSPATH.fields_by_name['trsvcid']._serialized_options = b'\340A\002'
- _FABRICSPATH.fields_by_name['subnqn']._options = None
- _FABRICSPATH.fields_by_name['subnqn']._serialized_options = b'\340A\002'
- _FABRICSPATH.fields_by_name['adrfam']._options = None
- _FABRICSPATH.fields_by_name['adrfam']._serialized_options = b'\340A\002'
- _FABRICSPATH.fields_by_name['source_traddr']._options = None
- _FABRICSPATH.fields_by_name['source_traddr']._serialized_options = b'\340A\001'
- _FABRICSPATH.fields_by_name['source_trsvcid']._options = None
- _FABRICSPATH.fields_by_name['source_trsvcid']._serialized_options = b'\340A\001'
- _FABRICSPATH.fields_by_name['hostnqn']._options = None
- _FABRICSPATH.fields_by_name['hostnqn']._serialized_options = b'\340A\001'
_NVMEREMOTENAMESPACE.fields_by_name['name']._options = None
_NVMEREMOTENAMESPACE.fields_by_name['name']._serialized_options = b'\340A\010'
_NVMEREMOTENAMESPACE.fields_by_name['controller_name_ref']._options = None
@@ -173,58 +165,56 @@
_NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmePath']._serialized_options = b'\202\323\344\223\002\030\022\026/v1/{name=nvmePaths/*}\332A\004name'
_NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmePath']._options = None
_NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmePath']._serialized_options = b'\202\323\344\223\002\036\022\034/v1/{name=nvmePaths/*}:stats\332A\004name'
- _NVMEMULTIPATH._serialized_start=3872
- _NVMEMULTIPATH._serialized_end=4006
+ _NVMEMULTIPATH._serialized_start=3768
+ _NVMEMULTIPATH._serialized_end=3902
_NVMEREMOTECONTROLLER._serialized_start=250
- _NVMEREMOTECONTROLLER._serialized_end=581
- _TCPCONTROLLER._serialized_start=583
- _TCPCONTROLLER._serialized_end=656
- _NVMEPATH._serialized_start=659
- _NVMEPATH._serialized_end=977
- _FABRICSPATH._serialized_start=980
- _FABRICSPATH._serialized_end=1175
- _NVMEREMOTENAMESPACE._serialized_start=1178
- _NVMEREMOTENAMESPACE._serialized_end=1518
- _CREATENVMEREMOTECONTROLLERREQUEST._serialized_start=1521
- _CREATENVMEREMOTECONTROLLERREQUEST._serialized_end=1675
- _DELETENVMEREMOTECONTROLLERREQUEST._serialized_start=1677
- _DELETENVMEREMOTECONTROLLERREQUEST._serialized_end=1803
- _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_start=1806
- _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_end=2002
- _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_start=2005
- _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_end=2153
- _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_start=2156
- _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_end=2291
- _GETNVMEREMOTECONTROLLERREQUEST._serialized_start=2293
- _GETNVMEREMOTECONTROLLERREQUEST._serialized_end=2388
- _RESETNVMEREMOTECONTROLLERREQUEST._serialized_start=2390
- _RESETNVMEREMOTECONTROLLERREQUEST._serialized_end=2487
- _STATSNVMEREMOTECONTROLLERREQUEST._serialized_start=2489
- _STATSNVMEREMOTECONTROLLERREQUEST._serialized_end=2586
- _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_start=2588
- _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_end=2671
- _LISTNVMEREMOTENAMESPACESREQUEST._serialized_start=2674
- _LISTNVMEREMOTENAMESPACESREQUEST._serialized_end=2820
- _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_start=2823
- _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_end=2955
- _GETNVMEREMOTENAMESPACEREQUEST._serialized_start=2957
- _GETNVMEREMOTENAMESPACEREQUEST._serialized_end=3050
- _CREATENVMEPATHREQUEST._serialized_start=3052
- _CREATENVMEPATHREQUEST._serialized_end=3156
- _DELETENVMEPATHREQUEST._serialized_start=3158
- _DELETENVMEPATHREQUEST._serialized_end=3260
- _UPDATENVMEPATHREQUEST._serialized_start=3263
- _UPDATENVMEPATHREQUEST._serialized_end=3422
- _LISTNVMEPATHSREQUEST._serialized_start=3424
- _LISTNVMEPATHSREQUEST._serialized_end=3548
- _LISTNVMEPATHSRESPONSE._serialized_start=3550
- _LISTNVMEPATHSRESPONSE._serialized_end=3648
- _GETNVMEPATHREQUEST._serialized_start=3650
- _GETNVMEPATHREQUEST._serialized_end=3721
- _STATSNVMEPATHREQUEST._serialized_start=3723
- _STATSNVMEPATHREQUEST._serialized_end=3796
- _STATSNVMEPATHRESPONSE._serialized_start=3798
- _STATSNVMEPATHRESPONSE._serialized_end=3869
- _NVMEREMOTECONTROLLERSERVICE._serialized_start=4009
- _NVMEREMOTECONTROLLERSERVICE._serialized_end=6619
+ _NVMEREMOTECONTROLLER._serialized_end=624
+ _TCPCONTROLLER._serialized_start=626
+ _TCPCONTROLLER._serialized_end=699
+ _NVMEPATH._serialized_start=702
+ _NVMEPATH._serialized_end=1071
+ _NVMEREMOTENAMESPACE._serialized_start=1074
+ _NVMEREMOTENAMESPACE._serialized_end=1414
+ _CREATENVMEREMOTECONTROLLERREQUEST._serialized_start=1417
+ _CREATENVMEREMOTECONTROLLERREQUEST._serialized_end=1571
+ _DELETENVMEREMOTECONTROLLERREQUEST._serialized_start=1573
+ _DELETENVMEREMOTECONTROLLERREQUEST._serialized_end=1699
+ _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_start=1702
+ _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_end=1898
+ _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_start=1901
+ _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_end=2049
+ _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_start=2052
+ _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_end=2187
+ _GETNVMEREMOTECONTROLLERREQUEST._serialized_start=2189
+ _GETNVMEREMOTECONTROLLERREQUEST._serialized_end=2284
+ _RESETNVMEREMOTECONTROLLERREQUEST._serialized_start=2286
+ _RESETNVMEREMOTECONTROLLERREQUEST._serialized_end=2383
+ _STATSNVMEREMOTECONTROLLERREQUEST._serialized_start=2385
+ _STATSNVMEREMOTECONTROLLERREQUEST._serialized_end=2482
+ _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_start=2484
+ _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_end=2567
+ _LISTNVMEREMOTENAMESPACESREQUEST._serialized_start=2570
+ _LISTNVMEREMOTENAMESPACESREQUEST._serialized_end=2716
+ _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_start=2719
+ _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_end=2851
+ _GETNVMEREMOTENAMESPACEREQUEST._serialized_start=2853
+ _GETNVMEREMOTENAMESPACEREQUEST._serialized_end=2946
+ _CREATENVMEPATHREQUEST._serialized_start=2948
+ _CREATENVMEPATHREQUEST._serialized_end=3052
+ _DELETENVMEPATHREQUEST._serialized_start=3054
+ _DELETENVMEPATHREQUEST._serialized_end=3156
+ _UPDATENVMEPATHREQUEST._serialized_start=3159
+ _UPDATENVMEPATHREQUEST._serialized_end=3318
+ _LISTNVMEPATHSREQUEST._serialized_start=3320
+ _LISTNVMEPATHSREQUEST._serialized_end=3444
+ _LISTNVMEPATHSRESPONSE._serialized_start=3446
+ _LISTNVMEPATHSRESPONSE._serialized_end=3544
+ _GETNVMEPATHREQUEST._serialized_start=3546
+ _GETNVMEPATHREQUEST._serialized_end=3617
+ _STATSNVMEPATHREQUEST._serialized_start=3619
+ _STATSNVMEPATHREQUEST._serialized_end=3692
+ _STATSNVMEPATHRESPONSE._serialized_start=3694
+ _STATSNVMEPATHRESPONSE._serialized_end=3765
+ _NVMEREMOTECONTROLLERSERVICE._serialized_start=3905
+ _NVMEREMOTECONTROLLERSERVICE._serialized_end=6515
# @@protoc_insertion_point(module_scope)
diff --git a/storage/v1alpha1/gen/python/opicommon_pb2.py b/storage/v1alpha1/gen/python/opicommon_pb2.py
index 035daac4..6dd90b3f 100644
--- a/storage/v1alpha1/gen/python/opicommon_pb2.py
+++ b/storage/v1alpha1/gen/python/opicommon_pb2.py
@@ -15,7 +15,7 @@
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fopicommon.proto\x12\x12opi_api.storage.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xb9\x01\n\x0bPciEndpoint\x12\x31\n\x07port_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12;\n\x11physical_function\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12:\n\x10virtual_function\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\"x\n\x0f\x46\x61\x62ricsEndpoint\x12\x13\n\x06traddr\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07trsvcid\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamilyB\x03\xe0\x41\x02\"\xaa\x02\n\x0bVolumeStats\x12\x1d\n\x10read_bytes_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0eread_ops_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11write_bytes_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0fwrite_ops_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11unmap_bytes_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0funmap_ops_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12read_latency_ticks\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13write_latency_ticks\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13unmap_latency_ticks\x18\t \x01(\x05\x42\x03\xe0\x41\x03\"\xbb\x01\n\x08QosLimit\x12\x1a\n\rrd_iops_kiops\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1a\n\rwr_iops_kiops\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1a\n\rrw_iops_kiops\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10rd_bandwidth_mbs\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10wr_bandwidth_mbs\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10rw_bandwidth_mbs\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01*\xf7\x01\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_128\x10\x01\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_192\x10\x02\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_256\x10\x03\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_128\x10\x04\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_192\x10\x05\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_256\x10\x06*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVME_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVME_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVME_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVME_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVME_ADRFAM_INTRA_HOST\x10\x05\x42]\n\x12opi_api.storage.v1B\x0eOpiCommonProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fopicommon.proto\x12\x12opi_api.storage.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xee\x01\n\x0bPciEndpoint\x12\x31\n\x07port_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12;\n\x11physical_function\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12:\n\x10virtual_function\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12\x33\n\tdomain_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x01\"\xb1\x01\n\x0f\x46\x61\x62ricsEndpoint\x12\x13\n\x06traddr\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07trsvcid\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamilyB\x03\xe0\x41\x02\x12\x1a\n\rsource_traddr\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0esource_trsvcid\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xaa\x02\n\x0bVolumeStats\x12\x1d\n\x10read_bytes_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0eread_ops_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11write_bytes_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0fwrite_ops_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11unmap_bytes_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0funmap_ops_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12read_latency_ticks\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13write_latency_ticks\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12 \n\x13unmap_latency_ticks\x18\t \x01(\x05\x42\x03\xe0\x41\x03\"\xbb\x01\n\x08QosLimit\x12\x1a\n\rrd_iops_kiops\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1a\n\rwr_iops_kiops\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1a\n\rrw_iops_kiops\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10rd_bandwidth_mbs\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10wr_bandwidth_mbs\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10rw_bandwidth_mbs\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01*\xf7\x01\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_128\x10\x01\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_192\x10\x02\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_CBC_256\x10\x03\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_128\x10\x04\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_192\x10\x05\x12\x1f\n\x1b\x45NCRYPTION_TYPE_AES_XTS_256\x10\x06*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVME_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVME_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVME_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVME_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVME_ADRFAM_INTRA_HOST\x10\x05\x42]\n\x12opi_api.storage.v1B\x0eOpiCommonProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'opicommon_pb2', globals())
@@ -29,12 +29,18 @@
_PCIENDPOINT.fields_by_name['physical_function']._serialized_options = b'\340A\002'
_PCIENDPOINT.fields_by_name['virtual_function']._options = None
_PCIENDPOINT.fields_by_name['virtual_function']._serialized_options = b'\340A\002'
+ _PCIENDPOINT.fields_by_name['domain_id']._options = None
+ _PCIENDPOINT.fields_by_name['domain_id']._serialized_options = b'\340A\001'
_FABRICSENDPOINT.fields_by_name['traddr']._options = None
_FABRICSENDPOINT.fields_by_name['traddr']._serialized_options = b'\340A\002'
_FABRICSENDPOINT.fields_by_name['trsvcid']._options = None
_FABRICSENDPOINT.fields_by_name['trsvcid']._serialized_options = b'\340A\002'
_FABRICSENDPOINT.fields_by_name['adrfam']._options = None
_FABRICSENDPOINT.fields_by_name['adrfam']._serialized_options = b'\340A\002'
+ _FABRICSENDPOINT.fields_by_name['source_traddr']._options = None
+ _FABRICSENDPOINT.fields_by_name['source_traddr']._serialized_options = b'\340A\001'
+ _FABRICSENDPOINT.fields_by_name['source_trsvcid']._options = None
+ _FABRICSENDPOINT.fields_by_name['source_trsvcid']._serialized_options = b'\340A\001'
_VOLUMESTATS.fields_by_name['read_bytes_count']._options = None
_VOLUMESTATS.fields_by_name['read_bytes_count']._serialized_options = b'\340A\003'
_VOLUMESTATS.fields_by_name['read_ops_count']._options = None
@@ -65,18 +71,18 @@
_QOSLIMIT.fields_by_name['wr_bandwidth_mbs']._serialized_options = b'\340A\001'
_QOSLIMIT.fields_by_name['rw_bandwidth_mbs']._options = None
_QOSLIMIT.fields_by_name['rw_bandwidth_mbs']._serialized_options = b'\340A\001'
- _ENCRYPTIONTYPE._serialized_start=906
- _ENCRYPTIONTYPE._serialized_end=1153
- _NVMETRANSPORTTYPE._serialized_start=1156
- _NVMETRANSPORTTYPE._serialized_end=1336
- _NVMEADDRESSFAMILY._serialized_start=1339
- _NVMEADDRESSFAMILY._serialized_end=1507
+ _ENCRYPTIONTYPE._serialized_start=1017
+ _ENCRYPTIONTYPE._serialized_end=1264
+ _NVMETRANSPORTTYPE._serialized_start=1267
+ _NVMETRANSPORTTYPE._serialized_end=1447
+ _NVMEADDRESSFAMILY._serialized_start=1450
+ _NVMEADDRESSFAMILY._serialized_end=1618
_PCIENDPOINT._serialized_start=105
- _PCIENDPOINT._serialized_end=290
- _FABRICSENDPOINT._serialized_start=292
- _FABRICSENDPOINT._serialized_end=412
- _VOLUMESTATS._serialized_start=415
- _VOLUMESTATS._serialized_end=713
- _QOSLIMIT._serialized_start=716
- _QOSLIMIT._serialized_end=903
+ _PCIENDPOINT._serialized_end=343
+ _FABRICSENDPOINT._serialized_start=346
+ _FABRICSENDPOINT._serialized_end=523
+ _VOLUMESTATS._serialized_start=526
+ _VOLUMESTATS._serialized_end=824
+ _QOSLIMIT._serialized_start=827
+ _QOSLIMIT._serialized_end=1014
# @@protoc_insertion_point(module_scope)
diff --git a/storage/v1alpha1/opicommon.proto b/storage/v1alpha1/opicommon.proto
index 62b0d236..e1bbd9c0 100755
--- a/storage/v1alpha1/opicommon.proto
+++ b/storage/v1alpha1/opicommon.proto
@@ -24,23 +24,42 @@ import "google/protobuf/wrappers.proto";
// we'll use the term "port" which also commonly used with PCI switches and avoids
// confusion with storage "devices".
message PciEndpoint {
+ // for frontend:
// The "port" or "device". In other words, the connector/cable that's
// plugged into a particular host. This number may end up matching
// the host-assigned "device" value in the bus:device:function identifier,
// but it does not strictly have to and that should not be relied upon.
+ //
+ // for backend:
+ // Corresponds to "bus" part of BDF
google.protobuf.Int32Value port_id = 1 [(google.api.field_behavior) = REQUIRED];
+ // for frontend:
// Physical function index. This may end up matching the host-assigned
// "function" value in the bus:device:function identifier, but it does not
// strictly have to and that should not be relied upon.
+ //
+ // for backend:
+ // Corresponds to "device" part of BDF
google.protobuf.Int32Value physical_function = 2 [(google.api.field_behavior) = REQUIRED];
+ // for frontend:
// Virtual function index. 1-based index.
// The value 0 is reserved to represent the PCI physical "device".
// This may end up matching the host-assigned "function" value in the
// bus:device:function identifier, but it does not strictly have to and
// that should not be relied upon.
+ //
+ // for backend:
+ // Corresponds to "function" part of BDF
google.protobuf.Int32Value virtual_function = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // for frontend:
+ // Not used
+ //
+ // for backend:
+ // Corresponds to pci domain value
+ google.protobuf.Int32Value domain_id = 4 [(google.api.field_behavior) = OPTIONAL];
}
// Represents Fabrics Endpoint
@@ -53,6 +72,14 @@ message FabricsEndpoint {
// address family
NvmeAddressFamily adrfam = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // source address (e.g. IP of local NIC)
+ // not used for frontend
+ string source_traddr = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // source port (e.g. Port of local NIC)
+ // not used for frontend
+ string source_trsvcid = 5 [(google.api.field_behavior) = OPTIONAL];
}
// Represents Volume statistics