Closed matt-telstra closed 6 years ago
I have encounted the same problem, but I directly install the p4c and bvm2 in the Ubuntu16.04. I sovle this problem like this: 1. go into the git repository. 2. execute "git pull"(update to the newest version). 3. reinstall. Hope it works for you.
Can you please give more detail?
What are p4c and bvm2? How do I install them? (The README's Installation guide doesn't explain)
I tried again with a different VM hosting provider and it just worked.
I didn't need to do git pull
on anything (other than this repo).
Actually, whilst it installs properly, I don't think it runs successfully.
How do I check whether it runs properly?
I've tried:
mininet> h1 ping -c 1 h2
PING 10.0.1.10 (10.0.1.10) 56(84) bytes of data.
--- 10.0.1.10 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
mininet> h1 ping -c 1 h2
PING 10.0.1.10 (10.0.1.10) 56(84) bytes of data.
--- 10.0.1.10 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
mininet> pingall
*** Ping: testing ping reachability
h1 -> X
h2 -> X
*** Results: 100% dropped (0/2 received)
The nodes can't talk to each other. So is it broken? How is the simple_router example meant to work?
Yes, it was broken. PR #48 should fix this.
Steps to reproduce
I just followed the readme
I installed the latest stable version of docker (using apt-get)
I copied the binary to
/usr/local/bin
and made it readable and executible.ls -l /usr/local/bin/p4app
gives:Then ran the
simple_router.p4app
example:Expected behaviour
Example runs without error messages
Observed behaviour
Are there other dependencies I need to install? (e.g.
apt-get install p4-something
) I started with a clean VM and then executed only the steps described above.