The BNG Blaster is an open-source network tester for access and routing protocols.
BSD 3-Clause "New" or "Revised" License
202
stars
32
forks
source link
Traffic flows are associated with the member interfaces of non-active lag interface. #247
Closed
ArunPrakashThangaraj closed 4 months ago
Describe the bug
Traffic flows are associated with the member interfaces of non-active lag interface.
To Reproduce
Run http redirect vrf suite
Version (
bngblaster -v
):JSON configuration:
Steps to reproduce the behavior:
Expected behavior
Traffic flows should be associated with the member interfaces of active lag.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock streams-pending { "status": "ok", "code": 200, "streams-pending": [ 3, 15, 27, 39, 51 ] }
supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock stream-info flow-id 3 debug True { "status": "ok", "code": 200, "stream-info": { "flow-id": 3, "name": "session-ipv6", "type": "unicast", "sub-type": "ipv6", "direction": "upstream", "enabled": false, "active": true, "verified": false, "source-address": "fc55:100:1:1::29", "source-port": 65056, "destination-address": "fc66:1337:7331::2", "destination-port": 65056, "protocol": "udp", "tx-interface": "lag1", "rx-interface": "SN-19-RR", "rx-first-seq": 0, "rx-last-seq": 0, "rx-tos-tc": 0, "rx-outer-vlan-pbit": 0, "rx-inner-vlan-pbit": 0, "rx-len": 0, "tx-len": 118, "tx-packets": 0, "tx-bytes": 0, "rx-packets": 0, "rx-bytes": 0, "rx-loss": 0, "rx-wrong-session": 0, "rx-delay-us-min": 0, "rx-delay-us-max": 0, "rx-pps": 0, "tx-pps": 0, "tx-bps-l2": 0, "rx-bps-l2": 0, "rx-bps-l3": 0, "tx-mbps-l2": 0.0, "rx-mbps-l2": 0.0, "rx-mbps-l3": 0.0, "tx-first-epoch": 2851936, "rx-first-epoch": 2851936, "rx-last-epoch": 2851940, "session-id": 1, "session-version": 60, "session-traffic": true, "lag-member-interface": "SN-11-C2", "lag-member-interface-state": "Down", "global-traffic": true, "init-phase": false, "nat": false, "reset": true, "lag": true, "tx-interface-state": "Up", "tx-packets-real": 8, "tx-seq": 5, "max-packets": 0, "bucket": 932596, "tokens": 0 } } supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock stream-info flow-id 27 debug True { "status": "ok", "code": 200, "stream-info": { "flow-id": 27, "name": "session-ipv6", "type": "unicast", "sub-type": "ipv6", "direction": "upstream", "enabled": false, "active": true, "verified": false, "source-address": "fc55:100:1:1::2c", "source-port": 65056, "destination-address": "fc66:1337:7331::2", "destination-port": 65056, "protocol": "udp", "tx-interface": "lag1", "rx-interface": "SN-19-RR", "rx-first-seq": 0, "rx-last-seq": 0, "rx-tos-tc": 0, "rx-outer-vlan-pbit": 0, "rx-inner-vlan-pbit": 0, "rx-len": 0, "tx-len": 118, "tx-packets": 0, "tx-bytes": 0, "rx-packets": 0, "rx-bytes": 0, "rx-loss": 0, "rx-wrong-session": 0, "rx-delay-us-min": 0, "rx-delay-us-max": 0, "rx-pps": 0, "tx-pps": 0, "tx-bps-l2": 0, "rx-bps-l2": 0, "rx-bps-l3": 0, "tx-mbps-l2": 0.0, "rx-mbps-l2": 0.0, "rx-mbps-l3": 0.0, "tx-first-epoch": 2851936, "rx-first-epoch": 2851936, "rx-last-epoch": 2851940, "session-id": 5, "session-version": 60, "session-traffic": true, "lag-member-interface": "SN-11-C2", "lag-member-interface-state": "Down", "global-traffic": true, "init-phase": false, "nat": false, "reset": true, "lag": true, "tx-interface-state": "Up", "tx-packets-real": 8, "tx-seq": 5, "max-packets": 0, "bucket": 1000827, "tokens": 0 } } supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock stream-info flow-id 39 debug True { "status": "ok", "code": 200, "stream-info": { "flow-id": 39, "name": "session-ipv6", "type": "unicast", "sub-type": "ipv6", "direction": "upstream", "enabled": false, "active": true, "verified": false, "source-address": "fc55:100:1:1::2d", "source-port": 65056, "destination-address": "fc66:1337:7331::2", "destination-port": 65056, "protocol": "udp", "tx-interface": "lag1", "rx-interface": "SN-19-RR", "rx-first-seq": 0, "rx-last-seq": 0, "rx-tos-tc": 0, "rx-outer-vlan-pbit": 0, "rx-inner-vlan-pbit": 0, "rx-len": 0, "tx-len": 118, "tx-packets": 0, "tx-bytes": 0, "rx-packets": 0, "rx-bytes": 0, "rx-loss": 0, "rx-wrong-session": 0, "rx-delay-us-min": 0, "rx-delay-us-max": 0, "rx-pps": 0, "tx-pps": 0, "tx-bps-l2": 0, "rx-bps-l2": 0, "rx-bps-l3": 0, "tx-mbps-l2": 0.0, "rx-mbps-l2": 0.0, "rx-mbps-l3": 0.0, "tx-first-epoch": 2851936, "rx-first-epoch": 2851936, "rx-last-epoch": 2851940, "session-id": 7, "session-version": 60, "session-traffic": true, "lag-member-interface": "SN-11-C2", "lag-member-interface-state": "Down", "global-traffic": true, "init-phase": false, "nat": false, "reset": true, "lag": true, "tx-interface-state": "Up", "tx-packets-real": 8, "tx-seq": 5, "max-packets": 0, "bucket": 1009401, "tokens": 0 } } supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock stream-info flow-id 51 debug True { "status": "ok", "code": 200, "stream-info": { "flow-id": 51, "name": "session-ipv6", "type": "unicast", "sub-type": "ipv6", "direction": "upstream", "enabled": false, "active": true, "verified": false, "source-address": "fc55:100:1:1::2b", "source-port": 65056, "destination-address": "fc66:1337:7331::2", "destination-port": 65056, "protocol": "udp", "tx-interface": "lag1", "rx-interface": "SN-19-RR", "rx-first-seq": 0, "rx-last-seq": 0, "rx-tos-tc": 0, "rx-outer-vlan-pbit": 0, "rx-inner-vlan-pbit": 0, "rx-len": 0, "tx-len": 118, "tx-packets": 0, "tx-bytes": 0, "rx-packets": 0, "rx-bytes": 0, "rx-loss": 0, "rx-wrong-session": 0, "rx-delay-us-min": 0, "rx-delay-us-max": 0, "rx-pps": 0, "tx-pps": 0, "tx-bps-l2": 0, "rx-bps-l2": 0, "rx-bps-l3": 0, "tx-mbps-l2": 0.0, "rx-mbps-l2": 0.0, "rx-mbps-l3": 0.0, "tx-first-epoch": 2851936, "rx-first-epoch": 2851936, "rx-last-epoch": 2851941, "session-id": 9, "session-version": 60, "session-traffic": true, "lag-member-interface": "SN-11-C2", "lag-member-interface-state": "Down", "global-traffic": true, "init-phase": false, "nat": false, "reset": true, "lag": true, "tx-interface-state": "Up", "tx-packets-real": 8, "tx-seq": 5, "max-packets": 0, "bucket": 1014010, "tokens": 0 } } supervisor@SN-STD-27-119820607:/var/bngblaster/demo_ipoe_subscribers $