Skip to content

OSNT SUME applications

Murali Ramanujam edited this page Feb 12, 2019 · 9 revisions

The code base (located in OSNT-SUME-live/projects/osnt/sw/host/app) has been organized primarily into five folders:

  app ---- cli
        +- gui
        +- html-gui
        +- lib
        +- sample_traces  
        +- tools

The gui directory stores the python GUIs for both OSNT-SUME Traffic Monitor and OSNT-SUME Traffic Generator. The html-gui directory stores the python GUIs for both OSNT-SUME Traffic Monitor and OSNT-SUME Traffic Generator. The GUIs are built with functions provided in monitor.py and generator.py, which are used to operate the monitor and generator through the register reading and writing. Before running the GUI and other applications, you must run make in the app directory to compile the applications for the register reading and writing.

OSNT-SUME Traffic Generator GUI

OSNT-SUME Traffic Monitor GUI

OSNT-SUME HTML Generator and Monitor GUI is a web interface with which packets can be generated and captured remotely, say in a data center environment. Quick start guide is here and detailed usage instructions are here.

The cli directory has a command-line-interface tool for use of the OSNT-SUME Traffic Generator and Monitor. Run python osnt-tool-cmd.py --help in the cli directory will show descriptions how to use. More detailed description for the OSNT SUME cli tool can be found out in the OSNT SUME CLI page.

The lib directory is used for storing C and Python function to enable User Space software interaction with the board through registers (register write, register read..).

The sample_traces directory provides different length one-packet PCAP traces which can be used with the OSNT-SUME Traffic Generator.

The tools directory has templates for running the OSNT-SUME Traffic Generator and Monitor by using the cli command in the cli directory. We also provide an app for the PCAP trace generation in the tool directory.