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
ansible_net_intefaces should be populated with the complete list of interfaces on the switch stack. The output should include all interfaces as well as the proper count of interfaces on the switch stack.
ACTUAL RESULTS
The results are inconsistent. With small switch stacks (1 or 2 switches), sometimes all interfaces are returned correctly but usually only vlan 1 is returned. With larger switch stacks, the full list is never returned and only vlan 1 is listed.
I did a little testing and it appears that self.responses[0] is an empty string in the populate function of the Interfaces class of os6_facts.py whenever things aren't working correctly. The issue appears to be with the output that is being returned from the 'show interfaces' command being large. If I modify 'show interfaces' to be 'show interfaces | include Interface' instead, the complete list is returned every time. Of course that breaks other things since the rest of the information can't be parsed.
SUMMARY
When using dellos6_facts to populate ansible_net_interfaces for a Dell N3048 switch stack, the results are inconsistent.
ISSUE TYPE
COMPONENT NAME
dellos6_facts
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Machine Description............... Dell EMC Networking Switch
System Model ID................... N3048EP-ON
Machine Type...................... Dell EMC Networking N3048EP-ON
Image File........................ N3000Advv6.6.3.33
STEPS TO REPRODUCE
Execute a playlist that gathers interface information using dellos6_facts module
EXPECTED RESULTS
ansible_net_intefaces should be populated with the complete list of interfaces on the switch stack. The output should include all interfaces as well as the proper count of interfaces on the switch stack.
ACTUAL RESULTS
The results are inconsistent. With small switch stacks (1 or 2 switches), sometimes all interfaces are returned correctly but usually only vlan 1 is returned. With larger switch stacks, the full list is never returned and only vlan 1 is listed.
The text was updated successfully, but these errors were encountered: