v1.12.0
This commit is contained in:
59
pkg/cloudapi/trunk/models.go
Normal file
59
pkg/cloudapi/trunk/models.go
Normal file
@@ -0,0 +1,59 @@
|
||||
package trunk
|
||||
|
||||
type ItemTrunk struct {
|
||||
|
||||
// List of account IDs with access to this trunk
|
||||
AccountIDs []uint64 `json:"accountIds"`
|
||||
|
||||
// Created at
|
||||
CreatedAt uint64 `json:"created_at"`
|
||||
|
||||
// Created by
|
||||
CreatedBy string `json:"created_by"`
|
||||
|
||||
// Deleted at
|
||||
DeletedAt uint64 `json:"deleted_at"`
|
||||
|
||||
// Deleted by
|
||||
DeletedBy string `json:"deleted_by"`
|
||||
|
||||
// Description of a trunk
|
||||
Description string `json:"description"`
|
||||
|
||||
// GUID
|
||||
GUID uint64 `json:"guid"`
|
||||
|
||||
// ID of a trunk
|
||||
ID uint64 `json:"id"`
|
||||
|
||||
// MAC
|
||||
MAC string `json:"mac"`
|
||||
|
||||
// Name of a trunk
|
||||
Name string `json:"name"`
|
||||
|
||||
// Native VLAN ID
|
||||
NativeVLANID uint64 `json:"nativeVlanId"`
|
||||
|
||||
// OVS bridge name
|
||||
OVSBridge string `json:"ovsBridge"`
|
||||
|
||||
// If the trunk is enabled
|
||||
Status string `json:"status"`
|
||||
|
||||
// List of trunk tags (values between 1-4095)
|
||||
TrunkTags string `json:"trunkTags"`
|
||||
|
||||
// Updated at
|
||||
UpdatedAt uint64 `json:"updated_at"`
|
||||
|
||||
// Updated by
|
||||
UpdatedBy string `json:"updated_by"`
|
||||
}
|
||||
|
||||
// List of trunks
|
||||
type ListTrunks struct {
|
||||
Data []ItemTrunk `json:"data"`
|
||||
|
||||
EntryCount uint64 `json:"entryCount"`
|
||||
}
|
||||
Reference in New Issue
Block a user