Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

error while running ./behavioral-model #146

Closed
underriver opened this issue Jul 24, 2016 · 3 comments
Closed

error while running ./behavioral-model #146

underriver opened this issue Jul 24, 2016 · 3 comments

Comments

@underriver
Copy link

y@y-Lenovo:~/p4factory/targets/basic_routing$ sudo ./behavioral-model
[sudo] y 的密码:
No PD RPC server address specified, using 127.0.0.1:9090
No listener specified, switch will run in standalone mode

P4 Program: basic_routing

Starting RPC server on port 9090
bmi_port_interface_add(port_mgr, veth_name, n_veth, pcap_filename): ERROR -1 at main.c:434y@y-Lenovo:~/p4factory/targets/basic_routing$

@antoninbas
Copy link
Member

You already asked this question here: p4lang/behavioral-model#166
The answer is the same. Are you sure you have created the veth interfaces successfully using this script: https://github.com/p4lang/p4factory/blob/master/tools/veth_setup.sh

@underriver
Copy link
Author

thanks,

发自 网易邮箱大师
On 07/26/2016 00:47, Antonin Bas wrote:

You already asked this question here: p4lang/behavioral-model#166
The answer is the same. Are you sure you have created the veth interfaces successfully using this script: https://github.com/p4lang/p4factory/blob/master/tools/veth_setup.sh


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@lukewen427
Copy link

I got the same problem on my docker container. I do run: sudo p4factory/tools/veth_setup.sh, before execute the behavioral-model

root@16f97d81ffe0:/P4/p4factory/targets/basic_routing# ./behavioral-model
No PD RPC server address specified, using 127.0.0.1:9090
No listener specified, switch will run in standalone mode

P4 Program: basic_routing

Starting RPC server on port 9090
bmi_port_interface_add(port_mgr, veth_name, n_veth, pcap_filename): ERROR -1 at main.c:434

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants