BNG/DHCP Server

159 views
Skip to first unread message

pola...@gmail.com

unread,
Nov 16, 2018, 4:05:38 PM11/16/18
to CORD Discuss
Hello,

I have SEBA in a box up. I would like to bring up the setup with fabric and PON SIM Olt.
Where is BNG/DHCP server configured?

Please point me to any reference documents
Thanks,
Durga

Luca Prete

unread,
Nov 16, 2018, 4:46:33 PM11/16/18
to pola...@gmail.com, cord-d...@opencord.org
Hi Durga,

The DHCP server is something living outside the SEBA POD. SEBA interacts with it (and of course the two configurations need to be aligned), but NEM doesn't configure the DHCP directly.
The DHCP server will need to be configured with double vlan-tagged interfaces (the same set in XOS for OLTs and subscribers), and will need to provide IP addresses through DHCP to subscribers.

How it works is that the subscriber (RG) sends a DHCP request, that is trapped at the OLT. OLT sends it to Voltha. Voltha to ONOS. ONOS runs a DHCP L2 relay app that adds the option 82 and forwards the DHCP request out of the right fabric port where the BNG (and so your DHCP) is connected to.

Hope it helps,

-Luca

--
You received this message because you are subscribed to the Google Groups "CORD Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/263cc8c9-f50b-4412-b481-3b639f2aea99%40opencord.org.
For more options, visit https://groups.google.com/a/opencord.org/d/optout.


--
Luca Prete
Open Networking Foundation

Sreeju Sreedhar

unread,
Nov 16, 2018, 5:04:10 PM11/16/18
to Luca Prete, pola...@gmail.com, cord-d...@opencord.org

Adding a slight variation w.r.t PONSIM, the DHCP Requests are not tapped by the OLT. They are send directly over the VLAN-X-Connect to the BNG port. There is a jira ticket (https://jira.opencord.org/browse/SEBA-269) to track this issue and make the behavior the same as with a real-OLT as Luca mentioned below.

 

Following the procedure at https://docs.google.com/document/d/1SZJUeenAXdI7cVMR4_YGO8l7pDQWbnSxVPB67vaLfP4/edit#heading=h.eowsdyxqokw7 should make it work.

If you are not changing the C/S vlan’s predefined in the charts then below commands should setup up the Q-n-Q interface on your DHCP server (BNG) and then enable DHCP over the Q-n-Q interface. ( I updated the document with this info)

sudo ip link add link ens1d1 name ens1d1.222 type vlan id 222

sudo ip link set ens1d1.222 up

sudo ip link add link ens1d1.222 name ens1d1.222.111 type vlan id 111

sudo ip link set ens1d1.222.111 up

sudo ip addr add 172.18.0.10/24 dev ens1d1.222.111

 

/Sreeju

Durga Pola

unread,
Nov 16, 2018, 5:53:02 PM11/16/18
to Sreeju Sreedhar, lu...@opennetworking.org, cord-d...@opencord.org
Hello There,

Thanks for quick response

what software/hardware are you using for DHCP server 

1. On the server  
2. On the compute node
3. Another switch which is connected to fabric switch

TIA,

Durga Bodla




Luca Prete

unread,
Nov 16, 2018, 5:54:26 PM11/16/18
to pola...@gmail.com, Sreeju Sreedhar, cord-d...@opencord.org
Hi Durga,

It can be any dhcp software. You can use isc-dhcp for instance on top of a common Linux machine.
Not sure I got point 3.

-Luca

Durga Pola

unread,
Nov 16, 2018, 8:14:05 PM11/16/18
to lu...@opennetworking.org, Sreeju Sreedhar, cord-d...@opencord.org
Got it. 

pola...@gmail.com

unread,
Nov 19, 2018, 5:51:33 PM11/19/18
to CORD Discuss, pola...@gmail.com
Not seeing DHCP reply

Tried this command too
sr-xconnect-add of:000000182330d7fa 222 17 1

1.Packet capture from k8-Node running PONSIM-OLT (interface connected to Fabric on server)

seba@ubuntu:~$ brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.02429550328b no
pon0 8000.7e044161b8f0 no veth1753c3e9
vethdb61d4d5
pon1 8000.0a580a170001 no ens192
veth8f36d9a0
seba@ubuntu:~$ sudo tcpdump -i ens192 -nn -e vlan

14:19:52.937267 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:19:59.332278 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:06.931158 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:20.622861 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:26.039479 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:37.005182 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300

seba@ubuntu:~$ sudo tcpdump -i veth8f36d9a0 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth8f36d9a0, link-type EN10MB (Ethernet), capture size 262144 bytes

14:23:18.613846 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:23:19.505542 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:23:26.939948 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:23:30.856168 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300

seba@ubuntu:~$ sudo tcpdump -i vethdb61d4d5 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vethdb61d4d5, link-type EN10MB (Ethernet), capture size 262144 bytes
14:24:22.138539 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
14:24:25.227095 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
seba@ubuntu:~$ sudo tcpdump -i veth1753c3e9 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth1753c3e9, link-type EN10MB (Ethernet), capture size 262144 bytes
14:25:45.793833 02:eb:9f:67:c9:42 > 01:80:c2:00:00:0e, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype LLDP, LLDP, length 81
14:25:45.809959 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
14:25:48.907251 02:eb:9f:67:c9:42 > 01:80:c2:00:00:0e, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype LLDP, LLDP, length 81
14:25:48.923985 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .

2. Packet capture on BNG interface

sebadhcp@ubuntu:~$ sudo tcpdump -i ens192 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens192, link-type EN10MB (Ethernet), capture size 262144 bytes


oot@rg-5bf974486-24cgj:/usr/sbin# ./dhclient eth0
^C
root@rg-5bf974486-24cgj:/usr/sbin# ./dhclient eth0 -v
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/0a:58:0a:16:00:02
Sending on LPF/eth0/0a:58:0a:16:00:02
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 (xid=0x249e397e)
ens192 Link encap:Ethernet HWaddr 00:0c:29:bd:fc:42
inet6 addr: fe80::20c:29ff:febd:fc42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3856 errors:0 dropped:3502 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:335454 (335.4 KB) TX bytes:1976 (1.9 KB)

ens192.222 Link encap:Ethernet HWaddr 00:0c:29:bd:fc:42
inet6 addr: fe80::20c:29ff:febd:fc42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1328 (1.3 KB)

ens192.222.111 Link encap:Ethernet HWaddr 00:0c:29:bd:fc:42
inet addr:172.18.0.10 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:febd:fc42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)


seba@ubuntu:~$ ip route

default via 10.153.188.254 dev ens160 onlink

10.23.0.0/16 dev pon1 proto kernel scope link src 10.23.0.1

10.153.188.0/24 dev ens160 proto kernel scope link src 10.153.188.197

172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown

blackhole 192.168.243.192/26 proto bird

192.168.243.193 dev cali6f1298a2b69 scope link

192.168.243.194 dev cali4569b2cf12e scope link

192.168.243.195 dev cali99684127aca scope link

192.168.243.196 dev calibb1132b33bc scope link

192.168.243.197 dev cali754ac093510 scope link

192.168.243.198 dev cali65d1e41e222 scope link

192.168.243.199 dev cali86226b69002 scope link

192.168.243.200 dev calied0938bd8ac scope link

192.168.243.201 dev cali2565aeebcfb scope link

192.168.243.202 dev calibfa1bf26fe7 scope link

192.168.243.203 dev cali912300a2ba9 scope link

192.168.243.204 dev cali8c9fb63ea5b scope link

192.168.243.205 dev cali5a46da4eea2 scope link

192.168.243.206 dev califad695e60f2 scope link

192.168.243.207 dev calic11e3a096de scope link

192.168.243.208 dev cali4bfbf188d6c scope link

192.168.243.209 dev cali959e13e6071 scope link

192.168.243.210 dev cali60a5e888a60 scope link

192.168.243.211 dev calia6e47a46fe7 scope link

192.168.243.212 dev calic5041eea11c scope link

192.168.243.213 dev calif74f1456239 scope link

192.168.243.214 dev cali750e7413f34 scope link

192.168.243.215 dev cali2ab5560572c scope link

192.168.243.216 dev calic95561ac468 scope link

192.168.243.217 dev cali21878ab8cea scope link

192.168.243.218 dev cali34a80d9624a scope link

192.168.243.219 dev calic6044886de4 scope link

192.168.243.220 dev cali89406feeacc scope link

192.168.243.221 dev cali81e8347f2af scope link

192.168.243.222 dev cali0acdb4d0232 scope link

192.168.243.223 dev calic63eee14f06 scope link

192.168.243.225 dev cali6e8fef62859 scope link

192.168.243.226 dev calif8f80af8e54 scope link

seba@ubuntu:~$

root@localhost:/usr/bin/ofdpa# ./client_flowtable_dump
Table ID 10 (VLAN): Retrieving all entries. Max entries = 16384, Current entries = 20.
-- inPort = 1 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 693
-- inPort = 1 (Physical) vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 33
-- inPort = 1 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 715
-- inPort = 1 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 687
-- inPort = 17 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 695
-- inPort = 17 (Physical) vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 42
-- inPort = 17 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 719
-- inPort = 17 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 689
-- inPort = 33 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 697
-- inPort = 33 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 722
-- inPort = 33 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 691
-- inPort = 34 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 696
-- inPort = 34 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 721
-- inPort = 34 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 690
-- inPort = 47 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 702
-- inPort = 47 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 723
-- inPort = 47 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 694
-- inPort = 48 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 698
-- inPort = 48 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 720
-- inPort = 48 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 692

Table ID 20 (Termination MAC): Retrieving all entries. Max entries = 512, Current entries = 36.
-- inPort:mask = 1:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 699
-- inPort:mask = 1:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 700
-- inPort:mask = 1:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 701
-- inPort:mask = 1:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 672
-- inPort:mask = 1:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 670
-- inPort:mask = 1:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 671
-- inPort:mask = 17:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 703
-- inPort:mask = 17:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 704
-- inPort:mask = 17:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 705
-- inPort:mask = 17:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 675
-- inPort:mask = 17:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 673
-- inPort:mask = 17:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 674
-- inPort:mask = 33:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 710
-- inPort:mask = 33:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 709
-- inPort:mask = 33:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 711
-- inPort:mask = 33:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 681
-- inPort:mask = 33:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 677
-- inPort:mask = 33:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 679
-- inPort:mask = 34:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 706
-- inPort:mask = 34:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 707
-- inPort:mask = 34:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 708
-- inPort:mask = 34:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 680
-- inPort:mask = 34:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 678
-- inPort:mask = 34:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 676
-- inPort:mask = 47:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 716
-- inPort:mask = 47:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 717
-- inPort:mask = 47:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 718
-- inPort:mask = 47:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 684
-- inPort:mask = 47:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 685
-- inPort:mask = 47:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 688
-- inPort:mask = 48:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 713
-- inPort:mask = 48:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 712
-- inPort:mask = 48:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 714
-- inPort:mask = 48:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 682
-- inPort:mask = 48:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 683
-- inPort:mask = 48:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 686

Table ID 60 (ACL Policy): Retrieving all entries. Max entries = 3072, Current entries = 11.
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0000:0x0000 vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 0 (None) outPort = 0 (Physical) | priority = 60000 hard_time = 0 idle_time = 0 cookie = 45
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0800:0xffff dstIp4 = 192.168.0.201/255.255.255.255 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 11
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0806:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 34
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 133 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 38
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 134 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 37
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 135 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 35
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 136 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 40
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = fe80::218:23ff:fe30:d7fa/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 12
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x888e:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 3
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x88cc:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 10
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x8942:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 2

root@localhost:/usr/bin/ofdpa# ./client_flowtable_dump | grep 172
root@localhost:/usr/bin/ofdpa#

Sreeju Sreedhar

unread,
Nov 20, 2018, 10:50:51 AM11/20/18
to pola...@gmail.com, CORD Discuss
Hi Durga,

Can you send below outputs.
> output of "client_grouptable_dump" from the switch. I do not see table 50 entries in your flow_dump.
> modified tosca files used in ponsim-pod charts.
> o/p of dhcp server status.

/Sreeju
--
You received this message because you are subscribed to the Google Groups "CORD Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/cb0ddfbc-b234-4a3f-ae32-c10c6495dee1%40opencord.org.

pola...@gmail.com

unread,
Nov 20, 2018, 1:14:50 PM11/20/18
to CORD Discuss, pola...@gmail.com
On Tuesday, November 20, 2018 at 7:50:51 AM UTC-8, Sreeju Sreedhar wrote:
> Hi Durga,
>
> Can you send below outputs.
> > output of "client_grouptable_dump" from the switch. I do not see table 50 entries in your flow_dump.

root@localhost:/usr/bin/ofdpa# ./client_grouptable_dump
groupId = 0x00de0001 (L2 Interface, VLAN ID = 222, Port ID = 1): duration: 83576, refCount:1
bucketIndex = 0: outputPort = 1 (Physical) popVlanTag = 0 allowVlanTranslation = 0
groupId = 0x00de0011 (L2 Interface, VLAN ID = 222, Port ID = 17): duration: 83576, refCount:1
bucketIndex = 0: outputPort = 17 (Physical) popVlanTag = 0 allowVlanTranslation = 0
groupId = 0x40de0000 (L2 Flood, VLAN ID = 222, Index = 0): duration: 83575, refCount:1
bucketIndex = 0: referenceGroupId = 0x00de0011
bucketIndex = 1: referenceGroupId = 0x00de0001
root@localhost:/usr/bin/ofdpa#


> > modified tosca files used in ponsim-pod charts.
seba@ubuntu:~/cord/helm-charts/xos-profiles/ponsim-pod/tosca$ cat 020-pod-olt.yaml
---
# Copyright 2018-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- custom_types/oltdevice.yaml
- custom_types/onudevice.yaml
- custom_types/ponport.yaml
- custom_types/voltservice.yaml
description: Create a simulated OLT Device in VOLTHA
topology_template:
node_templates:

service#volt:
type: tosca.nodes.VOLTService
properties:
name: volt
must-exist: true

olt_device:
type: tosca.nodes.OLTDevice
properties:
name: PONSIM OLT
device_type: ponsim_olt
host: olt.voltha.svc
port: 50060
switch_datapath_id: of:000000182330d7fa
switch_port: "17"
outer_tpid: "0x8100"
dp_id: of:0000aabbccddeeff
uplink: "2"
requirements:
- volt_service:
node: service#volt
relationship: tosca.relationships.BelongsToOne

pon_port:
type: tosca.nodes.PONPort
properties:
name: pon0
port_no: 1
requirements:
- olt_device:
node: olt_device
relationship: tosca.relationships.BelongsToOne
seba@ubuntu:~/cord/helm-charts/xos-profiles/ponsim-pod/tosca$ cat 030-fabric.yaml
---
# Copyright 2018-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- custom_types/switch.yaml
- custom_types/onosapp.yaml
- custom_types/switchport.yaml
- custom_types/portinterface.yaml
- custom_types/bngportmapping.yaml
- custom_types/serviceinstanceattribute.yaml

description: Configures the Ponsim SEBA POD with AT&T workflow

topology_template:
node_templates:
# Fabric configuration
switch#leaf_1:
type: tosca.nodes.Switch
properties:
driver: ofdpa3
ipv4Loopback: 192.168.0.201
ipv4NodeSid: 17
isEdgeRouter: True
name: leaf_1
ofId: of:000000182330d7fa
routerMac: a8:2b:b5:71:11:f9

# Setup the OLT switch port
port#olt_port:
type: tosca.nodes.SwitchPort
properties:
portId: 17
host_learning: false
requirements:
- switch:
node: switch#leaf_1
relationship: tosca.relationships.BelongsToOne

# Port connected to the BNG
port#bng_port:
type: tosca.nodes.SwitchPort
properties:
portId: 1
requirements:
- switch:
node: switch#leaf_1
relationship: tosca.relationships.BelongsToOne

# Setup the fabric switch port where the external
# router is connected to
bngmapping:
type: tosca.nodes.BNGPortMapping
properties:
s_tag: "any"
switch_port: 1

onos_app#dhcpl2relay:
type: tosca.nodes.ONOSApp
properties:
name: dhcpl2relay
must-exist: true

# DHCP L2 Relay config
dhcpl2relay-config-attr:
type: tosca.nodes.ServiceInstanceAttribute
properties:
name: /onos/v1/network/configuration/apps/org.opencord.dhcpl2relay
value: >
{
"dhcpl2relay" : {
"useOltUplinkForServerPktInOut" : false,
"dhcpServerConnectPoints" : [ "of:0000000000000001/1" ]
}
}
requirements:
- service_instance:
node: onos_app#dhcpl2relay
relationship: tosca.relationships.BelongsToOne
> > o/p of dhcp server status.
sebadhcp@ubuntu:~$ sudo systemctl status isc-dhcp-server
[sudo] password for sebadhcp:
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-11-19 17:09:37 PST; 17h ago
Docs: man:dhcpd(8)
Main PID: 2897 (dhcpd)
Tasks: 1
Memory: 9.0M
CPU: 44ms
CGroup: /system.slice/isc-dhcp-server.service
└─2897 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf ens192.222.111

Nov 19 17:09:37 ubuntu dhcpd[2897]: All rights reserved.
Nov 19 17:09:37 ubuntu dhcpd[2897]: For info, please visit https://www.isc.org/software/dhcp/
Nov 19 17:09:37 ubuntu dhcpd[2897]: Wrote 0 leases to leases file.
Nov 19 17:09:37 ubuntu dhcpd[2897]: Listening on LPF/ens192.222.111/00:0c:29:23:4d:2c/172.18.0.0/27
Nov 19 17:09:37 ubuntu sh[2897]: Listening on LPF/ens192.222.111/00:0c:29:23:4d:2c/172.18.0.0/27
Nov 19 17:09:37 ubuntu sh[2897]: Sending on LPF/ens192.222.111/00:0c:29:23:4d:2c/172.18.0.0/27
Nov 19 17:09:37 ubuntu sh[2897]: Sending on Socket/fallback/fallback-net
Nov 19 17:09:37 ubuntu dhcpd[2897]: Sending on LPF/ens192.222.111/00:0c:29:23:4d:2c/172.18.0.0/27
Nov 19 17:09:37 ubuntu dhcpd[2897]: Sending on Socket/fallback/fallback-net
Nov 19 17:09:37 ubuntu dhcpd[2897

pola...@gmail.com

unread,
Nov 20, 2018, 1:58:10 PM11/20/18
to CORD Discuss, pola...@gmail.com
Hi Sreeju,


Please ignore my previous email


Here you go


root@localhost:/usr/bin/ofdpa# ./client_flowtable_dump
Table ID 10 (VLAN): Retrieving all entries. Max entries = 16384, Current entries = 8.
-- inPort = 1 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 248
-- inPort = 1 (Physical) vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 22
-- inPort = 1 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 256
-- inPort = 1 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 246
-- inPort = 17 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 249
-- inPort = 17 (Physical) vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 30
-- inPort = 17 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 257
-- inPort = 17 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 247

Table ID 20 (Termination MAC): Retrieving all entries. Max entries = 512, Current entries = 12.
-- inPort:mask = 1:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 251
-- inPort:mask = 1:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 252
-- inPort:mask = 1:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 254
-- inPort:mask = 1:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 242
-- inPort:mask = 1:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 240
-- inPort:mask = 1:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 241
-- inPort:mask = 17:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 250
-- inPort:mask = 17:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 253
-- inPort:mask = 17:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 255
-- inPort:mask = 17:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 245
-- inPort:mask = 17:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 243
-- inPort:mask = 17:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 244

Table ID 50 (Bridging): Retrieving all entries. Max entries = 32767, Current entries = 1.
-- vlanId:mask = 0x10de:0x1fff (VLAN 222) destMac:mask = 0000.0000.0000:0000.0000.0000 | GoTo = 60 (ACL Policy) groupId = 0x40de0000 outPort = 0 (Physical) | priority = 1000 hard_time = 0 idle_time = 0 cookie = 149

Table ID 60 (ACL Policy): Retrieving all entries. Max entries = 3072, Current entries = 11.
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0000:0x0000 vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 0 (None) outPort = 0 (Physical) | priority = 60000 hard_time = 0 idle_time = 0 cookie = 26
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0800:0xffff dstIp4 = 192.168.0.201/255.255.255.255 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 1
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0806:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 28
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 133 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 25
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 134 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 23
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 135 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 24
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 136 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 27
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = fe80::218:23ff:fe30:d7fa/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 4
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x888e:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 2
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x88cc:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 3
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x8942:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 5

Sreeju Sreedhar

unread,
Nov 20, 2018, 2:00:54 PM11/20/18
to pola...@gmail.com, CORD Discuss
Good the Bridging table is clear now.
The tosca files looks good to me.

Few more Q's:
What OFDPA driver version are you running on the switches?
Also, if you do a tcpdump without the vlan filters (sebadhcp@ubuntu:~$ sudo tcpdump -i ens192) do you see any dhcp request packets? - this is to make sure the NIC is not modifying the packet when put on the wire.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/da0ce791-51ae-446d-b9cd-b4e451260285%40opencord.org.

pola...@gmail.com

unread,
Nov 20, 2018, 2:13:34 PM11/20/18
to CORD Discuss, pola...@gmail.com
On Tuesday, November 20, 2018 at 11:00:54 AM UTC-8, Sreeju Sreedhar wrote:
> Good the Bridging table is clear now.
> The tosca files looks good to me.
>
> Few more Q's:
> What OFDPA driver version are you running on the switches?
ofdpa3
> Also, if you do a tcpdump without the vlan filters (sebadhcp@ubuntu:~$ sudo tcpdump -i ens192) do you see any dhcp request packets? - this is to make sure the NIC is not modifying the packet when put on the wire.
400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:12:55.638938 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:12:58.738460 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:13:01.838637 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:13:04.939331 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:13:08.038737 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:13:11.138713 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:13:14.239009 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
11:13:17.338950 02:eb:9f:67:c9:42 (oui Unknown) > Broadcast, ethertype Unknown (0x8942), length 88:
0x0000: 0207 0400 1823 30d7 fa04 0502 0000 0001 .....#0.........
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3030 3031 3832 3333 3064 3766 :000000182330d7f
0x0040: 6108 0570 6f72 7431 0000 a..port1..
1
> > > 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | pr...

pola...@gmail.com

unread,
Nov 20, 2018, 2:31:55 PM11/20/18
to CORD Discuss, pola...@gmail.com
From ONOS portstats

onos> portstats of:000000182330d7fa 17
deviceId=of:000000182330d7fa
port=17, pktRx=1578, pktTx=30104, bytesRx=137056, bytesTx=2799672, pktRxDrp=1578, pktTxDrp=0, Dur=0
onos> portstats of:000000182330d7fa 1
deviceId=of:000000182330d7fa
port=1, pktRx=1578, pktTx=30104, bytesRx=137056, bytesTx=2769568, pktRxDrp=1578, pktTxDrp=0, Dur=0
onos>
...

pola...@gmail.com

unread,
Nov 21, 2018, 12:59:38 AM11/21/18
to CORD Discuss, pola...@gmail.com
I don't see the DHCP request is hitting the fabric
I don't see any packets hitting the fabric.
> > > > > pr...

Sreeju Sreedhar

unread,
Nov 21, 2018, 9:51:34 AM11/21/18
to pola...@gmail.com, CORD Discuss

Hi,

 

How you verified that? Using BCM packet counters?

 

The onos flows you sent (below) are at which stage? And there is no port 1.

 

onos> flows -s

deviceId=of:000000182330d7fa, flowRuleCount=32

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:4094], treatment=[transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:4090], treatment=[transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:4090], treatment=[transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:4094], treatment=[transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:222], treatment=[transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:222], treatment=[transition=TABLE:20]

    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:8, 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:8, 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:8, 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:17, 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:17, 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:8, 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:17, 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:8, 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:17, 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:17, 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:8, 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:17, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], 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=0, packets=0, table=60, priority=60000, selector=[VLAN_VID:222], treatment=[immediate=[NOACTION]]

    ADDED, bytes=7482, packets=86, table=60, priority=40000, selector=[ETH_TYPE:lldp], 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: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:eapol], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]

    ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:135], treatment=[immediate=[OUTPUT:CONTROLLER]]

    ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:136], treatment=[immediate=[OUTPUT:CONTROLLER]]

    ADDED, bytes=680, packets=8, 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:ipv6, IP_PROTO:58, ICMPV6_TYPE:134], treatment=[immediate=[OUTPUT:CONTROLLER]]

    ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:arp], treatment=[immediate=[OUTPUT:CONTROLLER]]

deviceId=of:0000aabbccddeeff, flowRuleCount=8

    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]]

    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:eapol], treatment=[immediate=[OUTPUT:CONTROLLER]]

    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:6f00000080, VLAN_VID:222], treatment=[immediate=[VLAN_POP], transition=TABLE:1]

    ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:128, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:111], transition=TABLE:1]

    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]]

    ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:2, VLAN_VID:111], treatment=[immediate=[VLAN_POP, OUTPUT:128]]

onos>

 

-----Original Message-----

From: pola...@gmail.com <pola...@gmail.com>

Sent: Wednesday, November 21, 2018 1:00 AM

--

You received this message because you are subscribed to the Google Groups "CORD Discuss" group.

To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.

To post to this group, send email to cord-d...@opencord.org.

Visit this group at https://groups.google.com/a/opencord.org/group/cord-discuss/.

Sreeju Sreedhar

unread,
Nov 21, 2018, 10:17:57 AM11/21/18
to pola...@gmail.com, CORD Discuss

From the flow counters, there are no packet hitting the flows installed by x-connect.

I assume you replaced port 1 by 8 in the below experiment. Not sure what is wrong, I would cross check the physical connections and bring up the whole pod once again.

 

/Sreeju

pola...@gmail.com

unread,
Nov 21, 2018, 11:02:56 AM11/21/18
to CORD Discuss, pola...@gmail.com
Hello Sreeju,

Thats correct I replaced 1 with 8 and brought up the whole pod

Thanks,
Durga
> ...

Charles Chan

unread,
Nov 27, 2018, 8:31:46 AM11/27/18
to CORD Discuss, pola...@gmail.com
Please note that flow counter is only supported in ACL table on OFDPA hardware switches. The XConnect flow is in bridging table and therefore the flow counter is not really meaningful.
The port counter, however, shows all packets are being dropped by the pipeline.

I would suggest first verify if the packet actually reached the fabric with correct VLAN tags. We often see issues with server NIC VLAN offloading. I would suggest you turn all NIC offloading off and try again.

Thanks,
Charles
...
Reply all
Reply to author
Forward
0 new messages