Skip to content

Commit

Permalink
chore(storage): auto-generated protos
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com>
  • Loading branch information
artek-koltun authored and glimchb committed Oct 10, 2023
1 parent 670b1b2 commit 3c2cd19
Show file tree
Hide file tree
Showing 13 changed files with 1,531 additions and 1,479 deletions.
36 changes: 18 additions & 18 deletions storage/v1alpha1/autogen.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
- [UpdateNvmeNamespaceRequest](#opi_api-storage-v1-UpdateNvmeNamespaceRequest)
- [UpdateNvmeSubsystemRequest](#opi_api-storage-v1-UpdateNvmeSubsystemRequest)

- [NvmeNamespacePciOperState](#opi_api-storage-v1-NvmeNamespacePciOperState)
- [NvmeNamespacePciState](#opi_api-storage-v1-NvmeNamespacePciState)
- [NvmeNamespaceStatus.OperState](#opi_api-storage-v1-NvmeNamespaceStatus-OperState)
- [NvmeNamespaceStatus.State](#opi_api-storage-v1-NvmeNamespaceStatus-State)

- [FrontendNvmeService](#opi_api-storage-v1-FrontendNvmeService)

Expand Down Expand Up @@ -1369,7 +1369,7 @@ Represents Nvme Namespace configuration

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| host_nsid | [int32](#int32) | | NSID present to the host by the Nvme PCIe controller. If not provided, then the controller will assign an unused NSID within the max namespace range - auto assigned nsid may not work for live migration |
| host_nsid | [int32](#int32) | | NSID presented by the Nvme controller. If not provided, then the controller will assign an unused NSID within the max namespace range - auto assigned nsid may not work for live migration |
| nguid | [string](#string) | | Globally unique identifier for the namespace |
| eui64 | [int64](#int64) | | 64bit Extended unique identifier for the namespace mandatory if guid is not specified |
| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | Globally unique identifier for the namespace |
Expand All @@ -1388,8 +1388,8 @@ Represents Nvme Namespace status

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| pci_state | [NvmeNamespacePciState](#opi_api-storage-v1-NvmeNamespacePciState) | | config state of the namespace object, (enabled, disable, deleting) |
| pci_oper_state | [NvmeNamespacePciOperState](#opi_api-storage-v1-NvmeNamespacePciOperState) | | Operational state of the namespace object, (connected, disconnected) |
| state | [NvmeNamespaceStatus.State](#opi_api-storage-v1-NvmeNamespaceStatus-State) | | State of the namespace object, (enabled, disable, deleting) |
| oper_state | [NvmeNamespaceStatus.OperState](#opi_api-storage-v1-NvmeNamespaceStatus-OperState) | | Operational state of the namespace object, (connected, disconnected) |



Expand Down Expand Up @@ -1592,30 +1592,30 @@ Represents a request to update an Nvme Subsystem.



<a name="opi_api-storage-v1-NvmeNamespacePciOperState"></a>
<a name="opi_api-storage-v1-NvmeNamespaceStatus-OperState"></a>

### NvmeNamespacePciOperState
Namespace PCIe operational states
### NvmeNamespaceStatus.OperState
Namespace operational states

| Name | Number | Description |
| ---- | ------ | ----------- |
| NVME_NAMESPACE_PCI_OPER_STATE_UNSPECIFIED | 0 | unspecified |
| NVME_NAMESPACE_PCI_OPER_STATE_ONLINE | 1 | namespace is online and operational |
| NVME_NAMESPACE_PCI_OPER_STATE_OFFLINE | 2 | namespace is offline |
| OPER_STATE_UNSPECIFIED | 0 | unspecified |
| OPER_STATE_ONLINE | 1 | namespace is online and operational |
| OPER_STATE_OFFLINE | 2 | namespace is offline |



<a name="opi_api-storage-v1-NvmeNamespacePciState"></a>
<a name="opi_api-storage-v1-NvmeNamespaceStatus-State"></a>

### NvmeNamespacePciState
Namespace Administrative States
### NvmeNamespaceStatus.State
Namespace Administrative States

| Name | Number | Description |
| ---- | ------ | ----------- |
| NVME_NAMESPACE_PCI_STATE_UNSPECIFIED | 0 | unspecified |
| NVME_NAMESPACE_PCI_STATE_DISABLED | 1 | namespace disabled state |
| NVME_NAMESPACE_PCI_STATE_ENABLED | 2 | namespace enabled state |
| NVME_NAMESPACE_PCI_STATE_DELETING | 3 | namespace being deleted |
| STATE_UNSPECIFIED | 0 | unspecified |
| STATE_DISABLED | 1 | namespace disabled state |
| STATE_ENABLED | 2 | namespace enabled state |
| STATE_DELETING | 3 | namespace being deleted |



Expand Down
4 changes: 2 additions & 2 deletions storage/v1alpha1/frontend_nvme.proto
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ message NvmeNamespaceSpec {

// Represents Nvme Namespace status
message NvmeNamespaceStatus {
// Namespace Administrative States
// Namespace Administrative States
enum State {
// unspecified
STATE_UNSPECIFIED = 0;
Expand All @@ -356,7 +356,7 @@ message NvmeNamespaceStatus {
// namespace being deleted
STATE_DELETING = 3;
}
// config state of the namespace object, (enabled, disable, deleting)
// State of the namespace object, (enabled, disable, deleting)
State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];

// Namespace operational states
Expand Down
Loading

0 comments on commit 3c2cd19

Please sign in to comment.