Nate Potter 1e1d7fadd8 Switch target API to Valence
This commit moves the UI API calls from the pod manager
to the Valence API, which will then forward requests to the
pod manager. Currently it's just passing along direct requests,
but as the API/controller service is fleshed out more functionality
will be added to the UI using the Valence API.

Change-Id: Idf352572a2df7e45b76548a9089ef61dea3d360f
Closes-bug: #1636958
2016-11-04 13:08:30 -07:00
2016-11-04 13:08:30 -07:00
2016-10-18 14:25:05 -07:00
2016-09-13 08:21:55 +00:00
2016-10-12 10:25:09 +05:30
2016-10-12 10:25:09 +05:30

Openstack Valence Project

Valence is a service for lifecycle management of pooled bare-metal hardware infrastructure such as Intel(R) Rack Scale architecture which uses Redfish(TM) as one of the management protocols.

Free software

Apache license

Wiki

https://wiki.openstack.org/wiki/Valence

Source

http://git.openstack.org/cgit/openstack/rsc

Bugs

http://bugs.launchpad.net/openstack-valence

Download and Installation

The following steps capture how to install valence. All installation steps require super user permissions.

Valence installation

  1. Install software dependencies

    $ sudo apt-get install git python-pip rabbitmq-server libyaml-0-2 python-dev

  2. Configure RabbitMq Server

    $ sudo rabbitmqctl add_user valence valence #use this username/pwd in valence.conf

    $ sudo rabbitmqctl set_user_tags valence administrator

    $ sudo rabbitmqctl set_permissions valence ".*" ".*" ".*"

  3. Clone the Valence code from git repo and change the directory to root Valence folder.

  4. Install all necessary software pre-requisites using the pip requirements file.

    $ sudo -E pip install -r requirements.txt

  5. Execute the 'install_valence.sh' file the Valence root directory.

    $ ./install_valence.sh

  6. Check the values in valence.conf located at /etc/valence/valence.conf

    set the ip/credentials of podm for which this Valence will interact

    set the rabbitmq user/password to the one given above(Step 2)

  7. Check the values in /etc/init/valence-api.conf, /etc/init/valence-controller.conf

  8. Start api and controller services

    $ sudo service valence-api start

    $ sudo service valence-controller start

  9. Logs are located at /var/logs/valence/

GUI installation

Please refer to the installation steps in the ui/README file.

Components

Valence follows the typical OpenStack project setup. The components are listed below:

valence-api

A pecan based daemon to expose Valence REST APIs. The api service communicates to the controller through AMQP.

valence-controller --------------The controller implements all the handlers for Plasma-api. It reads requests from the AMQP queue, process it and send the reponse back to the caller.

valence-ui --------valence-ui provides a GUI interface to invoke Valence APIs.

Features

Please refer the Valence blueprints for supported and in-the-pipeline features. https://blueprints.launchpad.net/plasma

Description
Lifecycle management service for pooled bare-metal infrastructure.
Readme 4.1 MiB
Languages
Python 84.6%
JavaScript 8.7%
reStructuredText 4.9%
Shell 0.9%
CSS 0.7%
Other 0.2%