Skip to content

A Nova extension for serving inter-workload scaling requests

License

Notifications You must be signed in to change notification settings

isabella232/os-workloads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

os-workloads Nova Plugin

This is the source code for os-workloads, a prototype OpenStack Nova plugin to allow for inter-workload scaling request negotiations.

Architecture

os-workloads is made up of a Nova v3 plugin, a Nova DB migration, and example agent scripts for Sahara and a generic image workload.

Installation

Add the Nova extension to your install at nova/nova/api/openstack/compute/plugins/v3/workloads.py

For a devstack install, you can include this extension by modifying the /opt/stack/nova/nova.egg-info/entry_points.txt file and add a reference to it in the [nova.api.v3.extensions] section, such as:

workloads = nova.api.openstack.compute.plugins.v3.workloads:Workloads

Add the db migration to nova/nova/db/sqlalchemy/migrate_repo/versions/

Run:

nova-manage db sync

You'll now have an os-workloads REST endpoint. Check out the plugin and agents for API usage examples.

About

A Nova extension for serving inter-workload scaling requests

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%