Add MapRFS protocol
Add native protocol for MapRFS Manila share driver Implements: blueprint maprfs-native-protocol Change-Id: I6fe89e295aa0ebc693c25abcda40e19dcd1e4317
This commit is contained in:
parent
26be7b1d54
commit
162434e0ac
|
@ -233,7 +233,7 @@ class ManageShare(forms.SelfHandlingForm):
|
|||
manila_features = getattr(settings, 'OPENSTACK_MANILA_FEATURES', {})
|
||||
self.enabled_share_protocols = manila_features.get(
|
||||
'enabled_share_protocols',
|
||||
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS'])
|
||||
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS', 'MapRFS'])
|
||||
self.fields['protocol'].choices = ([(' ', ' ')] +
|
||||
[(enabled_proto, enabled_proto)
|
||||
for enabled_proto in
|
||||
|
|
|
@ -53,7 +53,7 @@ class CreateForm(forms.SelfHandlingForm):
|
|||
manila_features = getattr(settings, 'OPENSTACK_MANILA_FEATURES', {})
|
||||
self.enabled_share_protocols = manila_features.get(
|
||||
'enabled_share_protocols',
|
||||
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS'])
|
||||
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS', 'MapRFS'])
|
||||
self.enable_public_shares = manila_features.get(
|
||||
'enable_public_shares', True)
|
||||
share_networks = manila.share_network_list(request)
|
||||
|
|
|
@ -19,5 +19,6 @@ OPENSTACK_MANILA_FEATURES = {
|
|||
'enable_migration': True,
|
||||
'enable_public_share_type_creation': True,
|
||||
'enable_public_shares': True,
|
||||
'enabled_share_protocols': ['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS'],
|
||||
'enabled_share_protocols': ['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS',
|
||||
'MapRFS'],
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
features:
|
||||
- Added native protocol for MapRFS manila share driver
|
Loading…
Reference in New Issue