1 / 15

NOX

NOX. an OpenFlow controller . Role of Controller in OpenFlow Environments. Push forwarding logic to switches Give developers a high-level API to develop advanced network applications. Features provided by NOX. Learn network topologies Detect hosts C++/Python API bindings.

marlis
Download Presentation

NOX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NOX an OpenFlow controller

  2. Role of Controller in OpenFlow Environments • Push forwarding logic to switches • Give developers a high-level API to develop advanced network applications

  3. Features provided by NOX • Learn network topologies • Detect hosts • C++/Python API bindings

  4. Bundled NOX Applications • Core Apps • Messenger • TCP/SSL server sockets for communications with other devices, such as hosts • SNMP • handles snmptrap using a Python script as trap handler through NetSNMP

  5. Bundled NOX Applications • Network Apps • Discovery • keeps track of links between controlled switches • Topology • provides an in-memory record of all links currently up in the network • Authenticator • keeps track of the location of hosts and switches on the network • Routing • component responsible for path calculation • Monitoring • periodically queries switches for statistics

  6. Bundled NOX Applications • Web apps • Webservice • provides the web services interface for NOX applications • Webserver • the app hosting the control interface • Webserviceclient

  7. Other NOX Components • Switch.cc • C++ implementation of Layer2 learning switch • Pyswitch.py • Python implementation of Layer2 learning switch • Packetdump.py • Prints OpenFlow control messages

  8. pyhub.py • Modified version of pytutorial • NOX controller runs the pyhub.py component • Pyhub receives an OpenFlow packet-in message with associated dpid and inport • Pyhub sends an OpenFlow packet-out reply to forward to ALL ports in VLAN

  9. pyhub.py code • NOX libraries are imported • Python component models are instantiated • NOX keeps state of OpenFlow ports per DPID in an UP state

  10. pyhub.py code

  11. pyhub.py code

  12. pyswitch.py

  13. pyswitch.py

  14. Understanding NOX Interactions • Use Wireshark with OpenFlow plugin • already provided git://openflow.org/openflow.git • Start SSH session with Xwindow Forwarding • ssh openflow@10.101.1.5X –X • sudowireshark

  15. Wireshark OpenFlow Plugin • In Filter: field type of • OF Hello • OF Echo • OF FlowMod • OF FlowRemoved

More Related