Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreateAction = "create" UpdateAction = "update" DeleteAction = "delete" ProvisionProvisioningAction = "PROVISION" ImportProvisioningAction = "IMPORT" TestIntrospectionDir = "./test_data/introspection" )
Cloud deployer related constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaremetalServer ¶
type BaremetalServer struct { IMPMIAddress string `json:"ipmi_address"` NumaTopology *NumaTopology `json:"numa_topology"` }
BaremetalServer is the ironic introspected server
type Config ¶
type Config struct { // http client of api server APIServer *client.HTTP // UUID of resource to be managed. ResourceID string // Action to the performed with the resource (values: create, update, delete). Action string // Logging level LogLevel string // Logging file LogFile string // Template root directory TemplateRoot string // Optional Test var to run command in test mode Test bool // Work root directory WorkRoot string }
Config represents Command configuration.
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data is the representation of cloud manager details.
type NumaTopology ¶
type NumaTopology struct {
Nics []*Nic `json:"nics"`
}
NumaTopology is the Nic topology of the server
type OvercloudNetworkData ¶
type OvercloudNetworkData struct {
// contains filtered or unexported fields
}
OvercloudNetworkData is the representation of overcloud network details.
func NewOvercloudNetworkData ¶
func NewOvercloudNetworkData(overcloudNetwork *models.RhospdOvercloudNetwork, apiClient *client.HTTP) *OvercloudNetworkData
NewOvercloudNetworkData creates a undercloud data
type UnderCloud ¶
UnderCloud represents contrail undercloud manager
func NewUnderCloud ¶
func NewUnderCloud(c *Config) (*UnderCloud, error)
NewUnderCloud creates UnderCloud with given configuration.
func (*UnderCloud) GetDeployer ¶
func (u *UnderCloud) GetDeployer() (base.Deployer, error)
GetDeployer creates new deployer based on the type
Click to show internal directories.
Click to hide internal directories.