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):
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: share/drivers/ netapp/ dataontap/ cluster_ mode/lib_ multi_svm. py
node_ name, lif_name, network_ allocation) :
manila/
==================
def _create_lif(self, vserver_client, vserver_name, ipspace_name,
"""Creates LIF for Vserver."""
port = self._get_ node_data_ port(node_ name) allocation[ 'ip_address' ] to_netmask( network_ allocation[ 'cidr'] ) allocation[ 'segmentation_ id'] allocation. get('mtu' )
ip_address = network_
netmask = utils.cidr_
vlan = network_
network_mtu = network_
mtu = network_mtu or DEFAULT_MTU
if not vserver_ client. network_ interface_ exists(
vserver_ name, node_name, port, ip_address, netmask, vlan):
=================
There isn't even a gateway mentioned.
If I get code access I may can fix this on my own.