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

Show all connected Switches in a SDN with pox controller

my environment is mininet. what im trying to achieve is, that each time, a switch connects or disconnects to the pox controller, the controller should print all connected switches (their DPIDs). def _handle_ConnectionUp (self, event): print "Switch…
addict
  • 13
  • 1
  • 3
1
vote
0 answers

Estimating the Hurst parameter in Python

I'm working on a POX controller. Part of it's functionality relies on checking the value of H (Hurst exponent), once every X amount of seconds (for arguments sake lets say 10). I've found the PyEEG module, which I'll be using for its 'hurst'…
renopos
  • 23
  • 5
1
vote
0 answers

nox-classic : Could not find a version of the library

How can I install nox-classic on Ubuntu14.04 (32bit)? I installed packages first: sudo apt-get install nox-dependencies sudo apt-get install libtbb-dev sudo apt-get install libboost-serialization-dev libboost-all-dev I then ran ../configure and…
NWOWN
  • 399
  • 1
  • 4
  • 17
1
vote
1 answer

Connection of RYU controller and Flowvisor

I am using RYU and POX controller with Flowvisor over Mininet. When I connect POX controller to flowvisor (the ports of my slices are 10000 and 20000), I use this line: cd /home/ubuntu/pox && ./pox.py openflow.of_01 --port=10000…
1
vote
1 answer

Python default dictionary returning None for relevant keys

Below is my dictionary path_map = defaultdict(lambda:defaultdict(lambda:(None,None))) I have printed this dictionay below (I am just pasting path_map for for 3 keys only: 00-00-00-00-00-01 to 00-00-00-00-00-03) for key in path_map: print…
1
vote
1 answer

flow entry with empty actions set in Mininet with more than one switch and POX controller

I'm using Mininet and POX controller. The network topology has multiple switches. Whenever I install flow for some switch, and afterwards I check the flow table in that switch, its actions set is empty. dump-flows shows actions= However, when…
Daniel
  • 440
  • 4
  • 13
1
vote
1 answer

How to bind Pox with my program

I have a small python program which acts like a virtual switch. Now I want to integrate it so that it could be controlled by a openflow controller POX. I am wondering how would I exchange msg between switch and POX? Do I create a socket and bind it…
Chi
  • 55
  • 9
1
vote
1 answer

POX Openflow - Host_Tracker not raising HostEvent

I am trying to handle host events in POX. So i created a class class DynaRouteStateHandler(object): def __init__ (self): def startup(): core.openflow_discovery.addListeners(self) core.host_tracker.addListeners(self) …
1
vote
1 answer

What does port1 and port2 mean in POX code for adding link

self.addLink(h1, s1, port1=0, port2=hostlink, **lconfig) Here, its creating a topology where host h1 and switch s1 are wired. I don't understand whats port1 and port2 here
Vam
  • 11
  • 2
1
vote
1 answer

Suitable .NET model for a POX API with embedded "method" attribute

I have a requirement to implement an API using .NET technologies. The protocol is "plain old XML" (POX) over HTTP. There are 6 API calls, but all delivered from the same URI. The API method is identified by a "method" attribute in the top-level…
MrBlueSky
  • 728
  • 6
  • 20
1
vote
1 answer

mininet with POX: get event when flow_mod is used

I am not sure I understand mininet and POX well so my question might be stupid, However, I want to know when packets are forwarded by flow_mod rule. I don't want to send all the packets to the controller because they might be big so I use…
Elisha
  • 4,811
  • 4
  • 30
  • 46
1
vote
1 answer

Configuration of the SDN network

How can I configure network with a python written file through a SDN controller (POX,Ryu). What file which would run in a SDN controller TO configure the links and IP addresses of Open Flow switches and hosts? I am able to configure flow tables…
Thomsan
  • 11
  • 3
1
vote
1 answer

dpctl error connecting to switch

I'm going through openflow tutorial https://github.com/CPqD/ofsoftswitch13/wiki/OpenFlow-1.3-Tutorial when I try to execute $dpctl dump-flows tcp:127.0.0.1:6634 or $dpctl show tcp:127.0.0.1:6634 I'm always getting the same error dpctl: Error…
user1653150
  • 353
  • 1
  • 3
  • 15
0
votes
0 answers

custom pox controller but not able to ping in mininet code

i have created a custom pox controller code i which i want to forward traffic to particular mac address but when i am using ping in mininet is is not working from pox.core import core import pox.openflow.libopenflow_01 as of import codecs import…
0
votes
0 answers

How to use pox. Core and pox. Lib

Showing that there ia no module named pox. Core and pox. Lib even after installing pox I tried to implement pox Multi-level hierarchical controller placement in sdn