testing

package
v1.1.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

subnetpools unit tests

Index

Constants

View Source
const SubnetPoolCreateRequest = `` /* 317-byte string literal not displayed */
View Source
const SubnetPoolCreateResult = `` /* 757-byte string literal not displayed */
View Source
const SubnetPoolGetResult = `` /* 692-byte string literal not displayed */
View Source
const SubnetPoolUpdateRequest = `` /* 274-byte string literal not displayed */
View Source
const SubnetPoolUpdateResponse = `` /* 679-byte string literal not displayed */
View Source
const SubnetPoolsListResult = `` /* 2404-byte string literal not displayed */

Variables

View Source
var SubnetPool1 = subnetpools.SubnetPool{
	AddressScopeID:   "",
	CreatedAt:        time.Date(2017, 12, 28, 7, 21, 41, 0, time.UTC),
	DefaultPrefixLen: 8,
	DefaultQuota:     0,
	Description:      "IPv4",
	ID:               "d43a57fe-3390-4608-b437-b1307b0adb40",
	IPversion:        4,
	IsDefault:        false,
	MaxPrefixLen:     32,
	MinPrefixLen:     8,
	Name:             "MyPoolIpv4",
	Prefixes: []string{
		"10.10.10.0/24",
		"10.11.11.0/24",
	},
	ProjectID:      "1e2b9857295a4a3e841809ef492812c5",
	TenantID:       "1e2b9857295a4a3e841809ef492812c5",
	RevisionNumber: 1,
	Shared:         false,
	UpdatedAt:      time.Date(2017, 12, 28, 7, 21, 41, 0, time.UTC),
}
View Source
var SubnetPool2 = subnetpools.SubnetPool{
	AddressScopeID:   "0bc38e22-be49-4e67-969e-fec3f36508bd",
	CreatedAt:        time.Date(2017, 12, 28, 7, 21, 34, 0, time.UTC),
	DefaultPrefixLen: 64,
	DefaultQuota:     0,
	Description:      "IPv6",
	ID:               "832cb7f3-59fe-40cf-8f64-8350ffc03272",
	IPversion:        6,
	IsDefault:        true,
	MaxPrefixLen:     128,
	MinPrefixLen:     64,
	Name:             "MyPoolIpv6",
	Prefixes: []string{
		"fdf7:b13d:dead:beef::/64",
		"fd65:86cc:a334:39b7::/64",
	},
	ProjectID:      "1e2b9857295a4a3e841809ef492812c5",
	TenantID:       "1e2b9857295a4a3e841809ef492812c5",
	RevisionNumber: 1,
	Shared:         false,
	UpdatedAt:      time.Date(2017, 12, 28, 7, 21, 34, 0, time.UTC),
}
View Source
var SubnetPool3 = subnetpools.SubnetPool{
	AddressScopeID:   "",
	CreatedAt:        time.Date(2017, 12, 28, 7, 21, 27, 0, time.UTC),
	DefaultPrefixLen: 64,
	DefaultQuota:     4,
	Description:      "PublicPool",
	ID:               "2fe18ae6-58c2-4a85-8bfb-566d6426749b",
	IPversion:        6,
	IsDefault:        false,
	MaxPrefixLen:     128,
	MinPrefixLen:     64,
	Name:             "PublicIPv6",
	Prefixes: []string{
		"2001:db8::a3/64",
	},
	ProjectID:      "ceb366d50ad54fe39717df3af60f9945",
	TenantID:       "ceb366d50ad54fe39717df3af60f9945",
	RevisionNumber: 1,
	Shared:         true,
	UpdatedAt:      time.Date(2017, 12, 28, 7, 21, 27, 0, time.UTC),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL