alsadiamir / p4Thesis2021

This repo is designed to track every step of my P4 thesis.
3 stars 1 forks source link

How to prepare the environment in advance ? #1

Open Ruinique opened 1 year ago

Ruinique commented 1 year ago

Is it necessary for me to prepare something just like ONOS or Mininet?

alsadiamir commented 1 year ago

Yes! You need the p4c compiler and Mininet!

Ruinique commented 1 year ago

Yes! You need the p4c compiler and Mininet!

Can you tell me how to install Mininet? In fact, I tried to run the program but I can't success because it told me that my enviroment dont have the module 'mininet'. It's strange but I am afraid that you use docker to deploy it.Can you give me more information?

alsadiamir commented 1 year ago

Please install the VM provided in this guide: https://github.com/p4lang/tutorials. You should be able to run my code in the VM. After that, you may need to translate the .py from python2 to python3. Please open a PR if you do so. Thanks.

Ruinique commented 1 year ago

Please install the VM provided in this guide: https://github.com/p4lang/tutorials. You should be able to run my code in the VM. After that, you may need to translate the .py from python2 to python3. Please open a PR if you do so. Thanks.

Sure,when I am free to do that , I will. Thanks for your answer.