.TH python-openflow "1" "Sep 2017" "PYTHON-OPENFLOW 2017.2b1+dfsg-1" "low level library to parse OpenFlow messages" .\" Text automatically generated by txt2man .SH NAME \fBpython-openflow \fP- low level library to parse OpenFlow messages \fB .SH DESCRIPTION python-openflow is a low level library to parse OpenFlow messages. If you want to read an OpenFlow packet from an open socket or send a message to an OpenFlow switch, this is your best friend. The main features are: high performance, latest specification compliance, short learning curve and free software license. .PP This library is part of Kytos project, a collaborative project between SPRACE (from São Paulo State University, Unesp) and Caltech (California Institute of Technology). python-openflow was developed to be used with Kytos controller, but feel free to use this simple and intuitive library in another project with another controller. .SH OVERVIEW This is just an overview for you to check whether this project fits your needs. For a more detailed documentation, please check the python-openflow API Reference Manual at http://docs.kytos.io/python-openflow. .SH USAGE For example, see how it is easy to create a feature request message with this library. You can use ipython3 to get the advantages of autocompletion: .PP .nf .fam C >>> from pyof.v0x01.controller2switch.features_request import FeaturesRequest >>> request = FeaturesRequest(xid = 100) >>> print(request.header.message_type) Type.OFPT_FEATURES_REQUEST >>> print(request.header.xid) 100 .fam T .fi If you need to send this message via socket, call the \fBpack\fP() method to get its binary representation: .PP .nf .fam C >>> binary_msg = request.pack() .fam T .fi .SH SUPPORT We are available in IRC and there is also a development mailing list. Details are available in the full documentation. .SH CONTRIBUTING Contributions are welcome either by creating issues in GitHub or in the form of pull requests. Before, please, read the contribution and hacking guides in the main documentation. .SH AUTHOR The python-openflow was written by Kytos Development Team . .PP This manual page was written by Paulo Henrique de Lima Santana (phls) for the Debian project (but may be used by others).