OSM Hackfest Installation and first use. Gerardo García (Telefónica)

Similar documents
OSM Hackfest Session 1 Installation and first use. Gianpietro Lavado (Whitestack)

ETSI OSM Hackfest Session 1 Installation and first use Benjamín Díaz (Whitestack)

OSM Hackfest - Session 5 Adding day-1/day-2 configuration to your VNF Creating your first proxy charm

Day-0, day-1 and day-2 configuration in OSM. Gerardo García (Telefónica)

OSM Hackfest Session 3 Modeling multi-vdu VNF. Gianpietro Lavado (Whitestack)

Quick Start Guide to Compute Canada Cloud Service

Deployment Guide for Nuage Networks VSP

Deployment Guide for Nuage Networks VSP

OSM Hackfest Session 6 Performance & Fault Management Benjamín Díaz (Whitestack)

ODL and NFV orchestration The OSM case

OSM Architecture Workshop

OSM IN PRACTICE Gerardo García (Telefónica), Technical Steering Committee Gianpietro Lavado (Whitestack), MON Module Development Lead ETSI 2018

Docker Swarm installation Guide

OSM R1 - VNF PACKAGE CREATION, UI & ONBOARDING

Using PCF Ops Manager to Deploy Hyperledger Fabric

Alarm Counter. A Ceilometer OpenStack Application

Setting up Docker Datacenter on VMware Fusion

AN UPDATE ON OSM TO THE NFVRG. Diego R. Lopez Telefónica I+D

NFV in the Embedded World: Yocto Project and OpenStack

MRCP. Asterisk Modules. Administrator Guide. Powered by Universal Speech Solutions LLC

iptables and ip6tables An introduction to LINUX firewall

Security. DevOps Bootcamp, OSU, Feb 2015 Kees Cook (pronounced Case )

Logging Container. VNS3 Plugins Guide 2018

Openstack Installation Guide

ETSI VNF PACKAGE CREATION & ONBOARDING RIFT.io

Virtuozzo DevOps. Installation Guide

Sample VNF Rack and VNF Descriptor Configuration File

Virtualized Infrastructure Managers for edge computing: OpenVIM and OpenStack comparison IEEE BMSB2018, Valencia,

OPENSTACK CLOUD RUNNING IN A VIRTUAL MACHINE. In Preferences, add 3 Host-only Ethernet Adapters with the following IP Addresses:

DataDog Container. VNS3 Plugins Guide 2018

Red Hat OpenStack Platform 14

OSM: 7 FULLY FUNCTIONAL DEMOS Vanessa Little (VMware) - OSM TSC Chair

Inception Cloud User s Guide

Containers. Pablo F. Ordóñez. October 18, 2018

CS 410/510: Web Security X1: Labs Setup WFP1, WFP2, and Kali VMs on Google Cloud

User Workspace Management

Some Ubuntu Practice...

VMware Integrated OpenStack User Guide. VMware Integrated OpenStack 4.1

An introduction to Docker

INSTALLATION RUNBOOK FOR Triliodata + TrilioVault

Contrail Sandbox Tutorial Script

UDS Enterprise Preparing Templates Xubuntu NX * + UDS Actor

API-based AutoDeploy, AutoIT and AutoVNF Upgrade Process

Deploying VNFs Using AutoVNF

AppDefense Plug-In. VMware AppDefense 2.0

Infoblox Kubernetes1.0.0 IPAM Plugin

Linux application virtualization with UDS Enterprise. Versión Rev. 1

Blockchain on Kubernetes User Guide

This material is based on work supported by the National Science Foundation under Grant No

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Using ROS with RedHawk Linux on the NVIDIA Jetson TX2

Blockchain on Kubernetes

MYR-2017 SimulATOR user manual

VMware Integrated OpenStack User Guide

MRCP. Yandex SR Plugin. Administrator Guide. Powered by Universal Speech Solutions LLC

API-based VNFM Upgrade Process

Tensorflow/SyntaxNet. Installation Guide

Advantech General FAQ. How to change ubuntu specific kernel for quick cross test

Exercises: Basics of Network Layer Experiential Learning Workshop

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

VNS3 3.5 Container System Add-Ons

Windows Subsystem for Linux Guide Documentation

How to Deploy Virtual Test Agents in OpenStack

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa

Running blockchain demo app with Hyperledger Fabric on LinuxONE server Labs

Minimal OpenStack Starting Your OpenStack Journey

Hillstone CloudEdge For Network Function Virtualization (NFV) Solutions

OpenStack Havana All-in-One lab on VMware Workstation

UDS Enterprise Preparing Templates Xubuntu X2Go + UDS Actor

KubeNow Documentation

Mobile World Congress 2016 OPEN SOURCE MANO (OSM) E2E Orchestration Demo. February 2016

UBUNTU OPENSTACK. Ubuntu Server Administration Training

Newsreader virtual machines Technical Report NWR

$ wget V SOLUTIONS.tar.bz2 \ --user=lftraining --password=penguin2014

Enterprise Steam Installation and Setup

Deploying Cisco Nexus Data Broker Embedded for OpenFlow

labibi Documentation Release 1.0 C. Titus Brown

Communication protocols and services

Preparing Your Google Cloud VM for W4705

Cloud CPE Solution Release Notes

Download and install MySQL server 8 in Windows. Step1: Download windows installer

IBM z Systems Development and Test Environment Tools User's Guide IBM

Ubuntu LTS Install Guide

Virtual Network Functions Life Cycle Management

Using Juju with a Local Provider with KVM and LXC in Ubuntu LTS

How to Restrict a Login Shell Using Linux Namespaces

Running Kmeans Spark on EC2 Documentation

Autopology Installation & Quick Start Guide

Ubuntu Openstack Installer, Single Machine Mode

Applies to: SECURE WEB Version 1.3 and above

Com.X. IP PBX / Gateway. ComX Software upgrade procedure. (1.3 to 1.4)

OpenNebula 4.12 Quickstart Ubuntu and KVM

Università Ca Foscari Venezia

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus

Virtual Network Functions Life Cycle Management

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

HP VAN SDN Controller Installation Guide

StorageGRID Webscale 11.1 Expansion Guide

Get your own Galaxy within minutes

Using KVM On Ubuntu 7.10 (Gutsy Gibbon)

Transcription:

OSM Hackfest Installation and first use Gerardo García (Telefónica)

OSM installation Click HERE 2

Before installing OSM Instructions https://osm.etsi.org/wikipub/index.php/lxd_configuration_for_osm_release_t HREE Steps: Install lxd. Exec following commands as a non-root user: sudo apt-get update sudo apt-get install -y lxd newgrp lxd Init LXD. Exec following command as a non-root user: sudo lxd init Configure MTU of the default profile: sudo lxc profile device set default eth0 mtu <MTU> Test LXD as a non-root user: lxc launch ubuntu:16.04 test lxc exec test bash root@test:~# apt-get update 3

Installing OSM OSM installation from binaries: wget https://osm-download.etsi.org/ftp/osm-3.0-three/install_osm.sh chmod +x install_osm.sh./install_osm.sh Other available options to install from: --lxdimages --source 4

After installing OSM Update RO to use the latest testing version Test OSM client Add env variables to your.bashrc to use OSM client locally Try osm Test UI: Google Chrome is the recommended browser Access UI: https:<ip_osm>:8443 5

Update RO to use the latest testing version NOTE: this is ONLY required for this Hackfest to have the latest working code in the RO Instructions: dpkg -l grep osm Modify /etc/apt/sources.list #deb http://osm-download.etsi.org/repository/osm/debian/releasethree stable SO UI RO IM osmclient openvim deb http://osm-download.etsi.org/repository/osm/debian/releasethree-daily testing SO UI RO IM osmclient openvim apt-get update apt-cache show python-osm-ro service osm-ro stop apt-get install -y python-osm-ro service osm-ro start service osm-ro status 6

For people using your own OSM Test OSM client Add some env variables to your.bashrc: export OSM_HOSTNAME=<SO-ub_container_IP> export OSM_RO_HOSTNAME=<RO_container_IP> Try osm : Usage: osm [OPTIONS] COMMAND [ARGS]... Options: --hostname TEXT hostname of server. Also can set OSM_HOSTNAME in environment --so-port INTEGER hostname of server. Also can set OSM_SO_PORT in environment 7

For people using your own OSM Test UI Google Chrome installation (linux) wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt-get update && sudo apt-get install libappindicator1 sudo dpkg -i google-chrome-stable_current_amd64.deb Configure OSM to allow access to the GUI from local web browser: NOTE: this is ONLY required for this Hackfest (will be part of new version of installer) sudo sysctl -w net.ipv4.conf.all.route_localnet=1 sudo iptables -t nat -A OUTPUT -p tcp -o lo --dport 8009 -j DNAT --to [IP LXC SO]:8009 sudo iptables -t nat -A POSTROUTING -s [IP HOST]/32 -d [IP LXC SO] -p tcp --dport 8009 -j MASQUERADE sudo iptables -t nat -A OUTPUT -p tcp -o lo --dport 8443 -j DNAT --to [IP LXC SO]:8443 sudo iptables -t nat -A POSTROUTING -s [IP HOST]/32 -d [IP LXC SO] -p tcp --dport 8443 -j MASQUERADE Finally, add those NAT rules to /etc/iptables/rules.v4 to make them persistent Test UI: Open web browser: https:<ip_osm>://8443 8

Local OSM instances @ETSI osm-demo: 172.21.1.3 osm-plugtest1: 172.21.1.4 osm-plugtest2: 172.21.1.5 osm-hackfest1: 172.21.1.9 osm-hackfest2: 172.21.1.10 9

For people using ETSI OSM servers Install OSM client Instructions in the main page for Rel THREE: https://osm.etsi.org/wikipub/index.php/osm_release_three#install_osm_ client Steps: curl http://osmdownload.etsi.org/repository/osm/debian/releasethree/osm%20etsi%20r elease%20key.gpg sudo apt-key add - sudo add-apt-repository -y "deb [arch=amd64] http://osmdownload.etsi.org/repository/osm/debian/releasethree stable osmclient" sudo apt-get update sudo apt-get install -y python-osmclient 10

For people using ETSI OSM servers Test OSM client Add some env variables to your.bashrc: export OSM_HOSTNAME=<OSM_IP> export OSM_RO_HOSTNAME=<OSM_IP> Try osm : Usage: osm [OPTIONS] COMMAND [ARGS]... Options: --hostname TEXT hostname of server. Also can set OSM_HOSTNAME in environment --so-port INTEGER hostname of server. Also can set OSM_SO_PORT in environment 11

For people using ETSI OSM servers Test UI Google Chrome installation (linux) wget -c https://dl.google.com/linux/direct/google-chromestable_current_amd64.deb sudo apt-get update && sudo apt-get install libappindicator1 sudo dpkg -i google-chrome-stable_current_amd64.deb Access UI: https://<ip_osm>:8443 12

Adding VIM accounts VIMs: Name Type AUTH URL tenant user Password SDN controller openstack1 openstack http://172.21.2.20:5000/v2.0 xxx xxx xxx N/A openstack2-epa openstack http://172.21.2.22:5000/v2.0 xxx xxx xxx N/A Test VIMs: ping <IP> curl http://<ip>:5000/v2.0 Install python-openstackclient sudo apt-get install python-openstackclient 13

Adding VIM accounts Load Openstack credentials and run some commands for testing: export OS_AUTH_URL=xxx export OS_USERNAME=xxx export OS_TENANT_NAME=xxx export OS_PASSWORD=xxx openstack image list openstack network list openstack flavor list openstack server list 14

Adding VIM accounts Add your first VIM openstack1 with the OSM client: osm vim-create --name openstack1 --account_type openstack \ --auth_url http://172.21.2.20:5000/v2.0 \ --user xxx --password xxx --tenant xxx \ --description "ETSI openstack site 1, with tenant xxx osm vim-list 15

Adding images to the VIM Image management is not implemented in OSM today. It has to be done independently on each VIM. IMAGES HAVE BEEN ALREADY ADDED TO THE REMOTE VIMS IN THE HACKFEST Example for Openstack: openstack image create --file="./cirros-0.3.4-x86_64-disk.img" --containerformat=bare --disk-format=qcow2 --public cirros034 16

Adding images to the VIM ubuntu1604 US1604 Image name in descriptors Filename xenial-server-cloudimg-amd64-disk1.img (you can get it from https://cloudimages.ubuntu.com/xenial/current/ ) US1604.qcow2 hackfest3-mgmt hackfest3-mgmt-qcow2 hackfest-pktgen hackfest-pktgen-qcow2 cirros034 cirros-0.3.4-x86_64-disk.img 17

Deploying our first NS with OSM UI 18

Deploying our first NS with the UI Add VNF package Add NS package Instantiate Get VNF record and obtain mgmt IP address Access to the VNF via SSH Delete NS instance Delete NS Delete VNF 19

Deploying our first NS with OSM client Add VNF and NS package osm upload-package cirros_vnf.tar.gz osm vnfd-list osm upload-package cirros_2vnf_ns.tar.gz osm nsd-list Instantiate osm ns-create --nsd_name cirros_2vnf_ns --ns_name <ns-instance-name> --vim_account <datacenter-name> osm ns-list Delete NS instance osm ns-delete <ns-instance-name> osm ns-list Delete VNF and NS package osm nsd-delete cirros_2vnf_ns osm nsd-list osm vnfd-delete cirros_vnfd osm vnfd-list 20

Find us at: osm.etsi.org osm.etsi.org/wikipub