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
[WIP] Implementation of fileshare controller and dock #658
Conversation
@@ -0,0 +1,398 @@ | |||
// Copyright (c) 2017 Huawei Technologies Co., Ltd. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may not need this file if we are using controller/selector/filter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is to test filter, it is needed as we have to do unit testing and as it uses fileshare proto buf we have to test for file share feature.
There should be a file protocol option to create |
You have to choose profile I'd while creating file share that takes care of access protocol. While creating profile there will be option of access protocol i.e nfs/cifs |
pkg/model/fileshareproto/model.proto
Outdated
string name = 2; | ||
// The requested capacity of the file share, required. | ||
int64 size = 3; | ||
// The description of the file share, optional. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CreateFileShareOpts
lacks shareProto
filed which represents CIFS
or NFS
file share protocol. Oceanstor
file driver need this filed. If there is a multi-tenant scenario, please add tenantID
or userID
to CreateFileShareOpts
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the oceanstor
file driver code for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am closing this PR as it has merge issues and invalid branch latest code change all other details,
a903b84
to
37c1c1c
Compare
Add some tags for installation files, and rename `Redhat` to `Red Hat Enterprise Linux`.
I think this PR should be closed, because it seems having no files changed. |
What this PR does / why we need it:
Implementation of new separate controller and dock for file share feature - only post/create file share has been done yet.
File share post code workflow is as below:
Controller workflow:
Dock workflow
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
@xxwjj, @wisererik, @leonwanghui, @xing-yang , @NajmudheenCT, @ kumarashit , @rhsakarpos, @himanshuvar, @skdwriting @PravinRanjan10
Release note: