Documentation ¶
Overview ¶
gateway_interfaces unit tests
Index ¶
Constants ¶
View Source
const CreateRequest = `` /* 352-byte string literal not displayed */
View Source
const CreateResponse = `` /* 682-byte string literal not displayed */
View Source
const GetResponse = `` /* 682-byte string literal not displayed */
View Source
const ListResponse = `` /* 1449-byte string literal not displayed */
View Source
const UpdateRequest = `
{
"gw_interface": {
"description": "Updated",
"name": "6_Gateway"
}
}`
View Source
const UpdateResponse = `` /* 689-byte string literal not displayed */
Variables ¶
View Source
var ExpectedGatewayInterfaceSlice = []gateway_interfaces.GatewayInterface{GatewayInterface1, GatewayInterface2}
View Source
var GatewayInterface1 = gateway_interfaces.GatewayInterface{
Description: "",
GwVipv4: "100.127.254.49",
ID: "09771fbb-6496-4ae1-9b53-226b6edcc1be",
InternetGwID: "e72ef35a-c96f-45f8-aeee-e7547c5b94b3",
Name: "5_Gateway",
Netmask: 29,
NetworkID: "0200a550-82cf-4d6d-b564-a87eb63e2b75",
PrimaryIpv4: "100.127.254.53",
SecondaryIpv4: "100.127.254.54",
ServiceType: "internet",
Status: "PENDING_CREATE",
TenantID: "19ab165c7a664abe9c217334cd0e9cc9",
VRID: 1,
}
View Source
var GatewayInterface2 = gateway_interfaces.GatewayInterface{
Description: "lab3-test-user-fic-gateway-interface, role : member",
FICGatewayID: "dd04adc4-459f-4fc4-83a5-47436c6aece5",
GwVipv4: "100.127.254.1",
ID: "165ed64c-b9d4-46b1-afc1-cbbdc356ddcb",
Name: "lab3-hara-cfg-20151204",
Netmask: 29,
NetworkID: "cce5c9a1-1ec3-40b1-bfc7-634bb914646b",
PrimaryIpv4: "100.127.254.3",
SecondaryIpv4: "100.127.254.4",
ServiceType: "fic",
Status: "ACTIVE",
TenantID: "fe1f6fb95b0e48ba8c59be2121a58adc",
VRID: 10,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.