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

[WIP] Implement NetAPP Eseries SAN Driver Support #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Jun 18, 2020

What this PR does / why we need it:
Currently we have lvm, ceph etc. as the backend drivers.
This PR is to address implementing NetApp Eseries Driver Adapter for OpenSDS SBD.
Add NetAPP Storage driver to provide support for NetAPP Eseries storage.

Test Report Added?:

NOT-TESTED
Testing Steps: https://github.com/Click2Cloud/design-specs/blob/master/SBD_Testing_Steps.md

Release notes:

* Support for NetApp Eseries SAN Storage Driver Support.

@skdwriting
Copy link
Contributor

@Click2Cloud-Faizan this is WIP, only because, it is not tested on the device?!

defaultConfPath = "/etc/opensds/driver/netapp_eseries_storage.yaml"
DefaultAZ = "default"
StorageDriverName = "eseries-san"
volumePrefix = "opensds_"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we rename these to soda?

func (d *SANDriverE) TerminateConnection(opt *pb.DeleteVolumeAttachmentOpts) error {
var name = getVolumeName(opt.GetVolumeId())

// Validate ExtantVolume exists before destroying
Copy link
Collaborator

Choose a reason for hiding this comment

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

Extant?

. "github.com/sodafoundation/dock/contrib/drivers/utils/config"
)

//type BackendOptions struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can remove these ONTAP models

@@ -31,11 +31,12 @@ require (
github.com/jonboulle/clockwork v0.1.0 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/mapstructure v1.1.2
github.com/netapp/trident v19.10.0+incompatible
github.com/netapp/trident v19.10.1+incompatible
Copy link
Collaborator

Choose a reason for hiding this comment

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

I hope this change won't have any impact on current ONTAP support

@@ -0,0 +1,74 @@
package eseries

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we have a common model for Netapp SAN? Except few, most of the entities or objects may remain same, example pool, volume or aggregates or LUNs etc,,,

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

Successfully merging this pull request may close these issues.

2 participants