From 605c8ac66b98940f2024661e1fb07d397456c5fd Mon Sep 17 00:00:00 2001 From: appsdesh Date: Mon, 8 Jun 2015 15:09:21 -0700 Subject: [PATCH] Include config-reference documentation for Tintri Cinder driver Closes-Bug: #1462048 Change-Id: I7372a074f7e287bb2de77618ae5a20511a9badb6 --- doc/common/tables/cinder-tintri.xml | 38 +++++++++++++ .../drivers/tintri-volume-driver.xml | 56 +++++++++++++++++++ .../block-storage/section_volume-drivers.xml | 1 + .../cinder.flagmappings | 4 ++ .../cinder.headers | 1 + 5 files changed, 100 insertions(+) create mode 100644 doc/common/tables/cinder-tintri.xml create mode 100644 doc/config-reference/block-storage/drivers/tintri-volume-driver.xml diff --git a/doc/common/tables/cinder-tintri.xml b/doc/common/tables/cinder-tintri.xml new file mode 100644 index 0000000000..76b9613ea7 --- /dev/null +++ b/doc/common/tables/cinder-tintri.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Description of Tintri driver configuration options
Configuration option = Default valueDescription
[DEFAULT]
= None (StrOpt) Tintri VMstore management IP address
= None (StrOpt) Tintri VMstore username
= None (StrOpt) Tintri VMstore password for the user
= v310 (StrOpt) Tintri VMstore API version
+
diff --git a/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml b/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml new file mode 100644 index 0000000000..1deedcd6ef --- /dev/null +++ b/doc/config-reference/block-storage/drivers/tintri-volume-driver.xml @@ -0,0 +1,56 @@ +
+ Tintri + Tintri VMstore is a smart storage that sees, learns and adapts for cloud and virtualization. Tintri Cinder driver will interact with configured VMstore running Tintri OS 4.0 and above. It supports various operations using Tintri REST APIs and NFS protocol. + + To configure the use of a Tintri VMstore with Block + Storage, modify your cinder.conf file as + follows: + volume_driver = cinder.volume.drivers.tintri.TintriDriver +# Mount options passed to the nfs client. See section of the +# nfs man page for details. (string value) +nfs_mount_options=vers=3,lookupcache=none + +# +# Options defined in cinder.volume.drivers.tintri +# + +# The hostname (or IP address) for the storage system (string +# value) +tintri_server_hostname={Tintri VMstore Management IP} + +# User name for the storage system (string value) +tintri_server_username={username} + +# Password for the storage system (string value) +tintri_server_password={password} + +# API version for the storage system (string value) +#tintri_api_version=v310 + +# Following options needed for NFS configuration +# File with the list of available nfs shares (string value) +#nfs_shares_config=/etc/cinder/nfs_shares + + +Following changes are needed in /etc/cinder/nfs_shares + + +# Edit /etc/cinder/nfs_shares to add one or more Tintri VMstore mount points +# associated with already configured VMstore management IP in cinder.conf +{vmstore_data_ip}:/tintri/{submount1} +{vmstore_data_ip}:/tintri/{submount2} + + + + +Following changes are needed in nova.conf file: + + +# Edit /etc/nova/nova.conf +nfs_mount_options=vers=3 + + +
diff --git a/doc/config-reference/block-storage/section_volume-drivers.xml b/doc/config-reference/block-storage/section_volume-drivers.xml index f44b2e7fd1..eb5f979370 100644 --- a/doc/config-reference/block-storage/section_volume-drivers.xml +++ b/doc/config-reference/block-storage/section_volume-drivers.xml @@ -42,6 +42,7 @@ + diff --git a/tools/autogenerate-config-flagmappings/cinder.flagmappings b/tools/autogenerate-config-flagmappings/cinder.flagmappings index b5d2799f90..6c3e798af8 100644 --- a/tools/autogenerate-config-flagmappings/cinder.flagmappings +++ b/tools/autogenerate-config-flagmappings/cinder.flagmappings @@ -413,6 +413,10 @@ tcp_keepalive common tcp_keepalive_count common tcp_keepalive_interval common tcp_keepidle common +tintri_server_hostname tintri +tintri_server_username tintri +tintri_server_password tintri +tintri_api_version tintri thres_avl_size_perc_start netapp_7mode_nfs netapp_cdot_nfs thres_avl_size_perc_stop netapp_7mode_nfs netapp_cdot_nfs transfer_api_class api diff --git a/tools/autogenerate-config-flagmappings/cinder.headers b/tools/autogenerate-config-flagmappings/cinder.headers index 20737df5ed..18c44c5437 100644 --- a/tools/autogenerate-config-flagmappings/cinder.headers +++ b/tools/autogenerate-config-flagmappings/cinder.headers @@ -51,6 +51,7 @@ storage_xen Xen storage storpool StorPool volume driver storwize IBM Storwise driver srb Scality REST Block storage driver +tintri Tintri volume driver violin Violin volume driver windows Windows xio X-IO volume driver