Add MapRFS protocol
Add native protocol for MapRFS Manila share driver Implements: blueprint maprfs-native-protocol Change-Id: I6fe89e295aa0ebc693c25abcda40e19dcd1e4317
This commit is contained in:
@@ -233,7 +233,7 @@ class ManageShare(forms.SelfHandlingForm):
|
|||||||
manila_features = getattr(settings, 'OPENSTACK_MANILA_FEATURES', {})
|
manila_features = getattr(settings, 'OPENSTACK_MANILA_FEATURES', {})
|
||||||
self.enabled_share_protocols = manila_features.get(
|
self.enabled_share_protocols = manila_features.get(
|
||||||
'enabled_share_protocols',
|
'enabled_share_protocols',
|
||||||
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS'])
|
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS', 'MapRFS'])
|
||||||
self.fields['protocol'].choices = ([(' ', ' ')] +
|
self.fields['protocol'].choices = ([(' ', ' ')] +
|
||||||
[(enabled_proto, enabled_proto)
|
[(enabled_proto, enabled_proto)
|
||||||
for enabled_proto in
|
for enabled_proto in
|
||||||
|
@@ -53,7 +53,7 @@ class CreateForm(forms.SelfHandlingForm):
|
|||||||
manila_features = getattr(settings, 'OPENSTACK_MANILA_FEATURES', {})
|
manila_features = getattr(settings, 'OPENSTACK_MANILA_FEATURES', {})
|
||||||
self.enabled_share_protocols = manila_features.get(
|
self.enabled_share_protocols = manila_features.get(
|
||||||
'enabled_share_protocols',
|
'enabled_share_protocols',
|
||||||
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS'])
|
['NFS', 'CIFS', 'GlusterFS', 'HDFS', 'CephFS', 'MapRFS'])
|
||||||
self.enable_public_shares = manila_features.get(
|
self.enable_public_shares = manila_features.get(
|
||||||
'enable_public_shares', True)
|
'enable_public_shares', True)
|
||||||
share_networks = manila.share_network_list(request)
|
share_networks = manila.share_network_list(request)
|
||||||
|
@@ -19,5 +19,6 @@ OPENSTACK_MANILA_FEATURES = {
|
|||||||
'enable_migration': True,
|
'enable_migration': True,
|
||||||
'enable_public_share_type_creation': True,
|
'enable_public_share_type_creation': True,
|
||||||
'enable_public_shares': 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
|
Reference in New Issue
Block a user