Add class description and related docs
This commit is contained in:
parent
decf1faac4
commit
50cd6540f2
37
README.md
37
README.md
|
@ -1,4 +1,35 @@
|
|||
fuel-plugin-rally
|
||||
============
|
||||
Openstack Rally plugin
|
||||
=======================
|
||||
|
||||
Provides a separate role for deployment of the Rally benchmarking tool
|
||||
|
||||
Building the plugin
|
||||
-------------------
|
||||
|
||||
1. Clone the fuel-plugin repo:
|
||||
|
||||
``git clone https://review.openstack.org/openstack/fuel-plugin-rally``
|
||||
|
||||
2. Install the Fuel Plugin Builder:
|
||||
|
||||
``pip install fuel-plugin-builder``
|
||||
|
||||
3. Build Rally Fuel plugin:
|
||||
|
||||
``fpb --build fuel-plugin-rally/``
|
||||
|
||||
4. The fuel-plugin-rally-<x.x.x>.rpm plugin package will be created in the plugin folder
|
||||
(uel-plugin-rally/).
|
||||
|
||||
5. Move this file to the Fuel Master node with secure copy (scp):
|
||||
|
||||
``scp fuel-plugin-rally/fuel-plugin-rally-<x.x.x>.rpm root@:<the_Fuel_Master_node_IP address>:/tmp``
|
||||
``ssh root@:<the_Fuel_Master_node_IP address>``
|
||||
``cd /tmp``
|
||||
|
||||
6. Install the Ceilometer Rallyre plugin:
|
||||
|
||||
``fuel plugins --install fuel-plugin-rally-<x.x.x>.rpm``
|
||||
|
||||
7. Plugin is ready to be used and can be enabled on the Settings tab of the Fuel web UI.
|
||||
|
||||
Plugin description
|
|
@ -1 +1,15 @@
|
|||
include rally
|
||||
# Copyright 2015 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
include rally
|
|
@ -1,3 +1,7 @@
|
|||
# Class: rally::config
|
||||
#
|
||||
# This class configures rally tool and creates existing deployment
|
||||
|
||||
class rally::config inherits rally {
|
||||
|
||||
$rally_config = '/etc/rally/rally.conf'
|
||||
|
@ -89,4 +93,4 @@ class rally::config inherits rally {
|
|||
unless => "/usr/local/bin/rally deployment show \
|
||||
--deployment ${rally_deployment}",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
# == Class: rally
|
||||
#
|
||||
# Install and configure a Rally node
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# See below for a complete list of parameters accepted.
|
||||
|
||||
class rally (
|
||||
$repository_url = $rally::params::repository_url,
|
||||
$repository_tag = $rally::params::repository_tag,
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# == Class: rally::install
|
||||
#
|
||||
# Install rally and all it's dependencies
|
||||
|
||||
class rally::install inherits rally {
|
||||
|
||||
$rally_installer = '/tmp/install_rally.sh'
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# Class: rally::params
|
||||
#
|
||||
# This class configures parameters for the puppet rally module.
|
||||
|
||||
class rally::params {
|
||||
$repository_url = 'https://github.com/openstack/rally'
|
||||
$repository_tag = 'master'
|
||||
|
|
Loading…
Reference in New Issue