DEMO-OPPNET   Documentation Download About

The Webadmin application

DEMO-OPPNET includes a HTTP client-server application, called Webadmin, that serves as an administration tool. This tool allows the user to manage the DoDWAN web apps and to configure the demo itself.

This manual describes the GUI of the Webadmin client application (running in a web browser).

In general, the Webadmin client application runs on the same machine as the demo itself (a node of the opportunistic network), that is, the demo is accessible from a web browser on localhost, on port 8080 (http://localhost:8080).

However, you may also access the demo HTTP server remotely, potentially within the opportunistic network, but more probably via another network interface (different from the Wi-Fi interface dedicated to the opportunistic network), so with a different hostname in the URL.

The GUI presents three tabs: 'Webapp Manager' for managing DoDWAN webapps, 'Config Manager' for modifying the configuration of the demo, and 'Status' to manage the state of the demo.

Webapp Manager

The 'Webapp manager' allows you to install, uninstall, and launch DoDWAN webapps. The GUI is divided into two zones. The 'Download' zone, and the 'Installed Webapps' zone.

In the 'Download' zone, you can download a DoDWAN webapp and install it in the demo. A DoDWAN webapp comes in the form of a DWAR file (DoDWAN Webapp Archive). If you have access to a DWAR file, you can specify the URL of the file (potentially a local file with a file:// URL) and click on the 'Install' button. You can also choose one of the DWAR files that the INZU research team makes accessible on a HHTP server (INZU store).

Once you have installed a webapp, it should be added to the list displayed in 'Installed' zone. Two buttons are available for each installed webapp: the 'Delete' button allows you to remove the webapp from the demo. The 'Launch' button is used to start the webapp.

Note that webapps can be directly be launched in a browser at the URL localhost:8080/apps/<name of the app>

Config Manager

The 'Config Manager' tab allows your to configure the opportunistic network used in the demo. The 'Active Mode' defines the configuration that is currently applied whereas the 'Default Mode' defines the configuration that will be applied at the next start of the demo.

Configuration items

A configuration includes three items:

Adding options

The bottom part of the Config Manager screen allows you to add new options for the drop-down lists WiFi and DoDWAN discussed above.

You can add a new Wi-Fi Access point option, giving the option a name (for example myAP), and indicating the SSID and the WPA key for this access point. The option name will be available afterwards in the Wifi drop-down lists.

If you want to simulate the move of you peers, you can use LEPTON, which will also simulate communication between DODWAN peers via a hub. For this, create a new DODWAN hub option, giving it a name, and specify the IP address for the host where LEPTON runs and on which port this hub listens (-1 if you use the default LEPTON port). The option name will be available afterwards in the DoDWAN drop-down lists.

Status

The 'Status' tab allow you to get information on the current state of the demo and possibly change this state.

The following zone are displayed:

Top buttons