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

[SL FIle] NetworkSubnetIpAddressServiceSL.GetByIPAddress is not reachible from volumeprovider #100

Open
depohmel opened this issue Jul 17, 2019 · 0 comments

Comments

@depohmel
Copy link
Contributor

in term to have working SL File solution, Volume restored from snapshot need t be authorized for hosts. It's trivial to get nodes IP address in kubernetes and authorize volume for current nodes by ip address. But nodes come and go. The better way is to authorize volume for a subnet.
SL libs already have a code to get a subnet form ip address

func (ns *NetworkSubnetIpAddressServiceSL) GetByIPAddress(ipAddress *string) (datatypes.Network_Subnet_IpAddress, error) {
but it is not reachable from volume provider clients.
Could you please add this function into github.com/IBM/ibmcloud-storage-volume-lib/provider/utils or something like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant