-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support cinder netapp nfs backend adoption
Add support cinder netapp nfs backend adoption
- Loading branch information
1 parent
2264626
commit 2bb7ac4
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
tests/roles/cinder_adoption/files/cinder-volume-ontap-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Define the "cinder-volume-ontap-secrets" Secret that contains sensitive | ||
# information pertaining to the [ontap] backend. | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
labels: | ||
service: cinder | ||
component: cinder-volume | ||
name: cinder-volume-ontap-secrets | ||
type: Opaque | ||
stringData: | ||
ontap-cinder-secrets: | | ||
[ontap] | ||
netapp_login=admin_username | ||
netapp_password=admin_password | ||
netapp_vserver=svm_name | ||
nas_host=10.63.165.215 | ||
nas_share_path=/nfs/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
spec: | ||
cinder: | ||
template: | ||
cinderVolumes: | ||
ontap-nfs: | ||
networkAttachments: | ||
- storage | ||
customServiceConfig: | | ||
[ontap] | ||
volume_backend_name=ontap | ||
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver | ||
nfs_snapshot_support=true | ||
nas_secure_file_operations=false | ||
nas_secure_file_permissions=false | ||
netapp_server_hostname=hostname | ||
netapp_server_port=80 | ||
netapp_storage_protocol=nfs | ||
netapp_storage_family=ontap_cluster | ||
customServiceConfigSecrets: | ||
- cinder-volume-ontap-secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters