Resource Reservation

Overview

Requirements

You must have installed the chameleon fork of python-blazarclient.

pip install \
git+https://github.com/chameleoncloud/python-blazarclient@chameleoncloud/xena

Adding Resources

Hosts

You shouldn't need to do this manually, as Doni will manage this for you.

If you need to, the command is

openstack reservation host create

Devices

openstack reservation device create

Disabling Resources

Hosts

To Disable Resources for Maintenance - Run the following command to disable a host for maintenance. This will make the resource unreservable for users while allowing administrators to create leases. The healing monitor does not flip the 'reservable' for hosts when the host is flagged as disabled.

On disabling a host, it is also set as unreservable. For example, running openstack reservation host list should show the disabled host with disabled set to True:

To Enable Resources After Maintenance - To unset the disabled flag and make the resource reservable again, use the following command:

This enables the host, and the 'reservable' flag is not automatically turned on, but the healing monitor should turn 'reservable' to True eventually.

Networks

Create a Reservable Network

This creates an entry in Blazar, allowing a user to reserve a vlan on a physical network. When their lease starts, a neutron network will be created using that vlan and physnet.

Make sure that the segment ID + physnets you add here are outside the range of ad-hoc vlans defined for neutron (in your defaults.yml file). Otherwise, Blazar's reservable vlans and neutron's ad-hoc ones may conflict.

Usage:

Example:

Add or update capability to a Reservable Network

Example, change the physical network:

Convention for Stitch-able Networks

To indicate that a network can be connected to other sites at L2, we use the key stitch_provider

For example, if you have plumbed VLANs from your dataplane switch to a FABRIC facility port, indicate these with:

Floating IPs

Create a new reservable floating IP

Last updated