Release 0 HowTo guide for users: Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 20: Line 20:
Launchpad provides the user interface to the OSM orchestrator. From the Launchpad user can manage the catalog, compose the NS/VNF descriptors and perform the lifecycle management on Network Services.  
Launchpad provides the user interface to the OSM orchestrator. From the Launchpad user can manage the catalog, compose the NS/VNF descriptors and perform the lifecycle management on Network Services.  
The launchpad UI can be accessed  through URL  https://a.b.c.d:8000 where a.b.c.d is the ip address of the VM where SO installed (Google chrome version 50 or later is recommended).  
The launchpad UI can be accessed  through URL  https://a.b.c.d:8000 where a.b.c.d is the ip address of the VM where SO installed (Google chrome version 50 or later is recommended).  
{| style="color:#000000; border:solid 1px #A8A8A8; padding:0.5em; margin:0.5em 0; background-color:#FFFFFF;font-size:95%; vertical-align:middle;"
|
'''Note:''' Following ports need to be open for HTTP/HTTPS/ws/wss protocols and accessible from the machine where the web-browser is running to the machine where the Launchpad is running:
* 8000
* 3000
* 3500-3519
* 4567
|}


The default username/password for accessing launchpad is '''admin/admin'''
The default username/password for accessing launchpad is '''admin/admin'''
Line 37: Line 46:
     PORT: Enter the port for openmano (Default port is 9090)
     PORT: Enter the port for openmano (Default port is 9090)
     TEANT ID: Enter the tenant id configured in openmano
     TEANT ID: Enter the tenant id configured in openmano
[[File:CloudAccount.png|400px]]


To configure config agent account:
To configure config agent account:
Line 45: Line 56:
   USERNAME: user name to access juju server
   USERNAME: user name to access juju server
   SECRET:  password to access juju server
   SECRET:  password to access juju server
[[File:ConfigAgentAccount.png|400px]]


==== Packages ====
==== Packages ====
The on-boarding process accepts raw descriptors in yaml format or or a package in gzipped tar format. The package format is described [[Release 0 Data Model details|here]].
The on-boarding process accepts raw descriptors in yaml format or a package in gzipped tar format. The package format is described [[Release 0 Data Model details|here]].
 
===== About checksums.txt =====
 
All packages destined to be on-boarded to RIFT.ware require a checksums.txt file to verify the integrity of the archive's contents. The checksums.txt contains a list of the files in the package, as well as the SHA-256 encrypted hash of each file.
 
For example, assume a package you want to onboard looks like the following:
 
|-- checksums.txt
|
|-- images
|  \-- name1-image.iso
|
\-- vnfd
    |-- name1-vnfd.xml
    \-- name2-vnfd.xml
 
The checksums.txt file might resemble this:
 
93554f7808ac53a5116fd1e0f7bec1d15c7a652a59ee8c3f616aef871d592d3b  vnfd/name1-vnfd.xml
471b8d9d68b47516c89adbdbfd30f5134012d306c0b64951a9555f966b2d3711  vnfd/name2-vnfd.xml
a5d6da626667e21f7de04202c8da5396c0fc7e26872d016f3065f1110cff7962  images/name1-image.iso
 
===== Create a package using a script =====
 
The generate_descriptor_pkg.sh script generates a checksum.txt file and lets you create and onboard packages that RIFT.ware supports. The following command packages the descriptors and images if they adhere to the Launchpad package folder structure.
 
$RIFT_ROOT/bin/generate_descriptor_pkg.sh
 
===== Create a package manually =====
 
    Create a descriptor, supporting files, and checksums.txt file.
    Create a *.tar.gz archive of the files. For example:
    $ tar -zcvf package-name.tar.gz source-folder-name
    Copy the gzipped archive to a location accessible to RIFT.ware.


===== On-boarding =====
===== On-boarding =====
Line 60: Line 107:
# Wait for the package to complete uploading. This process could take several minutes, depending on the complexity of the VNFD.
# Wait for the package to complete uploading. This process could take several minutes, depending on the complexity of the VNFD.
# Repeat steps 4 and 5 until all the VNFs needed for the network service are on-boarded.
# Repeat steps 4 and 5 until all the VNFs needed for the network service are on-boarded.
Note: A (0) after the Catalog label indicates that no catalog entries are associated with the Launchpad. This number increases each time you onboard VNFDs and NSDs into the catalog.
Below the Descriptor Catalogs label, click the VNFD tab.


The following image shows the Descriptor Catalog with few on-boarded VNFs.
The following image shows the descriptor catalog with few on-boarded VNFDs.


[[File:VnfdUpload.png]]
[[File:VnfdUpload.png|400px]]


A network service descriptor (NSD) is the deployment template that describes the network service and its constituent elements, such as virtual network functions, virtual links, and virtual network function forwarding graphs.  
A network service descriptor (NSD) is the deployment template that describes the network service and its constituent elements, such as virtual network functions, virtual links, and virtual network function forwarding graphs.  
Line 79: Line 124:
The process could take several minutes, depending on NSD complexity.  
The process could take several minutes, depending on NSD complexity.  
When a NSD package has been fully on-boarded to the catalog, the new NSD appears in the Catalog Package Manager.
When a NSD package has been fully on-boarded to the catalog, the new NSD appears in the Catalog Package Manager.
The following image shows the descriptor catalog with few on-boarded NSDs.
[[File:NsdUpload.png|400px]]


=====  Instantiation =====
=====  Instantiation =====
Line 98: Line 147:
The service primitives if available will be shown on the viewport page.
The service primitives if available will be shown on the viewport page.
Clicking on the VNFR will expose any conifg primitives available on the VNF.
Clicking on the VNFR will expose any conifg primitives available on the VNF.
The following image shows an example NS with service primitives,
[[File:ServicePrimitive.png|400px]]


==== Termination ====
==== Termination ====
Line 103: Line 156:
To Terminate a running network service, click on the [[File:TrashCan.png]] link on the running NS. The network service and the VNFs associated with the NS will be terminated.
To Terminate a running network service, click on the [[File:TrashCan.png]] link on the running NS. The network service and the VNFs associated with the NS will be terminated.
All the resources allocated in the cloud will be released.
All the resources allocated in the cloud will be released.
{{Feedback}}

Latest revision as of 14:26, 20 June 2016

Introduction

OSM is a model-driven, ETSI compliant NFV MANO solution that simplifies deployment of VNFs and the composition and management of complex network services. It provides all the tools needed for automated end-to-end service delivery and lifecycle management.

Getting Started

The following steps need to be completed to get OSM installed, configured and running.

  • Installation
  • Accessing Launchpad
  • Configuration
  • Packages
  • On-boarding
  • Instantiation
  • Service and Config Primitives
  • Termination

Installation

OSM run time requires the installation of SO, RO and Configuration Manager. The instructions for installing the OSM components are described here.

Accessing Launchpad

Launchpad provides the user interface to the OSM orchestrator. From the Launchpad user can manage the catalog, compose the NS/VNF descriptors and perform the lifecycle management on Network Services. The launchpad UI can be accessed through URL https://a.b.c.d:8000 where a.b.c.d is the ip address of the VM where SO installed (Google chrome version 50 or later is recommended).

Note: Following ports need to be open for HTTP/HTTPS/ws/wss protocols and accessible from the machine where the web-browser is running to the machine where the Launchpad is running:

  • 8000
  • 3000
  • 3500-3519
  • 4567

The default username/password for accessing launchpad is admin/admin

Configuration

Launchpad need to be configured with the details of the cloud account and configuration agent account before NS/VNF packages are on-boaded and network services are orchestrated. cloud accounts and configuration agent accounts can be configured from the launchpad UI.

To configure cloud account:

 Click on Launchpad and select accounts to navigate to the accounts configuration page.
 Click on ADD CLOUD ACCOUNT and fill the account details
 NAME: Enter the name of cloud account
 Select Account Type: choose  "Open MANO"
 Under ENTER ACCOUNT  DETAILS
    HOST: Enter the IP address of the VM where openmano is running
    PORT: Enter the port for openmano (Default port is 9090)
    TEANT ID: Enter the tenant id configured in openmano

CloudAccount.png

To configure config agent account:

 From  accounts configuration page,
  Click on ADD CONFIG AGENT ACCOUNT and fill account details
  IP ADDRESS: Address of the Juju server
  PORT: Enter the port where juju server is running(Default port is 17070)
  USERNAME: user name to access juju server
  SECRET:  password to access juju server

ConfigAgentAccount.png

Packages

The on-boarding process accepts raw descriptors in yaml format or a package in gzipped tar format. The package format is described here.

About checksums.txt

All packages destined to be on-boarded to RIFT.ware require a checksums.txt file to verify the integrity of the archive's contents. The checksums.txt contains a list of the files in the package, as well as the SHA-256 encrypted hash of each file.

For example, assume a package you want to onboard looks like the following:

|-- checksums.txt | |-- images | \-- name1-image.iso | \-- vnfd

   |-- name1-vnfd.xml
   \-- name2-vnfd.xml

The checksums.txt file might resemble this:

93554f7808ac53a5116fd1e0f7bec1d15c7a652a59ee8c3f616aef871d592d3b vnfd/name1-vnfd.xml 471b8d9d68b47516c89adbdbfd30f5134012d306c0b64951a9555f966b2d3711 vnfd/name2-vnfd.xml a5d6da626667e21f7de04202c8da5396c0fc7e26872d016f3065f1110cff7962 images/name1-image.iso

Create a package using a script

The generate_descriptor_pkg.sh script generates a checksum.txt file and lets you create and onboard packages that RIFT.ware supports. The following command packages the descriptors and images if they adhere to the Launchpad package folder structure.

$RIFT_ROOT/bin/generate_descriptor_pkg.sh

Create a package manually
   Create a descriptor, supporting files, and checksums.txt file.
   Create a *.tar.gz archive of the files. For example:
   $ tar -zcvf package-name.tar.gz source-folder-name
   Copy the gzipped archive to a location accessible to RIFT.ware.
On-boarding

On-boarding is the process of submitting an existing VNF package or network service descriptor (NSD) to the Launchpad catalog. On-boarding allows objects in to the launchpad catalog so that they can be instantiated.

To on-board a VNF package follow the following steps,

  1. Click Catalog in Launchpad Dashboard.
  2. Click the icon to onboard a catalog package
  3. Navigate to the location of the first VNFD package.
  4. Optionally open operating system’s file manager utility, and drag and drop one or more packages directly onto the Catalog Package Manager.
  5. Wait for the package to complete uploading. This process could take several minutes, depending on the complexity of the VNFD.
  6. Repeat steps 4 and 5 until all the VNFs needed for the network service are on-boarded.

The following image shows the descriptor catalog with few on-boarded VNFDs.

VnfdUpload.png

A network service descriptor (NSD) is the deployment template that describes the network service and its constituent elements, such as virtual network functions, virtual links, and virtual network function forwarding graphs.

To on-board a nsd package follow the following steps,

  1. Below the Descriptor Catalogs label, click the NSD tab.
  2. Click the icon and onboard a catalog package using any of the following options:
  3. Optionally open your operating system’s file manager utility, and drag and drop one or more packages directly onto the Catalog Package Manager.
  4. Navigate to the location of the NSD package and click Open.
  5. Wait for the package to complete uploading.

The process could take several minutes, depending on NSD complexity. When a NSD package has been fully on-boarded to the catalog, the new NSD appears in the Catalog Package Manager.

The following image shows the descriptor catalog with few on-boarded NSDs.

NsdUpload.png

Instantiation

Instantiating an NS is as simple as browsing the catalog and specifying the required input parameters. The Launchpad also provides a detailed view of the underlying compute and network topologies.

To instantiate network service,

  • On the Launchpad tab, choose Dashboard link.
  • Click to select Instantiate.

InstantiateNs.png

  • Enter the name of the service, the cloud account, datacenter and any input parameters and click on "Launch".
  • The selected network service will get instantiated in the selected data center.

RunningNS.png

Service and Config Primitives

If the VNFs in the network service has charms specified in the descriptor, they will be deployed as proxy charms in juju once the network service is instantiated. If the network service descriptor has any service primitives configured, they will be available in the viewport. To access the view port page click on the ViewPort.png link on the Running NS instance. The service primitives if available will be shown on the viewport page. Clicking on the VNFR will expose any conifg primitives available on the VNF.

The following image shows an example NS with service primitives,

ServicePrimitive.png

Termination

To Terminate a running network service, click on the TrashCan.png link on the running NS. The network service and the VNFs associated with the NS will be terminated. All the resources allocated in the cloud will be released.

Your feedback is most welcome!
You can send us your comments and questions to OSM_TECH@list.etsi.org
Or join the OpenSourceMANO Slack Workplace
See hereafter some best practices to report issues on OSM