- List all plugins installed fuel plugins fuel plugins --list - Install plugin fuel plugins --install /tmp/sample.pb 1. Extracts metadata from plugin tar 2. If plugin successfully registered in nailgun 3. Untar all the files in /var/www/nailgun/plugins - If you want to update plugin when it is already installed add --force flag fuel plugins --install /tmp/sample --force The procedure is the same as for simple install, but if plugin already registered - it will try to update (send PUT request) - Refactored tests to allow writing unit tests, with mock and all that goodness related to blueprint cinder-neutron-plugins-in-fuel Change-Id: I642a300abcb9c50ef5039a343064f2ac78e39cd8
14 lines
609 B
Python
14 lines
609 B
Python
# Copyright 2013 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.
|