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

SDN Pox controller: ARP_TYPE, IP_TYPE, but no ICMP_TYPE

I have a Pox-based SDN application that listens for PacketIns to the controller. I would like to check if a packet to the controller is ICMP. The Pox docs provide an example to check if a PacketIn is ARP as shown by the following code. def…
Astrophe
  • 568
  • 1
  • 7
  • 25
0
votes
1 answer

Extration of rules placement in SDN

I am developing an algorithm to solve the rule placement problem in SDN , and I want to compare my algorithm with already-proposed . In order to do that, I want to conduct a simulation for geting rules placement as dataset(extract and reuse of…
0
votes
1 answer

Regarding import statement in pox controller

I am reading the source code of pox controller. There is an import statement in one module called l3_editing.py which is modified based l3_learning.py. The import statement is: from pox.lib.recoco import Timer Because I do not know Timer, I just…
Melvin Levett
  • 341
  • 2
  • 3
  • 11
0
votes
1 answer

Crafting a ARP request in POX controller

I am trying to send an ARP request from an SDN OpenFlow switch to find the MAC address of a pre-defined host(IP address of the host is known : 10.0.0.8/24) I am trying to use a dummy IP and a MAC address for the controller. Dummy IP for the…
0
votes
1 answer

How to block packet in pox controller?

When im trying this code below and check it using "tcpdump -teni h32-eth0" cause i was attack on host32 but packets keep coming with length 0, i want to drop the incoming packet, anybody can help? def _timer_func (): global diction …
0
votes
1 answer

Redirect "ofp_packet_in" packet among multiple controllers in POX?

I am trying to redirect ofp_packet_in packet among multiple controllers. For example, suppose there are two controllers c1,c2 and one switch s1. s1 is assigned to c1. Now, c1 receives a Packet_In from switch s1. Generally, s1 should dispose of this…
jiexray
  • 325
  • 4
  • 13
0
votes
2 answers

Exception Error in mininet

I have used Mininet to create a simple custom topology. It worked correctly When I was running it for the first time, but after that I received following error message: Exception: Error creating interface pair (s1-eth1,h1-eth0): RTNETLINK answers:…
Babak Memar
  • 37
  • 2
  • 12
0
votes
1 answer

How to send TCP packets from one host to another in mininet by using a python script?

I am new to mininet. I created a topology in mininet and want to write a python code which can help me to send 100 TCP packets from one host to another. any idea please?
Babak Memar
  • 37
  • 2
  • 12
0
votes
1 answer

How to access created nodes in a mininet topology?

I am new in mininet. I created a custom topology with 2 linear switches and 4 nodes. I need to write a python module accessing each nodes in that topology and do something but I don't know how. Any idea please?
Babak Memar
  • 37
  • 2
  • 12
0
votes
2 answers

Connect two containerized (OVS) switches to SDN controller

I am trying to create the following configuration. Two (Docker) containers, let's call them by their hostnames (s1 and s2) as described below, each includes Open vSwitch. I want to connect both OVSes each to the other, and to a (POX)…
Daniel
  • 440
  • 4
  • 13
0
votes
1 answer

Send flow table entries from POX Controller to switch without the switch initiating conversation

I want to send flow table entries asynchronously from POX controller to an OpenFlow switch without the switch initiating the conversation. Is it possible? The use case here is that I'm simulating a firewall using the OpenFlow switch and want to…
0
votes
1 answer

SDN: How the controller can get the installed flows on switch?

According to described here http://flowgrammable.org/sdn/openflow/message-layer/flowmod/ and in the OpenFlow switch specifications, the flow_mod message is not acknowledgeable. Is there any way for the controller (POX, ODL, or any other) to receive…
Daniel
  • 440
  • 4
  • 13
0
votes
1 answer

connecting multiple controllers mininet

I want to connect 3 pox controllers on mininet. Two of the controllers work fine via forwarding.l2_pairs but this only connects two of them. I used forwarding.l2_pairs and forwarding.l2_pairs as well but nothing seems to solve my problem. Help will…
Fawad Shah
  • 44
  • 1
  • 9
0
votes
1 answer

How to run script from mininet shell?

I've got an assignment in SDN course to create a Load Balancer using mininet and pox controller. I have the topology file, which I've created using Python and mininet, and the controller file, which I've created using Python and POX. The topology is…
Amit Yahav
  • 1
  • 1
  • 4
0
votes
2 answers

Run external python file with Mininet

I try to write a defense system by using mininet + pox. I have l3_edited file to calculate entropy. I understand when a host attacked. I have my myTopo.py file that create a topo with Mininet. Now my question: I want to change hosts' ips when…
E141
  • 109
  • 1
  • 7