Skip to content

Demo Walkthrough UPB NetSoft2017

Manuel Peuster edited this page Jun 15, 2018 · 9 revisions

Story: Deploy service using OSM full installation

Start VM and Prepare Demo

Login with sonata/sonata.

Click Cancel in the System program problem detected dialog (caused by outdated VM, nothing important).

Demo storyboard

Start the emulator

# start emulator
sudo python demo/demo_topology.py

Keep terminal window open!

Open Dashboards

Open Chrome (Desktop).

OSM Launchpad

Use Chrome and browse to https://10.87.78.189:8443 (you may need to accept the unsecure certificate!).

Login: User = admin Password = admin

Emulator Dashboard

Browse to: http://127.0.0.1:5001/dashboard/index_upb.html

Instanitate service

  • LAUNCHPAD > Instantiate
  • Select service with name demo
  • Next
  • Select instance name and target PoP(s)
  • LAUNCH
  • (Attention: The GUI will stay in Finished instantiation of 3 VNFs state. However, the service is fully deployed on the emulator. Reason might by the missing cloud init and management functionalities.)
  • Switch to the emulator dashboard to show the started service

Start Monitoring

(additional Terminal Tab/Window)

# start son-monitor
sudo son-monitor init
# activate monitoring of running service
sudo son-monitor msd -f demo/osm/msd-osm-gui.yml

# open Chrome browser and use the bookmarks to navigate to Grafana dashboard

Use the service

# open browser and access the service through the proxy VNF
demo/scripts/open_service_with_proxy.py &

# or click "Chromium Web Browser w. Proxy" on Desktop to visit "CatTube" and watch the video

Done

Stop the demo:

Graceful shutdown of the service is not possible. To restart the VM do the following:

  1. Go to OSM Launchpad, click on NS instance, click on the Trashbin icon on the right to terminate the service.
  2. Shutdown all browser windows
  3. Execute sudo son-monitor init stop
  4. Do a containernet> exit in the emulator window (hit enter first, if containernet> is not shown)

Reboot the VM

If things go wrong

sudo shutdown -r now

After reboot:

sudo demo/osm/set_route.sh

Backup

On-board service

(This is optional since the VNFDs and NSDs are already on-boarded in the shipped VM. You have to delete them first if you want to on-board them again.)

You can onboard the service by dragging the VNFD and NSD packages to the left bar of the OSM Launchpad. To do so, open the tab Catalog of OSM Launchpad and drag an drop:

# VNFD packages
demo/osm/pkggen/http.tar.gz
demo/osm/pkggen/l4fw.tar.gz
demo/osm/pkggen/proxy.tar.gz
# NSD package
demo/osm/pkggen/demo_nsd.tar.gz