Skip to content

[WIP] Implement NetAPP Eseries SAN Driver Support#29

Open
ghost wants to merge 1 commit into
sodafoundation:masterfrom
Click2Cloud:eseries_wip
Open

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

Conversation

@ghost

@ghost ghost commented Jun 18, 2020

Copy link
Copy Markdown

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

Comment thread go.mod
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