Error while executing bmv2-demo.py

25 views
Skip to first unread message

남석현

unread,
Jul 6, 2020, 3:02:48 AM7/6/20
to P4 brigade
Hi, I'm trying to run bmv2 with ONOS and I executed bmv2-demo.py in /onos/tools/test/topos.
Then, I meet next error.

device:bmv2:s12 is READY 
2020-07-06T15:34:06,911 | ERROR | onos-resource-registrar | ResourceDeviceListener           | 193 - org.onosproject.onos-core-net - 2.4.1.SNAPSHOT | Failed to register Port: [device:bmv2:s12, [s12-eth1](1)]

And then, I can see the whole switches and links in ONOS gui, but I think they don't work. 
When I try to make ping for each node, all pings are not reachable. 

I use ONOS version 2.4.1, Mininet 2.3.0d5, and Bazel 1.0.0.
I installed p4 environment with onos-setup-p4-dev.

Thanks a lot!

남석현

unread,
Jul 6, 2020, 7:51:18 AM7/6/20
to P4 brigade
In addition, 
I added fwd application, and when I turn on the Mininet, next errors occur for each switch in ONOS CLI.

20:24:01.174 ERROR [ResourceDeviceListener] Failed to register Port: [device:bmv2:s22, [s22-eth2](2)]
20:24:01.181 ERROR [ResourceDeviceListener] Failed to register Bandwidth for [device:bmv2:s22, [s22-eth2](2)]


2020년 7월 6일 월요일 오후 4시 2분 48초 UTC+9, 남석현 님의 말:

Eder

unread,
Jul 6, 2020, 8:44:13 AM7/6/20
to P4 brigade, 2012ob...@gmail.com

Hi,

If you are trying a similar approach to the one here using bmv2-demo.py then I think it is outdated. You should try this tutorial which I think works fine. 

Eder,
Reply all
Reply to author
Forward
0 new messages