Documentation ¶
Overview ¶
Package openstack provides an API of JSON-RPC 2.0 for Playback.
Index ¶
- type Args
- type OpenStack
- func (o *OpenStack) AddCephMon(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) AddOSD(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) AutoStart(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) CephAdmin(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) CephClient(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) CephInitMon(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) CephUserPool(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) CinderAPI(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) CinderVolume(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) ConfigureStorageNetwork(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) Dashboard(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) Designate(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) DistSwiftRingConf(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) FinalizeSwift(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) FormatDiskForSwift(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) GetCephKey(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) Glance(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) Heat(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) InitSwiftRings(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) Keystone(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) KvmToDocker(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) LBOptimize(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) LoadBalancer(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) MariadbCluster(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) NovaComputes(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) NovaController(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) NovaNetwork(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) PrepareBasicEnvirionment(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) RabbtmqCluster(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) RestartCephDeps(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) SwiftProxy(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) SwiftStorage(r *http.Request, args *Args, result *Result) error
- func (o *OpenStack) SyncCephKey(r *http.Request, args *Args, result *Result) error
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStack ¶
type OpenStack struct{}
OpenStack API.
func (*OpenStack) AddOSD ¶
AddOSD add the Ceph OSDs.
Args: {"NodeSlice[0]": string, "NodeSlice[1]": string}
func (*OpenStack) CephInitMon ¶
CephInitMon deploy the Ceph initial monitor.
func (*OpenStack) CephUserPool ¶
CephUserPool creates the cinder ceph user and pool name.
func (*OpenStack) CinderVolume ¶
CinderVolume deploy cinder-volume on controller node(ceph backend).
Args: {"HostName": string}
func (*OpenStack) ConfigureStorageNetwork ¶
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) DistSwiftRingConf ¶
DistSwiftRingConf destribute Swift ring configuration files.
func (*OpenStack) FinalizeSwift ¶
FinalizeSwift finalize Swift installation.
Args: {"Hosts": string}
func (*OpenStack) FormatDiskForSwift ¶
FormatDiskForSwift formats devices for Swift Storage (sdb1 and sdc1).
Args: {"HostName": string}
func (*OpenStack) GetCephKey ¶
GetCephKey add Ceph initial monitors and gather the keys.
func (*OpenStack) InitSwiftRings ¶
InitSwiftRings initial Swift rings.
Args: {"SwiftStorageStorageIP[0]": string, "SwiftStorageStorageIP[1]": string}
func (*OpenStack) Keystone ¶
Keystone method deploy the Keystone components.
Args: {"HostName": string, }
func (*OpenStack) KvmToDocker ¶
KvmToDocker converts kvm to docker(OPTIONAL).
func (*OpenStack) LBOptimize ¶
LBOptimize optimizing load balancer.
func (*OpenStack) LoadBalancer ¶
LoadBalancer deploy a HAProxy and Keepalived for OpenStack HA.
Args: {"HostName": string, "RouterID": string, "State": string, "Priority": int}
func (*OpenStack) MariadbCluster ¶
MariadbCluster deploy MariaDB Cluster.
Args: {"HostName": string, "MyIP": string}
func (*OpenStack) NovaComputes ¶
NovaComputes deploy Nova computes.
Args: {"HostName": string, "MyIP": string}
func (*OpenStack) NovaController ¶
NovaController deploy Nova controller.
Args: {"HostName": string}
func (*OpenStack) NovaNetwork ¶
NovaNetwork deploy legacy networking nova-network(FLATdhcp Only).
Args: {"HostName": string, "MyIP": string}
func (*OpenStack) PrepareBasicEnvirionment ¶
PrepareBasicEnvirionment prepares OpenStack basic environment.
func (*OpenStack) RabbtmqCluster ¶
RabbtmqCluster deploy RabbitMQ Cluster.
Args: {"HostName": string}
func (*OpenStack) RestartCephDeps ¶
RestartCephDeps restart volume service dependency to take effect for ceph backend.