@dancasey/node-openflow
v0.3.10
Published
OpenFlow switch protocol library for node.js
Readme
node-openflow
An OpenFlow library for Node.js
- Decodes Node.js buffers into messages
- Instantiates default messages (e.g.,
Hello,FlowMod, etc.) - Encodes messages into Node.js buffers
- Relies on openflow-schema to provide message checking and instantiation
OpenFlow 1.0 and 1.3 are supported.
[!WARNING] I made this as part of a research project back in 2015-2017. The tooling and versions used here reflect the era. OpenFlow 1.4 and 1.5 are not covered. Dependencies are outdated.
Related Projects
This is the middle of a stack of three projects: the library layer.
- rxdn, an OpenFlow controller, which is built on...
- node-openflow, this project, an OpenFlow 1.0/1.3 library, which is built on...
- openflow-schema, which provides message checking and instantiation
For an academic explanation, see Chapter V of my dissertation.
Usage
See src/benchmark.ts for five simple examples resulting in hub-like behavior.
See Reactively Defined Networking (rxdn) for an example of a OpenFlow controller built using this library.
