ProductOpenStackManager
extends ProductOpenStackManagerAbstraction
in package
Table of Contents
- $emailDomain : string
- $namePrefix : string
- __construct() : mixed
- The class constructor
- addDefaultRoles() : bool
- Given a pair of User / Project, this function will populate the default Open Stack Roles
- addProject() : Project
- This function will create a new project under the specified ProductOpenStack
- addUser() : User
- This function will create a new user under the specified ProductOpenStack
- suspend() : bool
- Suspend all services related to the provided ProductOpenStack
- terminate() : bool
- Terminate all services related to the provided ProductOpenStack
- unsuspend() : bool
- Unsuspend all services related to the provided ProductOpenStack
Properties
$emailDomain
protected
string
$emailDomain
$namePrefix
protected
string
$namePrefix
Methods
__construct()
The class constructor
public
__construct() : mixed
Return values
mixed —addDefaultRoles()
Given a pair of User / Project, this function will populate the default Open Stack Roles
public
addDefaultRoles(Project $project, User $user) : bool
Parameters
Tags
Return values
bool —addProject()
This function will create a new project under the specified ProductOpenStack
public
addProject(ProductOpenStack $productOpenStack, Domain $domain, string $nameSuffix[, string $label = null ]) : Project
Parameters
- $productOpenStack : ProductOpenStack
- $domain : Domain
- $nameSuffix : string
- $label : string = null
Tags
Return values
Project —addUser()
This function will create a new user under the specified ProductOpenStack
public
addUser(ProductOpenStack $productOpenStack, Domain $domain, Project $project, string $nameSuffix) : User
Parameters
- $productOpenStack : ProductOpenStack
- $domain : Domain
- $project : Project
- $nameSuffix : string
Tags
Return values
User —suspend()
Suspend all services related to the provided ProductOpenStack
public
suspend(ProductOpenStack $productOpenStack) : bool
Parameters
- $productOpenStack : ProductOpenStack
Return values
bool —terminate()
Terminate all services related to the provided ProductOpenStack
public
terminate(ProductOpenStack $productOpenStack) : bool
Parameters
- $productOpenStack : ProductOpenStack
Return values
bool —unsuspend()
Unsuspend all services related to the provided ProductOpenStack
public
unsuspend(ProductOpenStack $productOpenStack) : bool
Parameters
- $productOpenStack : ProductOpenStack