Documentation ¶
Overview ¶
trunks unit tests
Index ¶
Constants ¶
View Source
const AddSubportsRequest = ListSubportsResponse
View Source
const AddSubportsResponse = `` /* 732-byte string literal not displayed */
View Source
const CreateNoSubportsRequest = `` /* 202-byte string literal not displayed */
View Source
const CreateNoSubportsResponse = `` /* 509-byte string literal not displayed */
View Source
const CreateRequest = `` /* 490-byte string literal not displayed */
View Source
const CreateResponse = `` /* 797-byte string literal not displayed */
View Source
const GetResponse = `` /* 797-byte string literal not displayed */
View Source
const ListResponse = `` /* 1512-byte string literal not displayed */
View Source
const ListSubportsResponse = `` /* 288-byte string literal not displayed */
View Source
const RemoveSubportsRequest = `` /* 162-byte string literal not displayed */
View Source
const RemoveSubportsResponse = `` /* 466-byte string literal not displayed */
View Source
const UpdateRequest = `` /* 141-byte string literal not displayed */
View Source
const UpdateResponse = `` /* 812-byte string literal not displayed */
Variables ¶
View Source
var ExpectedSubports = []trunks.Subport{
{
PortID: "28e452d7-4f8a-4be4-b1e6-7f3db4c0430b",
SegmentationID: 1,
SegmentationType: "vlan",
},
{
PortID: "4c8b2bff-9824-4d4c-9b60-b3f6621b2bab",
SegmentationID: 2,
SegmentationType: "vlan",
},
}
Functions ¶
func ExpectedTrunkSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.