registry

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 23

Documentation

Index

Constants

View Source
const (
	// AntreaEnterpriseID is the enterprise ID for Antrea Information Elements
	AntreaEnterpriseID uint32 = 56506
	// IANAEnterpriseID is the enterprise ID for IANA Information Elements
	IANAEnterpriseID uint32 = 0
	// Enterprise ID for reverse Information Elements
	IANAReversedEnterpriseID uint32 = 29305
)
View Source
const (
	IntraNode    = uint8(1)
	InterNode    = uint8(2)
	ToExternal   = uint8(3)
	FromExternal = uint8(4)
)

enum for flowType field in Antrea registry.

View Source
const (
	IdleTimeoutReason   = uint8(0x01)
	ActiveTimeoutReason = uint8(0x02)
	EndOfFlowReason     = uint8(0x03)
)

enum for flowEndReason field in IANA registry. List of RFC supported reasons: https://www.iana.org/assignments/ipfix/ipfix.xhtml#ipfix-flow-end-reason

Variables

This section is empty.

Functions

func GetInfoElement added in v0.2.0

func GetInfoElement(name string, enterpriseID uint32) (*entities.InfoElement, error)

func GetInfoElementFromID added in v0.2.0

func GetInfoElementFromID(elementID uint16, enterpriseID uint32) (*entities.InfoElement, error)

func LoadRegistry added in v0.2.0

func LoadRegistry()

Types

This section is empty.

Jump to

Keyboard shortcuts

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