Skip to content

icclab/openstack-ova-onboarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VM onboarding tool

Vm onboarding framework was developed in order to make OVA file import process to Openstack deployment possible with one button click and simple interface. The tool allows user import local vm infrastructure to the Openstack server. Onboarding tool is developed using Flask as backend and AngularJS as a Frontend technologies.

Quick start

Intagrate Horizon

Copy intagration file to horizon directory:

cp _50_onboarding.py .../horizon/openstack_dashboard/enabled/

Copy view foled:

cp -rf onboarding/ .../horizon/openstack_dashboard/dashboards/

And restart apache2 service:

service apache2 restart

Run ova onbaording service

First of all before importing OVA file make sure that local virtual machine images contain cloud init package.

All requirements for the tool are specified in the requirements.txt file. Before starting, it is strongly recommended to use virtual environment:

virtualenv env 
source env/bin/activate 

Requirements can be easily installed with pip tool

pip install -r requirements.txt

To run service execute run.py file:

python run.py

Configuration file

Backend configuration is located in “app/init.py ” file.

  • app.config['UPLOAD_FOLDER'] - location of the folder where all ova files should be stored. Default value: '/home/ubuntu/temp/'
  • app.config['ALLOWED_FILES'] - the list of file extensions allowed to upload. Default value: ['ova']
  • app.config['CIDR'] - subnetwork address for all external networks. Default value: '172.168.0.0/24'
  • app.config['PUBLIC_NET'] - the name of internal network where NAT ports should be connected. Default value: 'private'

About

Nice tool to easily import local OVF appliances into any OpenStack cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages