Add glusterfs backend support
This patch allows to configure glusterfs backend options
by this formula.
Change-Id: Ib13a677b366cedb838103423d1481a0db44e4be2
diff --git a/tests/pillar/share_glusterfs.sls b/tests/pillar/share_glusterfs.sls
new file mode 100644
index 0000000..41a9526
--- /dev/null
+++ b/tests/pillar/share_glusterfs.sls
@@ -0,0 +1,86 @@
+manila:
+ common:
+ identity:
+ engine: keystone
+ host: 127.0.0.1
+ port: 35357
+ tenant: service
+ user: manila
+ password: misterio
+ endpoint_type: internalURL
+ database:
+ engine: mysql
+ host: 127.0.0.1
+ port: 3306
+ name: manila
+ user: manila
+ password: misterio
+ message_queue:
+ engine: rabbitmq
+ host: '127.0.0.1'
+ port: 5672
+ user: openstack
+ password: workshop
+ virtual_host: '/openstack'
+ share:
+ version: pike
+ enabled: true
+ enabled_share_backends:
+ glusterfs:
+ name: glusterfs
+ type: glusterfs
+ enabled: true
+ share_driver: manila.share.drivers.glusterfs_native.GlusterfsNativeShareDriver
+ dhss: false
+ glusterfs_ganesha_server_ip: 1.2.3.4
+ glusterfs_ganesha_server_password: secretpassword
+ glusterfs_ganesha_server_username: nonexistent
+ glusterfs_mount_point_base: state_path/mnt
+ glusterfs_server_password: secretpassword
+ glusterfs_path_to_private_key: /path/to/key
+ glusterfs_nfs_server_type: glusterfs
+ glusterfs_share_layout: share_layout
+ glusterfs_target: remove:target
+ glusterfs_servers:
+ - server1
+ - server2
+ glusterfs_volume_pattern: manila-share-volume-d+$
+apache:
+ server:
+ enabled: true
+ default_mpm: event
+ mpm:
+ prefork:
+ enabled: true
+ servers:
+ start: 5
+ spare:
+ min: 2
+ max: 10
+ max_requests: 0
+ max_clients: 20
+ limit: 20
+ site:
+ manila:
+ enabled: false
+ available: true
+ type: wsgi
+ name: manila
+ host:
+ name: manila.ci.local
+ address: 127.0.0.1
+ port: 8041
+ log:
+ custom:
+ format: >-
+ %v:%p %{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %D %O \"%{Referer}i\" \"%{User-Agent}i\"
+ wsgi:
+ daemon_process: manila-api
+ processes: 2
+ threads: 10
+ user: manila
+ group: manila
+ display_name: '%{GROUP}'
+ script_alias: '/ /usr/bin/manila-api'
+ application_group: '%{GLOBAL}'
+ authorization: 'On'