Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(storage): add hostnqn ans psk for frontend subsystem #381

Merged

Conversation

artek-koltun
Copy link
Contributor

No description provided.

@artek-koltun artek-koltun added the Storage APIs or code related to storage area label Oct 4, 2023
@@ -198,6 +198,12 @@ message NvmeSubsystemSpec {

// maximum namespaces within a subsystem
int64 max_namespaces = 4 [(google.api.field_behavior) = OPTIONAL];

// host NQN
string hostnqn = 5 [(google.api.field_behavior) = OPTIONAL];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can start with a stricter rule allowing only one host. Later, if needed, we can allow multiple hosts by using

// host NQNs with corresponding PSK keys. Empy string value if encryption is not used
map<string, bytes> hostnqns = 5[(google.api.field_behavior) = OPTIONAL];

@artek-koltun artek-koltun marked this pull request as ready for review October 4, 2023 09:20
@artek-koltun artek-koltun requested a review from a team as a code owner October 4, 2023 09:20
@artek-koltun artek-koltun requested a review from a team October 4, 2023 09:20
@glimchb glimchb merged commit 217649f into opiproject:main Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage APIs or code related to storage area
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants