fastforward: github.com/nofdev/fastforward/provisioning/api/rpc/json/openstack Index | Files | Directories

package openstack

import "github.com/nofdev/fastforward/provisioning/api/rpc/json/openstack"

Package openstack provides an API of JSON-RPC 2.0 for Playback.

Index

Package Files

openstack.go

type Args Uses

type Args struct {
    provisioning.ExtraVars
}

Args takes extra-vars of Playback

type OpenStack Uses

type OpenStack struct{}

OpenStack API.

func (*OpenStack) AddCephMon Uses

func (o *OpenStack) AddCephMon(r *http.Request, args *Args, result *Result) error

AddCephMon add the Ceph monitors.

Args: {"Node": string}

func (*OpenStack) AddOSD Uses

func (o *OpenStack) AddOSD(r *http.Request, args *Args, result *Result) error

AddOSD add the Ceph OSDs.

Args: {"NodeSlice[0]": string, "NodeSlice[1]": string}

func (*OpenStack) AutoStart Uses

func (o *OpenStack) AutoStart(r *http.Request, args *Args, result *Result) error

AutoStart fix the service can not auto start when sys booting.

func (*OpenStack) CephAdmin Uses

func (o *OpenStack) CephAdmin(r *http.Request, args *Args, result *Result) error

CephAdmin deploy the Ceph admin node.

func (*OpenStack) CephClient Uses

func (o *OpenStack) CephClient(r *http.Request, args *Args, result *Result) error

CephClient deploy the Ceph client.

Args: {"ClientName": string}

func (*OpenStack) CephInitMon Uses

func (o *OpenStack) CephInitMon(r *http.Request, args *Args, result *Result) error

CephInitMon deploy the Ceph initial monitor.

func (*OpenStack) CephUserPool Uses

func (o *OpenStack) CephUserPool(r *http.Request, args *Args, result *Result) error

CephUserPool creates the cinder ceph user and pool name.

func (*OpenStack) CinderAPI Uses

func (o *OpenStack) CinderAPI(r *http.Request, args *Args, result *Result) error

CinderAPI deploy cinder-api.

Args: {"HostName": string}

func (*OpenStack) CinderVolume Uses

func (o *OpenStack) CinderVolume(r *http.Request, args *Args, result *Result) error

CinderVolume deploy cinder-volume on controller node(ceph backend).

Args: {"HostName": string}

func (*OpenStack) ConfigureStorageNetwork Uses

func (o *OpenStack) ConfigureStorageNetwork(r *http.Request, args *Args, result *Result) error

ConfigureStorageNetwork takes playback-nic to set up the storage network.

Args: {"PlaybackNic.Purge": bool, "PlaybackNic.Public": bool, "PlaybackNic.Private": bool, "PlaybackNic.Host": string, "PlaybackNic.User": string, "PlaybackNic.Address": string, "PlaybackNic.NIC": string, "PlaybackNic.Netmask": string, "PlaybackNic.Gateway": string}

func (*OpenStack) Dashboard Uses

func (o *OpenStack) Dashboard(r *http.Request, args *Args, result *Result) error

Dashboard deploy Horizon.

func (*OpenStack) Designate Uses

func (o *OpenStack) Designate(r *http.Request, args *Args, result *Result) error

Designate deploy DNS as a Service.

func (*OpenStack) DistSwiftRingConf Uses

func (o *OpenStack) DistSwiftRingConf(r *http.Request, args *Args, result *Result) error

DistSwiftRingConf destribute Swift ring configuration files.

func (*OpenStack) FinalizeSwift Uses

func (o *OpenStack) FinalizeSwift(r *http.Request, args *Args, result *Result) error

FinalizeSwift finalize Swift installation.

Args: {"Hosts": string}

func (*OpenStack) FormatDiskForSwift Uses

func (o *OpenStack) FormatDiskForSwift(r *http.Request, args *Args, result *Result) error

FormatDiskForSwift formats devices for Swift Storage (sdb1 and sdc1).

Args: {"HostName": string}

func (*OpenStack) GetCephKey Uses

func (o *OpenStack) GetCephKey(r *http.Request, args *Args, result *Result) error

GetCephKey add Ceph initial monitors and gather the keys.

func (*OpenStack) Glance Uses

func (o *OpenStack) Glance(r *http.Request, args *Args, result *Result) error

Glance deploy Glance HA. Args: {"HostName": string}

func (*OpenStack) Heat Uses

func (o *OpenStack) Heat(r *http.Request, args *Args, result *Result) error

Heat deploy orchestration components(heat).

Args: {"HostName": string}

func (*OpenStack) InitSwiftRings Uses

func (o *OpenStack) InitSwiftRings(r *http.Request, args *Args, result *Result) error

InitSwiftRings initial Swift rings.

Args: {"SwiftStorageStorageIP[0]": string, "SwiftStorageStorageIP[1]": string}

func (*OpenStack) Keystone Uses

func (o *OpenStack) Keystone(r *http.Request, args *Args, result *Result) error

Keystone method deploy the Keystone components.

Args: {"HostName": string, }

func (*OpenStack) KvmToDocker Uses

func (o *OpenStack) KvmToDocker(r *http.Request, args *Args, result *Result) error

KvmToDocker converts kvm to docker(OPTIONAL).

func (*OpenStack) LBOptimize Uses

func (o *OpenStack) LBOptimize(r *http.Request, args *Args, result *Result) error

LBOptimize optimizing load balancer.

func (*OpenStack) LoadBalancer Uses

func (o *OpenStack) LoadBalancer(r *http.Request, args *Args, result *Result) error

LoadBalancer deploy a HAProxy and Keepalived for OpenStack HA.

Args: {"HostName": string, "RouterID": string, "State": string, "Priority": int}

func (*OpenStack) MariadbCluster Uses

func (o *OpenStack) MariadbCluster(r *http.Request, args *Args, result *Result) error

MariadbCluster deploy MariaDB Cluster.

Args: {"HostName": string, "MyIP": string}

func (*OpenStack) NovaComputes Uses

func (o *OpenStack) NovaComputes(r *http.Request, args *Args, result *Result) error

NovaComputes deploy Nova computes.

Args: {"HostName": string, "MyIP": string}

func (*OpenStack) NovaController Uses

func (o *OpenStack) NovaController(r *http.Request, args *Args, result *Result) error

NovaController deploy Nova controller.

Args: {"HostName": string}

func (*OpenStack) NovaNetwork Uses

func (o *OpenStack) NovaNetwork(r *http.Request, args *Args, result *Result) error

NovaNetwork deploy legacy networking nova-network(FLATdhcp Only).

Args: {"HostName": string, "MyIP": string}

func (*OpenStack) PrepareBasicEnvirionment Uses

func (o *OpenStack) PrepareBasicEnvirionment(r *http.Request, args *Args, result *Result) error

PrepareBasicEnvirionment prepares OpenStack basic environment.

func (*OpenStack) RabbtmqCluster Uses

func (o *OpenStack) RabbtmqCluster(r *http.Request, args *Args, result *Result) error

RabbtmqCluster deploy RabbitMQ Cluster.

Args: {"HostName": string}

func (*OpenStack) RestartCephDeps Uses

func (o *OpenStack) RestartCephDeps(r *http.Request, args *Args, result *Result) error

RestartCephDeps restart volume service dependency to take effect for ceph backend.

func (*OpenStack) SwiftProxy Uses

func (o *OpenStack) SwiftProxy(r *http.Request, args *Args, result *Result) error

SwiftProxy deploy Swift proxy HA.

Args: {"HostName": string}

func (*OpenStack) SwiftStorage Uses

func (o *OpenStack) SwiftStorage(r *http.Request, args *Args, result *Result) error

SwiftStorage deploy Swift storage.

Args: {"HostName": string}

func (*OpenStack) SyncCephKey Uses

func (o *OpenStack) SyncCephKey(r *http.Request, args *Args, result *Result) error

SyncCephKey copy the Ceph keys to nodes.

Args: {"Node": string}

type Result Uses

type Result interface{}

Result contains the API call results.

Directories

PathSynopsis
clientPackage client provides a playback api client for ff command line.
serverPackage main is the JSON-RPC 2.0 API server for playback.

Package openstack imports 2 packages (graph) and is imported by 2 packages. Updated 2016-07-22. Refresh now. Tools for package owners.