Attempt to detect and abort when 'fex-fabric' is present (#28342)

pull/28418/head
Nathaniel Case 7 years ago committed by GitHub
parent 4f54d6cea1
commit 33f342435a

@ -279,6 +279,8 @@ def get_interface(intf, module):
if body:
interface_table = body['TABLE_interface']['ROW_interface']
if interface_table['eth_mode'] == 'fex-fabric':
module.fail_json(msg='nxos_interface does not support interfaces with mode "fex-fabric"')
intf_type = get_interface_type(intf)
if intf_type in ['portchannel', 'ethernet']:
if not interface_table.get('eth_mode'):

Loading…
Cancel
Save