The Manila Shared Filesystem Management Service can be configured to use NetApp clustered Data ONTAP version 8.
L3 connectivity between the storage cluster and Manila host should exist, and VLAN segmentation should be configured.
The clustered Data ONTAP driver creates storage virtual machines (SVM, previously known as vServers) as representations of Manila share server interface, configures logical interfaces (LIFs) and stores shares there.
NetApp api for ONTAP and OnCommand DFM.
Contains classes required to issue api calls to ONTAP and OnCommand DFM.
Bases: exceptions.Exception
Base exception class for NetApp api errors.
Bases: object
Class wraps basic building block for NetApp api request.
Add the attribute to the element.
Add multiple attributes to the element.
Add the child element to the element.
Add child with tag name and context.
Convert replaces entity refs to chars.
Creates named node with children.
Creates and returns named node with children.
Get the attribute with the given name.
Returns the list of attribute names.
Get the child element by the tag name.
Get the content of the child.
Get the children for the element.
Get the text for the element.
Returns the tag name of the element.
Checks whether element has attribute.
Set the text string for the element.
Prints the element to string.
Convert list, tuple, dict to NaElement and appends.
Example usage: 1. <root>
<elem1>vl1</elem1> <elem2>vl2</elem2> <elem3>vl3</elem3>
</root> The above can be achieved by doing root = NaElement(‘root’) root.translate_struct({‘elem1’: ‘vl1’, ‘elem2’: ‘vl2’,
‘elem3’: ‘vl3’})
2. <root>
<elem1>vl1</elem1> <elem2>vl2</elem2> <elem1>vl3</elem1>
</root> The above can be achieved by doing root = NaElement(‘root’) root.translate_struct([{‘elem1’: ‘vl1’, ‘elem2’: ‘vl2’},
{‘elem1’: ‘vl3’}])
Bases: object
Encapsulates server connection logic.
Gets the api version tuple.
Get the server communication port.
Get the target server type.
Get the authorization style for communicating with the server.
Gets the timeout in seconds if set.
Get the transport type protocol.
Get the vfiler to use in tunneling.
Get the vserver to use in tunneling.
Invoke the api on the server.
Invokes api and checks execution status as success.
Need to set enable_tunneling to True explicitly to achieve it. This helps to use same connection instance to enable or disable tunneling. The vserver or vfiler should be set before this call otherwise tunneling remains disabled.
Set the api version.
Set the password for authentication.
Set the server communication port.
Set the target server type.
Supports filer and dfm server types.
Set the authorization style for communicating with the server.
Supports basic_auth for now. Certificate_auth mode to be done.
Sets the timeout in seconds.
Set the transport type protocol for api.
Supports http and https transport types.
Set the user name for authentication.
Set the vfiler to use if tunneling gets enabled.
Set the vserver to use if tunneling gets enabled.
NetApp specific NAS storage driver. Supports NFS and CIFS protocols.
This driver requires ONTAP Cluster mode storage system with installed CIFS and NFS licenses.
Bases: object
Sends request to Ontapi.
Bases: manila.share.drivers.netapp.cluster_mode.NetAppNASHelperBase
Netapp specific cluster-mode CIFS sharing driver.
Allows access to the CIFS share for a given user.
Creates CIFS share on target OnTap host.
Deletes CIFS share on target OnTap host.
Denies access to the CIFS share for a given user.
Returns OnTap target IP based on share export location.
Bases: manila.share.drivers.netapp.cluster_mode.NetAppNASHelperBase
Netapp specific cluster-mode NFS sharing driver.
Allows access to a given NFS storage.
Creates NFS share.
Deletes NFS share.
Denies access to a given NFS storage.
Returns ID of target OnTap device based on export location.
Bases: manila.share.driver.ShareDriver
NetApp specific ONTAP Cluster mode driver.
Supports NFS and CIFS protocols. Uses Ontap devices as backend to create shares and snapshots. Sets up vServer for each share_network. Connectivity between storage and client VM is organized by plugging vServer’s network interfaces into neutron subnet that VM is using.
Raises error if prerequisites are not met.
Prepare once the driver.
Called once by the manager after the driver is loaded. Sets up clients, check licenses, sets up protocol specific helpers.
Invoked to ensure that share is exported.
Returns aggregate list for the vserver.
Get number of network interfaces to be created.
Creates and configures new vserver.
Teardown share network.
Bases: object
Interface for protocol-specific NAS drivers.
Allows new_rules to a given NAS storage in new_rules.
Creates NAS share.
Deletes NAS share.
Denies new_rules to a given NAS storage in new_rules.
Returns host where the share located.
Generic approach for share provisioning
Enter search terms or a module, class or function name.