Questions tagged [pox]

POX is a network controller written in Python that communicates with OpenFlow 1.0 switches to manage Software Defined Networks.

POX is a network controller written in Python that communicates with OpenFlow 1.0 switches that is maintained by NOXRepo, (source code on GitHub). NOXRepo describes the benefits of POX as:

  • "Pythonic" OpenFlow interfacePOX Performance Graph
  • Reusable sample components for path selection, topology discovery, etc.
  • "Runs anywhere" – Can bundle with install-free PyPy runtime for easy deployment
  • Specifically targets Linux, Mac OS, and Windows
  • Supports the same GUI and visualization tools as NOX
  • Performs well compared to NOX applications written in Python
136 questions
2
votes
1 answer

How to run a piece of code inside _handle_PacketIn function of pox,at time intervals? the maximum recursion depth exceeded error in python

I’m a beginner in python and pox controller. I want to add a code to the pox, to categorize the received packets. I want it to count IP packets travelling between a source & a destination IP/port pair and with identical protocols within a certain…
F. gh
  • 21
  • 5
2
votes
1 answer

Creating TCP packet with POX

I'm trying to create a TCP packet with POX controller and sending it to one of the switches. This is how the packet is created: payload = "MESSAGE" tcp_packet = tcp() tcp_packet.srcport = 10000 tcp_packet.dstport =…
Daniel
  • 440
  • 4
  • 13
2
votes
1 answer

warning:lib openflow _01 fields ignored due to unspecified prerequisites nw_src nw _dst

This question has been asked previously and I have tried everything given in the answers but still getting the same warning. I am using code in this link (lab4.py & lab4_controller.py). I am creating a separate file of topology in /mininet/examples…
Debapriya Sen
  • 21
  • 1
  • 2
2
votes
1 answer

Pox/Mininet: learning location of hosts

My question might be a little vague as I clearly misunderstand a lot, but I'll give it a try anyway: Suppose I have 7 switches in a Fat Tree topology, and the bottom four are each connected to two hosts. When I start the controller I instructs the…
Yotam
  • 9,789
  • 13
  • 47
  • 68
2
votes
1 answer

wso2esb soap-to-pox gives pox answer instead of soap

I have created a soap-to-pox proxy in WSO2ESB version 4.8.1 so that I can call the service from BPEL. This proxy transforms the message to POX (using
). I see in the logs that the service is correctly…
1
vote
1 answer

Simulate a network with routers using Mininet/POX

I'm new to Mininet and POX controller to simulate SDN. I want to create the following network, using Mininet Python API: Network Topology My objective is to let each host/router send packets to all the other hosts/routers. To do that, I used ip…
dnyll
  • 108
  • 1
  • 8
1
vote
1 answer

Error in pox controller in sdn using python2 and python3 for detectionEntropy

I am trying to run pox controller using the command python2 ./pox.py forwarding.​ l3_detectionEntropyemphasized text Then I got this error. ` Traceback (most recent call last): File "./pox.py", line 43, in from pox.boot import boot …
1
vote
0 answers

Is there a way to delete one output port from flow entries?

openvswitch, a flow entry can have a list of actions (e.x. multiple ports for output). Is there a way that I can remove one specific output port from the action list?
Roni
  • 11
  • 1
1
vote
1 answer

Sending packets from separate application to Ryu

I am trying to send data from a Northbound application that I have written, into the Ryu application. The NB app is performing a lot of computation, so I have chosen to run it outside of Ryu. How do I send this information into the Ryu controller so…
Matt
  • 11
  • 1
1
vote
1 answer

Are there any similar sdn controllers to POX controller

I am newbie to SDN and i have little experience with POX controller but i want to do the same work(same topology , same openflow rules) done using POX controller by using another controller. Can anybody give me any suggestions for pox like…
Thisura
  • 23
  • 5
1
vote
1 answer

How to fix 'ImportError: No module named pox.core' in pox controller code

this is my code : from pox.core import core import pox.openflow.libopenflow_01 as of from pox.lib.util import dpid_to_str from pox.lib.util import str_to_bool from pox.lib.addresses import EthAddr from pox.lib.packet.ethernet import ethernet import…
hafni158
  • 13
  • 1
  • 3
1
vote
1 answer

Stopping a switch from Pox controller

I am trying to make a test network where I have a list of switches and only one of them can be active at a time. I'm already keeping a list of connections updated on every ConnectionUp event working like this: def _handle_ConnectionUp (event): …
M.Key
  • 33
  • 4
1
vote
0 answers

Modulen not found in openNetMon

So I've been working on SDN and im new to the field, when following the step in the github repo(https://github.com/TUDelftNAS/SDN-OpenNetMon) I get an error saying the the module is not found: opennetmon.startup. I have tried to use the startup.py…
user3768971
  • 97
  • 1
  • 4
  • 15
1
vote
2 answers

Connecting mininet host to the internet

I've tried creating a simple topo with 1 switch (s1) and 1 host (h1). As suggested on the the internet, I've add a port to the switch 's1' with ovs-vsctl add-port s1 enp0s3 and configure the host with ifconfig h1-eth0 0 dhclient h1-eth0 To my…
fieq.fikri
  • 73
  • 3
  • 13
1
vote
0 answers

pox controller delete flow rule after a match

Using the pox controller, Im trying to create a load balancer between 2 hosts on a switch. E.g send every second packet to the second host. The balancer will need to modify each packet to do this. e.g NAT. Is it possible to delete a flow rule after…
Grimeire
  • 339
  • 1
  • 6
  • 19
1
2
3
9 10