项目作者: tallysmartins

项目描述 :
Kytos parser to open a HELLO message.
高级语言: Python
项目地址: git://github.com/tallysmartins/kytos-challenge.git
创建时间: 2017-02-07T15:21:33Z
项目社区:https://github.com/tallysmartins/kytos-challenge

开源协议:GNU General Public License v3.0

下载


kytos-challenge

Kytos parser to OpenFlow messages.

Usage

This is a python script and you can call it from command line:

$ python openflow_parser.py <message-file.dat>

For the moment the script supports only HELLO messages.
You can run our example message passing the ‘oftp_hello.dat’ file as argument.

OUTPUT
The output message cotains the following information:

  • Protocol Version: Version of the protocol used to communicate in the network.
  • Message Type: Message type (Hello, Error, Reply, etc).
  • Size: N (bytes) The size of the message including the header.
  • xid: The id from where the message came.
  • Is valid: A True or False value calculated as a checksum for the message size and its content.
  • Body: The body of the message, if it has one. Some types of messages does not contain a body.

License

This repository and all its files are under GPL.v3 License.
Check LICENSE file for more details

Contrib

You can contribute with this repository by opening issues or
sending a PR :)