-
Notifications
You must be signed in to change notification settings - Fork 927
Description
Is it platform specific
generic
Importance or Severity
Critical
Description of the bug
file: vlan/test_vlan_ports_down.py
When run test_vlan_ports_down on t0-isolated-v6-d32u32s, it will raise the following error
def test_vlan_ports_down(vlan_ports_setup, duthosts, rand_one_dut_hostname, nbrhosts, tbinfo, ptfadapter):
"""
Asserts the following conditions when all member ports of a VLAN interface are down:
1. The VLAN interface's oper status remains Up.
2. The VLAN's subnet IP is advertised to the T1 neighbors.
3. The IP decapsulation feature works for packets that are sent to the VLAN interfaces's IP address.
"""
duthost = duthosts[rand_one_dut_hostname]
vlan_name = vlan_ports_setup
ip_interfaces = duthost.show_ip_interface()["ansible_facts"]["ip_interfaces"]
vlan_info = ip_interfaces[vlan_name]
E KeyError: 'Vlan1000'
duthost =
duthosts = []
ip_interfaces = {'Loopback0': {'admin': 'up', 'bgp_neighbor': 'N/A', 'ipv4': '10.1.0.32', 'oper_state': 'up', ...}, 'docker0': {'admin..., 'oper_state': 'up', ...}, 'lo': {'admin': 'up', 'bgp_neighbor': 'N/A', 'ipv4': '127.0.0.1', 'oper_state': 'up', ...}}
nbrhosts = {'ARISTA01PT0': , 'ARISTA01T1': , 'ARISTA02PT0': , 'ARISTA09T1': , ...}
ptfadapter =
vlan_name = 'Vlan1000'
Steps to Reproduce
Need to align the test for v6 only topology
Actual Behavior and Expected Behavior
The test can be supported by v6 only topology
Relevant log output
Output of show version
Attach files (if any)
No response