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
7
votes
1 answer

Difference between REST and POX

I really can't get the difference between REST and POX web services. I mean, couldn't POX be considered as a REST web service with XML message definitions?
Ahmed Emad
  • 619
  • 10
  • 23
6
votes
1 answer

What if there are multiple forwarding rules for the same flow in the Openflow switch?

I am trying to use the POX controller to control the path of flows. I know that the Open vSwitch will choose the forwarding rules that have the highest priority. But what will happen if I insert a new forwarding rule for the existing flow with the…
lzhou008
  • 63
  • 7
4
votes
1 answer

POX in mininet: What does event.parsed give in pox? What is parse.next?

In l3_learning.py, there is a method in class l3_switch named _handle_PacketIn. Now I understand that this event is when a switch contacts controller when it receives a packet corresponding to which it has no entries in its table. What I don't…
4
votes
1 answer

Setting ICMP match with POX controller

I'm trying to add a flow entry to a switch using POX controller, my code is: fm = of.ofp_flow_mod() fm.match.in_port = 1 fm.priority = 33001 fm.match.dl_type = 0x800 fm.match.nw_src = IPAddr("10.0.0.1") fm.match.nw_dst =…
Daniel
  • 440
  • 4
  • 13
3
votes
2 answers

How to log all flow table entries periodically in mininet by Python code?

In my understanding, dpctl dump-flows command only helps to view current state of flow table. Flow table gets flushed often. I want to record the flow table entries. Which class do I need to look into to record flow table? I am using POX controller…
3
votes
1 answer

POX l3_learning example

I'm trying to learn from the forwarding.l3_learning example in POX controller. In the expiration handler, if the time of a packet in buffer is expired it's removed from the controller. Later the controller instructs the switch to drop the packet in…
Daniel
  • 440
  • 4
  • 13
3
votes
2 answers

POX component listen to events

I want to discover the topology of a network emulated by mininet using POX components. I figured out that I need to write my own component, which is listening to LinkEvents. Something like: someObject.addListenerByName("LinkEvent",…
max
  • 677
  • 1
  • 9
  • 34
3
votes
1 answer

How to check which ports are connected to host in Mininet using open vswitch and a Pox controller?

I am trying to write a Pox controller using python. The environment is set up using Mininet and the switch type is ovsk (open vswitch). For each individual switch, some of the ports are connected to hosts, some of them are connected with the other…
VoidBunny
  • 67
  • 2
  • 5
2
votes
3 answers

WCF REST tutorials for POX

Can anyone tell me where to find good WCF REST tutorials? using (POX) This one is ok but i want to use something a little simpler I can't seem to find anything decent that uses webget/webinvoke attributes etc... I don't want to use the REST Starter…
raklos
  • 28,027
  • 60
  • 183
  • 301
2
votes
1 answer

Using POX controller to capture FIN packets in live traffic

I want write code using POX controller to capture the FIN packets in live traffic. How to find the FIN packets coming to the switch in pox controller ? Does flow_stats has the flags attribute? My question is in which function I get the details of…
Shalini Pv
  • 21
  • 2
2
votes
2 answers

ICMP echo packets between mininet hosts in loop are dropped

I am working on my own topology in VirtualBox(es) using mininet: First VirtualBox with mininet is used as controller. I am using POX as controller (ip address: 192.168.57.3): mininet@mininet-wm:~/pox$ python ./pox.py forwarding.l2_learning Second…
3DSpaceGen
  • 39
  • 1
  • 8
2
votes
0 answers

Pause Open vSwitch (OVS) with the POX controller

I am trying to pause an OVS with POX as described in http://www.openvswitch.org/support/dist-docs/ovs-ofctl.8.txt The respective add-flow command is (thanks to pchaigno for his answer): sudo ovs-ofctl add-flow c2…
Daniel
  • 440
  • 4
  • 13
2
votes
1 answer

how to run python script through Mininet host?

I have a problem running python script via host command inside the Mininet topology code. The following is my code (net.get('h0')).cmd('sudo python arp_ping.py') The Mininet executed without errors but it is not running the script.
Abdul
  • 21
  • 3
2
votes
2 answers

4 apostrophes in python code

Reference https://github.com/noxrepo/pox/blob/carp/pox.py I'm trying to understand what does the 4 apostrophes means? It doesn't look like commenting and near the end of the code there were another 3 apostrophes. Can someone help to explain the…
user3782604
  • 330
  • 1
  • 19
2
votes
1 answer

how to set traffic statistics in mininet?

I want to make testbed for testing the my own algorithm in mininet. I want to setup link data traffic rate, control traffic rate and link processing rate. but i am not able to it. if anyone have idea how to set up all these. please help…
abha
  • 21
  • 1
  • 3
1
2 3
9 10