EXP NO: 5 INSTALLING OSM AND ONBOARD AND ORCHESTRATE
DATE: NETWORK SERVICE
AIM
To install OSM and onboard and orchestrate network service.
PROCEDURE
Install OSM (Open Source MANO)
Step 1: Install Required Packages
Before installing OSM, prepare your system.
~sudo apt update
~sudo apt install -y curl gnupg lxd
Make sure LXD is installed — OSM runs using LXD containers.
Step 2: Configure LXD
Set up LXD (accept defaults if you're unsure):
~sudo lxd init –auto
Check that LXD is working:
~lxc list
Step 3: Add OSM PPA Repository
~sudo snap install osmclient –edge
or install manually:
~git clone [Link]
~cd installer
Step 4: Install OSM
Use the installer script:
~./install_osm.sh
Note: Installation takes some time (~20–30 min). It sets up all necessary OSM components (RO, SO,
NBI, VCA, etc.).
Step 5: Access OSM Web UI
After installation:
● Web Browser: [Link]
● Default Credentials:
o Username: admin
o Password: admin
Onboard a Network Service (NS)
Now that OSM is running, let's upload a Network Service (NSD and VNFD).
Step 6: Get a Sample NS/VNF Descriptor
You can use OSM examples:
~git clone [Link]
~cd osm-packages
Or you can create your own simple VNFD and NSD.
Step 7: Upload (Onboard) the VNF Descriptor
Use osmclient:
~osm vnfd-create <your_vnfd_package>.[Link]
~osm vnfd-create cirros_vnfd.[Link]
Step 8: Upload (Onboard) the Network Service Descriptor (NSD)
~osm nsd-create <your_nsd_package>.[Link]
~osm nsd-create cirros_nsd.[Link]
Instantiate and Orchestrate the Network Service
Time to launch the Network Service!
Step 9: Create a VIM Account
OSM needs to know where to deploy — this is usually your OpenStack, Kubernetes, or a simple VIM
(Virtual Infrastructure Manager).
Example (OpenStack):
osm vim-create --name myvim --user admin --password mypassword --tenant admin --auth_url
[Link] --account_type openstack
Step 10: Instantiate (Deploy) the Network Service
Now instantiate the NS:
osm ns-create --ns_name my_ns --nsd_name <nsd-name> --vim_account myvim
osm ns-create --ns_name cirros-test --nsd_name cirros-ns --vim_account myvim
Step 11: Monitor the Deployment
Check NS status:
~osm ns-list
OUTPUT
RESULT
The installation of OSM, along with onboarding and orchestrating the network service, has
been completed successfully.