bug fix (#60140)
This commit is contained in:
parent
d651bda123
commit
5673482460
1 changed files with 7 additions and 4 deletions
|
@ -267,8 +267,11 @@ class NetAppOntapInterface(object):
|
||||||
data_protocols_obj = netapp_utils.zapi.NaElement('data-protocols')
|
data_protocols_obj = netapp_utils.zapi.NaElement('data-protocols')
|
||||||
for protocol in self.parameters.get('protocols'):
|
for protocol in self.parameters.get('protocols'):
|
||||||
if protocol.lower() in ['fc-nvme', 'fcp']:
|
if protocol.lower() in ['fc-nvme', 'fcp']:
|
||||||
|
if 'address' in required_keys:
|
||||||
required_keys.remove('address')
|
required_keys.remove('address')
|
||||||
|
if 'home_port' in required_keys:
|
||||||
required_keys.remove('home_port')
|
required_keys.remove('home_port')
|
||||||
|
if 'netmask' in required_keys:
|
||||||
required_keys.remove('netmask')
|
required_keys.remove('netmask')
|
||||||
not_required_params = set(['address', 'netmask', 'firewall_policy'])
|
not_required_params = set(['address', 'netmask', 'firewall_policy'])
|
||||||
if not not_required_params.isdisjoint(set(self.parameters.keys())):
|
if not not_required_params.isdisjoint(set(self.parameters.keys())):
|
||||||
|
|
Loading…
Reference in a new issue