tx/rx count for all enabled session-traffic flows (ipv4/ipv6/ipv6pd) should get started and verified count should be 6, considering both upstream/downstream flows for each ipv4/ipv6/ipv6pd
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
Session traffic verified flow-count does not look complete as the tx/rx counts remain at 0.
To Reproduce
The issue is manually not reproducible whereas using the script it always recurs. Steps to reproduce have been shared via email with Chrisitian.
Version (
bngblaster -v
):JSON configuration:
Steps to reproduce the behavior:
Expected behavior
tx/rx count for all enabled session-traffic flows (ipv4/ipv6/ipv6pd) should get started and verified count should be 6, considering both upstream/downstream flows for each ipv4/ipv6/ipv6pd
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock session-traffic-reset outer-vlan 1001 inner-vlan 1001 { "status": "ok", "code": 200 } supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock session-traffic { "status": "ok", "code": 200, "session-traffic": { "total-flows": 60, "verified-flows": 0 } } supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock session-traffic-enabled outer-vlan 1001 inner-vlan 1001 { "status": "ok", "code": 200 } supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock session-traffic-disabled outer-vlan 1001 inner-vlan 1001 { "status": "ok", "code": 200 } supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $ supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $ sudo bngblaster-cli run.sock session-traffic { "status": "ok", "code": 200, "session-traffic": { "total-flows": 60, "verified-flows": 5 } } supervisor@SN-STD-27-2802:/var/bngblaster/demo_ipoe_subscribers $
sudo bngblaster-cli run.sock session-info outer-vlan 1001 inner-vlan 1001 { "status": "ok", "code": 200, "session-info": { "type": "ipoe", "session-id": 1, "session-state": "Established", "session-version": 60, "flapped": 8, "interface": "lag1", "outer-vlan": 1001, "inner-vlan": 1001, "mac": "02:00:00:00:00:01", "agent-circuit-id": "0.0.0.0/0.0.0.0 eth 0:1", "agent-remote-id": "CBNG1.RTBRICK.1", "ipv4-address": "11.100.128.42", "ipv4-netmask": "255.255.255.255", "ipv4-gateway": "192.1.0.1", "ipv4-dns1": "10.0.0.3", "ipv4-dns2": "10.0.0.4", "ipv6-prefix": "fc55:100:1:1::2a/128", "ipv6-delegated-prefix": "fc56:100:1:2900::/56", "dhcp-state": "Bound", "dhcp-server": "192.1.0.1", "dhcp-lease-time": 3600, "dhcp-lease-expire": 3451, "dhcp-lease-expire-t1": 1651, "dhcp-lease-expire-t2": 3001, "dhcp-tx": 48, "dhcp-rx": 19, "dhcp-tx-discover": 14, "dhcp-rx-offer": 9, "dhcp-tx-request": 10, "dhcp-rx-ack": 10, "dhcp-rx-nak": 0, "dhcp-tx-release": 24, "dhcpv6-state": "Bound", "dhcpv6-lease-time": 3600, "dhcpv6-lease-expire": 3451, "dhcpv6-lease-expire-t1": 751, "dhcpv6-lease-expire-t2": 1291, "dhcpv6-tx": 24, "dhcpv6-rx": 19, "dhcpv6-tx-solicit": 14, "dhcpv6-rx-advertise": 0, "dhcpv6-tx-request": 0, "dhcpv6-rx-reply": 19, "dhcpv6-tx-renew": 2, "dhcpv6-tx-release": 8, "dhcpv6-dns1": "fc66::3", "dhcpv6-dns2": "fc66::4", "tx-packets": 478, "rx-packets": 743, "rx-fragmented-packets": 0, "tx-bytes": 67884, "rx-bytes": 83763, "tx-accounting-packets": 371, "rx-accounting-packets": 521, "tx-accounting-bytes": 42338, "rx-accounting-bytes": 55734, "tx-arp": 0, "rx-arp": 0, "tx-igmp": 0, "rx-igmp": 0, "tx-icmp": 0, "rx-icmp": 0, "tx-icmpv6": 67, "rx-icmpv6": 139, "session-traffic": { "total-flows": 6, "verified-flows": 5, "downstream-ipv4-flow-id": 2, "downstream-ipv4-tx-packets": 4, "downstream-ipv4-rx-packets": 4, "downstream-ipv4-rx-first-seq": 1, "downstream-ipv4-loss": 0, "downstream-ipv4-wrong-session": 0, "upstream-ipv4-flow-id": 1, "upstream-ipv4-tx-packets": 0, "upstream-ipv4-rx-packets": 0, "upstream-ipv4-rx-first-seq": 0, "upstream-ipv4-loss": 0, "upstream-ipv4-wrong-session": 0, "downstream-ipv6-flow-id": 4, "downstream-ipv6-tx-packets": 4, "downstream-ipv6-rx-packets": 4, "downstream-ipv6-rx-first-seq": 1, "downstream-ipv6-loss": 0, "downstream-ipv6-wrong-session": 0, "upstream-ipv6-flow-id": 3, "upstream-ipv6-tx-packets": 4, "upstream-ipv6-rx-packets": 4, "upstream-ipv6-rx-first-seq": 1, "upstream-ipv6-loss": 0, "upstream-ipv6-wrong-session": 0, "downstream-ipv6pd-flow-id": 6, "downstream-ipv6pd-tx-packets": 4, "downstream-ipv6pd-rx-packets": 4, "downstream-ipv6pd-rx-first-seq": 1, "downstream-ipv6pd-loss": 0, "downstream-ipv6pd-wrong-session": 0, "upstream-ipv6pd-flow-id": 5, "upstream-ipv6pd-tx-packets": 4, "upstream-ipv6pd-rx-packets": 4, "upstream-ipv6pd-rx-first-seq": 1, "upstream-ipv6pd-loss": 0, "upstream-ipv6pd-wrong-session": 0 } } }
sudo bngblaster-cli run.sock stream-info flow-id 2 debug True { "status": "ok", "code": 200, "stream-info": { "flow-id": 2, "name": "session-ipv4", "type": "unicast", "sub-type": "ipv4", "direction": "downstream", "enabled": false, "active": true, "verified": true, "source-address": "131.0.0.2", "source-port": 65056, "destination-address": "11.100.128.42", "destination-port": 65056, "protocol": "udp", "tx-interface": "SN-19-RR", "rx-interface": "lag1", "rx-first-seq": 1, "rx-last-seq": 4, "rx-tos-tc": 0, "rx-outer-vlan-pbit": 0, "rx-inner-vlan-pbit": 0, "rx-len": 94, "tx-len": 90, "tx-packets": 4, "tx-bytes": 360, "rx-packets": 4, "rx-bytes": 376, "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": 32497387, "rx-first-epoch": 32497387, "rx-last-epoch": 32497391, "session-id": 1, "session-version": 60, "session-traffic": true, "global-traffic": true, "init-phase": false, "nat": false, "reset": false, "tx-interface-state": "Up", "tx-packets-real": 149, "max-packets": 0, "bucket": 2586264, "tokens": 0 } }