![Nate Potter](/assets/img/avatar_default.png)
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
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
- Source
- Bugs
Download and Installation
The following steps capture how to install valence. All installation steps require super user permissions.
Valence installation
Install software dependencies
$ sudo apt-get install git python-pip rabbitmq-server libyaml-0-2 python-dev
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 ".*" ".*" ".*"
Clone the Valence code from git repo and change the directory to root Valence folder.
Install all necessary software pre-requisites using the pip requirements file.
$ sudo -E pip install -r requirements.txt
Execute the 'install_valence.sh' file the Valence root directory.
$ ./install_valence.sh
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)
Check the values in /etc/init/valence-api.conf, /etc/init/valence-controller.conf
Start api and controller services
$ sudo service valence-api start
$ sudo service valence-controller start
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