Documentation ¶
Index ¶
- func GetAgent(client *gophercloud.ServiceClient, agentType string, host string) (*agents.Agent, error)
- func GetConfig() (*ini.File, error)
- func GetHost(cfg *ini.File) (string, error)
- func GetSubnetsWithDHCPEnabled(client *gophercloud.ServiceClient, networkId string) ([]subnets.Subnet, error)
- type Keystone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgent ¶
func GetAgent(client *gophercloud.ServiceClient, agentType string, host string) (*agents.Agent, error)
GetAgent get a specific neutron agent for agentType and host
func GetConfig ¶
func GetConfig() (*ini.File, error)
GetConfig parses ini files from "--config-file" command line options and returns the parsed ini cfg
func GetSubnetsWithDHCPEnabled ¶
func GetSubnetsWithDHCPEnabled(client *gophercloud.ServiceClient, networkId string) ([]subnets.Subnet, error)
Types ¶
type Keystone ¶
type Keystone struct { Provider *gophercloud.ProviderClient Eo gophercloud.EndpointOpts }
Keystone is a container for keystone provider and endpoint config
func GetKeystone ¶
GetKeystone uses parsed ini file cfg and authenticates against Keystone with the [keystone_authtoken] credentials
Click to show internal directories.
Click to hide internal directories.