testing

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

networkipavailabilities unit tests

Index

Constants

View Source
const NetworkIPAvailabilityGetResult = `` /* 634-byte string literal not displayed */

NetworkIPAvailabilityGetResult represents raw server response from a server to a get call.

View Source
const NetworkIPAvailabilityListResult = `` /* 1739-byte string literal not displayed */

NetworkIPAvailabilityListResult represents raw server response from a server to a list call.

Variables

View Source
var NetworkIPAvailability1 = networkipavailabilities.NetworkIPAvailability{
	NetworkID:   "080ee064-036d-405a-a307-3bde4a213a1b",
	NetworkName: "private",
	ProjectID:   "fb57277ef2f84a0e85b9018ec2dedbf7",
	TenantID:    "fb57277ef2f84a0e85b9018ec2dedbf7",
	TotalIPs:    "122",
	UsedIPs:     "14",
	SubnetIPAvailabilities: []networkipavailabilities.SubnetIPAvailability{
		{
			SubnetID:   "497ac4d3-0b92-42cf-82de-71302ab2b656",
			SubnetName: "ipv6-private-subnet",
			CIDR:       "fdbc:bf53:567e::/64",
			IPVersion:  int(gophercloud.IPv6),
			TotalIPs:   "18446744073709552000",
			UsedIPs:    "2",
		},
		{
			SubnetID:   "521f47e7-c4fb-452c-b71a-851da38cc571",
			SubnetName: "private-subnet",
			CIDR:       "10.0.0.0/26",
			IPVersion:  int(gophercloud.IPv4),
			TotalIPs:   "61",
			UsedIPs:    "2",
		},
	},
}

NetworkIPAvailability1 is an expected representation of a first object from the ResourceListResult.

View Source
var NetworkIPAvailability2 = networkipavailabilities.NetworkIPAvailability{
	NetworkID:   "cf11ab78-2302-49fa-870f-851a08c7afb8",
	NetworkName: "public",
	ProjectID:   "424e7cf0243c468ca61732ba45973b3e",
	TenantID:    "424e7cf0243c468ca61732ba45973b3e",
	TotalIPs:    "253",
	UsedIPs:     "3",
	SubnetIPAvailabilities: []networkipavailabilities.SubnetIPAvailability{
		{
			SubnetID:   "4afe6e5f-9649-40db-b18f-64c7ead942bd",
			SubnetName: "public-subnet",
			CIDR:       "203.0.113.0/24",
			IPVersion:  int(gophercloud.IPv4),
			TotalIPs:   "253",
			UsedIPs:    "3",
		},
	},
}

NetworkIPAvailability2 is an expected representation of a first object from the ResourceListResult.

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