-
Notifications
You must be signed in to change notification settings - Fork 10
Demo Walkthrough UPB NetSoft2017
Login with sonata/sonata
.
Click Cancel
in the System program problem detected
dialog (caused by outdated VM, nothing important).
You have to set the route to be able to access the OSM launchpad (do on host):
sudo demo/osm/set_route.sh
# NSD
mousepad demo/osm/pkggen/demo_nsd/demo_nsd.yaml &
# VNFD(s)
mousepad demo/osm/pkggen/http/http_vnfd.yaml &
mousepad demo/osm/pkggen/l4fw/l4fw_vnfd.yaml &
mousepad demo/osm/pkggen/proxy/proxy_vnfd.yaml &
# start emulator
sudo python demo/demo_topology.py
Keep terminal window open!
Open Chrome (Desktop).
Use Chrome and browse to https://10.87.78.189:8443
(you may need to accept the unsecure certificate!).
Login: User = admin
Password = admin
Browse to: http://127.0.0.1:5001/dashboard/index_upb.html
(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
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
(additional Terminal Tab/Window)
# start son-monitor
sudo son-monitor init
# monitor service
sudo son-monitor msd -f demo/osm/msd-osm-gui.yml
# (stop monitoring)
sudo son-monitor init stop
# open Chrome browser and use the bookmarks to navigate to Grafana dashboard
# 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
Alternative (if the interactive Video service does not work):
# full downlaod of video file
curl -x http://172.17.0.4:3128 20.0.0.2:8899/bunny.mp4 > /dev/null
Graceful shutdown of the service is not possible. To restart the VM do the following:
- Go to OSM Launchpad, click on NS instance, click on the
Trashbin
icon on the right to terminate the service. - Shutdown all browser windows
- Execute
sudo son-monitor init stop
- Do a
containernet> exit
in the emulator window (hit enter first, ifcontainernet>
is not shown) - reboot the VM
Already performend, not needed for demo, just for documentation!
Create and attach PoPs (do in RO container):
export OPENMANO_TENANT=osm
openmano tenant-create osm
openmano datacenter-create pop1 http://172.0.0.101:6003/v2.0 --type openstack --description "osm-pop1"
openmano datacenter-create pop2 http://172.0.0.101:6004/v2.0 --type openstack --description "osm-pop2"
openmano datacenter-attach pop1 --user=username --password=password --vim-tenant-name=tenantName
openmano datacenter-attach pop2 --user=username --password=password --vim-tenant-name=tenantName
OSM is already installed and running inside an lxc container:
lxc list
lxc exec osmr2 -- bash
lxc list
Logs:
less /var/log/osm/openmano.log