The ONOS GUI has been designed to facilitate the runtime injection of additional content by ONOS applications. The two possible approaches are:
- Register a "Topology Overlay" component that augments the behavior of the Topology View.
- Register a "UI Extension" that adds one or more custom views.
In the details that follow, a fictitious company "Meowster Inc." is creating a topology overlay and a custom view.
Setting up the App project
If you have not already done so, please see the notes about Creating an ONOS Application, for details on setting up the basic structure of your application.
ONOS apps can create and register a Topology Overlay component to provide functionality that will augment the information provided by the Topology View.
(NOTE: The details of this still have to be worked out. Watch this space....)
ONOS apps can create and register a UI Extension component which defines one or more custom views to be injected into the GUI when the application is loaded.