Comment 0 for bug 1679227

Revision history for this message
Andreas Merk (amerk) wrote :

A share create on a NetApp storage with the "NetApp Unified Driver for Clustered Data ONTAP with Share Server management" does not reflect full network settings in the network where the storage is in.
Very NetApp specific: The created LIFs for the SVM do not contain any gateway settings.

After a code review the settings are also missing from the code. See:
manila/share/drivers/netapp/dataontap/cluster_mode/lib_multi_svm.py
==================
def _create_lif(self, vserver_client, vserver_name, ipspace_name,
                    node_name, lif_name, network_allocation):
        """Creates LIF for Vserver."""

        port = self._get_node_data_port(node_name)
        ip_address = network_allocation['ip_address']
        netmask = utils.cidr_to_netmask(network_allocation['cidr'])
        vlan = network_allocation['segmentation_id']
        network_mtu = network_allocation.get('mtu')
        mtu = network_mtu or DEFAULT_MTU

        if not vserver_client.network_interface_exists(
                vserver_name, node_name, port, ip_address, netmask, vlan):

            self._client.create_network_interface(
                ip_address, netmask, vlan, node_name, port, vserver_name,
                lif_name, ipspace_name, mtu)

=================
There isn't even a gateway mentioned.
If I get code access I may can fix this on my own.