-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: High
-
Resolution: Fixed
-
Affects Version/s: SEBA 1.0
-
Fix Version/s: February
-
Component/s: ONOS & Apps
-
Labels:None
-
Story Points:3
-
Epic Link:
Missing flows in ONOS on the AGG Switch after rebooting it
Scenario:
- Subscriber authentication and DHCP was completed successfully.
- Switch was rebooted
- Subscriber was still able to perform end-end ping
- But noticed that there was 1 flow missing after switch reboot.
Info: Test performs "sudo reboot" to restart the switch.
Missing Flow:
ADDED, bytes=710, packets=2, table=60, priority=61000, selector=[*IN_PORT:32, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67, UDP_DST:68*], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
=================================================
probably the restart case for this flow in the olt app is not handled correctly
Here are the flows before rebooting the switch:
deviceId=of:0000000000000002, flowRuleCount=33
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:4094], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:4094], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=50, priority=1000, selector=[VLAN_VID:222], treatment=[deferred=[GROUP:0x40de0000], transition=TABLE:60]
ADDED, bytes=710, packets=2, table=60, priority=61000, selector=[IN_PORT:32, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67, UDP_DST:68], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=1878, packets=19, table=60, priority=60000, selector=[VLAN_VID:222], treatment=[immediate=[NOACTION]]
ADDED, bytes=23904, packets=249, table=60, priority=40000, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=ETH_TYPE:ipv4, IPV4_DST:[192.168.0.201/32, treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:ipv6, IPV6_DST:fe80::200:2ff:fe01:601/128], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=23904, packets=249, table=60, priority=40000, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=486, packets=5, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:136], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:134], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:133], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:arp], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:135], treatment=[immediate=[OUTPUT:CONTROLLER]]
And this are the flows after the switch came back:
deviceId=of:0000000000000002, flowRuleCount=32
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:4094], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:4094], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:1, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:32, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:32, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:1, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=50, priority=1000, selector=[VLAN_VID:222], treatment=[deferred=[GROUP:0x40de0000], transition=TABLE:60]
ADDED, bytes=1838, packets=14, table=60, priority=60000, selector=[VLAN_VID:222], treatment=[immediate=[NOACTION]]
ADDED, bytes=12096, packets=126, table=60, priority=40000, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=ETH_TYPE:ipv4, IPV4_DST:[192.168.0.201/32, treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:ipv6, IPV6_DST:fe80::200:2ff:fe01:601/128], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=12096, packets=126, table=60, priority=40000, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=392, packets=4, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:136], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:134], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:133], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:arp], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:135], treatment=[immediate=[OUTPUT:CONTROLLER]]