You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.0 KiB
60 lines
1.0 KiB
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"`
|
|
}
|