Versions Compared

Key

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

...

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

  • shortest were : highlights the shortest paths between the source and the destination are highlighteddisjoint were the
  • disjoint: highlights the disjoint paths between the source and the destination are highlighted
  • geoPath where the highlights the geographically shortest path is highlighted.

Application Key bindings

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

ButtonKeyFunctionality
1[Set source device
2]Set destination device
3Swap source and destination device
4Set the path computation to shortest
5Set the path computation to disjoint
6Set the path computation to geoData

Right

arrow

Go to the next path in the set of paths

from source and destination

Left

arrow

Go to the previous path in the set of paths

from source and destination

...

In order to use the PathPainter application you need to have onos installed and configured. In the ONOS console you should first

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, findin finding org.onosproject.pathpainter and cliking clicking the activate button on the upper-right side corner.

You can than 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

(todo insert top icon). Clicking on the Icon will activate the application GUI overlay.

Once you have the overlay active you can select an Element element and set it, though 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. Once you do the same thing with Afterwards you should select another host and select 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 Modified

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 Modified

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

Image Modified