I am trying to create mininet, but I cannot ping all host and switch

+2 votes

I am trying to do mininet environment and MiniNAM enviroment

This is my python code:

This is my MiniNAM Interface

When I want to pingall,it is failed. I don't what happen......

I used google to search this problem, but I got another problem

https://ting-kuan.blog/2018/04/04/%E3%80%90sdn-switch-flow-table-%E8%A8%AD%E5%AE%9A-%E4%BD%BF%E7%94%A8mininam-%E3%80%91/

When I used one method, the method is add flow entry to switch.

However, I got some Error, I don't what to do. 

Moreover, I give this code

curl -X POST -d '{"dpid":"0000000000000004","priority":"100","actions":[{"type":"OUTPUT","port":2}],"match":{"in_port":1}}' http://127.0.0.1:6653/status/flowentry/add

The Error code is:

Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.

I hope you can help me. Thank you

Aug 4 in Python by Jiun-Jung
• 140 points
18 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
1 answer

When I create and remove files rapidly on windows using python I get WindowsError (Error 5)

Here's the short answer: disable any antivirus or ...READ MORE

answered Aug 31, 2018 in Python by charlie_brown
• 7,720 points
93 views
+7 votes
2 answers

I want to build a recommender system incorporating diversity and accuracy in the recommender engine.

I dont know what exactly you are ...READ MORE

answered Sep 24, 2018 in Python by slayer
• 29,050 points
138 views
0 votes
1 answer

How to create and read from a temporary file in Python?

Hi, there is a very simple solution ...READ MORE

answered Jan 29 in Python by Nymeria
• 3,520 points
46 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I create 3 X 4 array of random numbers between 0 and 100 using python?

Use numpy in the following manner: np.random.rand(3,4)*100 When you ...READ MORE

answered May 24 in Python by Radhika
17 views
0 votes
1 answer

Is it possible to create an array with all values as zero in python?

You can use  np.zeros(4,3) This will create a 4 ...READ MORE

answered May 24 in Python by Anjali
38 views
0 votes
1 answer

What to do when I get and error saying python not recognized as internal or external command?

You need to set up the path ...READ MORE

answered May 28 in Python by Fata
• 1,000 points
24 views