Documentation
¶
Overview ¶
Package testing for bgpvpns
Index ¶
Constants ¶
View Source
const CreateNetworkAssociationRequest = `
{
"network_association": {
"network_id": "8c5d88dc-60ac-4b02-a65a-36b65888ddcd"
}
}
`
View Source
const CreateNetworkAssociationResponse = `` /* 250-byte string literal not displayed */
View Source
const CreatePortAssociationRequest = `
{
"port_association": {
"port_id": "8c5d88dc-60ac-4b02-a65a-36b65888ddcd"
}
}
`
View Source
const CreatePortAssociationResponse = `` /* 277-byte string literal not displayed */
View Source
const CreateRequest = `` /* 295-byte string literal not displayed */
View Source
const CreateResponse = `` /* 538-byte string literal not displayed */
View Source
const CreateRouterAssociationRequest = `
{
"router_association": {
"router_id": "8c5d88dc-60ac-4b02-a65a-36b65888ddcd"
}
}
`
View Source
const CreateRouterAssociationResponse = `` /* 284-byte string literal not displayed */
View Source
const GetBGPVPNResult = `` /* 516-byte string literal not displayed */
View Source
const GetNetworkAssociationResult = `` /* 250-byte string literal not displayed */
View Source
const GetPortAssociationResult = `` /* 277-byte string literal not displayed */
View Source
const GetRouterAssociationResult = `` /* 248-byte string literal not displayed */
View Source
const ListBGPVPNsResult = `` /* 597-byte string literal not displayed */
View Source
const ListNetworkAssociationsResult = `` /* 271-byte string literal not displayed */
View Source
const ListPortAssociationsResult = `` /* 300-byte string literal not displayed */
View Source
const ListRouterAssociationsResult = `` /* 269-byte string literal not displayed */
View Source
const UpdateBGPVPNRequest = `` /* 146-byte string literal not displayed */
View Source
const UpdateBGPVPNResponse = `` /* 387-byte string literal not displayed */
View Source
const UpdatePortAssociationRequest = `
{
"port_association": {
"advertise_fixed_ips": false
}
}
`
View Source
const UpdatePortAssociationResponse = `` /* 278-byte string literal not displayed */
View Source
const UpdateRouterAssociationRequest = `
{
"router_association": {
"advertise_extra_routes": false
}
}
`
View Source
const UpdateRouterAssociationResponse = `` /* 248-byte string literal not displayed */
Variables ¶
View Source
var BGPVPN = bgpvpns.BGPVPN{ ID: "0f9d472a-908f-40f5-8574-b4e8a63ccbf0", Name: "", RouteDistinguishers: []string{"64512:1777", "64512:1888", "64512:1999"}, RouteTargets: []string{"64512:1444"}, ImportTargets: []string{"64512:1555"}, ExportTargets: []string{"64512:1666"}, LocalPref: nil, VNI: 1000, TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", Type: "l3", Routers: []string{}, Networks: []string{}, }
View Source
var CreateBGPVPN = bgpvpns.BGPVPN{ ID: "0f9d472a-908f-40f5-8574-b4e8a63ccbf0", RouteDistinguishers: []string{ "64512:1777", "64512:1888", "64512:1999", }, RouteTargets: []string{"64512:1444"}, ImportTargets: []string{"64512:1555"}, ExportTargets: []string{"64512:1666"}, LocalPref: nil, VNI: 1000, TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", Type: "l3", Routers: []string{}, Networks: []string{}, }
View Source
var CreateNetworkAssociation = bgpvpns.NetworkAssociation{
ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730",
NetworkID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd",
TenantID: "b7549121395844bea941bb92feb3fad9",
ProjectID: "b7549121395844bea941bb92feb3fad9",
}
View Source
var CreatePortAssociation = bgpvpns.PortAssociation{ ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730", PortID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", AdvertiseFixedIPs: true, }
View Source
var CreateRouterAssociation = bgpvpns.RouterAssociation{ ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730", RouterID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", AdvertiseExtraRoutes: true, }
View Source
var GetBGPVPN = bgpvpns.BGPVPN{ ID: "460ac411-3dfb-45bb-8116-ed1a7233d143", Name: "foo", RouteDistinguishers: []string{}, RouteTargets: []string{"64512:1444"}, ImportTargets: []string{}, ExportTargets: []string{}, LocalPref: nil, VNI: 1000, TenantID: "f94ea398564d49dfb0d542f086c68ce7", ProjectID: "f94ea398564d49dfb0d542f086c68ce7", Type: "l3", Routers: []string{}, Networks: []string{"a4f2b8df-cb42-4893-a333-d0b5c36ade17"}, }
View Source
var GetNetworkAssociation = bgpvpns.NetworkAssociation{
ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730",
NetworkID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd",
TenantID: "b7549121395844bea941bb92feb3fad9",
ProjectID: "b7549121395844bea941bb92feb3fad9",
}
View Source
var GetPortAssociation = bgpvpns.PortAssociation{ ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730", PortID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", AdvertiseFixedIPs: true, }
View Source
var GetRouterAssociation = bgpvpns.RouterAssociation{
ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730",
RouterID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd",
TenantID: "b7549121395844bea941bb92feb3fad9",
ProjectID: "b7549121395844bea941bb92feb3fad9",
}
View Source
var NetworkAssociation = bgpvpns.NetworkAssociation{
ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730",
NetworkID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd",
TenantID: "b7549121395844bea941bb92feb3fad9",
ProjectID: "b7549121395844bea941bb92feb3fad9",
}
View Source
var PortAssociation = bgpvpns.PortAssociation{ ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730", PortID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", AdvertiseFixedIPs: true, }
View Source
var RouterAssociation = bgpvpns.RouterAssociation{
ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730",
RouterID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd",
TenantID: "b7549121395844bea941bb92feb3fad9",
ProjectID: "b7549121395844bea941bb92feb3fad9",
}
View Source
var UpdatePortAssociation = bgpvpns.PortAssociation{ ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730", PortID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", AdvertiseFixedIPs: false, }
View Source
var UpdateRouterAssociation = bgpvpns.RouterAssociation{ ID: "73238ca1-e05d-4c7a-b4d4-70407b4b8730", RouterID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", TenantID: "b7549121395844bea941bb92feb3fad9", ProjectID: "b7549121395844bea941bb92feb3fad9", AdvertiseExtraRoutes: false, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.