When ping from rg0-0, and tcpdump on the interface inside bridge (brctl) nni0, I cannot see any icmp packet forward to it. So, I think there is lack of vOLT rule to forward packet from ONU to OLT. The following is the forwarding entries in my system.
onos@root > sr-xconnect
XconnectDesc{key=XconnectKey{deviceId=of:000000e0ed36e1e7, vlanId=222}, endpoints=[2, 3]}
onos@root > flows -s any of:0000d0d3e158fede 09:21:29
deviceId=of:0000d0d3e158fede, flowRuleCount=8
ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:2, 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:128, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:68, UDP_DST:67], treatment=[immediate=[OUTPUT:CONTROLLER], meter=METER:2, metadata=METADATA:4000000000/0]
ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:128, ETH_TYPE:eapol, VLAN_VID:111], treatment=[immediate=[OUTPUT:CONTROLLER], meter=METER:2, metadata=METADATA:6f004000000000/0]
ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:2, ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:2, METADATA:6f, VLAN_VID:222], treatment=[immediate=[VLAN_POP], transition=TABLE:1, meter=METER:2, metadata=METADATA:6f004000000080/0]
ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:128, VLAN_VID:0], treatment=[immediate=[VLAN_ID:111], transition=TABLE:1, meter=METER:2, metadata=METADATA:de004000000002/0]
ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:128, VLAN_VID:111], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:222, OUTPUT:2], meter=METER:2, metadata=METADATA:4000000000/0]
ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:2, METADATA:80, VLAN_VID:111], treatment=[immediate=[VLAN_ID:0, OUTPUT:128], meter=METER:2, metadata=METADATA:4000000000/0]
onos@root > flows -s any of:000000e0ed36e1e7 09:22:36
deviceId=of:000000e0ed36e1e7, flowRuleCount=69
ADDED, bytes=0, packets=0, table=0, priority=40000, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=251640, packets=1864, table=0, priority=40000, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=0, priority=40000, selector=[ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=0, priority=30000, selector=[ETH_TYPE:arp], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=539210, packets=1099, table=0, priority=0, selector=[], treatment=[transition=TABLE:10]
ADDED, bytes=648, packets=8, table=10, priority=32768, selector=[IN_PORT:2, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:3, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=354, packets=4, table=10, priority=32768, selector=[IN_PORT:LOCAL, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:4, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:2, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:3, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:LOCAL, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=479290, packets=867, table=10, priority=32768, selector=[IN_PORT:4, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:2, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=2415, packets=13, table=10, priority=32768, selector=[IN_PORT:3, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=44770, packets=155, table=10, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=11, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, 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:3, 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:3, 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:2, 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:2, 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:2, 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:2, 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:4, 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:4, 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:LOCAL, 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:2, 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:3, 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:LOCAL, 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:3, 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:4, 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:3, 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:LOCAL, 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:LOCAL, 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:LOCAL, 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:2, 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:LOCAL, 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:4, 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:4, 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:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=494440, packets=944, table=20, priority=0, selector=[], treatment=[transition=TABLE:50]
ADDED, bytes=0, packets=0, table=23, priority=0, selector=[], treatment=[transition=TABLE:24]
ADDED, bytes=0, packets=0, table=24, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=30, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=31, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=32, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=40, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=2415, packets=13, table=50, priority=1000, selector=[VLAN_VID:222], treatment=[deferred=[GROUP:0x40de0000], transition=TABLE:60]
ADDED, bytes=480292, packets=879, table=50, priority=0, selector=[], treatment=[transition=TABLE:60]
ADDED, bytes=0, packets=0, table=60, priority=61000, selector=[IN_PORT:3, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67], treatment=[clearDeferred, transition=TABLE:63]
ADDED, bytes=0, packets=0, table=60, priority=61000, selector=[IN_PORT:4, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67], treatment=[clearDeferred, transition=TABLE:63]
ADDED, bytes=2567, packets=15, table=60, priority=60000, selector=[VLAN_VID:222], treatment=[immediate=[NOACTION]]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:ipv4, IPV4_DST:
192.168.0.201/32], treatment=[clearDeferred, transition=TABLE:63]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:arp], treatment=[transition=TABLE:63]
ADDED, bytes=480520, packets=882, table=60, priority=0, selector=[], treatment=[immediate=[NOACTION]]
ADDED, bytes=0, packets=0, table=63, priority=65535, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=65535, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:2, VLAN_VID:222], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:2, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:4, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:LOCAL, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:2, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:3, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:4, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:3, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:LOCAL, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:3, VLAN_VID:222], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=63, priority=0, selector=[], treatment=[immediate=[OUTPUT:CONTROLLER]]
onos@root >