After the technical review the Shared File Systems service documentation in the Cloud Admin Guide needs to be updated. Read and fixed some typos and incorrect English constructions in the sentences of all sections. Fixed indentations in code, tip and note directives. Also updated the following info: * Removed references to the Generic driver, because it is default only on Devstack. And even for Devstack the default driver is going to be changed. * Divided 'Create share' subsection on 3 subsections: added general concepts and info of creating a share in 2 back end modes. * Added info that with StandaloneNetworkPlugin the Shared File Systems service can be configured without Networking and Compute services. * Added export paths for GlusterFS and HDFS. * Added notes what driver in what mode you use in examples and a noted what modes exist and can be configured. * Added a console sample for "manila rate-limits" command and described how to add API rate limits. * Removed information and samples about a quota classes because they are not used in the Shared File Systems service and are not working properly for the current moment (in Liberty release). * Added second purpose of the share types. * Removed '/etc/manila/' in manila.conf file, because its path can be customly changed. * Said that consistency groups is the experimental part of API starting with Liberty release. * Updated a sample in shared_file_systems_multi_backend.html file. * Removed 'Storage' from the Shared File Systems service official name according to [1] document. [1] http://git.openstack.org/cgit/openstack/governance/tree/reference/projects.yaml Change-Id: I0530ea3c6bf74311e271cdabca26cd10afcddc92 Closes-Bug: #1508457
4.1 KiB
Network plug-ins
The Shared File Systems service architecture defines an abstraction layer for network resource provisioning and allowing administrators to choose from a different options for how network resources are assigned to their tenants’ networked storage. There are a set of network plug-ins that provide a variety of integration approaches with the network services that are available with OpenStack.
The Shared File Systems service may need a network resource
provisioning if share service with specified driver works in mode, when
a share driver manages life cycle of share servers on its own. This
behavior is defined by a flag driver_handles_share_servers
in share service configuration. When
driver_handles_share_servers
is set to True
, a
share driver will be called to create share servers for shares using
information provided within a share network. This information will be
provided to one of the enabled network plug-ins that will handle
reservation, creation and deletion of network resources including IP
addresses and network interfaces.
What network plug-ins are available?
There are three different network plug-ins and five python classes in the Shared File Systems service:
Network plug-in for using the OpenStack Networking service. It allows to use any network segmentation that the Networking service supports. It is up to each share driver to support at least one network segmentation type.
manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin
. This is a default network plug-in. It requires theneutron_net_id
and theneutron_subnet_id
to be provided when defining the share network that will be used for the creation of share servers. The user may define any number of share networks corresponding to the various physical network segments in a tenant environment.manila.network.neutron.neutron_network_plugin. NeutronSingleNetworkPlugin
. This is a simplification of the previous case. It accepts values forneutron_net_id
andneutron_subnet_id
from themanila.conf
configuration file and uses one network for all shares.
When only a single network is needed, the NeutronSingleNetworkPlugin (1.b) is a simple solution. Otherwise NeutronNetworkPlugin (1.a) should be chosen.
Network plug-in for working with OpenStack Networking from the Compute service. It supports either flat networks or VLAN-segmented networks.
manila.network.nova_network_plugin.NovaNetworkPlugin
. This plug-in serves the networking needs whenNova networking
is configured in the cloud instead of Neutron. It requires a single parameter,nova_net_id
.manila.network.nova_network_plugin.NovaSingleNetworkPlugin
. This plug-in works the same way asmanila.network.nova_network_plugin.NovaNetworkPlugin
, except it takesnova_net_id
from the Shared File Systems service configuration file and creates the share servers using only one network.
When only a single network is needed, the NovaSingleNetworkPlugin (2.b) is a simple solution. Otherwise NovaNetworkPlugin (2.a) should be chosen.
Network plug-in for specifying networks independently from OpenStack networking services.
manila.network.standalone_network_plugin.StandaloneNetworkPlugin
. This plug-in uses a pre-existing network that is available to the manila-share host. This network may be handled either by OpenStack or be created independently by any other means. The plug-in supports any type of network - flat and segmented. As above, it is completely up to the share driver to support the network type for which the network plug-in is configured.
Note
These network plug-ins were introduced in the OpenStack Kilo release. In the OpenStack Juno version, only NeutronNetworkPlugin is available.
More information about network plug-ins can be found in Manila developer documentation