Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListDVSwitchResponse ¶
type ListDVSwitchResponse struct {
DVSwitchs []DVSwitch `json:"dvSwitchs"`
}
type ListPortGroupResponse ¶
type ListPortGroupResponse struct {
PortGroups []PortGroup `json:"portGroups"`
}
type Manager ¶
type Manager interface {
ListDVSwitch() ([]DVSwitch, error)
ListPortGroupBySwitch(dvSwitchIdUri string) ([]PortGroup, error)
ListPortGroupInUseIp(portGroupUrn string) ([]string, error)
ListPortGroup() ([]PortGroup, error)
}
func NewManager ¶
func NewManager(client client.FusionComputeClient, siteUri string) Manager
type PortGroup ¶
type PortGroup struct {
Urn string `json:"urn"`
Uri string `json:"uri"`
Name string `json:"name"`
Description string `json:"description"`
IsDhcpIsolation bool `json:"isDhcpIsolation"`
VlanId int `json:"vlanId"`
TxLimit int `json:"txLimit"`
Priority int `json:"priority"`
IsIpMacBind bool `json:"isIpMacBind"`
PortType int `json:"portType"`
TxPeakLimit int `json:"txPeakLimit"`
TxBurstSize int `json:"txBurstSize"`
RxLimit int `json:"rxLimit"`
RxPeakLimit int `json:"rxPeakLimit"`
RxBurstSize int `json:"rxBurstSize"`
TxWeight int `json:"txWeight"`
IpBcstSuppress int `json:"ipBcstSuppress"`
IsCalcTCPCheckSum bool `json:"isCalcTcpCheckSum"`
IsQinQEnable bool `json:"isQinQEnable"`
}
Click to show internal directories.
Click to hide internal directories.