You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playbook using l2_interfaces module reporting an error when interfaces with switchport mode private-vlan promiscuous or private-vlan host are configured
failed: [host1] (item=Ethernet1/20) => {"ansible_loop_var": "item", "changed": false, "item": "Ethernet1/20", "msg": "value of mode must be one of: access, dot1q-tunnel, trunk, fex-fabric, fabricpath, got: private-vlan promiscuous found in config"}
Problem is the same as in issues: #600 and #166
Only allowed types are "access", "dot1q-tunnel", "trunk", "fex-fabric", "fabricpath"
SUMMARY
Playbook using l2_interfaces module reporting an error when interfaces with switchport mode private-vlan promiscuous or private-vlan host are configured
failed: [host1] (item=Ethernet1/20) => {"ansible_loop_var": "item", "changed": false, "item": "Ethernet1/20", "msg": "value of mode must be one of: access, dot1q-tunnel, trunk, fex-fabric, fabricpath, got: private-vlan promiscuous found in config"}
Problem is the same as in issues: #600 and #166
Only allowed types are "access", "dot1q-tunnel", "trunk", "fex-fabric", "fabricpath"
file: cisco.nxos/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py
line: "choices": ["access", "dot1q-tunnel", "trunk", "fex-fabric", "fabricpath"],
The port to configure self is in mode trunk, just other ports on the switch are configured in private-vlan mode:
ISSUE TYPE
COMPONENT NAME
l2_interfaces
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
cisco Nexus5548
7.3(12)N1(1)
STEPS TO REPRODUCE
EXPECTED RESULTS
add vlan to allowed vlans of the interface
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: