Skip to content

[WIP] Implement NetAPP Eseries SAN Driver Support#29

Open
ghost wants to merge 1 commit intosodafoundation:masterfrom
Click2Cloud:eseries_wip
Open

[WIP] Implement NetAPP Eseries SAN Driver Support#29
ghost wants to merge 1 commit intosodafoundation:masterfrom
Click2Cloud:eseries_wip

Conversation

@ghost
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

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
Copy Markdown
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
Copy Markdown
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