constants

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvApiTimeout            = "APSTRA_API_TIMEOUT"
	EnvBlueprintMutexEnabled = "APSTRA_BLUEPRINT_MUTEX_ENABLED"
	EnvBlueprintMutexMessage = "APSTRA_BLUEPRINT_MUTEX_MESSAGE"
	EnvExperimental          = "APSTRA_EXPERIMENTAL"
	EnvLogfile               = "APSTRA_LOG"
	EnvPassword              = "APSTRA_PASS"
	EnvTlsNoVerify           = "APSTRA_TLS_VALIDATION_DISABLED"
	EnvUrl                   = "APSTRA_URL"
	EnvUsername              = "APSTRA_USER"
)
View Source
const (
	ErrApiGetWithTypeAndId   = "API error getting %s %q"
	ErrApiPatchWithTypeAndId = "API error patching %s %q"
	ErrProviderBug           = "Provider Bug. Please report this issue to the provider maintainers."
	ErrInvalidConfig         = "invalid configuration"
	ErrStringParse           = "failed to parse string value"
)
View Source
const (
	AsnMin = 1
	AsnMax = math.MaxUint32

	BgpHoldMin = 1
	BgpHoldMax = math.MaxUint16

	BgpKeepaliveMin = 1
	BgpKeepaliveMax = math.MaxUint16

	HoldTimeMin = 3
	HoldTimeMax = math.MaxUint16

	KeepaliveTimeMin = 1
	KeepaliveTimeMax = HoldTimeMax / 3

	L3MtuMin = 1280
	L3MtuMax = 9216

	TtlMin = 1
	TtlMax = math.MaxUint8

	VlanMinUsable = 2
	VlanMaxUsable = 4094

	VniMin = 4096
	VniMax = 16777214
)

Variables

This section is empty.

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