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 controller's forwarding.hub affects network latency

I used to pox controller's forwarding.hub function in order to measure the effect of network latency on throughput of a ring topology with 10M bandwidth. However, per my experiments, the effect of network latency changes seems have little impact on…
vaj oja
  • 1,151
  • 2
  • 16
  • 47
0
votes
1 answer

Multicontrol SDN architecture

How can I make two pox controllers communicate to transfer the load within them? I could invoke two pox controller but switch just communicating with one controller?
0
votes
2 answers

Communicating between multiple pox controllers

I am developing a load balancing between multiple controllers in sdn. Once a load is calculated on a controller-1 I need to migrate some part of that to controller-2. I have created the topology using mininet and running 2 remote pox controllers one…
Paul Schimmer
  • 161
  • 3
  • 22
0
votes
1 answer

Ryu fakeGateway/Router

I am trying to code a fake gateway similar to this one in pox: to send packets between h1(10.1.1.2) and h2(10.1.4.2) in mininet My gateway has two interfaces, one in 10.1.1.0/24 (ip: 10.1.1.1) and one in 10.1.4.0/24 (ip:10.1.4.1) I am trying with…
warsang
  • 15
  • 6
0
votes
1 answer

Error while Running POX controller script using Python 3.5.1

I have written a POX controller script for my research and it is working great under Python 2.7 interpreter (Using PyCharm IDE). However, when I choose Python 3.5.1, I get the following error: /usr/bin/python3.5 /home/XXX/pox/pox.py…
Alli
  • 53
  • 1
  • 2
  • 6
0
votes
1 answer

CPU utilization in SDN POX Controller

i have developed a DDOS Mitigation application in POX controller. i would like to measure CPU USAGE during Attack when there is not any mitigation application and also when my mitigation application is running. (maybe it is a simple question in…
majid67110
  • 35
  • 7
0
votes
1 answer

TypeError: unsupported operand type(s) for -: 'float' and 'builtin_function_or_method'

I am writing TRW algorithm in POX controller using python where i am assigning a time period to a host first time a sender is sending actually TRW algorithm says that first packet sent from internal host to external host will sent to destination…
0
votes
0 answers

tcp syn flood in sdn pox controller

i am using POX controller and L2_learning Module. i have a simple topology : a single open vSwitch with 3 hosts(in mininet). one of the hosts is http server and one host is used to send 50 forged SYN packets per second to the HTTP host (by using…
majid67110
  • 35
  • 7
0
votes
1 answer

Identify ACK packets from wget in Mininet

In mininet, I was able to make a TCP connection between a server h1 and a host h4 in my custom POX controller c0 as the following: h1.cmd('python -m SimpleHTTPServer 80 &') thread.start_new_thread(tcp_thread, h4) def tcp_thread(src): for i in…
Kimmel Jor
  • 25
  • 3
0
votes
1 answer

Is there a way to retrieve application layer data on the SDN controller from Mininet hosts?

I would like to send application layer data from a program running on a Mininet host to the SDN Pox controller. Is this possible, or does this break with the SDN paradigm? Ie. I wish to mininet> h1 python
0
votes
1 answer

How to solve IPAddr object has no attribute split error

Here is my code from pox.lib.addresses import IPAddr def ip_atoi(st): """ function to convert ip address to integer value """ st=st.split(".") return int("%02x%02x%02x%02x"%(int(st[0]),int(st[1]),int(st[2]),int(st[3])),16) when i run this…
0
votes
3 answers

Establish TCP connection between hosts

If my designated controller succeeded to ping between two hosts, is it possible to make TCP connection between them via Mininet? I did mininet>h0 ping h4 successfully but pinging is just ICMP packets not TCP!! Thank you
Jeffry Hods
  • 59
  • 1
  • 7
0
votes
1 answer

How Pox controller will send packet without installing flow rules

I am writing worm detection code using pox controller can anyone tell me how to write a function where my controller will send packet to host directly i mean suppose host A send ****TCPSYN**** packet to host B now as flow rules not available than…
Om Prakash
  • 41
  • 1
  • 1
  • 6
0
votes
1 answer

How to handle flow removal event

I want to know when a switch removes any flow rule after hard_timeout is passed. I know ofp_flow_mod has an attribute flags where I can test OFPFF_SEND_FLOW_REM. I made the following in my controller: def handle_flowRemoval(self, event): msg =…
Friddy Joe
  • 157
  • 2
  • 11
0
votes
1 answer

host_tracker module not working

I want to use the host_tracker module in POX. I have a tree topology running with mininet. In the pox console, I run this command $./pox.py host_tracker openflow.discovery When the links are detected I try to ping from my mininet console, $h1 ping…
Anusha
  • 647
  • 11
  • 29