summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/README.md
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-07-13 01:54:49 +0800
committerGuo Ruijing <ruijing.guo@intel.com>2016-07-13 03:46:00 +0800
commit55e2e867e9a3f01b39f619251253470948e250d4 (patch)
treeb62c5ca4f6ddd7b4893a294986b3d15ec15cab27 /fuel-plugin/README.md
parentcd9d1296ab33b0193bfd37e77241291065d9a06b (diff)
Update README in fuel plugin
Change-Id: Ice5e394ebdd734b10833b90e84427601fec173ad Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/README.md')
-rw-r--r--fuel-plugin/README.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/fuel-plugin/README.md b/fuel-plugin/README.md
index b5a954269..8c00d4b68 100644
--- a/fuel-plugin/README.md
+++ b/fuel-plugin/README.md
@@ -4,16 +4,13 @@ plugin-yardstick
Plugin description
Installs Yardstick on base-os node via a fuel plugin.
-
-To build:
-1) install fuel plugin builder (fpb)
- sudo apt-get install createrepo rpm dpkg-dev
- easy_install pip
- pip install fuel-plugin-builder
-
+1) install vagrant fuel plugin builder (fpb)
+ sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo dpkg-dev
+ sudo gem install fpm
+ sudo pip install fuel-plugin-builder
2) build plugin
- fpb --build <plugin-name>
- e.g.: fpb --build plugin-yardstick
+ fpb --build <plugin-dir>
+ e.g.: fpb --build yardstick/fuel-plugin
3) copy plugin rpm to fuel master
e.g. scp plugin-yardstick-0.1-0.1.0-1.noarch.rpm <user>@<server-name>:~/
@@ -33,4 +30,7 @@ To build:
8) run
Once deployed, SSH to deployed node. Find IP of yardstick node.
SSH to yardstick node, Activate yardstick:
- source yardstick_env/bin/activate
+ source /var/lib/yardstick.openrc
+ source /var/lib/yardstick/bin/activate
+ export EXTERNAL_NETWORK="admin_floating_net"
+ yardstick task start /opt/yardstick/fuel-plugin/fuel_ping.yaml