STEP-0 onos> flows -s any of:000000000ac004ce deviceId=of:000000000ac004ce, flowRuleCount=1 ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:16, ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER]] (voltha) devices Devices: +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+------------------------+-------------------------+----------------------+------------------------------+ | id | type | root | parent_id | serial_number | admin_state | oper_status | connect_status | parent_port_no | host_and_port | reason | proxy_address.device_id | proxy_address.onu_id | proxy_address.onu_session_id | +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+------------------------+-------------------------+----------------------+------------------------------+ | 0001b09eb534f5b4 | openolt | True | 000100000ac004ce | 10.192.4.206:9191 | ENABLED | ACTIVE | REACHABLE | | 10.192.4.206:9191 | | | | | | 0001fc3c8dfc71c0 | brcm_openomci_onu | True | 0001b09eb534f5b4 | ALPHe3d1cfa7 | ENABLED | ACTIVE | REACHABLE | 536870912 | | initial-mib-downloaded | 0001b09eb534f5b4 | 1 | 1 | +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+------------------------+-------------------------+----------------------+------------------------------+ (voltha) logical_device 000100000ac004ce (logical device 000100000ac004ce) flows Logical Device 000100000ac004ce (type: n/a) Flows (1): +----------+----------+-----------+---------+----------+------------+ | table_id | priority | cookie | in_port | eth_type | output | +----------+----------+-----------+---------+----------+------------+ | 0 | 10000 | ~00f5d4a6 | 16 | 888E | CONTROLLER | +----------+----------+-----------+---------+----------+------------+ +----------+----------+-----------+---------+----------+------------+ (logical device 000100000ac004ce) (voltha) device 0001b09eb534f5b4 (device 0001b09eb534f5b4) flows Device 0001b09eb534f5b4 (type: openolt) Flows (2): +----------+----------+-----------+------------+----------+----------+------------+ | table_id | priority | cookie | in_port | vlan_vid | eth_type | output | +----------+----------+-----------+------------+----------+----------+------------+ | 0 | 10000 | ~9840ebb9 | 16 | 4091 | 888E | CONTROLLER | | 0 | 10000 | ~9840ebb9 | CONTROLLER | 3999 | | 16 | +----------+----------+-----------+------------+----------+----------+------------+ (device 0001b09eb534f5b4) (voltha) device 0001fc3c8dfc71c0 (device 0001fc3c8dfc71c0) flows Device 0001fc3c8dfc71c0 (type: brcm_openomci_onu) Flows (3): +----------+----------+--------+---------+----------+--------------+-----------+--------+ | table_id | priority | cookie | in_port | vlan_vid | set_vlan_vid | push_vlan | output | +----------+----------+--------+---------+----------+--------------+-----------+--------+ | 0 | 500 | 0 | 16 | 0 | 0 | | 100 | | 0 | 500 | 0 | 16 | untagged | 0 | 8100 | 100 | | 0 | 500 | 0 | 100 | 0 | 0 | | 16 | +----------+----------+--------+---------+----------+--------------+-----------+--------+ Flow DB: starting flow id=1, max flow id=16384 ------------------------------ flow_id = 18 flow_type = 1 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 1024 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ ------------------------------ flow_id = 23 flow_type = 2 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 65535 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ STEP-1 onos> flows -s any of:000000000ac004ce deviceId=of:000000000ac004ce, flowRuleCount=8 ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:16, ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:16, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:68, UDP_DST:67], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:65536, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67, UDP_DST:68], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:65536, ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:65536, METADATA:3e700000010, VLAN_VID:111], treatment=[immediate=[VLAN_POP], transition=TABLE:1] ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:16, VLAN_VID:0], treatment=[immediate=[VLAN_ID:999], transition=TABLE:1] ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:16, VLAN_VID:999], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:111, OUTPUT:65536]] ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:65536, VLAN_VID:999], treatment=[immediate=[VLAN_POP, OUTPUT:16]] (logical device 000100000ac004ce) flows Logical Device 000100000ac004ce (type: n/a) Flows (8): +----------+----------+-----------+---------+----------+----------+----------+---------+---------+---------------+--------------+----------+-----------+------------+------------+ | table_id | priority | cookie | in_port | vlan_vid | eth_type | ip_proto | udp_src | udp_dst | metadata | set_vlan_vid | pop_vlan | push_vlan | output | goto-table | +----------+----------+-----------+---------+----------+----------+----------+---------+---------+---------------+--------------+----------+-----------+------------+------------+ | 0 | 10000 | ~e1271cbf | 65536 | | 88CC | | | | | | | | CONTROLLER | | | 0 | 10000 | ~896ce0d0 | 65536 | | 800 | 17 | 67 | 68 | | | | | CONTROLLER | | | 0 | 10000 | ~00f5d4a6 | 16 | | 888E | | | | | | | | CONTROLLER | | | 0 | 10000 | ~860023e1 | 16 | | 800 | 17 | 68 | 67 | | | | | CONTROLLER | | | 1 | 1000 | ~cf4784c7 | 16 | 999 | | | | | | 111 | | 8100 | 65536 | | | 0 | 1000 | ~5c663632 | 65536 | 111 | | | | | 4290672328720 | | Yes | | | 1 | | 1 | 1000 | ~fe82556e | 65536 | 999 | | | | | | | Yes | | 16 | | | 0 | 1000 | ~786ab314 | 16 | 0 | | | | | | 999 | | | | 1 | +----------+----------+-----------+---------+----------+----------+----------+---------+---------+---------------+--------------+----------+-----------+------------+------------+ (logical device 000100000ac004ce) ports Logical device ports: +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ | id | device_id | device_port_no | root_port | ofp_port.port_no | ofp_port.hw_addr | ofp_port.name | ofp_port.state | ofp_port.curr | ofp_port.curr_speed | ofp_port_stats.port_no | +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ | nni-65536 | 000117a97af756cc | 65536 | True | 65536 | [0L, 0L, 0L, 1L, 0L, 0L] | nni-65536 | 4 | 4128 | 32 | 65536 | | uni-16 | 0001be151ac71c08 | 16 | | 16 | [8L, 0L, 0L, 0L, 0L, 16L] | ALPHe3d1cfa7 | 4 | 4160 | 64 | | +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+
 (voltha) device 000117a97af756cc (device 000117a97af756cc) flows Device 000117a97af756cc (type: openolt) Flows (7): +----------+----------+-----------+------------+----------+----------+----------+---------+---------+---------------+--------------+----------+-----------+------------+------------+ | table_id | priority | cookie | in_port | vlan_vid | eth_type | ip_proto | udp_src | udp_dst | metadata | set_vlan_vid | pop_vlan | push_vlan | output | goto-table | +----------+----------+-----------+------------+----------+----------+----------+---------+---------+---------------+--------------+----------+-----------+------------+------------+ | 0 | 10000 | ~9840ebb9 | 16 | 4091 | 888E | | | | | | | | CONTROLLER | | | 0 | 10000 | ~9840ebb9 | CONTROLLER | 3999 | | | | | | | | | 16 | | | 0 | 10000 | ~5e09a6eb | 65536 | | 88CC | | | | | | | | CONTROLLER | | | 0 | 10000 | ~e26946e9 | 16 | | 800 | 17 | 68 | 67 | | | | | CONTROLLER | | | 1 | 1000 | ~caa45eb3 | 16 | 999 | | | | | | 111 | | 8100 | 65536 | | | 0 | 10000 | ~9840ebb9 | 16 | 999 | 888E | | | | | | | | CONTROLLER | | | 0 | 1000 | ~59497549 | 65536 | 111 | | | | | 4290672328720 | | Yes | | | 1 | +----------+----------+-----------+------------+----------+----------+----------+---------+---------+---------------+--------------+----------+-----------+------------+------------+ (device 000117a97af756cc) (voltha) device 0001be151ac71c08 (device 0001be151ac71c08) flows Device 0001be151ac71c08 (type: brcm_openomci_onu) Flows (5): +----------+----------+-----------+---------+----------+--------------+----------+-----------+--------+ | table_id | priority | cookie | in_port | vlan_vid | set_vlan_vid | pop_vlan | push_vlan | output | +----------+----------+-----------+---------+----------+--------------+----------+-----------+--------+ | 0 | 500 | 0 | 16 | 0 | 0 | | | 100 | | 0 | 500 | 0 | 16 | untagged | 0 | | 8100 | 100 | | 0 | 500 | 0 | 100 | 0 | 0 | | | 16 | | 0 | 1000 | ~fe82556e | 100 | 999 | | Yes | | 16 | | 0 | 1000 | ~786ab314 | 16 | 0 | 999 | | | 100 | +----------+----------+-----------+---------+----------+--------------+----------+-----------+--------+ Flow DB: starting flow id=1, max flow id=16384 ------------------------------ flow_id = 16 flow_type = 1 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 1024 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ ------------------------------ flow_id = 16 flow_type = 2 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 65535 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ ------------------------------ flow_id = 17 flow_type = 1 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 1024 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ ------------------------------ flow_id = 23 flow_type = 2 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 65535 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ STEP-2 onos> flows -s any of:000000000ac004ce deviceId=of:000000000ac004ce, flowRuleCount=2 ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:65536, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67, UDP_DST:68], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:65536, ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]] (voltha) logical_device 000100000ac004ce (logical device 000100000ac004ce) (logical device 000100000ac004ce) flows Logical Device 000100000ac004ce (type: n/a) Flows (2): +----------+----------+-----------+---------+----------+----------+---------+---------+------------+ | table_id | priority | cookie | in_port | eth_type | ip_proto | udp_src | udp_dst | output | +----------+----------+-----------+---------+----------+----------+---------+---------+------------+ | 0 | 10000 | ~e1271cbf | 65536 | 88CC | | | | CONTROLLER | | 0 | 10000 | ~896ce0d0 | 65536 | 800 | 17 | 67 | 68 | CONTROLLER | +----------+----------+-----------+---------+----------+----------+---------+---------+------------+ (logical device 000100000ac004ce) ports Logical device ports: +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ | id | device_id | device_port_no | root_port | ofp_port.port_no | ofp_port.hw_addr | ofp_port.name | ofp_port.state | ofp_port.curr | ofp_port.curr_speed | ofp_port_stats.port_no | +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ | nni-65536 | 000117a97af756cc | 65536 | True | 65536 | [0L, 0L, 0L, 1L, 0L, 0L] | nni-65536 | 4 | 4128 | 32 | 65536 | | uni-16 | 0001be151ac71c08 | 16 | | 16 | [8L, 0L, 0L, 0L, 0L, 16L] | ALPHe3d1cfa7 | 1 | 4160 | 64 | | +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ (voltha) devices Devices: +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+-----------------+-------------------------+----------------------+------------------------------+ | id | type | root | parent_id | serial_number | admin_state | oper_status | connect_status | parent_port_no | host_and_port | reason | proxy_address.device_id | proxy_address.onu_id | proxy_address.onu_session_id | +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+-----------------+-------------------------+----------------------+------------------------------+ | 000117a97af756cc | openolt | True | 000100000ac004ce | 10.192.4.206:9191 | ENABLED | ACTIVE | REACHABLE | | 10.192.4.206:9191 | | | | | | 0001be151ac71c08 | brcm_openomci_onu | True | 000117a97af756cc | ALPHe3d1cfa7 | DISABLED | | REACHABLE | 536870912 | | omci-admin-lock | 000117a97af756cc | 1 | 1 | +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+-----------------+-------------------------+----------------------+------------------------------+ (voltha) device 000117a97af756cc (device 000117a97af756cc) flows Device 000117a97af756cc (type: openolt) Flows (1): +----------+----------+-----------+---------+----------+------------+ | table_id | priority | cookie | in_port | eth_type | output | +----------+----------+-----------+---------+----------+------------+ | 0 | 10000 | ~5e09a6eb | 65536 | 88CC | CONTROLLER | +----------+----------+-----------+---------+----------+------------+ (device 000117a97af756cc) (voltha) device 0001be151ac71c08 (device 0001be151ac71c08) flows Device 0001be151ac71c08 (type: brcm_openomci_onu) Flows (3): +----------+----------+--------+---------+----------+--------------+-----------+--------+ | table_id | priority | cookie | in_port | vlan_vid | set_vlan_vid | push_vlan | output | +----------+----------+--------+---------+----------+--------------+-----------+--------+ | 0 | 500 | 0 | 16 | 0 | 0 | | 100 | | 0 | 500 | 0 | 16 | untagged | 0 | 8100 | 100 | | 0 | 500 | 0 | 100 | 0 | 0 | | 16 | +----------+----------+--------+---------+----------+--------------+-----------+--------+ STEP-3 onos> flows -s any of:000000000ac004ce deviceId=of:000000000ac004ce, flowRuleCount=3 ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:16, ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:65536, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67, UDP_DST:68], treatment=[immediate=[OUTPUT:CONTROLLER]] ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:65536, ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]] (voltha) devices Devices: +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+-------------------+-------------------------+----------------------+------------------------------+ | id | type | root | parent_id | serial_number | admin_state | oper_status | connect_status | parent_port_no | host_and_port | reason | proxy_address.device_id | proxy_address.onu_id | proxy_address.onu_session_id | +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+-------------------+-------------------------+----------------------+------------------------------+ | 000117a97af756cc | openolt | True | 000100000ac004ce | 10.192.4.206:9191 | ENABLED | ACTIVE | REACHABLE | | 10.192.4.206:9191 | | | | | | 0001be151ac71c08 | brcm_openomci_onu | True | 000117a97af756cc | ALPHe3d1cfa7 | ENABLED | ACTIVE | REACHABLE | 536870912 | | omci-flows-pushed | 000117a97af756cc | 1 | 1 | +------------------+-------------------+------+------------------+-------------------+-------------+-------------+----------------+----------------+-------------------+-------------------+-------------------------+----------------------+------------------------------+ (voltha) (voltha) logical_device 000100000ac004ce (logical device 000100000ac004ce) flows Logical Device 000100000ac004ce (type: n/a) Flows (3): +----------+----------+-----------+---------+----------+----------+---------+---------+------------+ | table_id | priority | cookie | in_port | eth_type | ip_proto | udp_src | udp_dst | output | +----------+----------+-----------+---------+----------+----------+---------+---------+------------+ | 0 | 10000 | ~e1271cbf | 65536 | 88CC | | | | CONTROLLER | | 0 | 10000 | ~896ce0d0 | 65536 | 800 | 17 | 67 | 68 | CONTROLLER | | 0 | 10000 | ~00f5d4a6 | 16 | 888E | | | | CONTROLLER | +----------+----------+-----------+---------+----------+----------+---------+---------+------------+ (logical device 000100000ac004ce) ports Logical device ports: +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ | id | device_id | device_port_no | root_port | ofp_port.port_no | ofp_port.hw_addr | ofp_port.name | ofp_port.state | ofp_port.curr | ofp_port.curr_speed | ofp_port_stats.port_no | +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ | nni-65536 | 000117a97af756cc | 65536 | True | 65536 | [0L, 0L, 0L, 1L, 0L, 0L] | nni-65536 | 4 | 4128 | 32 | 65536 | | uni-16 | 0001be151ac71c08 | 16 | | 16 | [8L, 0L, 0L, 0L, 0L, 16L] | ALPHe3d1cfa7 | 4 | 4160 | 64 | | +-----------+------------------+----------------+-----------+------------------+---------------------------+---------------+----------------+---------------+---------------------+------------------------+ (voltha) device 000117a97af756cc (device 000117a97af756cc) flows Device 000117a97af756cc (type: openolt) Flows (3): +----------+----------+-----------+------------+----------+----------+------------+ | table_id | priority | cookie | in_port | vlan_vid | eth_type | output | +----------+----------+-----------+------------+----------+----------+------------+ | 0 | 10000 | ~5e09a6eb | 65536 | | 88CC | CONTROLLER | | 0 | 10000 | ~9840ebb9 | 16 | 4091 | 888E | CONTROLLER | | 0 | 10000 | ~9840ebb9 | CONTROLLER | 3999 | | 16 | +----------+----------+-----------+------------+----------+----------+------------+ (voltha) device 0001be151ac71c08 (device 0001be151ac71c08) flows Device 0001be151ac71c08 (type: brcm_openomci_onu) Flows (3): +----------+----------+--------+---------+----------+--------------+-----------+--------+ | table_id | priority | cookie | in_port | vlan_vid | set_vlan_vid | push_vlan | output | +----------+----------+--------+---------+----------+--------------+-----------+--------+ | 0 | 500 | 0 | 16 | 0 | 0 | | 100 | | 0 | 500 | 0 | 16 | untagged | 0 | 8100 | 100 | | 0 | 500 | 0 | 100 | 0 | 0 | | 16 | +----------+----------+--------+---------+----------+--------------+-----------+--------+ Flow DB: starting flow id=1, max flow id=16384 ------------------------------ flow_id = 18 flow_type = 1 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 1024 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ ------------------------------ flow_id = 23 flow_type = 2 if_id = 0 sub_term_id = 1 svc_port_id = 1024 agg_id = 65535 vlan_id = 0 is_waiting_for_svc_port_active = false is_configuration_completed=true ind_sent = 1 ------------------------------ [00141.521: I OPENOLT ] indications.cc 330| packet indication, intf_type 1, intf_id 0, svc_port 1024, flow_id 18 [00143.974: I OPENOLT ] indications.cc 330| packet indication, intf_type 0, intf_id 0, svc_port 65535, flow_id 16376 [00147.079: I OPENOLT ] indications.cc 330| packet indication, intf_type 0, intf_id 0, svc_port 65535, flow_id 16376 [00150.183: I OPENOLT ] indications.cc 330| packet indication, intf_type 0, intf_id 0, svc_port 65535, flow_id 16376 [00153.288: I OPENOLT ] indications.cc 330| packet indication, intf_type 0, intf_id 0, svc_port 65535, flow_id 16376 [00156.392: I OPENOLT ] indications.cc 330| packet indication, intf_type 0, intf_id 0, svc_port 65535, flow_id 16376 [00159.496: I OPENOLT ] indications.cc 330| packet indication, intf_type 0, intf_id 0, svc_port 65535, flow_id 16376 [00160.848: I OPENOLT ] indications.cc 330| packet indication, intf_type 1, intf_id 0, svc_port 1024, flow_id 17