Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEVICE_OWNER_VM_PRE = "compute" DEVICE_OWNER_VM = "compute:nova" DEVICE_OWNER_ROUTER_GW = "network:router_gateway" DEVICE_OWNER_ROUTER_IFACE = "network:router_interface" DEVICE_OWNER_FLOATING_IP = "network:floatingip" DEVICE_OWNER_DHCP = "network:dhcp" DEVICE_OWNER_NAT_GATEWAY = "network:nat_gateway" )
Variables ¶
View Source
var STATE_CONVERTION = map[string]int{ "ACTIVE": common.VM_STATE_RUNNING, "SHUTOFF": common.VM_STATE_STOPPED, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RegionLcuuid string AccountName string ProjectID string ProjectName string IAMName string Password string ExcludeRegions []string IncludeRegions []string // 用于API访问,需与DeepFlow自身domain做区分 URLDomain string }
func (*Config) LoadFromString ¶
type HuaWei ¶
type HuaWei struct {
// contains filtered or unexported fields
}
func (*HuaWei) ClearDebugLog ¶
func (h *HuaWei) ClearDebugLog()
func (*HuaWei) GetStatter ¶
func (h *HuaWei) GetStatter() statsd.StatsdStatter
type ProjectSecurityGroupKey ¶
type ProjectSecurityGroupKey struct {
// contains filtered or unexported fields
}
type SubnetIPKey ¶
type ToolDataSet ¶
type ToolDataSet struct {
// contains filtered or unexported fields
}
func NewToolDataSet ¶
func NewToolDataSet() *ToolDataSet
Click to show internal directories.
Click to hide internal directories.