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
0
votes
0 answers

pox sdn mininet, counting udp packets

i wanted to count number of UDP packets that achieve to switch using pox and openflow. this is the topology that i use: #!/usr/bin/python """ Script created by VND - Visual Network Description (SDN version) """ from mininet.net import Mininet from…
anon
  • 433
  • 1
  • 8
  • 14
0
votes
1 answer

Detect Link down in mininet

How does controller detect if a link gets down in mininet? I have tried HostTracker but it doesn't give desired output. What i need to do is, whenever a link goes down controller should ask all the switches to delete corresponding destination host…
Carol
  • 69
  • 7
0
votes
1 answer

Python Code to detect and mitigate TCP SYN Flood attacks in SDN and POX controller

Does someone have a solution for detecting and mitigating TCP SYN Flood attacks in the SDN environment based on POX controller?
GNtheMan
  • 1
  • 1
0
votes
1 answer

Pox proactive openflow rule

I created a rule to add to an open vswitch when it connects to the controller. The rule allows h1 to communicate with h2 which are both on the same switch. The rule below is added when the connection to the controller comes…
Grimeire
  • 339
  • 1
  • 6
  • 19
0
votes
1 answer

Mininet/OpenFlow/POX - Connection between subnets

I'm working with a Mininet topology that has this structure with 3 switches and 4 hosts: +--+ |s1| +--+ | ------+--------- | | +--+ +--+ |s2| |s3| +--+ …
0
votes
1 answer

how to solve "no module named networkx" Error?

i am trying to run a python code as pox controller using below command : ./pox.py openflow.discovery CloudNetController but always i get this error: could not import module : CloudNetController please help how can i solve this error.
hersh
  • 3
  • 1
  • 3
0
votes
2 answers

How to get a list of all switches and all hosts?

I'm working with POX for the first time. What I'm trying to do is install rules in a switch to forward the packets that they were sended originally to hosts that they are connected to this switch. H1---S1----S2---H3 |---H4 Example: H1 send…
0
votes
1 answer

POX SDN py.py- how did it start?

I'm learning to run some of the scripts from POX SDN. Reference https://github.com/noxrepo/pox Like to ask py.py is started? There is nothing like c program that has a main() and code starts to run from there. In the py.py script, it is all def and…
user3782604
  • 330
  • 1
  • 19
0
votes
1 answer

get host port number using Pox controller

I use POX controller with mininet. To detect the topology I'm listening to many events and was success to get links and switch information. Now I would like to know how to get all host information (port in host that connected to the switch and the…
engbarakat
  • 39
  • 10
0
votes
1 answer

how to ping between hosts under 2 switches,which dont have a switch-switch link? pox controller

how to ping between hosts under 2 switches,which have no link switch-switch connection?? switch1(connect to host1) and switch2(connect to host2) are connected to the controller,...Is it possible to ping between host1 and host2? c1 /\ s1 s2 / …
0
votes
1 answer

Create Event handler when hard_timeout value is expired

In POX Controller, can I create an event listener that will be raised when a hard_timeout value is expired? Suppose I installed a flow_mod of hard_timeout= 10. After 10 seconds, my listener should be able to capture an event raised from this…
Don
  • 393
  • 3
  • 12
0
votes
1 answer

ip address updation in openflow

I am trying to modify the destination address for an incoming ping request at the switch using a POX controller. I use packet.next to modify the destination address. Once this address is modified I create a new packet with the incoming source IP and…
Shubha
  • 3
  • 1
0
votes
1 answer

Changing Bandwidth Allocation of a traffic path via OpenFlow

Is it possible to change the bandwidth allocation for a certain path reactively in SDN? Suppose in my POX controller I create a path S -> A -> B -> D (S is a client, D is a web server). Can I change the bandwidth of this path in realtime using POX…
A_D
  • 595
  • 1
  • 5
  • 12
0
votes
0 answers

Openflow error while using pox l3_learning.py module on a 64-host tree topology in mininet

I'm running mininet with a Tree Topology with 64 hosts (depth=2, fanout=4).I've used the L3_learning.py module of pox(version:eel) for my controller(I've just added some functions to this module, the code,itself is unchanged,so the l3_learning is…
F. gh
  • 21
  • 5
0
votes
0 answers

How to create an instance of LearningSwitch class of pox L2_learning component?

I'm developing L2_learning module of pox for my controller.The skeleton of my code is: class LearningSwitch (object): def __init__ (self, connection, transparent): self.connection = connection self.transparent = transparent …
F. gh
  • 21
  • 5