pox3

git clone git://git.codymlewis.com/pox3.git
Log | Files | Refs | README | LICENSE

README.md (1129B)


      1 # POX3
      2 
      3 This is a python3 port of [POX](https://github.com/noxrepo/pox), a networking
      4 software platform written in Python.
      5 POX3 is forked from POX (Version eel 0.5.0) as its goal it to provide a package based library for
      6 constructing controllers.
      7 
      8 ## History and Details
      9 
     10 POX started life as an OpenFlow controller, but can now also function
     11 as an OpenFlow switch, and can be useful for writing networking software
     12 in general.
     13 
     14 POX3 officially requires Python 3.8 (though much of it will work fine
     15 fine with Python 3.7 or even 3.6), and should run under Linux, Mac OS, and Windows.
     16 
     17 POX3 currently communicates with OpenFlow 1.0 switches and includes
     18 special support for the Open vSwitch/Nicira extensions.
     19 
     20 ## Installation
     21 ```sh
     22 pip3 install pox3
     23 ```
     24 
     25 ## API
     26 
     27 The following example runs with debug logging, it acts
     28 like a simple hub
     29 ```python
     30 from pox3.boot import boot
     31 
     32 boot(["log.level", "--DEBUG", "forwarding.hub"])
     33 ```
     34 
     35 To learn further I would recommend getting the `act_like_switch` method to work
     36 in `samples/of_tutorial.py`, you will need to read the pox3 source code a bit
     37 particularly the files in `pox3/lib/packet/`