fastforward

package module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2015 License: GPL-2.0 Imports: 0 Imported by: 0

README

FastForward Build Status

FastForward is a DevOps automate platform.

Basic Provisioning API GoDoc

Start the API endpoint:
ff provision-api start
Endpoint:
http://0.0.0.0:7000/v1
Example Request:
./jsonrpctest.py http://YOUR_FF_SERVER:7000/v1 \
Provisioning.Exec \
"{'User': 'ubuntu', \
'Host': 'YOUR_REMOTE_SERVER', \
'DisplayOutput': true, \
'AbortOnError': true, \
'AptCache': false, \
'UseSudo': true, \
'CmdLine': 'echo FastForward'}"
Example Response:
{u'id': 1, u'result': u'FastForward\n', u'error': None}
Query Parameters:
User - The username for remote server.
Host - The remote server ip or FQDN.
DisplayOutput - true/false, Show the execution output.
AbortOnError - true/false, Ignore errors if set to true.
AptCache - true/false, Using apt-get update before installation if set to true.
UseSudo - true/false, Using sudo privilege for execution if set to true.
CmdLine - The command line to be executed.
Status Codes:
200 - No error.
400 - Bad parameter.
500 - Server error.

OpenStack Provisioning API GoDoc

Start the API endpoint:
ff playback-api start
Endpoint:
http://0.0.0.0:7001/v1
Example Request:
./jsonrpctest.py http://YOUR_FF_SERVER:7001/v1 \
OpenStack.NovaController \
"{'HostName': 'controller01'}"
Example Resopnse:
{u'id': 1, u'result': None, u'error': None}

Documentation

Overview

Copyright 2015 nofdev. Licensed under the GPLv2, see LICENCE file for details.

FastForward is a DevOps automate platform.

Project homepage: https://github.com/nofdev/fastforward

For more information please refer to the README file in this directory.

Directories

Path Synopsis
Package base is a library for FastForward.
Package base is a library for FastForward.
Package bin is the prebuild binary for FastForward.
Package bin is the prebuild binary for FastForward.
Package config holds a FastForward configuration parser.
Package config holds a FastForward configuration parser.
Package main is the ff command line interface.
Package main is the ff command line interface.
Package monitoring provides an API of JSON-RPC 2.0 for monitoring.
Package monitoring provides an API of JSON-RPC 2.0 for monitoring.
Package orchestration provides an API of JSON-RPC 2.0 for orchestration.
Package orchestration provides an API of JSON-RPC 2.0 for orchestration.
Package provisioning provides an API of JSON-RPC 2.0 Example Request: ./jsonrpctest.py http://YOUR_FF_SERVER:7000/v1 \ Provisioning.Exec \ "{'User': 'ubuntu', \ 'Host': 'YOUR_REMOTE_SERVER', \ 'DisplayOutput': true, \ 'AbortOnError': true, \ 'AptCache': false, \ 'UseSudo': true, \ 'CmdLine': 'echo FastForward'}" Example Response: {u'id': 1, u'result': u'FastForward\n', u'error': None} Query Parameters: User - The username for remote server.
Package provisioning provides an API of JSON-RPC 2.0 Example Request: ./jsonrpctest.py http://YOUR_FF_SERVER:7000/v1 \ Provisioning.Exec \ "{'User': 'ubuntu', \ 'Host': 'YOUR_REMOTE_SERVER', \ 'DisplayOutput': true, \ 'AbortOnError': true, \ 'AptCache': false, \ 'UseSudo': true, \ 'CmdLine': 'echo FastForward'}" Example Response: {u'id': 1, u'result': u'FastForward\n', u'error': None} Query Parameters: User - The username for remote server.
api/rpc/json command
api/rpc/json/openstack
Package openstack provides an API of JSON-RPC 2.0 for Playback.
Package openstack provides an API of JSON-RPC 2.0 for Playback.
api/rpc/json/openstack/client
Package client provides a playback api client for ff command line.
Package client provides a playback api client for ff command line.
Package ris is a GUI of FastForward that holds a single page application web interface.
Package ris is a GUI of FastForward that holds a single page application web interface.
Package tools providing utils for FastForward.
Package tools providing utils for FastForward.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL