Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The PathPainter application allows the user to see the shortest different type of paths between two entities in ONOS, regarding of their type.

The application has three different modes for three different type of paths:

  • shortest: highlights the shortest paths between the source and the destination
  • disjoint: highlights the disjoint paths between the source and the destination
  • geoPath highlights the geographically shortest path

Application Key bindings

While in the PathPainter application there are different key mappings and buttons for different functionalities.

ButtonKeyFunctionality
Image Added[Set source device
Image Added]Set destination device
Image Added3Swap source and destination device
Image Added4Set the path computation to shortest
Image Added5Set the path computation to disjoint
Image Added6Set the path computation to geoData
Image Added

Right

arrow

Go to the next path in the set of paths

from source and destination

Image Added

Left

arrow

Go to the previous path in the set of paths

from source and destination

Usage

In order to use the PathPainter application you need to have onos installed and configured.

First step is to start the gui:

Code Block
$: onos-gui 

Once the GUI is stated up in your browser you should activate the pathpainter app by opening the left-side panel, going to applications, finding org.onosproject.pathpainter and clicking the activate button on the upper-right side corner.

You can then return to the topology view and open the toolbar panel in the bottom left side of the screen by pressing the dot key.

Once you have the toolbar open you should see the pathPainter Icon:

Image Added

Clicking on the Icon will activate the application GUI overlay.

Once you have the overlay active you can select an element and set it, through the button or the 1 key, as the source from which you want to see the paths. The selected element should now have a "Src" badge. Afterwards you should select another host and set it as the the destination. A "Dst" badge will appear and you will see some highlighted paths. If you have not changed previously the mode it will be shortest by default.

Image Added

The paths will be highlited in two colors, yellow for the current primary path and green for all the others paths between the two elements. Now you can circle between the paths with the correct buttons or the keyboard arrows. 

Image Added

When you select a different mode you can see that the highlighted paths change, in this case we selected disjoint paths mode.

Image Added