dentproject / testing

Public repository for test-cases contributed by different organizations
4 stars 19 forks source link

test_port_isolation_interaction_route_between_vlan_devices fails due to the absence of expected traffic #338

Closed stavrukPLV closed 1 year ago

stavrukPLV commented 1 year ago

The test named test_port_isolation_interaction_route_between_vlan_devices with the specified configuration is not working correctly according to the expected behavior. It is expected to receive traffic, but no traffic is being sent.

Current cofiguration:

streams = {
        'vlan_10': {
            'ip_source': dev_groups[tg_ports[0]][0]['name'],
            'ip_destination': dev_groups[tg_ports[1]][0]['name'],
            'srcIp': '0.0.0.0',
            'dstIp': '2.2.2.3',
            'srcMac': '00:00:00:00:00:01',
            'dstMac': '00:00:00:00:00:02',
            'frameSize': 150,
            'rate': pps_value,
            'protocol': '0x0800',
            'type': 'raw',
            'vlanID': 10
        },
        'vlan_11': {
            'ip_source': dev_groups[tg_ports[1]][0]['name'],
            'ip_destination': dev_groups[tg_ports[0]][0]['name'],
            'srcIp': '0.0.0.0',
            'dstIp': '1.1.1.2',
            'srcMac': '00:00:00:00:00:01',
            'dstMac': '00:00:00:00:00:02',
            'frameSize': 150,
            'rate': pps_value,
            'protocol': '0x0800',
            'type': 'raw',
            'vlanID': 11
        }
    }

Expected: DENT:Logger.py:84 [Ixia Traffic Generator] Tx 10.36.118.199:2:5 Rx 10.36.118.199:2:6 TI vlan_10 SIP-DIP N/A Tx 9972 Rx 0 Loss 0.000 DENT:Logger.py:84 [Ixia Traffic Generator] Tx 10.36.118.199:2:6 Rx 10.36.118.199:2:5 TI vlan_11 SIP-DIP N/A Tx 9972 Rx 0 Loss 0.000

Actual: DENT:Logger.py:84 [Ixia Traffic Generator] Tx 10.36.118.199:2:5 Rx 10.36.118.199:2:6 TI vlan_10 SIP-DIP N/A Tx 9972 Rx 0 Loss 100.000 DENT:Logger.py:84 [Ixia Traffic Generator] Tx 10.36.118.199:2:6 Rx 10.36.118.199:2:5 TI vlan_11 SIP-DIP N/A Tx 9972 Rx 0 Loss 100.000