models

package
v0.0.0-...-8fe3866 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (

	// BlockDeviceStateUninitialized captures enum value "uninitialized"
	BlockDeviceStateUninitialized string = "uninitialized"

	// BlockDeviceStateInitializing captures enum value "initializing"
	BlockDeviceStateInitializing string = "initializing"

	// BlockDeviceStateReady captures enum value "ready"
	BlockDeviceStateReady string = "ready"
)
View Source
const (

	// BlockFileStateNone captures enum value "none"
	BlockFileStateNone string = "none"

	// BlockFileStateInit captures enum value "init"
	BlockFileStateInit string = "init"

	// BlockFileStateReady captures enum value "ready"
	BlockFileStateReady string = "ready"
)
View Source
const (

	// BlockGeneratorConfigPatternRandom captures enum value "random"
	BlockGeneratorConfigPatternRandom string = "random"

	// BlockGeneratorConfigPatternSequential captures enum value "sequential"
	BlockGeneratorConfigPatternSequential string = "sequential"

	// BlockGeneratorConfigPatternReverse captures enum value "reverse"
	BlockGeneratorConfigPatternReverse string = "reverse"
)
View Source
const (

	// CPUGeneratorConfigMethodSystem captures enum value "system"
	CPUGeneratorConfigMethodSystem string = "system"

	// CPUGeneratorConfigMethodCores captures enum value "cores"
	CPUGeneratorConfigMethodCores string = "cores"
)
View Source
const (

	// CPUGeneratorCoreConfigTargetsItems0DataTypeInt32 captures enum value "int32"
	CPUGeneratorCoreConfigTargetsItems0DataTypeInt32 string = "int32"

	// CPUGeneratorCoreConfigTargetsItems0DataTypeInt64 captures enum value "int64"
	CPUGeneratorCoreConfigTargetsItems0DataTypeInt64 string = "int64"

	// CPUGeneratorCoreConfigTargetsItems0DataTypeFloat32 captures enum value "float32"
	CPUGeneratorCoreConfigTargetsItems0DataTypeFloat32 string = "float32"

	// CPUGeneratorCoreConfigTargetsItems0DataTypeFloat64 captures enum value "float64"
	CPUGeneratorCoreConfigTargetsItems0DataTypeFloat64 string = "float64"
)
View Source
const (

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetScalar captures enum value "scalar"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetScalar string = "scalar"

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetSse2 captures enum value "sse2"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetSse2 string = "sse2"

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetSse4 captures enum value "sse4"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetSse4 string = "sse4"

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetAvx captures enum value "avx"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetAvx string = "avx"

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetAvx2 captures enum value "avx2"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetAvx2 string = "avx2"

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetAvx512 captures enum value "avx512"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetAvx512 string = "avx512"

	// CPUGeneratorCoreConfigTargetsItems0InstructionSetNeon captures enum value "neon"
	CPUGeneratorCoreConfigTargetsItems0InstructionSetNeon string = "neon"
)
View Source
const (

	// CPUGeneratorTargetStatsDataTypeInt32 captures enum value "int32"
	CPUGeneratorTargetStatsDataTypeInt32 string = "int32"

	// CPUGeneratorTargetStatsDataTypeInt64 captures enum value "int64"
	CPUGeneratorTargetStatsDataTypeInt64 string = "int64"

	// CPUGeneratorTargetStatsDataTypeFloat32 captures enum value "float32"
	CPUGeneratorTargetStatsDataTypeFloat32 string = "float32"

	// CPUGeneratorTargetStatsDataTypeFloat64 captures enum value "float64"
	CPUGeneratorTargetStatsDataTypeFloat64 string = "float64"
)
View Source
const (

	// CPUGeneratorTargetStatsInstructionSetScalar captures enum value "scalar"
	CPUGeneratorTargetStatsInstructionSetScalar string = "scalar"

	// CPUGeneratorTargetStatsInstructionSetSse2 captures enum value "sse2"
	CPUGeneratorTargetStatsInstructionSetSse2 string = "sse2"

	// CPUGeneratorTargetStatsInstructionSetSse4 captures enum value "sse4"
	CPUGeneratorTargetStatsInstructionSetSse4 string = "sse4"

	// CPUGeneratorTargetStatsInstructionSetAvx captures enum value "avx"
	CPUGeneratorTargetStatsInstructionSetAvx string = "avx"

	// CPUGeneratorTargetStatsInstructionSetAvx2 captures enum value "avx2"
	CPUGeneratorTargetStatsInstructionSetAvx2 string = "avx2"

	// CPUGeneratorTargetStatsInstructionSetAvx512 captures enum value "avx512"
	CPUGeneratorTargetStatsInstructionSetAvx512 string = "avx512"

	// CPUGeneratorTargetStatsInstructionSetNeon captures enum value "neon"
	CPUGeneratorTargetStatsInstructionSetNeon string = "neon"
)
View Source
const (

	// InterfaceProtocolConfigIPV4MethodStatic captures enum value "static"
	InterfaceProtocolConfigIPV4MethodStatic string = "static"

	// InterfaceProtocolConfigIPV4MethodDhcp captures enum value "dhcp"
	InterfaceProtocolConfigIPV4MethodDhcp string = "dhcp"

	// InterfaceProtocolConfigIPV4MethodAuto captures enum value "auto"
	InterfaceProtocolConfigIPV4MethodAuto string = "auto"
)
View Source
const (

	// InterfaceProtocolConfigIPV4DhcpStatusStateNone captures enum value "none"
	InterfaceProtocolConfigIPV4DhcpStatusStateNone string = "none"

	// InterfaceProtocolConfigIPV4DhcpStatusStateRebooting captures enum value "rebooting"
	InterfaceProtocolConfigIPV4DhcpStatusStateRebooting string = "rebooting"

	// InterfaceProtocolConfigIPV4DhcpStatusStateInitReboot captures enum value "init_reboot"
	InterfaceProtocolConfigIPV4DhcpStatusStateInitReboot string = "init_reboot"

	// InterfaceProtocolConfigIPV4DhcpStatusStateInit captures enum value "init"
	InterfaceProtocolConfigIPV4DhcpStatusStateInit string = "init"

	// InterfaceProtocolConfigIPV4DhcpStatusStateSelecting captures enum value "selecting"
	InterfaceProtocolConfigIPV4DhcpStatusStateSelecting string = "selecting"

	// InterfaceProtocolConfigIPV4DhcpStatusStateRequesting captures enum value "requesting"
	InterfaceProtocolConfigIPV4DhcpStatusStateRequesting string = "requesting"

	// InterfaceProtocolConfigIPV4DhcpStatusStateChecking captures enum value "checking"
	InterfaceProtocolConfigIPV4DhcpStatusStateChecking string = "checking"

	// InterfaceProtocolConfigIPV4DhcpStatusStateBound captures enum value "bound"
	InterfaceProtocolConfigIPV4DhcpStatusStateBound string = "bound"

	// InterfaceProtocolConfigIPV4DhcpStatusStateRenewing captures enum value "renewing"
	InterfaceProtocolConfigIPV4DhcpStatusStateRenewing string = "renewing"

	// InterfaceProtocolConfigIPV4DhcpStatusStateRebinding captures enum value "rebinding"
	InterfaceProtocolConfigIPV4DhcpStatusStateRebinding string = "rebinding"
)
View Source
const (

	// InterfaceProtocolConfigIPV6MethodStatic captures enum value "static"
	InterfaceProtocolConfigIPV6MethodStatic string = "static"

	// InterfaceProtocolConfigIPV6MethodDhcp6 captures enum value "dhcp6"
	InterfaceProtocolConfigIPV6MethodDhcp6 string = "dhcp6"

	// InterfaceProtocolConfigIPV6MethodAuto captures enum value "auto"
	InterfaceProtocolConfigIPV6MethodAuto string = "auto"
)
View Source
const (

	// IPV6DynamicAddressStatusStateInvalid captures enum value "invalid"
	IPV6DynamicAddressStatusStateInvalid string = "invalid"

	// IPV6DynamicAddressStatusStateTentative captures enum value "tentative"
	IPV6DynamicAddressStatusStateTentative string = "tentative"

	// IPV6DynamicAddressStatusStatePreferred captures enum value "preferred"
	IPV6DynamicAddressStatusStatePreferred string = "preferred"

	// IPV6DynamicAddressStatusStateDeprecated captures enum value "deprecated"
	IPV6DynamicAddressStatusStateDeprecated string = "deprecated"

	// IPV6DynamicAddressStatusStateDuplicated captures enum value "duplicated"
	IPV6DynamicAddressStatusStateDuplicated string = "duplicated"
)
View Source
const (

	// MemoryGeneratorConfigPatternRandom captures enum value "random"
	MemoryGeneratorConfigPatternRandom string = "random"

	// MemoryGeneratorConfigPatternSequential captures enum value "sequential"
	MemoryGeneratorConfigPatternSequential string = "sequential"

	// MemoryGeneratorConfigPatternReverse captures enum value "reverse"
	MemoryGeneratorConfigPatternReverse string = "reverse"
)
View Source
const (

	// ModuleLinkageStatic captures enum value "static"
	ModuleLinkageStatic string = "static"

	// ModuleLinkageDynamic captures enum value "dynamic"
	ModuleLinkageDynamic string = "dynamic"
)
View Source
const (

	// NetworkGeneratorConfigTargetProtocolTCP captures enum value "tcp"
	NetworkGeneratorConfigTargetProtocolTCP string = "tcp"

	// NetworkGeneratorConfigTargetProtocolUDP captures enum value "udp"
	NetworkGeneratorConfigTargetProtocolUDP string = "udp"
)
View Source
const (

	// NetworkServerProtocolTCP captures enum value "tcp"
	NetworkServerProtocolTCP string = "tcp"

	// NetworkServerProtocolUDP captures enum value "udp"
	NetworkServerProtocolUDP string = "udp"
)
View Source
const (

	// PacketCaptureDirectionRx captures enum value "rx"
	PacketCaptureDirectionRx string = "rx"

	// PacketCaptureDirectionTx captures enum value "tx"
	PacketCaptureDirectionTx string = "tx"

	// PacketCaptureDirectionRxAndTx captures enum value "rx_and_tx"
	PacketCaptureDirectionRxAndTx string = "rx_and_tx"
)
View Source
const (

	// PacketCaptureConfigModeBuffer captures enum value "buffer"
	PacketCaptureConfigModeBuffer string = "buffer"

	// PacketCaptureConfigModeLive captures enum value "live"
	PacketCaptureConfigModeLive string = "live"
)
View Source
const (

	// PacketCaptureResultStateStopped captures enum value "stopped"
	PacketCaptureResultStateStopped string = "stopped"

	// PacketCaptureResultStateArmed captures enum value "armed"
	PacketCaptureResultStateArmed string = "armed"

	// PacketCaptureResultStateRunning captures enum value "running"
	PacketCaptureResultStateRunning string = "running"
)
View Source
const (

	// PacketGeneratorLearningUnsupported captures enum value "unsupported"
	PacketGeneratorLearningUnsupported string = "unsupported"

	// PacketGeneratorLearningUnresolved captures enum value "unresolved"
	PacketGeneratorLearningUnresolved string = "unresolved"

	// PacketGeneratorLearningResolving captures enum value "resolving"
	PacketGeneratorLearningResolving string = "resolving"

	// PacketGeneratorLearningResolved captures enum value "resolved"
	PacketGeneratorLearningResolved string = "resolved"

	// PacketGeneratorLearningTimedOut captures enum value "timed_out"
	PacketGeneratorLearningTimedOut string = "timed_out"
)
View Source
const (

	// PacketGeneratorConfigOrderRoundDashRobin captures enum value "round-robin"
	PacketGeneratorConfigOrderRoundDashRobin string = "round-robin"

	// PacketGeneratorConfigOrderSequential captures enum value "sequential"
	PacketGeneratorConfigOrderSequential string = "sequential"
)
View Source
const (

	// PacketGeneratorLearningResultsResolvedStateResolved captures enum value "resolved"
	PacketGeneratorLearningResultsResolvedStateResolved string = "resolved"

	// PacketGeneratorLearningResultsResolvedStateResolving captures enum value "resolving"
	PacketGeneratorLearningResultsResolvedStateResolving string = "resolving"

	// PacketGeneratorLearningResultsResolvedStateTimedOut captures enum value "timed_out"
	PacketGeneratorLearningResultsResolvedStateTimedOut string = "timed_out"

	// PacketGeneratorLearningResultsResolvedStateUnresolved captures enum value "unresolved"
	PacketGeneratorLearningResultsResolvedStateUnresolved string = "unresolved"
)
View Source
const (

	// PacketProtocolCustomLayerEthernet captures enum value "ethernet"
	PacketProtocolCustomLayerEthernet string = "ethernet"

	// PacketProtocolCustomLayerIP captures enum value "ip"
	PacketProtocolCustomLayerIP string = "ip"

	// PacketProtocolCustomLayerProtocol captures enum value "protocol"
	PacketProtocolCustomLayerProtocol string = "protocol"

	// PacketProtocolCustomLayerPayload captures enum value "payload"
	PacketProtocolCustomLayerPayload string = "payload"
)
View Source
const (

	// PacketProtocolIPV4EcnNonEct captures enum value "non_ect"
	PacketProtocolIPV4EcnNonEct string = "non_ect"

	// PacketProtocolIPV4EcnEct0 captures enum value "ect_0"
	PacketProtocolIPV4EcnEct0 string = "ect_0"

	// PacketProtocolIPV4EcnEct1 captures enum value "ect_1"
	PacketProtocolIPV4EcnEct1 string = "ect_1"

	// PacketProtocolIPV4EcnCe captures enum value "ce"
	PacketProtocolIPV4EcnCe string = "ce"
)
View Source
const (

	// PacketProtocolVlanPriorityNetworkControl captures enum value "network_control"
	PacketProtocolVlanPriorityNetworkControl string = "network_control"

	// PacketProtocolVlanPriorityInternetworkControl captures enum value "internetwork_control"
	PacketProtocolVlanPriorityInternetworkControl string = "internetwork_control"

	// PacketProtocolVlanPriorityVoice captures enum value "voice"
	PacketProtocolVlanPriorityVoice string = "voice"

	// PacketProtocolVlanPriorityVideo captures enum value "video"
	PacketProtocolVlanPriorityVideo string = "video"

	// PacketProtocolVlanPriorityCriticalApp captures enum value "critical_app"
	PacketProtocolVlanPriorityCriticalApp string = "critical_app"

	// PacketProtocolVlanPriorityExcellentEffort captures enum value "excellent_effort"
	PacketProtocolVlanPriorityExcellentEffort string = "excellent_effort"

	// PacketProtocolVlanPriorityBackground captures enum value "background"
	PacketProtocolVlanPriorityBackground string = "background"

	// PacketProtocolVlanPriorityBestEffort captures enum value "best_effort"
	PacketProtocolVlanPriorityBestEffort string = "best_effort"
)
View Source
const (

	// PortKindDpdk captures enum value "dpdk"
	PortKindDpdk string = "dpdk"

	// PortKindHost captures enum value "host"
	PortKindHost string = "host"

	// PortKindBond captures enum value "bond"
	PortKindBond string = "bond"
)
View Source
const (

	// PortConfigDpdkLinkDuplexFull captures enum value "full"
	PortConfigDpdkLinkDuplexFull string = "full"

	// PortConfigDpdkLinkDuplexHalf captures enum value "half"
	PortConfigDpdkLinkDuplexHalf string = "half"
)
View Source
const (

	// PortStatusDuplexFull captures enum value "full"
	PortStatusDuplexFull string = "full"

	// PortStatusDuplexHalf captures enum value "half"
	PortStatusDuplexHalf string = "half"

	// PortStatusDuplexUnknown captures enum value "unknown"
	PortStatusDuplexUnknown string = "unknown"
)
View Source
const (

	// PortStatusLinkUp captures enum value "up"
	PortStatusLinkUp string = "up"

	// PortStatusLinkDown captures enum value "down"
	PortStatusLinkDown string = "down"

	// PortStatusLinkUnknown captures enum value "unknown"
	PortStatusLinkUnknown string = "unknown"
)
View Source
const (

	// SocketStatsProtocolIP captures enum value "ip"
	SocketStatsProtocolIP string = "ip"

	// SocketStatsProtocolTCP captures enum value "tcp"
	SocketStatsProtocolTCP string = "tcp"

	// SocketStatsProtocolUDP captures enum value "udp"
	SocketStatsProtocolUDP string = "udp"

	// SocketStatsProtocolRaw captures enum value "raw"
	SocketStatsProtocolRaw string = "raw"

	// SocketStatsProtocolPacket captures enum value "packet"
	SocketStatsProtocolPacket string = "packet"
)
View Source
const (

	// SpirentSignatureLatencyStartOfFrame captures enum value "start_of_frame"
	SpirentSignatureLatencyStartOfFrame string = "start_of_frame"

	// SpirentSignatureLatencyEndOfFrame captures enum value "end_of_frame"
	SpirentSignatureLatencyEndOfFrame string = "end_of_frame"
)
View Source
const (

	// TDigestConfigFunctionDx captures enum value "dx"
	TDigestConfigFunctionDx string = "dx"

	// TDigestConfigFunctionDxdt captures enum value "dxdt"
	TDigestConfigFunctionDxdt string = "dxdt"

	// TDigestConfigFunctionDxdy captures enum value "dxdy"
	TDigestConfigFunctionDxdy string = "dxdy"
)
View Source
const (

	// TDigestResultFunctionDx captures enum value "dx"
	TDigestResultFunctionDx string = "dx"

	// TDigestResultFunctionDxdt captures enum value "dxdt"
	TDigestResultFunctionDxdt string = "dxdt"

	// TDigestResultFunctionDxdy captures enum value "dxdy"
	TDigestResultFunctionDxdy string = "dxdy"
)
View Source
const (

	// ThresholdConfigConditionGreater captures enum value "greater"
	ThresholdConfigConditionGreater string = "greater"

	// ThresholdConfigConditionGreaterOrEqual captures enum value "greater_or_equal"
	ThresholdConfigConditionGreaterOrEqual string = "greater_or_equal"

	// ThresholdConfigConditionLess captures enum value "less"
	ThresholdConfigConditionLess string = "less"

	// ThresholdConfigConditionLessOrEqual captures enum value "less_or_equal"
	ThresholdConfigConditionLessOrEqual string = "less_or_equal"

	// ThresholdConfigConditionEqual captures enum value "equal"
	ThresholdConfigConditionEqual string = "equal"
)
View Source
const (

	// ThresholdConfigFunctionDx captures enum value "dx"
	ThresholdConfigFunctionDx string = "dx"

	// ThresholdConfigFunctionDxdt captures enum value "dxdt"
	ThresholdConfigFunctionDxdt string = "dxdt"

	// ThresholdConfigFunctionDxdy captures enum value "dxdy"
	ThresholdConfigFunctionDxdy string = "dxdy"
)
View Source
const (

	// ThresholdResultConditionGreater captures enum value "greater"
	ThresholdResultConditionGreater string = "greater"

	// ThresholdResultConditionGreaterOrEqual captures enum value "greater_or_equal"
	ThresholdResultConditionGreaterOrEqual string = "greater_or_equal"

	// ThresholdResultConditionLess captures enum value "less"
	ThresholdResultConditionLess string = "less"

	// ThresholdResultConditionLessOrEqual captures enum value "less_or_equal"
	ThresholdResultConditionLessOrEqual string = "less_or_equal"

	// ThresholdResultConditionEqual captures enum value "equal"
	ThresholdResultConditionEqual string = "equal"
)
View Source
const (

	// ThresholdResultFunctionDx captures enum value "dx"
	ThresholdResultFunctionDx string = "dx"

	// ThresholdResultFunctionDxdt captures enum value "dxdt"
	ThresholdResultFunctionDxdt string = "dxdt"

	// ThresholdResultFunctionDxdy captures enum value "dxdy"
	ThresholdResultFunctionDxdy string = "dxdy"
)
View Source
const (

	// TimeSourceKindNtp captures enum value "ntp"
	TimeSourceKindNtp string = "ntp"

	// TimeSourceKindSystem captures enum value "system"
	TimeSourceKindSystem string = "system"
)
View Source
const (

	// TrafficDurationTimeUnitsHours captures enum value "hours"
	TrafficDurationTimeUnitsHours string = "hours"

	// TrafficDurationTimeUnitsMinutes captures enum value "minutes"
	TrafficDurationTimeUnitsMinutes string = "minutes"

	// TrafficDurationTimeUnitsSeconds captures enum value "seconds"
	TrafficDurationTimeUnitsSeconds string = "seconds"

	// TrafficDurationTimeUnitsMilliseconds captures enum value "milliseconds"
	TrafficDurationTimeUnitsMilliseconds string = "milliseconds"
)
View Source
const (

	// TrafficDurationRemainderUnitIndefinite captures enum value "indefinite"
	TrafficDurationRemainderUnitIndefinite string = "indefinite"

	// TrafficDurationRemainderUnitFrames captures enum value "frames"
	TrafficDurationRemainderUnitFrames string = "frames"

	// TrafficDurationRemainderUnitSeconds captures enum value "seconds"
	TrafficDurationRemainderUnitSeconds string = "seconds"
)
View Source
const (

	// TrafficLoadUnitsFrames captures enum value "frames"
	TrafficLoadUnitsFrames string = "frames"

	// TrafficLoadUnitsOctets captures enum value "octets"
	TrafficLoadUnitsOctets string = "octets"
)
View Source
const (

	// TrafficLoadRatePeriodSecond captures enum value "second"
	TrafficLoadRatePeriodSecond string = "second"

	// TrafficLoadRatePeriodMinute captures enum value "minute"
	TrafficLoadRatePeriodMinute string = "minute"

	// TrafficLoadRatePeriodHour captures enum value "hour"
	TrafficLoadRatePeriodHour string = "hour"
)
View Source
const (

	// TrafficPacketTemplateModifierTieCartesian captures enum value "cartesian"
	TrafficPacketTemplateModifierTieCartesian string = "cartesian"

	// TrafficPacketTemplateModifierTieZip captures enum value "zip"
	TrafficPacketTemplateModifierTieZip string = "zip"
)
View Source
const (

	// TrafficProtocolModifiersTieCartesian captures enum value "cartesian"
	TrafficProtocolModifiersTieCartesian string = "cartesian"

	// TrafficProtocolModifiersTieZip captures enum value "zip"
	TrafficProtocolModifiersTieZip string = "zip"
)
View Source
const (

	// TvlpConfigurationStateReady captures enum value "ready"
	TvlpConfigurationStateReady string = "ready"

	// TvlpConfigurationStateCountdown captures enum value "countdown"
	TvlpConfigurationStateCountdown string = "countdown"

	// TvlpConfigurationStateRunning captures enum value "running"
	TvlpConfigurationStateRunning string = "running"

	// TvlpConfigurationStateError captures enum value "error"
	TvlpConfigurationStateError string = "error"
)
View Source
const (

	// PacketAnalyzerFlowCountersFrameLengthUnitsOctets captures enum value "octets"
	PacketAnalyzerFlowCountersFrameLengthUnitsOctets string = "octets"
)
View Source
const (

	// PacketAnalyzerFlowCountersInterarrivalUnitsNanoseconds captures enum value "nanoseconds"
	PacketAnalyzerFlowCountersInterarrivalUnitsNanoseconds string = "nanoseconds"
)
View Source
const (

	// PacketAnalyzerFlowCountersJitterIpdvUnitsNanoseconds captures enum value "nanoseconds"
	PacketAnalyzerFlowCountersJitterIpdvUnitsNanoseconds string = "nanoseconds"
)
View Source
const (

	// PacketAnalyzerFlowCountersJitterRfcUnitsNanoseconds captures enum value "nanoseconds"
	PacketAnalyzerFlowCountersJitterRfcUnitsNanoseconds string = "nanoseconds"
)
View Source
const (

	// PacketAnalyzerFlowCountersLatencyUnitsNanoseconds captures enum value "nanoseconds"
	PacketAnalyzerFlowCountersLatencyUnitsNanoseconds string = "nanoseconds"
)
View Source
const (

	// PortConfigBondModeLag8023Ad captures enum value "lag_802_3_ad"
	PortConfigBondModeLag8023Ad string = "lag_802_3_ad"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDevice

type BlockDevice struct {

	// Unique device identifier
	// Required: true
	ID *string `json:"id"`

	// Any info related to the current block device
	// Required: true
	Info *string `json:"info"`

	// Percentage of initialization completed so far
	// Required: true
	InitPercentComplete *int32 `json:"init_percent_complete"`

	// Resource pathname
	// Required: true
	Path *string `json:"path"`

	// Resource size (in bytes)
	// Required: true
	Size *int64 `json:"size"`

	// State of resource initialization
	// Required: true
	// Enum: [uninitialized initializing ready]
	State *string `json:"state"`

	// Indicates whether it is safe to use this device for block I/O load generation
	// Required: true
	Usable *bool `json:"usable"`
}

BlockDevice Block device

swagger:model BlockDevice

func (*BlockDevice) ContextValidate

func (m *BlockDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this block device based on context it is used

func (*BlockDevice) MarshalBinary

func (m *BlockDevice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockDevice) UnmarshalBinary

func (m *BlockDevice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockDevice) Validate

func (m *BlockDevice) Validate(formats strfmt.Registry) error

Validate validates this block device

type BlockFile

type BlockFile struct {

	// Unique file identifier
	// Required: true
	ID *string `json:"id"`

	// Percentage of initialization completed so far
	// Required: true
	InitPercentComplete *int32 `json:"init_percent_complete"`

	// Resource pathname
	// Required: true
	Path *string `json:"path"`

	// Size of test file (in bytes)
	// Required: true
	// Minimum: 64
	Size *int64 `json:"size"`

	// State of resource
	// Required: true
	// Enum: [none init ready]
	State *string `json:"state"`
}

BlockFile Block file

swagger:model BlockFile

func (*BlockFile) ContextValidate

func (m *BlockFile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this block file based on context it is used

func (*BlockFile) MarshalBinary

func (m *BlockFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockFile) UnmarshalBinary

func (m *BlockFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockFile) Validate

func (m *BlockFile) Validate(formats strfmt.Registry) error

Validate validates this block file

type BlockGenerator

type BlockGenerator struct {

	// config
	// Required: true
	Config *BlockGeneratorConfig `json:"config"`

	// Block generator identifier
	// Required: true
	ID *string `json:"id"`

	// Unique device or file identifier
	// Required: true
	ResourceID *string `json:"resource_id"`

	// Indicates whether this generator is currently running.
	// Required: true
	Running *bool `json:"running"`
}

BlockGenerator Block generator

swagger:model BlockGenerator

func (*BlockGenerator) ContextValidate

func (m *BlockGenerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this block generator based on the context it is used

func (*BlockGenerator) MarshalBinary

func (m *BlockGenerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockGenerator) UnmarshalBinary

func (m *BlockGenerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockGenerator) Validate

func (m *BlockGenerator) Validate(formats strfmt.Registry) error

Validate validates this block generator

type BlockGeneratorConfig

type BlockGeneratorConfig struct {

	// IO access pattern
	// Required: true
	// Enum: [random sequential reverse]
	Pattern *string `json:"pattern"`

	// Number of simultaneous (asynchronous) operations
	// Required: true
	// Minimum: 1
	QueueDepth *int64 `json:"queue_depth"`

	// ratio
	Ratio *BlockGeneratorConfigRatio `json:"ratio,omitempty"`

	// Number of bytes to use for each read operation
	// Required: true
	// Minimum: 1
	ReadSize *int64 `json:"read_size"`

	// Number of read operations to perform per second
	// Required: true
	// Minimum: 0
	ReadsPerSec *int64 `json:"reads_per_sec"`

	// Number of bytes to use for each write operation
	// Required: true
	// Minimum: 1
	WriteSize *int64 `json:"write_size"`

	// Number of write operations to perform per second
	// Required: true
	// Minimum: 0
	WritesPerSec *int64 `json:"writes_per_sec"`
}

BlockGeneratorConfig Block generator configuration

swagger:model BlockGeneratorConfig

func (*BlockGeneratorConfig) ContextValidate

func (m *BlockGeneratorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this block generator config based on the context it is used

func (*BlockGeneratorConfig) MarshalBinary

func (m *BlockGeneratorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockGeneratorConfig) UnmarshalBinary

func (m *BlockGeneratorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockGeneratorConfig) Validate

func (m *BlockGeneratorConfig) Validate(formats strfmt.Registry) error

Validate validates this block generator config

type BlockGeneratorConfigRatio

type BlockGeneratorConfigRatio struct {

	// reads
	// Minimum: 1
	Reads int64 `json:"reads,omitempty"`

	// writes
	// Minimum: 1
	Writes int64 `json:"writes,omitempty"`
}

BlockGeneratorConfigRatio BlockGeneratorReadWriteRatio

Relative amount of a mixed workload operations that should be performed. If value is not given, ratio is not limited.

swagger:model BlockGeneratorConfigRatio

func (*BlockGeneratorConfigRatio) ContextValidate

func (m *BlockGeneratorConfigRatio) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this block generator config ratio based on context it is used

func (*BlockGeneratorConfigRatio) MarshalBinary

func (m *BlockGeneratorConfigRatio) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockGeneratorConfigRatio) UnmarshalBinary

func (m *BlockGeneratorConfigRatio) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockGeneratorConfigRatio) Validate

func (m *BlockGeneratorConfigRatio) Validate(formats strfmt.Registry) error

Validate validates this block generator config ratio

type BlockGeneratorResult

type BlockGeneratorResult struct {

	// Indicates whether the result is currently being updated
	// Required: true
	Active *bool `json:"active"`

	// dynamic results
	DynamicResults *DynamicResults `json:"dynamic_results,omitempty"`

	// Block generator identifier that generated this result
	GeneratorID string `json:"generator_id,omitempty"`

	// Unique generator result identifier
	// Required: true
	ID *string `json:"id"`

	// read
	// Required: true
	Read *BlockGeneratorStats `json:"read"`

	// The ISO8601-formatted start time of the generator
	// Required: true
	// Format: date-time
	TimestampFirst *strfmt.DateTime `json:"timestamp_first"`

	// The ISO8601-formatted date of the last result update
	// Required: true
	// Format: date-time
	TimestampLast *strfmt.DateTime `json:"timestamp_last"`

	// write
	// Required: true
	Write *BlockGeneratorStats `json:"write"`
}

BlockGeneratorResult Results collected by a running generator

swagger:model BlockGeneratorResult

func (*BlockGeneratorResult) ContextValidate

func (m *BlockGeneratorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this block generator result based on the context it is used

func (*BlockGeneratorResult) MarshalBinary

func (m *BlockGeneratorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockGeneratorResult) UnmarshalBinary

func (m *BlockGeneratorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockGeneratorResult) Validate

func (m *BlockGeneratorResult) Validate(formats strfmt.Registry) error

Validate validates this block generator result

type BlockGeneratorStats

type BlockGeneratorStats struct {

	// The actual number of bytes read or written
	// Required: true
	BytesActual *int64 `json:"bytes_actual"`

	// The intended number of bytes read or written
	// Required: true
	BytesTarget *int64 `json:"bytes_target"`

	// The number of io_errors observed during reading or writing
	// Required: true
	IoErrors *int64 `json:"io_errors"`

	// The maximum observed latency value (in nanoseconds)
	LatencyMax int64 `json:"latency_max,omitempty"`

	// The minimum observed latency value (in nanoseconds)
	LatencyMin int64 `json:"latency_min,omitempty"`

	// The total amount of time required to perform all operations (in nanoseconds)
	// Required: true
	LatencyTotal *int64 `json:"latency_total"`

	// The actual number of operations performed
	// Required: true
	OpsActual *int64 `json:"ops_actual"`

	// The intended number of operations performed
	// Required: true
	OpsTarget *int64 `json:"ops_target"`
}

BlockGeneratorStats Block generator statistics

swagger:model BlockGeneratorStats

func (*BlockGeneratorStats) ContextValidate

func (m *BlockGeneratorStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this block generator stats based on context it is used

func (*BlockGeneratorStats) MarshalBinary

func (m *BlockGeneratorStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlockGeneratorStats) UnmarshalBinary

func (m *BlockGeneratorStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlockGeneratorStats) Validate

func (m *BlockGeneratorStats) Validate(formats strfmt.Registry) error

Validate validates this block generator stats

type BulkStartBlockGeneratorsRequest

type BulkStartBlockGeneratorsRequest struct {

	// dynamic results
	DynamicResults *DynamicResultsConfig `json:"dynamic_results,omitempty"`

	// List of block generator identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStartBlockGeneratorsRequest Parameters for the bulk start operation

swagger:model BulkStartBlockGeneratorsRequest

func (*BulkStartBlockGeneratorsRequest) ContextValidate

func (m *BulkStartBlockGeneratorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk start block generators request based on the context it is used

func (*BulkStartBlockGeneratorsRequest) MarshalBinary

func (m *BulkStartBlockGeneratorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStartBlockGeneratorsRequest) UnmarshalBinary

func (m *BulkStartBlockGeneratorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStartBlockGeneratorsRequest) Validate

Validate validates this bulk start block generators request

type BulkStartCPUGeneratorsRequest

type BulkStartCPUGeneratorsRequest struct {

	// dynamic results
	DynamicResults *DynamicResultsConfig `json:"dynamic_results,omitempty"`

	// List of CPU generator identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStartCPUGeneratorsRequest Parameters for the bulk start operation

swagger:model BulkStartCpuGeneratorsRequest

func (*BulkStartCPUGeneratorsRequest) ContextValidate

func (m *BulkStartCPUGeneratorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk start Cpu generators request based on the context it is used

func (*BulkStartCPUGeneratorsRequest) MarshalBinary

func (m *BulkStartCPUGeneratorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStartCPUGeneratorsRequest) UnmarshalBinary

func (m *BulkStartCPUGeneratorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStartCPUGeneratorsRequest) Validate

func (m *BulkStartCPUGeneratorsRequest) Validate(formats strfmt.Registry) error

Validate validates this bulk start Cpu generators request

type BulkStartMemoryGeneratorsRequest

type BulkStartMemoryGeneratorsRequest struct {

	// dynamic results
	DynamicResults *DynamicResultsConfig `json:"dynamic_results,omitempty"`

	// List of memory generator identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStartMemoryGeneratorsRequest Parameters for the bulk start operation

swagger:model BulkStartMemoryGeneratorsRequest

func (*BulkStartMemoryGeneratorsRequest) ContextValidate

func (m *BulkStartMemoryGeneratorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk start memory generators request based on the context it is used

func (*BulkStartMemoryGeneratorsRequest) MarshalBinary

func (m *BulkStartMemoryGeneratorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStartMemoryGeneratorsRequest) UnmarshalBinary

func (m *BulkStartMemoryGeneratorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStartMemoryGeneratorsRequest) Validate

Validate validates this bulk start memory generators request

type BulkStartNetworkGeneratorsRequest

type BulkStartNetworkGeneratorsRequest struct {

	// dynamic results
	DynamicResults *DynamicResultsConfig `json:"dynamic_results,omitempty"`

	// List of network generator identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStartNetworkGeneratorsRequest Parameters for the bulk start operation

swagger:model BulkStartNetworkGeneratorsRequest

func (*BulkStartNetworkGeneratorsRequest) ContextValidate

func (m *BulkStartNetworkGeneratorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk start network generators request based on the context it is used

func (*BulkStartNetworkGeneratorsRequest) MarshalBinary

func (m *BulkStartNetworkGeneratorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStartNetworkGeneratorsRequest) UnmarshalBinary

func (m *BulkStartNetworkGeneratorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStartNetworkGeneratorsRequest) Validate

Validate validates this bulk start network generators request

type CPUGenerator

type CPUGenerator struct {

	// config
	// Required: true
	Config *CPUGeneratorConfig `json:"config"`

	// Unique CPU generator identifier
	// Required: true
	ID *string `json:"id"`

	// Indicates whether this generator is currently running.
	// Required: true
	Running *bool `json:"running"`
}

CPUGenerator CPU generator

swagger:model CpuGenerator

func (*CPUGenerator) ContextValidate

func (m *CPUGenerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Cpu generator based on the context it is used

func (*CPUGenerator) MarshalBinary

func (m *CPUGenerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGenerator) UnmarshalBinary

func (m *CPUGenerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGenerator) Validate

func (m *CPUGenerator) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator

type CPUGeneratorConfig

type CPUGeneratorConfig struct {

	// Per CPU core load configuration
	// Min Items: 1
	Cores []*CPUGeneratorCoreConfig `json:"cores"`

	// Configuration method
	// Required: true
	// Enum: [system cores]
	Method *string `json:"method"`

	// system
	System *CPUGeneratorConfigSystem `json:"system,omitempty"`
}

CPUGeneratorConfig CpuGeneratorConfig

CPU Generator Configuration

swagger:model CpuGeneratorConfig

func (*CPUGeneratorConfig) ContextValidate

func (m *CPUGeneratorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Cpu generator config based on the context it is used

func (*CPUGeneratorConfig) MarshalBinary

func (m *CPUGeneratorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorConfig) UnmarshalBinary

func (m *CPUGeneratorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorConfig) Validate

func (m *CPUGeneratorConfig) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator config

type CPUGeneratorConfigSystem

type CPUGeneratorConfigSystem struct {

	// CPU utilization value. The maximum value is (100 * core_count).
	//
	// Required: true
	// Minimum: > 0
	Utilization *float64 `json:"utilization"`
}

CPUGeneratorConfigSystem CpuGeneratorSystemConfig

System CPU load

swagger:model CPUGeneratorConfigSystem

func (*CPUGeneratorConfigSystem) ContextValidate

func (m *CPUGeneratorConfigSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this CPU generator config system based on context it is used

func (*CPUGeneratorConfigSystem) MarshalBinary

func (m *CPUGeneratorConfigSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorConfigSystem) UnmarshalBinary

func (m *CPUGeneratorConfigSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorConfigSystem) Validate

func (m *CPUGeneratorConfigSystem) Validate(formats strfmt.Registry) error

Validate validates this CPU generator config system

type CPUGeneratorCoreConfig

type CPUGeneratorCoreConfig struct {

	// Instruction set targets (operations)
	// Required: true
	// Min Items: 1
	Targets []*CPUGeneratorCoreConfigTargetsItems0 `json:"targets"`

	// CPU load generation setpoint
	// Required: true
	// Maximum: 100
	// Minimum: 0
	Utilization *float64 `json:"utilization"`
}

CPUGeneratorCoreConfig CpuGeneratorCoreConfig

Configuration for a single core

swagger:model CpuGeneratorCoreConfig

func (*CPUGeneratorCoreConfig) ContextValidate

func (m *CPUGeneratorCoreConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Cpu generator core config based on the context it is used

func (*CPUGeneratorCoreConfig) MarshalBinary

func (m *CPUGeneratorCoreConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorCoreConfig) UnmarshalBinary

func (m *CPUGeneratorCoreConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorCoreConfig) Validate

func (m *CPUGeneratorCoreConfig) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator core config

type CPUGeneratorCoreConfigTargetsItems0

type CPUGeneratorCoreConfigTargetsItems0 struct {

	// CPU load target operation data type, actual for chosen instruction set
	// Required: true
	// Enum: [int32 int64 float32 float64]
	DataType *string `json:"data_type"`

	// CPU load instruction set
	// Required: true
	// Enum: [scalar sse2 sse4 avx avx2 avx512 neon]
	InstructionSet *string `json:"instruction_set"`

	// Targeted load ratio
	// Required: true
	// Minimum: 1
	Weight *int64 `json:"weight"`
}

CPUGeneratorCoreConfigTargetsItems0 CPU generator core config targets items0

swagger:model CPUGeneratorCoreConfigTargetsItems0

func (*CPUGeneratorCoreConfigTargetsItems0) ContextValidate

func (m *CPUGeneratorCoreConfigTargetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this CPU generator core config targets items0 based on context it is used

func (*CPUGeneratorCoreConfigTargetsItems0) MarshalBinary

func (m *CPUGeneratorCoreConfigTargetsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorCoreConfigTargetsItems0) UnmarshalBinary

func (m *CPUGeneratorCoreConfigTargetsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorCoreConfigTargetsItems0) Validate

Validate validates this CPU generator core config targets items0

type CPUGeneratorCoreStats

type CPUGeneratorCoreStats struct {

	// The total amount of CPU time available
	// Required: true
	Available *int64 `json:"available"`

	// The difference between intended and actual CPU utilization
	// Required: true
	Error *int64 `json:"error"`

	// The amount of system time used, e.g. kernel or system calls
	// Required: true
	System *int64 `json:"system"`

	// The amount of target CPU time
	// Required: true
	Target *int64 `json:"target"`

	// Statistics of the instruction sets (in the order they were specified in core configuration)
	// Required: true
	Targets []*CPUGeneratorTargetStats `json:"targets"`

	// The amount of user time used, e.g. openperf code
	// Required: true
	User *int64 `json:"user"`

	// The amount of CPU time used
	// Required: true
	Utilization *int64 `json:"utilization"`
}

CPUGeneratorCoreStats CpuGeneratorCoreStats

Core statistics

swagger:model CpuGeneratorCoreStats

func (*CPUGeneratorCoreStats) ContextValidate

func (m *CPUGeneratorCoreStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Cpu generator core stats based on the context it is used

func (*CPUGeneratorCoreStats) MarshalBinary

func (m *CPUGeneratorCoreStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorCoreStats) UnmarshalBinary

func (m *CPUGeneratorCoreStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorCoreStats) Validate

func (m *CPUGeneratorCoreStats) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator core stats

type CPUGeneratorResult

type CPUGeneratorResult struct {

	// Indicates whether the result is currently being updated
	// Required: true
	Active *bool `json:"active"`

	// dynamic results
	DynamicResults *DynamicResults `json:"dynamic_results,omitempty"`

	// CPU generator identifier that generated this result
	GeneratorID string `json:"generator_id,omitempty"`

	// Unique generator result identifier
	// Required: true
	ID *string `json:"id"`

	// stats
	// Required: true
	Stats *CPUGeneratorStats `json:"stats"`

	// The ISO8601-formatted start time of the generator
	// Required: true
	// Format: date-time
	TimestampFirst *strfmt.DateTime `json:"timestamp_first"`

	// The ISO8601-formatted date of the last result update
	// Required: true
	// Format: date-time
	TimestampLast *strfmt.DateTime `json:"timestamp_last"`
}

CPUGeneratorResult Results collected by a running generator

swagger:model CpuGeneratorResult

func (*CPUGeneratorResult) ContextValidate

func (m *CPUGeneratorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Cpu generator result based on the context it is used

func (*CPUGeneratorResult) MarshalBinary

func (m *CPUGeneratorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorResult) UnmarshalBinary

func (m *CPUGeneratorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorResult) Validate

func (m *CPUGeneratorResult) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator result

type CPUGeneratorStats

type CPUGeneratorStats struct {

	// The total amount of CPU time available
	// Required: true
	Available *int64 `json:"available"`

	// Statistics of the CPU cores (in the order they were specified in generator configuration)
	// Required: true
	Cores []*CPUGeneratorCoreStats `json:"cores"`

	// The difference between intended and actual CPU utilization
	// Required: true
	Error *int64 `json:"error"`

	// The amount of time the hypervisor reported our virtual cores were blocked
	Steal int64 `json:"steal,omitempty"`

	// The amount of system time used, e.g. kernel or system calls
	// Required: true
	System *int64 `json:"system"`

	// The amount of target CPU time
	// Required: true
	Target *int64 `json:"target"`

	// The amount of user time used, e.g. openperf code
	// Required: true
	User *int64 `json:"user"`

	// The amount of CPU time used
	// Required: true
	Utilization *int64 `json:"utilization"`
}

CPUGeneratorStats CpuGeneratorStats

CPU generator statistics

swagger:model CpuGeneratorStats

func (*CPUGeneratorStats) ContextValidate

func (m *CPUGeneratorStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Cpu generator stats based on the context it is used

func (*CPUGeneratorStats) MarshalBinary

func (m *CPUGeneratorStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorStats) UnmarshalBinary

func (m *CPUGeneratorStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorStats) Validate

func (m *CPUGeneratorStats) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator stats

type CPUGeneratorTargetStats

type CPUGeneratorTargetStats struct {

	// CPU load target operation data type, actual for chosen instruction set
	// Required: true
	// Enum: [int32 int64 float32 float64]
	DataType *string `json:"data_type"`

	// CPU load instruction set
	// Required: true
	// Enum: [scalar sse2 sse4 avx avx2 avx512 neon]
	InstructionSet *string `json:"instruction_set"`

	// The total amount of finished instruction set operations
	// Required: true
	Operations *int64 `json:"operations"`
}

CPUGeneratorTargetStats CpuGeneratorTargetStats

Instruction set statistics

swagger:model CpuGeneratorTargetStats

func (*CPUGeneratorTargetStats) ContextValidate

func (m *CPUGeneratorTargetStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Cpu generator target stats based on context it is used

func (*CPUGeneratorTargetStats) MarshalBinary

func (m *CPUGeneratorTargetStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUGeneratorTargetStats) UnmarshalBinary

func (m *CPUGeneratorTargetStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUGeneratorTargetStats) Validate

func (m *CPUGeneratorTargetStats) Validate(formats strfmt.Registry) error

Validate validates this Cpu generator target stats

type DynamicResults

type DynamicResults struct {

	// Array of T-Digest results
	Tdigests []*TDigestResult `json:"tdigests"`

	// Array of Threshold results
	Thresholds []*ThresholdResult `json:"thresholds"`
}

DynamicResults Dynamic results

swagger:model DynamicResults

func (*DynamicResults) ContextValidate

func (m *DynamicResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dynamic results based on the context it is used

func (*DynamicResults) MarshalBinary

func (m *DynamicResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DynamicResults) UnmarshalBinary

func (m *DynamicResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DynamicResults) Validate

func (m *DynamicResults) Validate(formats strfmt.Registry) error

Validate validates this dynamic results

type DynamicResultsConfig

type DynamicResultsConfig struct {

	// Array of T-Digest configurations
	Tdigests []*TDigestConfig `json:"tdigests"`

	// Array of Threshold configurations
	Thresholds []*ThresholdConfig `json:"thresholds"`
}

DynamicResultsConfig Configurations of dynamic results

swagger:model DynamicResultsConfig

func (*DynamicResultsConfig) ContextValidate

func (m *DynamicResultsConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dynamic results config based on the context it is used

func (*DynamicResultsConfig) MarshalBinary

func (m *DynamicResultsConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DynamicResultsConfig) UnmarshalBinary

func (m *DynamicResultsConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DynamicResultsConfig) Validate

func (m *DynamicResultsConfig) Validate(formats strfmt.Registry) error

Validate validates this dynamic results config

type IPV6DynamicAddressStatus

type IPV6DynamicAddressStatus struct {

	// IP address
	Address string `json:"address,omitempty"`

	// Address scope
	Scope int32 `json:"scope,omitempty"`

	// Current address sate
	// Enum: [invalid tentative preferred deprecated duplicated]
	State string `json:"state,omitempty"`
}

IPV6DynamicAddressStatus IPv6 address status for dynamically assigned addresses

swagger:model ipv6DynamicAddressStatus

func (*IPV6DynamicAddressStatus) ContextValidate

func (m *IPV6DynamicAddressStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ipv6 dynamic address status based on the context it is used

func (*IPV6DynamicAddressStatus) MarshalBinary

func (m *IPV6DynamicAddressStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPV6DynamicAddressStatus) UnmarshalBinary

func (m *IPV6DynamicAddressStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPV6DynamicAddressStatus) Validate

func (m *IPV6DynamicAddressStatus) Validate(formats strfmt.Registry) error

Validate validates this ipv6 dynamic address status

type Interface

type Interface struct {

	// config
	// Required: true
	Config *InterfaceConfig `json:"config"`

	// Unique interface identifier
	// Required: true
	ID *string `json:"id"`

	// Port identifier
	// Required: true
	PortID *string `json:"port_id"`

	// stats
	// Required: true
	Stats *InterfaceStats `json:"stats"`
}

Interface Network interface

swagger:model Interface

func (*Interface) ContextValidate

func (m *Interface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface based on the context it is used

func (*Interface) MarshalBinary

func (m *Interface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Interface) UnmarshalBinary

func (m *Interface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Interface) Validate

func (m *Interface) Validate(formats strfmt.Registry) error

Validate validates this interface

type InterfaceConfig

type InterfaceConfig struct {

	// A stack of protocol configurations, beginning with the outermost protocol (i.e. closest to the physical port)
	//
	// Required: true
	// Min Items: 1
	Protocols []*InterfaceProtocolConfig `json:"protocols"`

	// Berkley Packet Filter (BPF) rules that matches input packets for this
	// interface. An empty rule, the default, matches all packets.
	//
	RxFilter string `json:"rx_filter,omitempty"`

	// Berkley Packet Filter (BPF) rules that matches output packets for this
	// interface. An empty rule, the default, matches all packets.
	//
	TxFilter string `json:"tx_filter,omitempty"`
}

InterfaceConfig Interface configuration

swagger:model InterfaceConfig

func (*InterfaceConfig) ContextValidate

func (m *InterfaceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface config based on the context it is used

func (*InterfaceConfig) MarshalBinary

func (m *InterfaceConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceConfig) UnmarshalBinary

func (m *InterfaceConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceConfig) Validate

func (m *InterfaceConfig) Validate(formats strfmt.Registry) error

Validate validates this interface config

type InterfaceProtocolConfig

type InterfaceProtocolConfig struct {

	// eth
	Eth *InterfaceProtocolConfigEth `json:"eth,omitempty"`

	// ipv4
	IPV4 *InterfaceProtocolConfigIPV4 `json:"ipv4,omitempty"`

	// ipv6
	IPV6 *InterfaceProtocolConfigIPV6 `json:"ipv6,omitempty"`
}

InterfaceProtocolConfig Network interface protocol configuration

swagger:model InterfaceProtocolConfig

func (*InterfaceProtocolConfig) ContextValidate

func (m *InterfaceProtocolConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config based on the context it is used

func (*InterfaceProtocolConfig) MarshalBinary

func (m *InterfaceProtocolConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfig) UnmarshalBinary

func (m *InterfaceProtocolConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfig) Validate

func (m *InterfaceProtocolConfig) Validate(formats strfmt.Registry) error

Validate validates this interface protocol config

type InterfaceProtocolConfigEth

type InterfaceProtocolConfigEth struct {

	// MAC address
	// Required: true
	MacAddress *string `json:"mac_address"`
}

InterfaceProtocolConfigEth Ethernet protocol configuration

swagger:model InterfaceProtocolConfigEth

func (*InterfaceProtocolConfigEth) ContextValidate

func (m *InterfaceProtocolConfigEth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this interface protocol config eth based on context it is used

func (*InterfaceProtocolConfigEth) MarshalBinary

func (m *InterfaceProtocolConfigEth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigEth) UnmarshalBinary

func (m *InterfaceProtocolConfigEth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigEth) Validate

func (m *InterfaceProtocolConfigEth) Validate(formats strfmt.Registry) error

Validate validates this interface protocol config eth

type InterfaceProtocolConfigIPV4

type InterfaceProtocolConfigIPV4 struct {

	// dhcp
	Dhcp *InterfaceProtocolConfigIPV4Dhcp `json:"dhcp,omitempty"`

	// Configuration method
	// Required: true
	// Enum: [static dhcp auto]
	Method *string `json:"method"`

	// static
	Static *InterfaceProtocolConfigIPV4Static `json:"static,omitempty"`
}

InterfaceProtocolConfigIPV4 IPv4 protocol configuration

swagger:model InterfaceProtocolConfigIPV4

func (*InterfaceProtocolConfigIPV4) ContextValidate

func (m *InterfaceProtocolConfigIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config IP v4 based on the context it is used

func (*InterfaceProtocolConfigIPV4) MarshalBinary

func (m *InterfaceProtocolConfigIPV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4) Validate

func (m *InterfaceProtocolConfigIPV4) Validate(formats strfmt.Registry) error

Validate validates this interface protocol config IP v4

type InterfaceProtocolConfigIPV4Dhcp

type InterfaceProtocolConfigIPV4Dhcp struct {

	// Client identifier
	Client string `json:"client,omitempty"`

	// Hostname to be requested
	Hostname string `json:"hostname,omitempty"`

	// status
	Status *InterfaceProtocolConfigIPV4DhcpStatus `json:"status,omitempty"`
}

InterfaceProtocolConfigIPV4Dhcp DHCP configuration parameters

swagger:model InterfaceProtocolConfigIPV4Dhcp

func (*InterfaceProtocolConfigIPV4Dhcp) ContextValidate

func (m *InterfaceProtocolConfigIPV4Dhcp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config IP v4 dhcp based on the context it is used

func (*InterfaceProtocolConfigIPV4Dhcp) MarshalBinary

func (m *InterfaceProtocolConfigIPV4Dhcp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4Dhcp) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV4Dhcp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4Dhcp) Validate

Validate validates this interface protocol config IP v4 dhcp

type InterfaceProtocolConfigIPV4DhcpStatus

type InterfaceProtocolConfigIPV4DhcpStatus struct {

	// IP address
	Address string `json:"address,omitempty"`

	// Default gateway
	Gateway string `json:"gateway,omitempty"`

	// Prefix length
	PrefixLength int32 `json:"prefix_length,omitempty"`

	// Current DHCP client state. Most states are described in
	// RFC 2131. The "checking" state is non-standard and comes
	// from RFC 5227. The "checking" state means the client is
	// performing Address Conflict Detection (ACD).
	//
	// Enum: [none rebooting init_reboot init selecting requesting checking bound renewing rebinding]
	State string `json:"state,omitempty"`
}

InterfaceProtocolConfigIPV4DhcpStatus DHCP status information

swagger:model InterfaceProtocolConfigIPV4DhcpStatus

func (*InterfaceProtocolConfigIPV4DhcpStatus) ContextValidate

func (m *InterfaceProtocolConfigIPV4DhcpStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config IP v4 dhcp status based on the context it is used

func (*InterfaceProtocolConfigIPV4DhcpStatus) MarshalBinary

func (m *InterfaceProtocolConfigIPV4DhcpStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4DhcpStatus) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV4DhcpStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4DhcpStatus) Validate

Validate validates this interface protocol config IP v4 dhcp status

type InterfaceProtocolConfigIPV4Static

type InterfaceProtocolConfigIPV4Static struct {

	// IP address
	// Required: true
	Address *string `json:"address"`

	// Default gateway
	Gateway string `json:"gateway,omitempty"`

	// Prefix length
	// Required: true
	PrefixLength *int32 `json:"prefix_length"`
}

InterfaceProtocolConfigIPV4Static Static configuration parameters

swagger:model InterfaceProtocolConfigIPV4Static

func (*InterfaceProtocolConfigIPV4Static) ContextValidate

func (m *InterfaceProtocolConfigIPV4Static) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this interface protocol config IP v4 static based on context it is used

func (*InterfaceProtocolConfigIPV4Static) MarshalBinary

func (m *InterfaceProtocolConfigIPV4Static) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4Static) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV4Static) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV4Static) Validate

Validate validates this interface protocol config IP v4 static

type InterfaceProtocolConfigIPV6

type InterfaceProtocolConfigIPV6 struct {

	// auto
	Auto *InterfaceProtocolConfigIPV6Auto `json:"auto,omitempty"`

	// dhcp6
	Dhcp6 *InterfaceProtocolConfigIPV6Dhcp6 `json:"dhcp6,omitempty"`

	// IPv6 link local address
	LinkLocalAddress string `json:"link_local_address,omitempty"`

	// Configuration method
	// Required: true
	// Enum: [static dhcp6 auto]
	Method *string `json:"method"`

	// static
	Static *InterfaceProtocolConfigIPV6Static `json:"static,omitempty"`
}

InterfaceProtocolConfigIPV6 IPv6 protocol configuration

swagger:model InterfaceProtocolConfigIPV6

func (*InterfaceProtocolConfigIPV6) ContextValidate

func (m *InterfaceProtocolConfigIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config IP v6 based on the context it is used

func (*InterfaceProtocolConfigIPV6) MarshalBinary

func (m *InterfaceProtocolConfigIPV6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6) Validate

func (m *InterfaceProtocolConfigIPV6) Validate(formats strfmt.Registry) error

Validate validates this interface protocol config IP v6

type InterfaceProtocolConfigIPV6Auto

type InterfaceProtocolConfigIPV6Auto struct {

	// status
	Status *IPV6DynamicAddressStatus `json:"status,omitempty"`
}

InterfaceProtocolConfigIPV6Auto Automatic configuration parameters

swagger:model InterfaceProtocolConfigIPV6Auto

func (*InterfaceProtocolConfigIPV6Auto) ContextValidate

func (m *InterfaceProtocolConfigIPV6Auto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config IP v6 auto based on the context it is used

func (*InterfaceProtocolConfigIPV6Auto) MarshalBinary

func (m *InterfaceProtocolConfigIPV6Auto) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6Auto) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV6Auto) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6Auto) Validate

Validate validates this interface protocol config IP v6 auto

type InterfaceProtocolConfigIPV6Dhcp6

type InterfaceProtocolConfigIPV6Dhcp6 struct {

	// Stateless DHCPv6
	// Required: true
	Stateless bool `json:"stateless"`

	// status
	Status *IPV6DynamicAddressStatus `json:"status,omitempty"`
}

InterfaceProtocolConfigIPV6Dhcp6 DHCPv6 configuration parameters

swagger:model InterfaceProtocolConfigIPV6Dhcp6

func (*InterfaceProtocolConfigIPV6Dhcp6) ContextValidate

func (m *InterfaceProtocolConfigIPV6Dhcp6) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface protocol config IP v6 dhcp6 based on the context it is used

func (*InterfaceProtocolConfigIPV6Dhcp6) MarshalBinary

func (m *InterfaceProtocolConfigIPV6Dhcp6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6Dhcp6) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV6Dhcp6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6Dhcp6) Validate

Validate validates this interface protocol config IP v6 dhcp6

type InterfaceProtocolConfigIPV6Static

type InterfaceProtocolConfigIPV6Static struct {

	// IPv6 address
	// Required: true
	Address *string `json:"address"`

	// Default gateway
	Gateway string `json:"gateway,omitempty"`

	// Prefix length
	// Required: true
	PrefixLength *int32 `json:"prefix_length"`
}

InterfaceProtocolConfigIPV6Static Static configuration parameters

swagger:model InterfaceProtocolConfigIPV6Static

func (*InterfaceProtocolConfigIPV6Static) ContextValidate

func (m *InterfaceProtocolConfigIPV6Static) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this interface protocol config IP v6 static based on context it is used

func (*InterfaceProtocolConfigIPV6Static) MarshalBinary

func (m *InterfaceProtocolConfigIPV6Static) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6Static) UnmarshalBinary

func (m *InterfaceProtocolConfigIPV6Static) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceProtocolConfigIPV6Static) Validate

Validate validates this interface protocol config IP v6 static

type InterfaceStats

type InterfaceStats struct {

	// Received bytes
	// Required: true
	RxBytes *int64 `json:"rx_bytes"`

	// Receive-side errors
	// Required: true
	RxErrors *int64 `json:"rx_errors"`

	// Received packets
	// Required: true
	RxPackets *int64 `json:"rx_packets"`

	// Transmitted bytes
	// Required: true
	TxBytes *int64 `json:"tx_bytes"`

	// Transmit-side errors
	// Required: true
	TxErrors *int64 `json:"tx_errors"`

	// Transmitted packets
	// Required: true
	TxPackets *int64 `json:"tx_packets"`
}

InterfaceStats Per-interface statistics

swagger:model InterfaceStats

func (*InterfaceStats) ContextValidate

func (m *InterfaceStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this interface stats based on context it is used

func (*InterfaceStats) MarshalBinary

func (m *InterfaceStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterfaceStats) UnmarshalBinary

func (m *InterfaceStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterfaceStats) Validate

func (m *InterfaceStats) Validate(formats strfmt.Registry) error

Validate validates this interface stats

type MemoryGenerator

type MemoryGenerator struct {

	// config
	// Required: true
	Config *MemoryGeneratorConfig `json:"config"`

	// Unique memory generator identifier
	// Required: true
	ID *string `json:"id"`

	// Percentage of initialization completed so far
	// Required: true
	InitPercentComplete *int32 `json:"init_percent_complete"`

	// Indicates whether this generator is currently running.
	// Required: true
	Running *bool `json:"running"`
}

MemoryGenerator Memory generator

swagger:model MemoryGenerator

func (*MemoryGenerator) ContextValidate

func (m *MemoryGenerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this memory generator based on the context it is used

func (*MemoryGenerator) MarshalBinary

func (m *MemoryGenerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MemoryGenerator) UnmarshalBinary

func (m *MemoryGenerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MemoryGenerator) Validate

func (m *MemoryGenerator) Validate(formats strfmt.Registry) error

Validate validates this memory generator

type MemoryGeneratorConfig

type MemoryGeneratorConfig struct {

	// Memory size constraint. The buffer can never be larger than the value specified (in bytes)
	// Required: true
	// Minimum: 64
	BufferSize *int64 `json:"buffer_size"`

	// IO access pattern
	// Required: true
	// Enum: [random sequential reverse]
	Pattern *string `json:"pattern"`

	// Number of bytes to use for each read operation
	// Required: true
	// Minimum: 0
	ReadSize *int64 `json:"read_size"`

	// Number of read worker threads
	// Required: true
	// Minimum: 0
	ReadThreads *int64 `json:"read_threads"`

	// Number of read operations to perform per second
	// Required: true
	// Minimum: 0
	ReadsPerSec *int64 `json:"reads_per_sec"`

	// Number of bytes to use for each write operation
	// Required: true
	// Minimum: 0
	WriteSize *int64 `json:"write_size"`

	// Number of write worker threads
	// Required: true
	// Minimum: 0
	WriteThreads *int64 `json:"write_threads"`

	// Number of write operations to perform per second
	// Required: true
	// Minimum: 0
	WritesPerSec *int64 `json:"writes_per_sec"`
}

MemoryGeneratorConfig Memory generator configuration

swagger:model MemoryGeneratorConfig

func (*MemoryGeneratorConfig) ContextValidate

func (m *MemoryGeneratorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this memory generator config based on context it is used

func (*MemoryGeneratorConfig) MarshalBinary

func (m *MemoryGeneratorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MemoryGeneratorConfig) UnmarshalBinary

func (m *MemoryGeneratorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MemoryGeneratorConfig) Validate

func (m *MemoryGeneratorConfig) Validate(formats strfmt.Registry) error

Validate validates this memory generator config

type MemoryGeneratorResult

type MemoryGeneratorResult struct {

	// Indicates whether the result is currently being updated
	// Required: true
	Active *bool `json:"active"`

	// dynamic results
	DynamicResults *DynamicResults `json:"dynamic_results,omitempty"`

	// Memory generator identifier that generated this result
	GeneratorID string `json:"generator_id,omitempty"`

	// Unique generator result identifier
	// Required: true
	ID *string `json:"id"`

	// read
	// Required: true
	Read *MemoryGeneratorStats `json:"read"`

	// The ISO8601-formatted start time of the generator
	// Required: true
	// Format: date-time
	TimestampFirst *strfmt.DateTime `json:"timestamp_first"`

	// The ISO8601-formatted date of the last result update
	// Required: true
	// Format: date-time
	TimestampLast *strfmt.DateTime `json:"timestamp_last"`

	// write
	// Required: true
	Write *MemoryGeneratorStats `json:"write"`
}

MemoryGeneratorResult Results collected by a running generator

swagger:model MemoryGeneratorResult

func (*MemoryGeneratorResult) ContextValidate

func (m *MemoryGeneratorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this memory generator result based on the context it is used

func (*MemoryGeneratorResult) MarshalBinary

func (m *MemoryGeneratorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MemoryGeneratorResult) UnmarshalBinary

func (m *MemoryGeneratorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MemoryGeneratorResult) Validate

func (m *MemoryGeneratorResult) Validate(formats strfmt.Registry) error

Validate validates this memory generator result

type MemoryGeneratorStats

type MemoryGeneratorStats struct {

	// The actual number of bytes read or written
	// Required: true
	BytesActual *int64 `json:"bytes_actual"`

	// The intended number of bytes read or written
	// Required: true
	BytesTarget *int64 `json:"bytes_target"`

	// The total amount of time required to perform all operations (in nanoseconds)
	// Required: true
	LatencyTotal *int64 `json:"latency_total"`

	// The actual number of operations performed
	// Required: true
	OpsActual *int64 `json:"ops_actual"`

	// The intended number of operations performed
	// Required: true
	OpsTarget *int64 `json:"ops_target"`
}

MemoryGeneratorStats Memory generator statistics

swagger:model MemoryGeneratorStats

func (*MemoryGeneratorStats) ContextValidate

func (m *MemoryGeneratorStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this memory generator stats based on context it is used

func (*MemoryGeneratorStats) MarshalBinary

func (m *MemoryGeneratorStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MemoryGeneratorStats) UnmarshalBinary

func (m *MemoryGeneratorStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MemoryGeneratorStats) Validate

func (m *MemoryGeneratorStats) Validate(formats strfmt.Registry) error

Validate validates this memory generator stats

type Module

type Module struct {

	// Description of module functionality
	// Read Only: true
	Description string `json:"description,omitempty"`

	// Unique module identifier
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Linkage type
	// Read Only: true
	// Enum: [static dynamic]
	Linkage string `json:"linkage,omitempty"`

	// Path to module binary (dynamically-loaded modules only).
	// Read Only: true
	Path string `json:"path,omitempty"`

	// version
	// Required: true
	Version *ModuleVersion `json:"version"`
}

Module A test module that has been statically linked or dynamically loaded into the process

swagger:model Module

func (*Module) ContextValidate

func (m *Module) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this module based on the context it is used

func (*Module) MarshalBinary

func (m *Module) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Module) UnmarshalBinary

func (m *Module) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Module) Validate

func (m *Module) Validate(formats strfmt.Registry) error

Validate validates this module

type ModuleVersion

type ModuleVersion struct {

	// Module build date
	// Read Only: true
	// Format: date-time
	BuildDate strfmt.DateTime `json:"build_date,omitempty"`

	// Module build number
	// Read Only: true
	BuildNumber string `json:"build_number,omitempty"`

	// Module version control revision
	// Read Only: true
	SourceCommit string `json:"source_commit,omitempty"`

	// Module version number
	// Read Only: true
	Version int32 `json:"version,omitempty"`
}

ModuleVersion Module version information

swagger:model ModuleVersion

func (*ModuleVersion) ContextValidate

func (m *ModuleVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this module version based on the context it is used

func (*ModuleVersion) MarshalBinary

func (m *ModuleVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModuleVersion) UnmarshalBinary

func (m *ModuleVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModuleVersion) Validate

func (m *ModuleVersion) Validate(formats strfmt.Registry) error

Validate validates this module version

type NetworkGenerator

type NetworkGenerator struct {

	// config
	// Required: true
	Config *NetworkGeneratorConfig `json:"config"`

	// Unique network generator identifier
	// Required: true
	ID *string `json:"id"`

	// Indicates whether this generator is currently running.
	// Required: true
	Running *bool `json:"running"`
}

NetworkGenerator Network generator

swagger:model NetworkGenerator

func (*NetworkGenerator) ContextValidate

func (m *NetworkGenerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network generator based on the context it is used

func (*NetworkGenerator) MarshalBinary

func (m *NetworkGenerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGenerator) UnmarshalBinary

func (m *NetworkGenerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGenerator) Validate

func (m *NetworkGenerator) Validate(formats strfmt.Registry) error

Validate validates this network generator

type NetworkGeneratorConfig

type NetworkGeneratorConfig struct {

	// Number of connections to establish with the server
	// Required: true
	// Minimum: 1
	Connections *int64 `json:"connections"`

	// Number of operations over a connection before closed
	// Required: true
	// Minimum: 1
	OpsPerConnection *int64 `json:"ops_per_connection"`

	// ratio
	Ratio *NetworkGeneratorConfigRatio `json:"ratio,omitempty"`

	// Number of bytes to request from the server per read operation
	// Required: true
	// Minimum: 0
	ReadSize *int64 `json:"read_size"`

	// Number of read opertions to perform per second
	// Required: true
	// Minimum: 0
	ReadsPerSec *int64 `json:"reads_per_sec"`

	// target
	Target *NetworkGeneratorConfigTarget `json:"target,omitempty"`

	// Number of bytes to send to the server per write operation
	// Required: true
	// Minimum: 0
	WriteSize *int64 `json:"write_size"`

	// Number of write operations to perform per second
	// Required: true
	// Minimum: 0
	WritesPerSec *int64 `json:"writes_per_sec"`
}

NetworkGeneratorConfig Network generator configuration

swagger:model NetworkGeneratorConfig

func (*NetworkGeneratorConfig) ContextValidate

func (m *NetworkGeneratorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network generator config based on the context it is used

func (*NetworkGeneratorConfig) MarshalBinary

func (m *NetworkGeneratorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGeneratorConfig) UnmarshalBinary

func (m *NetworkGeneratorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGeneratorConfig) Validate

func (m *NetworkGeneratorConfig) Validate(formats strfmt.Registry) error

Validate validates this network generator config

type NetworkGeneratorConfigRatio

type NetworkGeneratorConfigRatio struct {

	// reads
	// Required: true
	// Minimum: 1
	Reads *int64 `json:"reads"`

	// writes
	// Required: true
	// Minimum: 1
	Writes *int64 `json:"writes"`
}

NetworkGeneratorConfigRatio NetworkGeneratorReadWriteRatio

Relative amount of a mixed workload operations that should be performed. If value is not given, ratio is not limited.

swagger:model NetworkGeneratorConfigRatio

func (*NetworkGeneratorConfigRatio) ContextValidate

func (m *NetworkGeneratorConfigRatio) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network generator config ratio based on context it is used

func (*NetworkGeneratorConfigRatio) MarshalBinary

func (m *NetworkGeneratorConfigRatio) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGeneratorConfigRatio) UnmarshalBinary

func (m *NetworkGeneratorConfigRatio) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGeneratorConfigRatio) Validate

func (m *NetworkGeneratorConfigRatio) Validate(formats strfmt.Registry) error

Validate validates this network generator config ratio

type NetworkGeneratorConfigTarget

type NetworkGeneratorConfigTarget struct {

	// Remote host to establish a connection
	// Required: true
	Host *string `json:"host"`

	// Bind client socket to a particular device, specified as interface name (required for dpdk driver)
	Interface string `json:"interface,omitempty"`

	// Port on which client is trying to establish connection
	// Required: true
	// Maximum: 65535
	// Minimum: 0
	Port *int64 `json:"port"`

	// Protocol to establish connection between client and host
	// Required: true
	// Enum: [tcp udp]
	Protocol *string `json:"protocol"`
}

NetworkGeneratorConfigTarget Network generator connection configuration

swagger:model NetworkGeneratorConfigTarget

func (*NetworkGeneratorConfigTarget) ContextValidate

func (m *NetworkGeneratorConfigTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network generator config target based on context it is used

func (*NetworkGeneratorConfigTarget) MarshalBinary

func (m *NetworkGeneratorConfigTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGeneratorConfigTarget) UnmarshalBinary

func (m *NetworkGeneratorConfigTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGeneratorConfigTarget) Validate

func (m *NetworkGeneratorConfigTarget) Validate(formats strfmt.Registry) error

Validate validates this network generator config target

type NetworkGeneratorConnectionStats

type NetworkGeneratorConnectionStats struct {

	// The number of attempts to establish connections
	// Required: true
	Attempted *int64 `json:"attempted"`

	// The number of closed connections
	// Required: true
	Closed *int64 `json:"closed"`

	// The number of errors observed during connecting process
	// Required: true
	Errors *int64 `json:"errors"`

	// The actual number of established connections
	// Required: true
	Successful *int64 `json:"successful"`
}

NetworkGeneratorConnectionStats Network generator connection statistics

swagger:model NetworkGeneratorConnectionStats

func (*NetworkGeneratorConnectionStats) ContextValidate

func (m *NetworkGeneratorConnectionStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network generator connection stats based on context it is used

func (*NetworkGeneratorConnectionStats) MarshalBinary

func (m *NetworkGeneratorConnectionStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGeneratorConnectionStats) UnmarshalBinary

func (m *NetworkGeneratorConnectionStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGeneratorConnectionStats) Validate

Validate validates this network generator connection stats

type NetworkGeneratorResult

type NetworkGeneratorResult struct {

	// Indicates whether the result is currently being updated
	// Required: true
	Active *bool `json:"active"`

	// connection
	// Required: true
	Connection *NetworkGeneratorConnectionStats `json:"connection"`

	// dynamic results
	DynamicResults *DynamicResults `json:"dynamic_results,omitempty"`

	// Network generator identifier that generated this result
	GeneratorID string `json:"generator_id,omitempty"`

	// Unique generator result identifier
	// Required: true
	ID *string `json:"id"`

	// read
	// Required: true
	Read *NetworkGeneratorStats `json:"read"`

	// The ISO8601-formatted start time of the generator
	// Required: true
	// Format: date-time
	TimestampFirst *strfmt.DateTime `json:"timestamp_first"`

	// The ISO8601-formatted date of the last result update
	// Required: true
	// Format: date-time
	TimestampLast *strfmt.DateTime `json:"timestamp_last"`

	// write
	// Required: true
	Write *NetworkGeneratorStats `json:"write"`
}

NetworkGeneratorResult Results collected by a running generator

swagger:model NetworkGeneratorResult

func (*NetworkGeneratorResult) ContextValidate

func (m *NetworkGeneratorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network generator result based on the context it is used

func (*NetworkGeneratorResult) MarshalBinary

func (m *NetworkGeneratorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGeneratorResult) UnmarshalBinary

func (m *NetworkGeneratorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGeneratorResult) Validate

func (m *NetworkGeneratorResult) Validate(formats strfmt.Registry) error

Validate validates this network generator result

type NetworkGeneratorStats

type NetworkGeneratorStats struct {

	// The actual number of bytes read or written
	// Required: true
	// Minimum: 0
	BytesActual *int64 `json:"bytes_actual"`

	// The intended number of bytes read or written
	// Required: true
	// Minimum: 0
	BytesTarget *int64 `json:"bytes_target"`

	// The number of io_errors observed during reading or writing
	// Required: true
	// Minimum: 0
	IoErrors *int64 `json:"io_errors"`

	// The maximum observed latency value (in nanoseconds)
	// Minimum: 0
	LatencyMax *int64 `json:"latency_max,omitempty"`

	// The minimum observed latency value (in nanoseconds)
	// Minimum: 0
	LatencyMin *int64 `json:"latency_min,omitempty"`

	// The total amount of time required to perform all operations (in nanoseconds)
	// Required: true
	// Minimum: 0
	LatencyTotal *int64 `json:"latency_total"`

	// The actual number of operations performed
	// Required: true
	// Minimum: 0
	OpsActual *int64 `json:"ops_actual"`

	// The intended number of operations performed
	// Required: true
	// Minimum: 0
	OpsTarget *int64 `json:"ops_target"`
}

NetworkGeneratorStats Network generator statistics

swagger:model NetworkGeneratorStats

func (*NetworkGeneratorStats) ContextValidate

func (m *NetworkGeneratorStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network generator stats based on context it is used

func (*NetworkGeneratorStats) MarshalBinary

func (m *NetworkGeneratorStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkGeneratorStats) UnmarshalBinary

func (m *NetworkGeneratorStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkGeneratorStats) Validate

func (m *NetworkGeneratorStats) Validate(formats strfmt.Registry) error

Validate validates this network generator stats

type NetworkServer

type NetworkServer struct {

	// Unique network server identifier
	// Required: true
	ID *string `json:"id"`

	// Bind server socket to a particular device, specified as interface name (required for dpdk driver)
	Interface string `json:"interface,omitempty"`

	// UDP/TCP port on which to listen for client connections
	// Required: true
	// Maximum: 65535
	// Minimum: 0
	Port *int64 `json:"port"`

	// Protocol which is used to establish client connections
	// Required: true
	// Enum: [tcp udp]
	Protocol *string `json:"protocol"`

	// stats
	// Required: true
	Stats *NetworkServerStats `json:"stats"`
}

NetworkServer Network server

swagger:model NetworkServer

func (*NetworkServer) ContextValidate

func (m *NetworkServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network server based on the context it is used

func (*NetworkServer) MarshalBinary

func (m *NetworkServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkServer) UnmarshalBinary

func (m *NetworkServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkServer) Validate

func (m *NetworkServer) Validate(formats strfmt.Registry) error

Validate validates this network server

type NetworkServerStats

type NetworkServerStats struct {

	// The number of bytes read
	// Required: true
	// Minimum: 0
	BytesReceived *int64 `json:"bytes_received"`

	// The number of bytes written
	// Required: true
	// Minimum: 0
	BytesSent *int64 `json:"bytes_sent"`

	// The number of closed client connections
	// Required: true
	// Minimum: 0
	Closed *int64 `json:"closed"`

	// The number of accepted client connections (the number of operations for UDP socket)
	// Required: true
	// Minimum: 0
	Connections *int64 `json:"connections"`

	// The number of errors observed during connection
	// Required: true
	// Minimum: 0
	Errors *int64 `json:"errors"`
}

NetworkServerStats Network server statistics

swagger:model networkServerStats

func (*NetworkServerStats) ContextValidate

func (m *NetworkServerStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network server stats based on context it is used

func (*NetworkServerStats) MarshalBinary

func (m *NetworkServerStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkServerStats) UnmarshalBinary

func (m *NetworkServerStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkServerStats) Validate

func (m *NetworkServerStats) Validate(formats strfmt.Registry) error

Validate validates this network server stats

type PacketAnalyzer

type PacketAnalyzer struct {

	// Indicates whether this object is currently analyzing packets or not.
	//
	// Required: true
	Active *bool `json:"active"`

	// config
	// Required: true
	Config *PacketAnalyzerConfig `json:"config"`

	// Unique analyzer identifier
	// Required: true
	ID *string `json:"id"`

	// Specifies the unique source of packets for this analyzer. This
	// id may refer to either a port or an interface.
	//
	// Required: true
	SourceID *string `json:"source_id"`
}

PacketAnalyzer Packet analyzer; analyzers count received traffic and generate statistics using various analysis methods.

swagger:model PacketAnalyzer

func (*PacketAnalyzer) ContextValidate

func (m *PacketAnalyzer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer based on the context it is used

func (*PacketAnalyzer) MarshalBinary

func (m *PacketAnalyzer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzer) UnmarshalBinary

func (m *PacketAnalyzer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzer) Validate

func (m *PacketAnalyzer) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer

type PacketAnalyzerConfig

type PacketAnalyzerConfig struct {

	// Berkley Packet Filter (BPF) rules that matches input packets for this
	// analyzer to count. An empty rule, the default, matches all frames.
	//
	Filter string `json:"filter,omitempty"`

	// List of results to generate per flow for received packets.
	// Sequencing, latency, and jitter results require Spirent
	// signatures in the received packets. Pseudo Random Bit
	// Sequence (PRBS) results require packet payloads to contain
	// compatible PRBS data.
	//
	// Required: true
	// Unique: true
	FlowCounters []string `json:"flow_counters"`

	// List of result digests to generate per flow for received packets.
	// Sequence run length, latency, and jitter digests require Spirent
	// signatures in the received packets.
	//
	// Unique: true
	FlowDigests []string `json:"flow_digests"`

	// List of protocol counters to update per analyzer for received packets.
	//
	// Required: true
	// Unique: true
	ProtocolCounters []string `json:"protocol_counters"`
}

PacketAnalyzerConfig Packet analyzer configuration; the configuration specifies what packets are analyzed and what results are calculated.

swagger:model PacketAnalyzerConfig

func (*PacketAnalyzerConfig) ContextValidate

func (m *PacketAnalyzerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet analyzer config based on context it is used

func (*PacketAnalyzerConfig) MarshalBinary

func (m *PacketAnalyzerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerConfig) UnmarshalBinary

func (m *PacketAnalyzerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerConfig) Validate

func (m *PacketAnalyzerConfig) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer config

type PacketAnalyzerFlowCounters

type PacketAnalyzerFlowCounters struct {

	// errors
	// Required: true
	Errors *PacketAnalyzerFlowCountersErrors `json:"errors"`

	// Number of received packets
	// Required: true
	// Minimum: 0
	FrameCount *int64 `json:"frame_count"`

	// frame length
	FrameLength *PacketAnalyzerFlowCountersFrameLength `json:"frame_length,omitempty"`

	// List of protocol headers
	// Min Items: 1
	Headers []*PacketAnalyzerFlowHeader `json:"headers"`

	// interarrival
	Interarrival *PacketAnalyzerFlowCountersInterarrival `json:"interarrival,omitempty"`

	// jitter ipdv
	JitterIpdv *PacketAnalyzerFlowCountersJitterIpdv `json:"jitter_ipdv,omitempty"`

	// jitter rfc
	JitterRfc *PacketAnalyzerFlowCountersJitterRfc `json:"jitter_rfc,omitempty"`

	// latency
	Latency *PacketAnalyzerFlowCountersLatency `json:"latency,omitempty"`

	// prbs
	Prbs *PacketAnalyzerFlowCountersPrbs `json:"prbs,omitempty"`

	// sequence
	Sequence *PacketAnalyzerFlowCountersSequence `json:"sequence,omitempty"`

	// Timestamp of first received packet
	// Format: date-time
	TimestampFirst strfmt.DateTime `json:"timestamp_first,omitempty"`

	// Timestamp of last received packet
	// Format: date-time
	TimestampLast strfmt.DateTime `json:"timestamp_last,omitempty"`
}

PacketAnalyzerFlowCounters Result counters for flows

swagger:model PacketAnalyzerFlowCounters

func (*PacketAnalyzerFlowCounters) ContextValidate

func (m *PacketAnalyzerFlowCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow counters based on the context it is used

func (*PacketAnalyzerFlowCounters) MarshalBinary

func (m *PacketAnalyzerFlowCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCounters) UnmarshalBinary

func (m *PacketAnalyzerFlowCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCounters) Validate

func (m *PacketAnalyzerFlowCounters) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer flow counters

type PacketAnalyzerFlowCountersErrors

type PacketAnalyzerFlowCountersErrors struct {

	// Number of Frame Check Sequence errors
	// Required: true
	Fcs *int64 `json:"fcs"`

	// Number of IPv4 checksum errors
	// Required: true
	IPV4Checksum *int64 `json:"ipv4_checksum"`

	// Number of TCP checksum errors
	// Required: true
	TCPChecksum *int64 `json:"tcp_checksum"`

	// Number of UDP checksum errors
	// Required: true
	UDPChecksum *int64 `json:"udp_checksum"`
}

PacketAnalyzerFlowCountersErrors Error counters

swagger:model PacketAnalyzerFlowCountersErrors

func (*PacketAnalyzerFlowCountersErrors) ContextValidate

func (m *PacketAnalyzerFlowCountersErrors) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet analyzer flow counters errors based on context it is used

func (*PacketAnalyzerFlowCountersErrors) MarshalBinary

func (m *PacketAnalyzerFlowCountersErrors) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersErrors) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersErrors) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersErrors) Validate

Validate validates this packet analyzer flow counters errors

type PacketAnalyzerFlowCountersFrameLength

type PacketAnalyzerFlowCountersFrameLength struct {

	// summary
	// Required: true
	Summary *PacketAnalyzerFlowSummaryCounters `json:"summary"`

	// Frame length result units
	// Required: true
	// Enum: [octets]
	Units *string `json:"units"`
}

PacketAnalyzerFlowCountersFrameLength Frame length result counters

swagger:model PacketAnalyzerFlowCountersFrameLength

func (*PacketAnalyzerFlowCountersFrameLength) ContextValidate

func (m *PacketAnalyzerFlowCountersFrameLength) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow counters frame length based on the context it is used

func (*PacketAnalyzerFlowCountersFrameLength) MarshalBinary

func (m *PacketAnalyzerFlowCountersFrameLength) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersFrameLength) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersFrameLength) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersFrameLength) Validate

Validate validates this packet analyzer flow counters frame length

type PacketAnalyzerFlowCountersInterarrival

type PacketAnalyzerFlowCountersInterarrival struct {

	// summary
	// Required: true
	Summary *PacketAnalyzerFlowSummaryCounters `json:"summary"`

	// Inter-arrival time measurement units
	// Required: true
	// Enum: [nanoseconds]
	Units *string `json:"units"`
}

PacketAnalyzerFlowCountersInterarrival Inter-arrival time result counters

swagger:model PacketAnalyzerFlowCountersInterarrival

func (*PacketAnalyzerFlowCountersInterarrival) ContextValidate

ContextValidate validate this packet analyzer flow counters interarrival based on the context it is used

func (*PacketAnalyzerFlowCountersInterarrival) MarshalBinary

func (m *PacketAnalyzerFlowCountersInterarrival) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersInterarrival) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersInterarrival) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersInterarrival) Validate

Validate validates this packet analyzer flow counters interarrival

type PacketAnalyzerFlowCountersJitterIpdv

type PacketAnalyzerFlowCountersJitterIpdv struct {

	// summary
	// Required: true
	Summary *PacketAnalyzerFlowSummaryCounters `json:"summary"`

	// Jitter time measurement units
	// Required: true
	// Enum: [nanoseconds]
	Units *string `json:"units"`
}

PacketAnalyzerFlowCountersJitterIpdv Jitter (RFC 3393) result counters

swagger:model PacketAnalyzerFlowCountersJitterIpdv

func (*PacketAnalyzerFlowCountersJitterIpdv) ContextValidate

func (m *PacketAnalyzerFlowCountersJitterIpdv) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow counters jitter ipdv based on the context it is used

func (*PacketAnalyzerFlowCountersJitterIpdv) MarshalBinary

func (m *PacketAnalyzerFlowCountersJitterIpdv) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersJitterIpdv) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersJitterIpdv) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersJitterIpdv) Validate

Validate validates this packet analyzer flow counters jitter ipdv

type PacketAnalyzerFlowCountersJitterRfc

type PacketAnalyzerFlowCountersJitterRfc struct {

	// summary
	// Required: true
	Summary *PacketAnalyzerFlowSummaryCounters `json:"summary"`

	// Jitter time measurement units
	// Required: true
	// Enum: [nanoseconds]
	Units *string `json:"units"`
}

PacketAnalyzerFlowCountersJitterRfc Jitter (RFC 4737) result counters

swagger:model PacketAnalyzerFlowCountersJitterRfc

func (*PacketAnalyzerFlowCountersJitterRfc) ContextValidate

func (m *PacketAnalyzerFlowCountersJitterRfc) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow counters jitter rfc based on the context it is used

func (*PacketAnalyzerFlowCountersJitterRfc) MarshalBinary

func (m *PacketAnalyzerFlowCountersJitterRfc) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersJitterRfc) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersJitterRfc) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersJitterRfc) Validate

Validate validates this packet analyzer flow counters jitter rfc

type PacketAnalyzerFlowCountersLatency

type PacketAnalyzerFlowCountersLatency struct {

	// summary
	// Required: true
	Summary *PacketAnalyzerFlowSummaryCounters `json:"summary"`

	// Latency measurement units
	// Required: true
	// Enum: [nanoseconds]
	Units *string `json:"units"`
}

PacketAnalyzerFlowCountersLatency Latency result counters

swagger:model PacketAnalyzerFlowCountersLatency

func (*PacketAnalyzerFlowCountersLatency) ContextValidate

func (m *PacketAnalyzerFlowCountersLatency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow counters latency based on the context it is used

func (*PacketAnalyzerFlowCountersLatency) MarshalBinary

func (m *PacketAnalyzerFlowCountersLatency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersLatency) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersLatency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersLatency) Validate

Validate validates this packet analyzer flow counters latency

type PacketAnalyzerFlowCountersPrbs

type PacketAnalyzerFlowCountersPrbs struct {

	// Number of PRBS bit errors detected
	// Required: true
	// Minimum: 0
	BitErrors *int64 `json:"bit_errors"`

	// Number of packets with PRBS bit errors detected
	// Minimum: 0
	FrameErrors *int64 `json:"frame_errors,omitempty"`

	// Number of PRBS octets checked
	// Required: true
	// Minimum: 0
	Octets *int64 `json:"octets"`
}

PacketAnalyzerFlowCountersPrbs PRBS bit error results

swagger:model PacketAnalyzerFlowCountersPrbs

func (*PacketAnalyzerFlowCountersPrbs) ContextValidate

func (m *PacketAnalyzerFlowCountersPrbs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet analyzer flow counters prbs based on context it is used

func (*PacketAnalyzerFlowCountersPrbs) MarshalBinary

func (m *PacketAnalyzerFlowCountersPrbs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersPrbs) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersPrbs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersPrbs) Validate

func (m *PacketAnalyzerFlowCountersPrbs) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer flow counters prbs

type PacketAnalyzerFlowCountersSequence

type PacketAnalyzerFlowCountersSequence struct {

	// Number of packets expected but not yet received
	// Required: true
	// Minimum: 0
	Dropped *int64 `json:"dropped"`

	// Number of duplicate packets received
	// Required: true
	// Minimum: 0
	Duplicate *int64 `json:"duplicate"`

	// Number of packets received in the expected sequence
	// Required: true
	// Minimum: 0
	InOrder *int64 `json:"in_order"`

	// Number of late packets received
	// Required: true
	// Minimum: 0
	Late *int64 `json:"late"`

	// Number of reordered packets received
	// Required: true
	// Minimum: 0
	Reordered *int64 `json:"reordered"`

	// Number of packets received in sequence
	// Required: true
	// Minimum: 0
	RunLength *int64 `json:"run_length"`
}

PacketAnalyzerFlowCountersSequence Advanced Sequencing result counters

swagger:model PacketAnalyzerFlowCountersSequence

func (*PacketAnalyzerFlowCountersSequence) ContextValidate

func (m *PacketAnalyzerFlowCountersSequence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet analyzer flow counters sequence based on context it is used

func (*PacketAnalyzerFlowCountersSequence) MarshalBinary

func (m *PacketAnalyzerFlowCountersSequence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersSequence) UnmarshalBinary

func (m *PacketAnalyzerFlowCountersSequence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowCountersSequence) Validate

Validate validates this packet analyzer flow counters sequence

type PacketAnalyzerFlowDigestResult

type PacketAnalyzerFlowDigestResult struct {

	// An array of mean, weight pairs, aka centroids
	// Required: true
	Centroids []*TDigestCentroid `json:"centroids"`
}

PacketAnalyzerFlowDigestResult Digest result for per-packet statistics

swagger:model PacketAnalyzerFlowDigestResult

func (*PacketAnalyzerFlowDigestResult) ContextValidate

func (m *PacketAnalyzerFlowDigestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow digest result based on the context it is used

func (*PacketAnalyzerFlowDigestResult) MarshalBinary

func (m *PacketAnalyzerFlowDigestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowDigestResult) UnmarshalBinary

func (m *PacketAnalyzerFlowDigestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowDigestResult) Validate

func (m *PacketAnalyzerFlowDigestResult) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer flow digest result

type PacketAnalyzerFlowDigests

type PacketAnalyzerFlowDigests struct {

	// frame length
	FrameLength *PacketAnalyzerFlowDigestResult `json:"frame_length,omitempty"`

	// interarrival
	Interarrival *PacketAnalyzerFlowDigestResult `json:"interarrival,omitempty"`

	// jitter ipdv
	JitterIpdv *PacketAnalyzerFlowDigestResult `json:"jitter_ipdv,omitempty"`

	// jitter rfc
	JitterRfc *PacketAnalyzerFlowDigestResult `json:"jitter_rfc,omitempty"`

	// latency
	Latency *PacketAnalyzerFlowDigestResult `json:"latency,omitempty"`

	// sequence run length
	SequenceRunLength *PacketAnalyzerFlowDigestResult `json:"sequence_run_length,omitempty"`
}

PacketAnalyzerFlowDigests Result digests for flows

swagger:model PacketAnalyzerFlowDigests

func (*PacketAnalyzerFlowDigests) ContextValidate

func (m *PacketAnalyzerFlowDigests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow digests based on the context it is used

func (*PacketAnalyzerFlowDigests) MarshalBinary

func (m *PacketAnalyzerFlowDigests) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowDigests) UnmarshalBinary

func (m *PacketAnalyzerFlowDigests) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowDigests) Validate

func (m *PacketAnalyzerFlowDigests) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer flow digests

type PacketAnalyzerFlowHeader

type PacketAnalyzerFlowHeader struct {

	// ethernet
	Ethernet *PacketProtocolEthernet `json:"ethernet,omitempty"`

	// ipv4
	IPV4 *PacketProtocolIPV4 `json:"ipv4,omitempty"`

	// ipv6
	IPV6 *PacketProtocolIPV6 `json:"ipv6,omitempty"`

	// mpls
	Mpls *PacketProtocolMpls `json:"mpls,omitempty"`

	// tcp
	TCP *PacketProtocolTCP `json:"tcp,omitempty"`

	// udp
	UDP *PacketProtocolUDP `json:"udp,omitempty"`

	// Base64 encoded header
	Unknown string `json:"unknown,omitempty"`

	// vlan
	Vlan *PacketProtocolVlan `json:"vlan,omitempty"`
}

PacketAnalyzerFlowHeader A decoded protocol header

swagger:model PacketAnalyzerFlowHeader

func (*PacketAnalyzerFlowHeader) ContextValidate

func (m *PacketAnalyzerFlowHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer flow header based on the context it is used

func (*PacketAnalyzerFlowHeader) MarshalBinary

func (m *PacketAnalyzerFlowHeader) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowHeader) UnmarshalBinary

func (m *PacketAnalyzerFlowHeader) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowHeader) Validate

func (m *PacketAnalyzerFlowHeader) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer flow header

type PacketAnalyzerFlowSummaryCounters

type PacketAnalyzerFlowSummaryCounters struct {

	// Maximum value
	// Minimum: 0
	Max *int64 `json:"max,omitempty"`

	// Minimum value
	// Minimum: 0
	Min *int64 `json:"min,omitempty"`

	// Standard deviation of received values
	// Minimum: 0
	StdDev *int64 `json:"std_dev,omitempty"`

	// Sum of all received values
	// Required: true
	// Minimum: 0
	Total *int64 `json:"total"`
}

PacketAnalyzerFlowSummaryCounters Summary results for per-packet statistics

swagger:model PacketAnalyzerFlowSummaryCounters

func (*PacketAnalyzerFlowSummaryCounters) ContextValidate

func (m *PacketAnalyzerFlowSummaryCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet analyzer flow summary counters based on context it is used

func (*PacketAnalyzerFlowSummaryCounters) MarshalBinary

func (m *PacketAnalyzerFlowSummaryCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerFlowSummaryCounters) UnmarshalBinary

func (m *PacketAnalyzerFlowSummaryCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerFlowSummaryCounters) Validate

Validate validates this packet analyzer flow summary counters

type PacketAnalyzerProtocolCounters

type PacketAnalyzerProtocolCounters struct {

	// ethernet
	Ethernet *PacketEthernetProtocolCounters `json:"ethernet,omitempty"`

	// inner ethernet
	InnerEthernet *PacketInnerEthernetProtocolCounters `json:"inner_ethernet,omitempty"`

	// inner ip
	InnerIP *PacketInnerIPProtocolCounters `json:"inner_ip,omitempty"`

	// inner transport
	InnerTransport *PacketInnerTransportProtocolCounters `json:"inner_transport,omitempty"`

	// ip
	IP *PacketIPProtocolCounters `json:"ip,omitempty"`

	// transport
	Transport *PacketTransportProtocolCounters `json:"transport,omitempty"`

	// tunnel
	Tunnel *PacketTunnelProtocolCounters `json:"tunnel,omitempty"`
}

PacketAnalyzerProtocolCounters Result counters for protocols

swagger:model PacketAnalyzerProtocolCounters

func (*PacketAnalyzerProtocolCounters) ContextValidate

func (m *PacketAnalyzerProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer protocol counters based on the context it is used

func (*PacketAnalyzerProtocolCounters) MarshalBinary

func (m *PacketAnalyzerProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerProtocolCounters) UnmarshalBinary

func (m *PacketAnalyzerProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerProtocolCounters) Validate

func (m *PacketAnalyzerProtocolCounters) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer protocol counters

type PacketAnalyzerResult

type PacketAnalyzerResult struct {

	// Indicates whether the result is currently receiving updates
	// Required: true
	Active *bool `json:"active"`

	// Unique analyzer identifier that generated this result
	AnalyzerID string `json:"analyzer_id,omitempty"`

	// flow counters
	// Required: true
	FlowCounters *PacketAnalyzerFlowCounters `json:"flow_counters"`

	// flow digests
	FlowDigests *PacketAnalyzerFlowDigests `json:"flow_digests,omitempty"`

	// List of unique flow ids included in stats. Individual flow
	// statistics may be queried via the `rx-flows` endpoint.
	//
	Flows []string `json:"flows"`

	// Unique analyzer result identifier
	// Required: true
	ID *string `json:"id"`

	// protocol counters
	// Required: true
	ProtocolCounters *PacketAnalyzerProtocolCounters `json:"protocol_counters"`
}

PacketAnalyzerResult Results collected by a running packet analyzer

swagger:model PacketAnalyzerResult

func (*PacketAnalyzerResult) ContextValidate

func (m *PacketAnalyzerResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet analyzer result based on the context it is used

func (*PacketAnalyzerResult) MarshalBinary

func (m *PacketAnalyzerResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketAnalyzerResult) UnmarshalBinary

func (m *PacketAnalyzerResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketAnalyzerResult) Validate

func (m *PacketAnalyzerResult) Validate(formats strfmt.Registry) error

Validate validates this packet analyzer result

type PacketCapture

type PacketCapture struct {

	// Indicates whether this object is currently capturing packets or not.
	//
	// Required: true
	Active *bool `json:"active"`

	// config
	// Required: true
	Config *PacketCaptureConfig `json:"config"`

	// Packet capture direction
	// Required: true
	// Enum: [rx tx rx_and_tx]
	Direction *string `json:"direction"`

	// Unique capture identifier
	// Required: true
	ID *string `json:"id"`

	// Specifies the unique source of packets for this capture. This
	// id may refer to either a port or an interface.
	//
	// Required: true
	SourceID *string `json:"source_id"`
}

PacketCapture Packet capture; captures packets.

swagger:model PacketCapture

func (*PacketCapture) ContextValidate

func (m *PacketCapture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet capture based on the context it is used

func (*PacketCapture) MarshalBinary

func (m *PacketCapture) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketCapture) UnmarshalBinary

func (m *PacketCapture) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketCapture) Validate

func (m *PacketCapture) Validate(formats strfmt.Registry) error

Validate validates this packet capture

type PacketCaptureConfig

type PacketCaptureConfig struct {

	// Capture buffer size in bytes.
	// Required: true
	// Minimum: 4096
	BufferSize *int64 `json:"buffer_size"`

	// Indicates whether capture wraps when it reaches the end of the
	// buffer.  When buffer wrap is enabled capture will continue until
	// capture is stopped with the stop command or a stop trigger.
	//
	BufferWrap *bool `json:"buffer_wrap,omitempty"`

	// Maximum time duration for the capture in msec.
	//
	// Minimum: 1
	Duration int64 `json:"duration,omitempty"`

	// Berkley Packet Filter (BPF) rules that matches packets to
	// capture.  An empty rule, the default, matches all frames.
	//
	Filter string `json:"filter,omitempty"`

	// Capture mode
	// Required: true
	// Enum: [buffer live]
	Mode *string `json:"mode"`

	// Maximum number of packets to capture.
	//
	// Minimum: 1
	PacketCount int64 `json:"packet_count,omitempty"`

	// Maximum length of packet to capture. If the packet is larger than the packet size, the packet is truncated.
	// Minimum: 1
	PacketSize int32 `json:"packet_size,omitempty"`

	// Berkley Packet Filter (BPF) rules used to trigger the start
	// of packet capture.  When a trigger condition is specified,
	// the capture start command puts capture into an armed state
	// and capture will only begin when the trigger condition occurs.
	//
	StartTrigger string `json:"start_trigger,omitempty"`

	// Berkley Packet Filter (BPF) rules used to trigger the stop
	// of packet capture.
	//
	StopTrigger string `json:"stop_trigger,omitempty"`
}

PacketCaptureConfig Packet capture configuration; the configuration controls the capture behavior.

swagger:model packetCaptureConfig

func (*PacketCaptureConfig) ContextValidate

func (m *PacketCaptureConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet capture config based on context it is used

func (*PacketCaptureConfig) MarshalBinary

func (m *PacketCaptureConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketCaptureConfig) UnmarshalBinary

func (m *PacketCaptureConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketCaptureConfig) Validate

func (m *PacketCaptureConfig) Validate(formats strfmt.Registry) error

Validate validates this packet capture config

type PacketCaptureResult

type PacketCaptureResult struct {

	// Indicates whether this object is currently capturing packets or not.
	//
	Active bool `json:"active,omitempty"`

	// Number of bytes captured
	// Required: true
	// Minimum: 0
	Bytes *int64 `json:"bytes"`

	// Unique capture identifier that generated this result
	// Required: true
	CaptureID *string `json:"capture_id"`

	// Unique capture result identifier
	// Required: true
	ID *string `json:"id"`

	// Number of packets captured
	// Required: true
	// Minimum: 0
	Packets *int64 `json:"packets"`

	// Capture state
	// Required: true
	// Enum: [stopped armed running]
	State *string `json:"state"`
}

PacketCaptureResult Packet capture results

swagger:model PacketCaptureResult

func (*PacketCaptureResult) ContextValidate

func (m *PacketCaptureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet capture result based on context it is used

func (*PacketCaptureResult) MarshalBinary

func (m *PacketCaptureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketCaptureResult) UnmarshalBinary

func (m *PacketCaptureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketCaptureResult) Validate

func (m *PacketCaptureResult) Validate(formats strfmt.Registry) error

Validate validates this packet capture result

type PacketEthernetProtocolCounters

type PacketEthernetProtocolCounters struct {

	// Number of Address Resolution Protocol frames
	// Required: true
	// Minimum: 0
	Arp *int64 `json:"arp"`

	// Number of Fiber Channel over Ethernet frames
	// Required: true
	// Minimum: 0
	Fcoe *int64 `json:"fcoe"`

	// Number of IPv4/IPv6 frames
	// Required: true
	// Minimum: 0
	IP *int64 `json:"ip"`

	// Number of Link Layer Discover Protocol frames
	// Required: true
	// Minimum: 0
	Lldp *int64 `json:"lldp"`

	// Number of Multi Protocol Label Switched frames
	// Required: true
	// Minimum: 0
	Mpls *int64 `json:"mpls"`

	// Number of Network Service Header frames
	// Required: true
	// Minimum: 0
	Nsh *int64 `json:"nsh"`

	// Number of PPP over Ethernet frames
	// Required: true
	// Minimum: 0
	Pppoe *int64 `json:"pppoe"`

	// Number of Queue-in-Queue frames
	// Required: true
	// Minimum: 0
	Qinq *int64 `json:"qinq"`

	// Number of Precision Time Protocol frames
	// Required: true
	// Minimum: 0
	Timesync *int64 `json:"timesync"`

	// Number of Virtual LAN frames
	// Required: true
	// Minimum: 0
	Vlan *int64 `json:"vlan"`
}

PacketEthernetProtocolCounters Layer 2 protocol counters

swagger:model PacketEthernetProtocolCounters

func (*PacketEthernetProtocolCounters) ContextValidate

func (m *PacketEthernetProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet ethernet protocol counters based on context it is used

func (*PacketEthernetProtocolCounters) MarshalBinary

func (m *PacketEthernetProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketEthernetProtocolCounters) UnmarshalBinary

func (m *PacketEthernetProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketEthernetProtocolCounters) Validate

func (m *PacketEthernetProtocolCounters) Validate(formats strfmt.Registry) error

Validate validates this packet ethernet protocol counters

type PacketGenerator

type PacketGenerator struct {

	// Indicates whether this object is currently generating packets or not.
	//
	// Required: true
	Active *bool `json:"active"`

	// config
	// Required: true
	Config *PacketGeneratorConfig `json:"config"`

	// Unique generator identifier
	// Required: true
	ID *string `json:"id"`

	// Current state of MAC learning. For generators targeted to interfaces
	// this must be "resolved" else generator won't start.
	//
	// Required: true
	// Enum: [unsupported unresolved resolving resolved timed_out]
	Learning *string `json:"learning"`

	// Specifies the unique target for packets from this generator. This
	// id may refer to either a port or an interface id.
	//
	// Required: true
	TargetID *string `json:"target_id"`
}

PacketGenerator Packet generator

swagger:model PacketGenerator

func (*PacketGenerator) ContextValidate

func (m *PacketGenerator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet generator based on the context it is used

func (*PacketGenerator) MarshalBinary

func (m *PacketGenerator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGenerator) UnmarshalBinary

func (m *PacketGenerator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGenerator) Validate

func (m *PacketGenerator) Validate(formats strfmt.Registry) error

Validate validates this packet generator

type PacketGeneratorConfig

type PacketGeneratorConfig struct {

	// duration
	// Required: true
	Duration *TrafficDuration `json:"duration"`

	// Specifies the total number of flows in all traffic definitions
	// Minimum: 1
	FlowCount int64 `json:"flow_count,omitempty"`

	// load
	// Required: true
	Load *TrafficLoad `json:"load"`

	// Tells the generator how to sequence multiple traffic definitions. Only
	// needed if more than one traffic definition is present.
	//
	// Enum: [round-robin sequential]
	Order string `json:"order,omitempty"`

	// List of protocol counters to update per transmitted packet.
	//
	ProtocolCounters []string `json:"protocol_counters"`

	// List of traffic definitions
	// Required: true
	// Min Items: 1
	Traffic []*TrafficDefinition `json:"traffic"`
}

PacketGeneratorConfig Packet generator configuration

swagger:model PacketGeneratorConfig

func (*PacketGeneratorConfig) ContextValidate

func (m *PacketGeneratorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet generator config based on the context it is used

func (*PacketGeneratorConfig) MarshalBinary

func (m *PacketGeneratorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorConfig) UnmarshalBinary

func (m *PacketGeneratorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorConfig) Validate

func (m *PacketGeneratorConfig) Validate(formats strfmt.Registry) error

Validate validates this packet generator config

type PacketGeneratorFlowCounters

type PacketGeneratorFlowCounters struct {

	// The number of packets not transmitted due to errors
	// Required: true
	// Minimum: 0
	Errors *int64 `json:"errors"`

	// The total number of octets that have been transmitted
	// Required: true
	// Minimum: 0
	OctetsActual *int64 `json:"octets_actual"`

	// The total number of octets that were dropped due to overrunning the
	// transmit queue. Transmit packet drops are not enabled by default and
	// must be explicitly enabled.
	//
	// Minimum: 0
	OctetsDropped *int64 `json:"octets_dropped,omitempty"`

	// The total number of octets that should have been transmitted
	// Required: true
	// Minimum: 0
	OctetsIntended *int64 `json:"octets_intended"`

	// The total number of packets that have been transmitted
	// Required: true
	// Minimum: 0
	PacketsActual *int64 `json:"packets_actual"`

	// The total number of packets that were dropped due to overrunning the
	// transmit queue. Transmit packet drops are not enabled by default and
	// must be explicitly enabled.
	//
	// Minimum: 0
	PacketsDropped *int64 `json:"packets_dropped,omitempty"`

	// The total number of packets that should have been transmitted
	// Required: true
	// Minimum: 0
	PacketsIntended *int64 `json:"packets_intended"`

	// The timestamp of the first transmitted packet
	// Format: date-time
	TimestampFirst strfmt.DateTime `json:"timestamp_first,omitempty"`

	// The timestamp of the most recently transmitted packet
	// Format: date-time
	TimestampLast strfmt.DateTime `json:"timestamp_last,omitempty"`
}

PacketGeneratorFlowCounters Packet generator flow statistics

swagger:model PacketGeneratorFlowCounters

func (*PacketGeneratorFlowCounters) ContextValidate

func (m *PacketGeneratorFlowCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet generator flow counters based on context it is used

func (*PacketGeneratorFlowCounters) MarshalBinary

func (m *PacketGeneratorFlowCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorFlowCounters) UnmarshalBinary

func (m *PacketGeneratorFlowCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorFlowCounters) Validate

func (m *PacketGeneratorFlowCounters) Validate(formats strfmt.Registry) error

Validate validates this packet generator flow counters

type PacketGeneratorLearningResultIPV4

type PacketGeneratorLearningResultIPV4 struct {

	// IPv4 address.
	// Required: true
	// Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])$
	IPAddress *string `json:"ip_address"`

	// MAC address of associated IPv4 address.
	MacAddress string `json:"mac_address,omitempty"`
}

PacketGeneratorLearningResultIPV4 Defines an IPv4 address MAC address pair.

swagger:model PacketGeneratorLearningResultIpv4

func (*PacketGeneratorLearningResultIPV4) ContextValidate

func (m *PacketGeneratorLearningResultIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet generator learning result Ipv4 based on context it is used

func (*PacketGeneratorLearningResultIPV4) MarshalBinary

func (m *PacketGeneratorLearningResultIPV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorLearningResultIPV4) UnmarshalBinary

func (m *PacketGeneratorLearningResultIPV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorLearningResultIPV4) Validate

Validate validates this packet generator learning result Ipv4

type PacketGeneratorLearningResultIPV6

type PacketGeneratorLearningResultIPV6 struct {

	// IPv6 destination address.
	// Required: true
	// Pattern: ^((::[0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}::)|(([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F])|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))$
	IPAddress *string `json:"ip_address"`

	// MAC address of next hop IPv6 address.
	MacAddress string `json:"mac_address,omitempty"`

	// IPv6 next hop address.
	// Pattern: ^((::[0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}::)|(([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F])|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))$
	NextHopAddress string `json:"next_hop_address,omitempty"`
}

PacketGeneratorLearningResultIPV6 Defines an IPv6 destination address, IPv6 next hop address, next hop MAC address tuple.

swagger:model PacketGeneratorLearningResultIpv6

func (*PacketGeneratorLearningResultIPV6) ContextValidate

func (m *PacketGeneratorLearningResultIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet generator learning result Ipv6 based on context it is used

func (*PacketGeneratorLearningResultIPV6) MarshalBinary

func (m *PacketGeneratorLearningResultIPV6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorLearningResultIPV6) UnmarshalBinary

func (m *PacketGeneratorLearningResultIPV6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorLearningResultIPV6) Validate

Validate validates this packet generator learning result Ipv6

type PacketGeneratorLearningResults

type PacketGeneratorLearningResults struct {

	// List of IPv4 address and their associated MAC addresses.
	IPV4 []*PacketGeneratorLearningResultIPV4 `json:"ipv4"`

	// List of IPv6 destinations, IPv6 next hop, and next hop MAC addresses.
	IPV6 []*PacketGeneratorLearningResultIPV6 `json:"ipv6"`

	// Indicates current learning state.
	//
	// Required: true
	// Enum: [resolved resolving timed_out unresolved]
	ResolvedState *string `json:"resolved_state"`
}

PacketGeneratorLearningResults Current results of ARP/ND operations for an interface-attached generator.

swagger:model PacketGeneratorLearningResults

func (*PacketGeneratorLearningResults) ContextValidate

func (m *PacketGeneratorLearningResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet generator learning results based on the context it is used

func (*PacketGeneratorLearningResults) MarshalBinary

func (m *PacketGeneratorLearningResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorLearningResults) UnmarshalBinary

func (m *PacketGeneratorLearningResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorLearningResults) Validate

func (m *PacketGeneratorLearningResults) Validate(formats strfmt.Registry) error

Validate validates this packet generator learning results

type PacketGeneratorProtocolCounters

type PacketGeneratorProtocolCounters struct {

	// ethernet
	Ethernet *PacketEthernetProtocolCounters `json:"ethernet,omitempty"`

	// inner ethernet
	InnerEthernet *PacketInnerEthernetProtocolCounters `json:"inner_ethernet,omitempty"`

	// inner ip
	InnerIP *PacketInnerIPProtocolCounters `json:"inner_ip,omitempty"`

	// inner transport
	InnerTransport *PacketInnerTransportProtocolCounters `json:"inner_transport,omitempty"`

	// ip
	IP *PacketIPProtocolCounters `json:"ip,omitempty"`

	// transport
	Transport *PacketTransportProtocolCounters `json:"transport,omitempty"`

	// tunnel
	Tunnel *PacketTunnelProtocolCounters `json:"tunnel,omitempty"`
}

PacketGeneratorProtocolCounters Packet generator protocol statistics

swagger:model PacketGeneratorProtocolCounters

func (*PacketGeneratorProtocolCounters) ContextValidate

func (m *PacketGeneratorProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet generator protocol counters based on the context it is used

func (*PacketGeneratorProtocolCounters) MarshalBinary

func (m *PacketGeneratorProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorProtocolCounters) UnmarshalBinary

func (m *PacketGeneratorProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorProtocolCounters) Validate

Validate validates this packet generator protocol counters

type PacketGeneratorResult

type PacketGeneratorResult struct {

	// Indicates whether this result is currently being updated
	// Required: true
	Active *bool `json:"active"`

	// flow counters
	// Required: true
	FlowCounters *PacketGeneratorFlowCounters `json:"flow_counters"`

	// List of unique flow ids included in stats. Individual flow
	// statistics may be queried via the `tx-flows` endpoint.
	//
	// Required: true
	Flows []string `json:"flows"`

	// Unique generator identifier that produced this result
	GeneratorID string `json:"generator_id,omitempty"`

	// Unique generator result identifier
	// Required: true
	ID *string `json:"id"`

	// protocol counters
	// Required: true
	ProtocolCounters *PacketGeneratorProtocolCounters `json:"protocol_counters"`

	// remaining
	Remaining *TrafficDurationRemainder `json:"remaining,omitempty"`
}

PacketGeneratorResult Results produced by a packet generator

swagger:model PacketGeneratorResult

func (*PacketGeneratorResult) ContextValidate

func (m *PacketGeneratorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet generator result based on the context it is used

func (*PacketGeneratorResult) MarshalBinary

func (m *PacketGeneratorResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketGeneratorResult) UnmarshalBinary

func (m *PacketGeneratorResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketGeneratorResult) Validate

func (m *PacketGeneratorResult) Validate(formats strfmt.Registry) error

Validate validates this packet generator result

type PacketIPProtocolCounters

type PacketIPProtocolCounters struct {

	// Number of IPv4 packets without extensions
	// Required: true
	// Minimum: 0
	IPV4 *int64 `json:"ipv4"`

	// Number of IPv6 packets without extensions
	// Required: true
	// Minimum: 0
	IPV6 *int64 `json:"ipv6"`
}

PacketIPProtocolCounters Layer 3 protocol counters

swagger:model PacketIpProtocolCounters

func (*PacketIPProtocolCounters) ContextValidate

func (m *PacketIPProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet Ip protocol counters based on context it is used

func (*PacketIPProtocolCounters) MarshalBinary

func (m *PacketIPProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketIPProtocolCounters) UnmarshalBinary

func (m *PacketIPProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketIPProtocolCounters) Validate

func (m *PacketIPProtocolCounters) Validate(formats strfmt.Registry) error

Validate validates this packet Ip protocol counters

type PacketInnerEthernetProtocolCounters

type PacketInnerEthernetProtocolCounters struct {

	// Number of IPv6/IPv6 frames
	// Required: true
	// Minimum: 0
	IP *int64 `json:"ip"`

	// Number of Queue-in-Queue frames
	// Required: true
	// Minimum: 0
	Qinq *int64 `json:"qinq"`

	// Number of Virtual LAN frames
	// Required: true
	// Minimum: 0
	Vlan *int64 `json:"vlan"`
}

PacketInnerEthernetProtocolCounters Inner layer 2 protocol counters

swagger:model PacketInnerEthernetProtocolCounters

func (*PacketInnerEthernetProtocolCounters) ContextValidate

func (m *PacketInnerEthernetProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet inner ethernet protocol counters based on context it is used

func (*PacketInnerEthernetProtocolCounters) MarshalBinary

func (m *PacketInnerEthernetProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketInnerEthernetProtocolCounters) UnmarshalBinary

func (m *PacketInnerEthernetProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketInnerEthernetProtocolCounters) Validate

Validate validates this packet inner ethernet protocol counters

type PacketInnerIPProtocolCounters

type PacketInnerIPProtocolCounters struct {

	// Number of IPv4 packets without extensions
	// Required: true
	// Minimum: 0
	IPV4 *int64 `json:"ipv4"`

	// Number of IPv6 packets without extensions
	// Required: true
	// Minimum: 0
	IPV6 *int64 `json:"ipv6"`
}

PacketInnerIPProtocolCounters Inner layer 3 protocol counters

swagger:model PacketInnerIpProtocolCounters

func (*PacketInnerIPProtocolCounters) ContextValidate

func (m *PacketInnerIPProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet inner Ip protocol counters based on context it is used

func (*PacketInnerIPProtocolCounters) MarshalBinary

func (m *PacketInnerIPProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketInnerIPProtocolCounters) UnmarshalBinary

func (m *PacketInnerIPProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketInnerIPProtocolCounters) Validate

func (m *PacketInnerIPProtocolCounters) Validate(formats strfmt.Registry) error

Validate validates this packet inner Ip protocol counters

type PacketInnerTransportProtocolCounters

type PacketInnerTransportProtocolCounters struct {

	// Number of fragmented packets
	// Required: true
	// Minimum: 0
	Fragmented *int64 `json:"fragmented"`

	// Number of Internet Control Message Protocol packets
	// Required: true
	// Minimum: 0
	Icmp *int64 `json:"icmp"`

	// Number of non-fragmented packets
	// Required: true
	// Minimum: 0
	NonFragmented *int64 `json:"non_fragmented"`

	// Number of Stream Control Transmission Protocol packets
	// Required: true
	// Minimum: 0
	Sctp *int64 `json:"sctp"`

	// Number of Transmission Control Protocol packets
	// Required: true
	// Minimum: 0
	TCP *int64 `json:"tcp"`

	// Number of User Data Protocol packets
	// Required: true
	// Minimum: 0
	UDP *int64 `json:"udp"`
}

PacketInnerTransportProtocolCounters Inner layer 4 protocol counters

swagger:model PacketInnerTransportProtocolCounters

func (*PacketInnerTransportProtocolCounters) ContextValidate

func (m *PacketInnerTransportProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet inner transport protocol counters based on context it is used

func (*PacketInnerTransportProtocolCounters) MarshalBinary

func (m *PacketInnerTransportProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketInnerTransportProtocolCounters) UnmarshalBinary

func (m *PacketInnerTransportProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketInnerTransportProtocolCounters) Validate

Validate validates this packet inner transport protocol counters

type PacketProtocolCustom

type PacketProtocolCustom struct {

	// Base64 encoded binary packet data
	// Required: true
	Data *string `json:"data"`

	// Indicates which protocol layer this protocol belongs to.
	//
	// Required: true
	// Enum: [ethernet ip protocol payload]
	Layer *string `json:"layer"`

	// Indicates the value to use for a preceding header that
	// supports a next header type or protocol field. For example,
	// if a custom protocol came immediately after an Ethernet
	// header, then this value would be written to the Ethernet
	// header\'s ether_type field.
	//
	ProtocolID int64 `json:"protocol_id,omitempty"`
}

PacketProtocolCustom Defines an arbitrary sequence of data

swagger:model PacketProtocolCustom

func (*PacketProtocolCustom) ContextValidate

func (m *PacketProtocolCustom) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol custom based on context it is used

func (*PacketProtocolCustom) MarshalBinary

func (m *PacketProtocolCustom) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolCustom) UnmarshalBinary

func (m *PacketProtocolCustom) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolCustom) Validate

func (m *PacketProtocolCustom) Validate(formats strfmt.Registry) error

Validate validates this packet protocol custom

type PacketProtocolEthernet

type PacketProtocolEthernet struct {

	// Ethernet MAC destination address
	// Pattern: ^([0-9a-fA-F]{1,2}(.|-|:)){5}[0-9a-fA-F]{1,2}$
	Destination string `json:"destination,omitempty"`

	// Ethernet ether type
	// Maximum: 65535
	// Minimum: 0
	EtherType *int32 `json:"ether_type,omitempty"`

	// Ethernet MAC source address
	// Pattern: ^([0-9a-fA-F]{1,2}(.|-|:)){5}[0-9a-fA-F]{1,2}$
	Source string `json:"source,omitempty"`
}

PacketProtocolEthernet Describes an Ethernet header

swagger:model PacketProtocolEthernet

func (*PacketProtocolEthernet) ContextValidate

func (m *PacketProtocolEthernet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol ethernet based on context it is used

func (*PacketProtocolEthernet) MarshalBinary

func (m *PacketProtocolEthernet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolEthernet) UnmarshalBinary

func (m *PacketProtocolEthernet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolEthernet) Validate

func (m *PacketProtocolEthernet) Validate(formats strfmt.Registry) error

Validate validates this packet protocol ethernet

type PacketProtocolIPV4

type PacketProtocolIPV4 struct {

	// IPv4 checksum
	// Maximum: 65535
	// Minimum: 0
	Checksum *int32 `json:"checksum,omitempty"`

	// IPv4 destination address
	// Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])$
	Destination string `json:"destination,omitempty"`

	// IPv4 dscp
	// Maximum: 63
	// Minimum: 0
	Dscp *int32 `json:"dscp,omitempty"`

	// IPv4 ecn
	// Enum: [non_ect ect_0 ect_1 ce]
	Ecn string `json:"ecn,omitempty"`

	// IPv4 flags
	Flags []string `json:"flags"`

	// IPv4 fragment offset
	// Maximum: 65528
	// Minimum: 0
	// Multiple Of: 8
	FragmentOffset *int32 `json:"fragment_offset,omitempty"`

	// IPv4 header length
	// Maximum: 60
	// Minimum: 0
	// Multiple Of: 4
	HeaderLength *int32 `json:"header_length,omitempty"`

	// IPv4 identification
	// Maximum: 65535
	// Minimum: 0
	Identification *int32 `json:"identification,omitempty"`

	// IPv4 protocol
	// Maximum: 255
	// Minimum: 0
	Protocol *int32 `json:"protocol,omitempty"`

	// IPv4 source address
	// Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])$
	Source string `json:"source,omitempty"`

	// IPv4 time to live
	// Maximum: 255
	// Minimum: 0
	TimeToLive *int32 `json:"time_to_live,omitempty"`

	// IPv4 total length
	// Maximum: 65535
	// Minimum: 0
	TotalLength *int32 `json:"total_length,omitempty"`

	// IPv4 version
	// Maximum: 15
	// Minimum: 0
	Version *int32 `json:"version,omitempty"`
}

PacketProtocolIPV4 Describes an IPv4 header

swagger:model PacketProtocolIpv4

func (*PacketProtocolIPV4) ContextValidate

func (m *PacketProtocolIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol Ipv4 based on context it is used

func (*PacketProtocolIPV4) MarshalBinary

func (m *PacketProtocolIPV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolIPV4) UnmarshalBinary

func (m *PacketProtocolIPV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolIPV4) Validate

func (m *PacketProtocolIPV4) Validate(formats strfmt.Registry) error

Validate validates this packet protocol Ipv4

type PacketProtocolIPV6

type PacketProtocolIPV6 struct {

	// IPv6 destination address
	// Pattern: ^((::[0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}::)|(([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F])|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))$
	Destination string `json:"destination,omitempty"`

	// IPv6 flow label
	// Maximum: 1.048575e+06
	// Minimum: 0
	FlowLabel *int32 `json:"flow_label,omitempty"`

	// IPv6 hop limit
	// Maximum: 255
	// Minimum: 0
	HopLimit *int32 `json:"hop_limit,omitempty"`

	// IPv6 next header
	// Maximum: 255
	// Minimum: 0
	NextHeader *int32 `json:"next_header,omitempty"`

	// IPv6 payload length
	// Maximum: 65535
	// Minimum: 0
	PayloadLength *int32 `json:"payload_length,omitempty"`

	// IPv6 source address
	// Pattern: ^((::[0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}::)|(([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F])|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))$
	Source string `json:"source,omitempty"`

	// IPv6 traffic class
	// Maximum: 255
	// Minimum: 0
	TrafficClass *int32 `json:"traffic_class,omitempty"`

	// IPv6 version
	// Maximum: 15
	// Minimum: 0
	Version *int32 `json:"version,omitempty"`
}

PacketProtocolIPV6 Describes an IPv6 header

swagger:model PacketProtocolIpv6

func (*PacketProtocolIPV6) ContextValidate

func (m *PacketProtocolIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol Ipv6 based on context it is used

func (*PacketProtocolIPV6) MarshalBinary

func (m *PacketProtocolIPV6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolIPV6) UnmarshalBinary

func (m *PacketProtocolIPV6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolIPV6) Validate

func (m *PacketProtocolIPV6) Validate(formats strfmt.Registry) error

Validate validates this packet protocol Ipv6

type PacketProtocolMpls

type PacketProtocolMpls struct {

	// MPLS bottom of stack
	BottomOfStack bool `json:"bottom_of_stack,omitempty"`

	// MPLS label
	// Maximum: 1.048575e+06
	// Minimum: 0
	Label *int32 `json:"label,omitempty"`

	// MPLS traffic class
	// Maximum: 7
	// Minimum: 0
	TrafficClass *int32 `json:"traffic_class,omitempty"`

	// MPLS ttl
	// Maximum: 255
	// Minimum: 0
	TTL *int32 `json:"ttl,omitempty"`
}

PacketProtocolMpls Describes a MPLS header

swagger:model PacketProtocolMpls

func (*PacketProtocolMpls) ContextValidate

func (m *PacketProtocolMpls) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol mpls based on context it is used

func (*PacketProtocolMpls) MarshalBinary

func (m *PacketProtocolMpls) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolMpls) UnmarshalBinary

func (m *PacketProtocolMpls) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolMpls) Validate

func (m *PacketProtocolMpls) Validate(formats strfmt.Registry) error

Validate validates this packet protocol mpls

type PacketProtocolTCP

type PacketProtocolTCP struct {

	// tcp ack
	// Maximum: 4.294967295e+09
	// Minimum: 0
	Ack *int64 `json:"ack,omitempty"`

	// tcp checksum
	// Maximum: 65535
	// Minimum: 0
	Checksum *int32 `json:"checksum,omitempty"`

	// tcp data offset
	// Maximum: 60
	// Minimum: 0
	// Multiple Of: 4
	DataOffset *int32 `json:"data_offset,omitempty"`

	// tcp destination
	// Maximum: 65535
	// Minimum: 0
	Destination *int32 `json:"destination,omitempty"`

	// tcp flags
	Flags []string `json:"flags"`

	// tcp reserved
	// Maximum: 7
	// Minimum: 0
	Reserved *int32 `json:"reserved,omitempty"`

	// tcp sequence
	// Maximum: 4.294967295e+09
	// Minimum: 0
	Sequence *int64 `json:"sequence,omitempty"`

	// tcp source
	// Maximum: 65535
	// Minimum: 0
	Source *int32 `json:"source,omitempty"`

	// tcp urgent pointer
	// Maximum: 65535
	// Minimum: 0
	UrgentPointer *int32 `json:"urgent_pointer,omitempty"`

	// tcp window
	// Maximum: 65535
	// Minimum: 0
	Window *int32 `json:"window,omitempty"`
}

PacketProtocolTCP Describes a tcp header

swagger:model PacketProtocolTcp

func (*PacketProtocolTCP) ContextValidate

func (m *PacketProtocolTCP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol Tcp based on context it is used

func (*PacketProtocolTCP) MarshalBinary

func (m *PacketProtocolTCP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolTCP) UnmarshalBinary

func (m *PacketProtocolTCP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolTCP) Validate

func (m *PacketProtocolTCP) Validate(formats strfmt.Registry) error

Validate validates this packet protocol Tcp

type PacketProtocolUDP

type PacketProtocolUDP struct {

	// udp checksum
	// Maximum: 65535
	// Minimum: 0
	Checksum *int32 `json:"checksum,omitempty"`

	// udp destination
	// Maximum: 65535
	// Minimum: 0
	Destination *int32 `json:"destination,omitempty"`

	// udp length
	// Maximum: 65535
	// Minimum: 0
	Length *int32 `json:"length,omitempty"`

	// udp source
	// Maximum: 65535
	// Minimum: 0
	Source *int32 `json:"source,omitempty"`
}

PacketProtocolUDP Describes a udp header

swagger:model PacketProtocolUdp

func (*PacketProtocolUDP) ContextValidate

func (m *PacketProtocolUDP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol Udp based on context it is used

func (*PacketProtocolUDP) MarshalBinary

func (m *PacketProtocolUDP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolUDP) UnmarshalBinary

func (m *PacketProtocolUDP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolUDP) Validate

func (m *PacketProtocolUDP) Validate(formats strfmt.Registry) error

Validate validates this packet protocol Udp

type PacketProtocolVlan

type PacketProtocolVlan struct {

	// vlan drop eligible
	DropEligible bool `json:"drop_eligible,omitempty"`

	// vlan ether type
	// Maximum: 65535
	// Minimum: 0
	EtherType *int32 `json:"ether_type,omitempty"`

	// vlan id
	// Maximum: 4095
	// Minimum: 0
	ID *int32 `json:"id,omitempty"`

	// vlan priority
	// Enum: [network_control internetwork_control voice video critical_app excellent_effort background best_effort]
	Priority string `json:"priority,omitempty"`
}

PacketProtocolVlan Describes a vlan header

swagger:model PacketProtocolVlan

func (*PacketProtocolVlan) ContextValidate

func (m *PacketProtocolVlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet protocol vlan based on context it is used

func (*PacketProtocolVlan) MarshalBinary

func (m *PacketProtocolVlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketProtocolVlan) UnmarshalBinary

func (m *PacketProtocolVlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketProtocolVlan) Validate

func (m *PacketProtocolVlan) Validate(formats strfmt.Registry) error

Validate validates this packet protocol vlan

type PacketTransportProtocolCounters

type PacketTransportProtocolCounters struct {

	// Number of fragmented packets
	// Required: true
	// Minimum: 0
	Fragmented *int64 `json:"fragmented"`

	// Number of Internet Control Message Protocol packets
	// Required: true
	// Minimum: 0
	Icmp *int64 `json:"icmp"`

	// Number of Internet Group Management Protocol packets
	// Required: true
	// Minimum: 0
	Igmp *int64 `json:"igmp"`

	// Number of non-fragmented packets
	// Required: true
	// Minimum: 0
	NonFragmented *int64 `json:"non_fragmented"`

	// Number of Stream Control Transmission Protocol packets
	// Required: true
	// Minimum: 0
	Sctp *int64 `json:"sctp"`

	// Number of Transmission Control Protocol packets
	// Required: true
	// Minimum: 0
	TCP *int64 `json:"tcp"`

	// Number of User Data Protocol packets
	// Required: true
	// Minimum: 0
	UDP *int64 `json:"udp"`
}

PacketTransportProtocolCounters Layer 4 protocol counters

swagger:model PacketTransportProtocolCounters

func (*PacketTransportProtocolCounters) ContextValidate

func (m *PacketTransportProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet transport protocol counters based on context it is used

func (*PacketTransportProtocolCounters) MarshalBinary

func (m *PacketTransportProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketTransportProtocolCounters) UnmarshalBinary

func (m *PacketTransportProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketTransportProtocolCounters) Validate

Validate validates this packet transport protocol counters

type PacketTunnelProtocolCounters

type PacketTunnelProtocolCounters struct {

	// Number of IP Encapsulating Security Payload packets
	// Required: true
	// Minimum: 0
	Esp *int64 `json:"esp"`

	// Number of Generic Network Virtualization Encapsulation packets
	// Required: true
	// Minimum: 0
	Geneve *int64 `json:"geneve"`

	// Number of Generic Routing Encapsulation packets
	// Required: true
	// Minimum: 0
	Gre *int64 `json:"gre"`

	// Number of Teredo, VXLAN, or GRE packets on limited hardware
	// Required: true
	// Minimum: 0
	Grenat *int64 `json:"grenat"`

	// Number of GPRS Tunneling Protocol control packets
	// Required: true
	// Minimum: 0
	Gtpc *int64 `json:"gtpc"`

	// Number of GPRS Tunneling Protocol user packets
	// Required: true
	// Minimum: 0
	Gtpu *int64 `json:"gtpu"`

	// Number of IP in IP packets
	// Required: true
	// Minimum: 0
	IP *int64 `json:"ip"`

	// Number of Layer 2 Tunneling Protocol packets
	// Required: true
	// Minimum: 0
	L2tp *int64 `json:"l2tp"`

	// Number of MPLS-in-GRE packets (RFC 4023)
	// Required: true
	// Minimum: 0
	MplsInGre *int64 `json:"mpls_in_gre"`

	// Number of MPLS-in-UDP packets (RFC 7510)
	// Required: true
	// Minimum: 0
	MplsInUDP *int64 `json:"mpls_in_udp"`

	// Number of Network Virtualization using GRE packets
	// Required: true
	// Minimum: 0
	Nvgre *int64 `json:"nvgre"`

	// Number of Virtual eXtensible LAN packets
	// Required: true
	// Minimum: 0
	Vxlan *int64 `json:"vxlan"`

	// Number of VXLAN Generic Protocol Extension packets
	// Required: true
	// Minimum: 0
	VxlanGpe *int64 `json:"vxlan_gpe"`
}

PacketTunnelProtocolCounters Tunnel protocol counters

swagger:model PacketTunnelProtocolCounters

func (*PacketTunnelProtocolCounters) ContextValidate

func (m *PacketTunnelProtocolCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet tunnel protocol counters based on context it is used

func (*PacketTunnelProtocolCounters) MarshalBinary

func (m *PacketTunnelProtocolCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PacketTunnelProtocolCounters) UnmarshalBinary

func (m *PacketTunnelProtocolCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PacketTunnelProtocolCounters) Validate

func (m *PacketTunnelProtocolCounters) Validate(formats strfmt.Registry) error

Validate validates this packet tunnel protocol counters

type Port

type Port struct {

	// config
	// Required: true
	Config *PortConfig `json:"config"`

	// Unique port identifier
	// Required: true
	ID *string `json:"id"`

	// Port kind
	// Required: true
	// Enum: [dpdk host bond]
	Kind *string `json:"kind"`

	// stats
	// Required: true
	Stats *PortStats `json:"stats"`

	// status
	// Required: true
	Status *PortStatus `json:"status"`
}

Port Physical port or port-equivalent (e.g. bonded ports)

swagger:model Port

func (*Port) ContextValidate

func (m *Port) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this port based on the context it is used

func (*Port) MarshalBinary

func (m *Port) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Port) UnmarshalBinary

func (m *Port) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Port) Validate

func (m *Port) Validate(formats strfmt.Registry) error

Validate validates this port

type PortConfig

type PortConfig struct {

	// bond
	Bond *PortConfigBond `json:"bond,omitempty"`

	// dpdk
	Dpdk *PortConfigDpdk `json:"dpdk,omitempty"`
}

PortConfig Port configuration

swagger:model PortConfig

func (*PortConfig) ContextValidate

func (m *PortConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this port config based on the context it is used

func (*PortConfig) MarshalBinary

func (m *PortConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortConfig) UnmarshalBinary

func (m *PortConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortConfig) Validate

func (m *PortConfig) Validate(formats strfmt.Registry) error

Validate validates this port config

type PortConfigBond

type PortConfigBond struct {

	// Port bonding mode
	// Required: true
	// Enum: [lag_802_3_ad]
	Mode *string `json:"mode"`

	// Unique identifiers of bonded ports
	// Required: true
	// Min Items: 1
	Ports []string `json:"ports"`
}

PortConfigBond Bond-specific configuration information

swagger:model PortConfigBond

func (*PortConfigBond) ContextValidate

func (m *PortConfigBond) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this port config bond based on context it is used

func (*PortConfigBond) MarshalBinary

func (m *PortConfigBond) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortConfigBond) UnmarshalBinary

func (m *PortConfigBond) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortConfigBond) Validate

func (m *PortConfigBond) Validate(formats strfmt.Registry) error

Validate validates this port config bond

type PortConfigDpdk

type PortConfigDpdk struct {

	// Device name
	// Read Only: true
	Device string `json:"device,omitempty"`

	// Generic driver name
	// Read Only: true
	Driver string `json:"driver,omitempty"`

	// Host interface name, if applicable
	// Read Only: true
	Interface string `json:"interface,omitempty"`

	// link
	// Required: true
	Link *PortConfigDpdkLink `json:"link"`

	// Device MAC address
	// Read Only: true
	MacAddress string `json:"mac_address,omitempty"`
}

PortConfigDpdk DPDK-specific port configuration information

swagger:model PortConfigDpdk

func (*PortConfigDpdk) ContextValidate

func (m *PortConfigDpdk) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this port config dpdk based on the context it is used

func (*PortConfigDpdk) MarshalBinary

func (m *PortConfigDpdk) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortConfigDpdk) UnmarshalBinary

func (m *PortConfigDpdk) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortConfigDpdk) Validate

func (m *PortConfigDpdk) Validate(formats strfmt.Registry) error

Validate validates this port config dpdk

type PortConfigDpdkLink struct {

	// Enable link auto-negotiation
	// Required: true
	AutoNegotiation *bool `json:"auto_negotiation"`

	// Manually-configured port duplex
	// Enum: [full half]
	Duplex string `json:"duplex,omitempty"`

	// Manually-configured port speed (in Mbps)
	Speed int64 `json:"speed,omitempty"`
}

PortConfigDpdkLink Link specific configuration information

swagger:model PortConfigDpdkLink

func (*PortConfigDpdkLink) ContextValidate

func (m *PortConfigDpdkLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this port config dpdk link based on context it is used

func (*PortConfigDpdkLink) MarshalBinary

func (m *PortConfigDpdkLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortConfigDpdkLink) UnmarshalBinary

func (m *PortConfigDpdkLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortConfigDpdkLink) Validate

func (m *PortConfigDpdkLink) Validate(formats strfmt.Registry) error

Validate validates this port config dpdk link

type PortStats

type PortStats struct {

	// Received bytes
	// Required: true
	RxBytes *int64 `json:"rx_bytes"`

	// Receive-side errors
	// Required: true
	RxErrors *int64 `json:"rx_errors"`

	// Received packets
	// Required: true
	RxPackets *int64 `json:"rx_packets"`

	// Transmitted bytes
	// Required: true
	TxBytes *int64 `json:"tx_bytes"`

	// Transmit-side errors
	// Required: true
	TxErrors *int64 `json:"tx_errors"`

	// Transmitted packets
	// Required: true
	TxPackets *int64 `json:"tx_packets"`
}

PortStats Port statistics

swagger:model PortStats

func (*PortStats) ContextValidate

func (m *PortStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this port stats based on context it is used

func (*PortStats) MarshalBinary

func (m *PortStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortStats) UnmarshalBinary

func (m *PortStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortStats) Validate

func (m *PortStats) Validate(formats strfmt.Registry) error

Validate validates this port stats

type PortStatus

type PortStatus struct {

	// Port duplex
	// Required: true
	// Enum: [full half unknown]
	Duplex *string `json:"duplex"`

	// Link status
	// Required: true
	// Enum: [up down unknown]
	Link *string `json:"link"`

	// Port speed (in Mbps)
	// Required: true
	Speed *int64 `json:"speed"`
}

PortStatus Port status

swagger:model PortStatus

func (*PortStatus) ContextValidate

func (m *PortStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this port status based on context it is used

func (*PortStatus) MarshalBinary

func (m *PortStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortStatus) UnmarshalBinary

func (m *PortStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortStatus) Validate

func (m *PortStatus) Validate(formats strfmt.Registry) error

Validate validates this port status

type RxFlow

type RxFlow struct {

	// Unique analyzer result identifier that observed this flow
	// Required: true
	AnalyzerResultID *string `json:"analyzer_result_id"`

	// counters
	// Required: true
	Counters *PacketAnalyzerFlowCounters `json:"counters"`

	// digests
	// Required: true
	Digests *PacketAnalyzerFlowDigests `json:"digests"`

	// Unique received flow identifier
	// Required: true
	ID *string `json:"id"`
}

RxFlow Counters for a flow of packets

swagger:model RxFlow

func (*RxFlow) ContextValidate

func (m *RxFlow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rx flow based on the context it is used

func (*RxFlow) MarshalBinary

func (m *RxFlow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RxFlow) UnmarshalBinary

func (m *RxFlow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RxFlow) Validate

func (m *RxFlow) Validate(formats strfmt.Registry) error

Validate validates this rx flow

type SocketStats

type SocketStats struct {

	// Unique socket statistics identifier
	ID string `json:"id,omitempty"`

	// The interface index the socket is bound to
	IfIndex int32 `json:"if_index,omitempty"`

	// The local IP address
	LocalIPAddress string `json:"local_ip_address,omitempty"`

	// The local port number
	LocalPort int32 `json:"local_port,omitempty"`

	// Process ID which created the socket
	Pid int32 `json:"pid,omitempty"`

	// The socket protocol type
	// Enum: [ip tcp udp raw packet]
	Protocol string `json:"protocol,omitempty"`

	// The protocol ID used for raw and packet sockets
	ProtocolID int32 `json:"protocol_id,omitempty"`

	// The remote IP address
	RemoteIPAddress string `json:"remote_ip_address,omitempty"`

	// The remote port number
	RemotePort int32 `json:"remote_port,omitempty"`

	// Number of bytes in the socket receive queue
	RxqBytes int64 `json:"rxq_bytes,omitempty"`

	// The number of packets in the protocol send queue
	SendQueueLength int32 `json:"send_queue_length,omitempty"`

	// The socket ID (used by server)
	Sid int32 `json:"sid,omitempty"`

	// The socket state
	State string `json:"state,omitempty"`

	// Number of bytes in the socket transmit queue
	TxqBytes int64 `json:"txq_bytes,omitempty"`
}

SocketStats Socket statistics

swagger:model SocketStats

func (*SocketStats) ContextValidate

func (m *SocketStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this socket stats based on context it is used

func (*SocketStats) MarshalBinary

func (m *SocketStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SocketStats) UnmarshalBinary

func (m *SocketStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SocketStats) Validate

func (m *SocketStats) Validate(formats strfmt.Registry) error

Validate validates this socket stats

type SpirentSignature

type SpirentSignature struct {

	// fill
	Fill *SpirentSignatureFill `json:"fill,omitempty"`

	// Indicates timestamp offset
	// Required: true
	// Enum: [start_of_frame end_of_frame]
	Latency *string `json:"latency"`

	// Stream IDs are created for each flow of the definition. This
	// property specifies the ID to use for the first flow. Subsequent
	// flows will use incremented IDs. For example, if a traffic
	// definitions contains 20 flows with a first_stream_id value of
	// 1, then the definition will use 1-20 for stream ids.
	//
	// Required: true
	StreamID *int32 `json:"stream_id"`
}

SpirentSignature Configures Spirent test signature

swagger:model SpirentSignature

func (*SpirentSignature) ContextValidate

func (m *SpirentSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this spirent signature based on the context it is used

func (*SpirentSignature) MarshalBinary

func (m *SpirentSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpirentSignature) UnmarshalBinary

func (m *SpirentSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpirentSignature) Validate

func (m *SpirentSignature) Validate(formats strfmt.Registry) error

Validate validates this spirent signature

type SpirentSignatureFill

type SpirentSignatureFill struct {

	// Constant, repeating fill value for payload
	// Maximum: 65535
	// Minimum: 0
	Constant *int32 `json:"constant,omitempty"`

	// Decrement octet values for payload
	// Maximum: 255
	// Minimum: 0
	Decrement *int32 `json:"decrement,omitempty"`

	// Increment octet values for payload
	// Maximum: 255
	// Minimum: 0
	Increment *int32 `json:"increment,omitempty"`

	// Use pseudo random bit sequence for payload
	Prbs bool `json:"prbs,omitempty"`
}

SpirentSignatureFill Specifies optional packet payload fill

swagger:model SpirentSignatureFill

func (*SpirentSignatureFill) ContextValidate

func (m *SpirentSignatureFill) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this spirent signature fill based on context it is used

func (*SpirentSignatureFill) MarshalBinary

func (m *SpirentSignatureFill) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SpirentSignatureFill) UnmarshalBinary

func (m *SpirentSignatureFill) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SpirentSignatureFill) Validate

func (m *SpirentSignatureFill) Validate(formats strfmt.Registry) error

Validate validates this spirent signature fill

type Stack

type Stack struct {

	// Unique stack identifier
	// Required: true
	ID *string `json:"id"`

	// stats
	// Required: true
	Stats *StackStats `json:"stats"`
}

Stack A TCP/IP stack instance

swagger:model Stack

func (*Stack) ContextValidate

func (m *Stack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack based on the context it is used

func (*Stack) MarshalBinary

func (m *Stack) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Stack) UnmarshalBinary

func (m *Stack) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Stack) Validate

func (m *Stack) Validate(formats strfmt.Registry) error

Validate validates this stack

type StackElementStats

type StackElementStats struct {

	// Errors (count)
	// Required: true
	Errors *int32 `json:"errors"`

	// Maximum (elements)
	// Required: true
	Max *int32 `json:"max"`

	// Used (elements)
	// Required: true
	Used *int32 `json:"used"`
}

StackElementStats Stack element statistics

swagger:model StackElementStats

func (*StackElementStats) ContextValidate

func (m *StackElementStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stack element stats based on context it is used

func (*StackElementStats) MarshalBinary

func (m *StackElementStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackElementStats) UnmarshalBinary

func (m *StackElementStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackElementStats) Validate

func (m *StackElementStats) Validate(formats strfmt.Registry) error

Validate validates this stack element stats

type StackMemoryStats

type StackMemoryStats struct {

	// Available (bytes free)
	// Required: true
	Available *int64 `json:"available"`

	// Errors (count)
	// Required: true
	Errors *int64 `json:"errors"`

	// Illegal operations (count)
	// Required: true
	Illegal *int64 `json:"illegal"`

	// Maximum (bytes allocated)
	// Required: true
	Max *int64 `json:"max"`

	// Pool name
	// Required: true
	Name *string `json:"name"`

	// Used (bytes allocated)
	// Required: true
	Used *int64 `json:"used"`
}

StackMemoryStats Stack memory statistics

swagger:model StackMemoryStats

func (*StackMemoryStats) ContextValidate

func (m *StackMemoryStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stack memory stats based on context it is used

func (*StackMemoryStats) MarshalBinary

func (m *StackMemoryStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackMemoryStats) UnmarshalBinary

func (m *StackMemoryStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackMemoryStats) Validate

func (m *StackMemoryStats) Validate(formats strfmt.Registry) error

Validate validates this stack memory stats

type StackProtocolStats

type StackProtocolStats struct {

	// Cache hits
	// Required: true
	CacheHits *int64 `json:"cache_hits"`

	// Checksum errors
	// Required: true
	ChecksumErrors *int64 `json:"checksum_errors"`

	// Dropped packets
	// Required: true
	DroppedPackets *int64 `json:"dropped_packets"`

	// Forwarded packets
	// Required: true
	ForwardedPackets *int64 `json:"forwarded_packets"`

	// Invalid length errors
	// Required: true
	LengthErrors *int64 `json:"length_errors"`

	// Out of memory errors
	// Required: true
	MemoryErrors *int64 `json:"memory_errors"`

	// Miscellaneous errors
	// Required: true
	MiscErrors *int64 `json:"misc_errors"`

	// Errors in options
	// Required: true
	OptionErrors *int64 `json:"option_errors"`

	// Protocol error
	// Required: true
	ProtocolErrors *int64 `json:"protocol_errors"`

	// Routing errors
	// Required: true
	RoutingErrors *int64 `json:"routing_errors"`

	// Received packets
	// Required: true
	RxPackets *int64 `json:"rx_packets"`

	// Transmitted packets
	// Required: true
	TxPackets *int64 `json:"tx_packets"`
}

StackProtocolStats Stack per-protocol statistics

swagger:model StackProtocolStats

func (*StackProtocolStats) ContextValidate

func (m *StackProtocolStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stack protocol stats based on context it is used

func (*StackProtocolStats) MarshalBinary

func (m *StackProtocolStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackProtocolStats) UnmarshalBinary

func (m *StackProtocolStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackProtocolStats) Validate

func (m *StackProtocolStats) Validate(formats strfmt.Registry) error

Validate validates this stack protocol stats

type StackStats

type StackStats struct {

	// arp
	// Required: true
	Arp *StackProtocolStats `json:"arp"`

	// heap
	// Required: true
	Heap *StackMemoryStats `json:"heap"`

	// icmpv4
	// Required: true
	Icmpv4 *StackProtocolStats `json:"icmpv4"`

	// icmpv6
	// Required: true
	Icmpv6 *StackProtocolStats `json:"icmpv6"`

	// igmp
	// Required: true
	Igmp *StackProtocolStats `json:"igmp"`

	// ipv4
	// Required: true
	IPV4 *StackProtocolStats `json:"ipv4"`

	// ipv4 frag
	// Required: true
	IPV4Frag *StackProtocolStats `json:"ipv4_frag"`

	// ipv6
	// Required: true
	IPV6 *StackProtocolStats `json:"ipv6"`

	// ipv6 frag
	// Required: true
	IPV6Frag *StackProtocolStats `json:"ipv6_frag"`

	// mboxes
	// Required: true
	Mboxes *StackElementStats `json:"mboxes"`

	// mld
	// Required: true
	Mld *StackProtocolStats `json:"mld"`

	// mutexes
	// Required: true
	Mutexes *StackElementStats `json:"mutexes"`

	// nd
	// Required: true
	Nd *StackProtocolStats `json:"nd"`

	// pools
	// Required: true
	Pools []*StackMemoryStats `json:"pools"`

	// sems
	// Required: true
	Sems *StackElementStats `json:"sems"`

	// tcp
	// Required: true
	TCP *StackProtocolStats `json:"tcp"`

	// udp
	// Required: true
	UDP *StackProtocolStats `json:"udp"`
}

StackStats Stack statistics

swagger:model StackStats

func (*StackStats) ContextValidate

func (m *StackStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack stats based on the context it is used

func (*StackStats) MarshalBinary

func (m *StackStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackStats) UnmarshalBinary

func (m *StackStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackStats) Validate

func (m *StackStats) Validate(formats strfmt.Registry) error

Validate validates this stack stats

type TDigestCentroid

type TDigestCentroid struct {

	// The average value of this centroid
	// Required: true
	Mean *float64 `json:"mean"`

	// The weight of this centroid
	// Required: true
	Weight *int64 `json:"weight"`
}

TDigestCentroid The data point inside the T-Digest structure

swagger:model TDigestCentroid

func (*TDigestCentroid) ContextValidate

func (m *TDigestCentroid) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this t digest centroid based on context it is used

func (*TDigestCentroid) MarshalBinary

func (m *TDigestCentroid) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TDigestCentroid) UnmarshalBinary

func (m *TDigestCentroid) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TDigestCentroid) Validate

func (m *TDigestCentroid) Validate(formats strfmt.Registry) error

Validate validates this t digest centroid

type TDigestConfig

type TDigestConfig struct {

	// The compression factor of T-Digest
	// Required: true
	Compression *int64 `json:"compression"`

	// The function to apply to the statistic before evaluating
	// Required: true
	// Enum: [dx dxdt dxdy]
	Function *string `json:"function"`

	// T-Digest configuration unique identifier
	// Required: true
	ID *string `json:"id"`

	// The X statistic to track
	// Required: true
	Statx *string `json:"stat_x"`

	// The Y statistic to track (when using DXDY function)
	Staty string `json:"stat_y,omitempty"`
}

TDigestConfig T-Digest value

swagger:model TDigestConfig

func (*TDigestConfig) ContextValidate

func (m *TDigestConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this t digest config based on context it is used

func (*TDigestConfig) MarshalBinary

func (m *TDigestConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TDigestConfig) UnmarshalBinary

func (m *TDigestConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TDigestConfig) Validate

func (m *TDigestConfig) Validate(formats strfmt.Registry) error

Validate validates this t digest config

type TDigestResult

type TDigestResult struct {

	// Array of centroids
	// Required: true
	Centroids []*TDigestCentroid `json:"centroids"`

	// The compression factor of T-Digest
	// Required: true
	Compression *int64 `json:"compression"`

	// The function to apply to the statistic before evaluating
	// Required: true
	// Enum: [dx dxdt dxdy]
	Function *string `json:"function"`

	// T-Digest configuration unique identifier
	// Required: true
	ID *string `json:"id"`

	// The X statistic to track
	// Required: true
	Statx *string `json:"stat_x"`

	// The Y statistic to track (when using DXDY function)
	Staty string `json:"stat_y,omitempty"`
}

TDigestResult T-Digest result

swagger:model TDigestResult

func (*TDigestResult) ContextValidate

func (m *TDigestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this t digest result based on the context it is used

func (*TDigestResult) MarshalBinary

func (m *TDigestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TDigestResult) UnmarshalBinary

func (m *TDigestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TDigestResult) Validate

func (m *TDigestResult) Validate(formats strfmt.Registry) error

Validate validates this t digest result

type ThresholdConfig

type ThresholdConfig struct {

	// The mathematical relation between value and statistic
	// Required: true
	// Enum: [greater greater_or_equal less less_or_equal equal]
	Condition *string `json:"condition"`

	// The function to apply to the statistic before evaluating
	// Required: true
	// Enum: [dx dxdt dxdy]
	Function *string `json:"function"`

	// Unique threshold configuration identifier
	// Required: true
	ID *string `json:"id"`

	// The X statistic to track
	// Required: true
	Statx *string `json:"stat_x"`

	// The Y statistic to track (when using DXDY function)
	Staty string `json:"stat_y,omitempty"`

	// The value of interest
	// Required: true
	Value *float64 `json:"value"`
}

ThresholdConfig Threshold value

swagger:model ThresholdConfig

func (*ThresholdConfig) ContextValidate

func (m *ThresholdConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this threshold config based on context it is used

func (*ThresholdConfig) MarshalBinary

func (m *ThresholdConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThresholdConfig) UnmarshalBinary

func (m *ThresholdConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThresholdConfig) Validate

func (m *ThresholdConfig) Validate(formats strfmt.Registry) error

Validate validates this threshold config

type ThresholdResult

type ThresholdResult struct {

	// The mathematical relation between value and statistic
	// Required: true
	// Enum: [greater greater_or_equal less less_or_equal equal]
	Condition *string `json:"condition"`

	// Counter of false conditions
	// Required: true
	ConditionFalse *int64 `json:"condition_false"`

	// Counter of true conditions
	// Required: true
	ConditionTrue *int64 `json:"condition_true"`

	// The function to apply to the statistic before evaluating
	// Required: true
	// Enum: [dx dxdt dxdy]
	Function *string `json:"function"`

	// Threshold configuration unique identifier
	// Required: true
	ID *string `json:"id"`

	// The X statistic to track
	// Required: true
	Statx *string `json:"stat_x"`

	// The Y statistic to track (when using DXDY function)
	Staty string `json:"stat_y,omitempty"`

	// The value of interest
	// Required: true
	Value *float64 `json:"value"`
}

ThresholdResult Threshold result

swagger:model ThresholdResult

func (*ThresholdResult) ContextValidate

func (m *ThresholdResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this threshold result based on context it is used

func (*ThresholdResult) MarshalBinary

func (m *ThresholdResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ThresholdResult) UnmarshalBinary

func (m *ThresholdResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ThresholdResult) Validate

func (m *ThresholdResult) Validate(formats strfmt.Registry) error

Validate validates this threshold result

type TimeCounter

type TimeCounter struct {

	// Tick rate of the counter, in Hz.
	// Required: true
	Frequency *int64 `json:"frequency"`

	// Unique time counter identifier
	// Required: true
	ID *string `json:"id"`

	// Time counter name
	// Required: true
	Name *string `json:"name"`

	// Priority determines which counter to use in situations where
	// there are multiple counters available (higher number = higher priority).
	// Priority is always positive.
	//
	// Required: true
	Priority *int32 `json:"priority"`
}

TimeCounter A source of clock ticks

swagger:model TimeCounter

func (*TimeCounter) ContextValidate

func (m *TimeCounter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time counter based on context it is used

func (*TimeCounter) MarshalBinary

func (m *TimeCounter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeCounter) UnmarshalBinary

func (m *TimeCounter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeCounter) Validate

func (m *TimeCounter) Validate(formats strfmt.Registry) error

Validate validates this time counter

type TimeKeeper

type TimeKeeper struct {

	// The current maximum error in the time calculation, in seconds.
	// Required: true
	MaximumError *float64 `json:"maximum_error"`

	// state
	// Required: true
	State *TimeKeeperState `json:"state"`

	// stats
	// Required: true
	Stats *TimeKeeperStats `json:"stats"`

	// The current time and date in ISO8601 format
	// Required: true
	// Format: date-time
	Time *strfmt.DateTime `json:"time"`

	// time counter used for measuring time intervals
	// Required: true
	TimeCounterID *string `json:"time_counter_id"`

	// time source used for wall-clock synchronization
	// Required: true
	TimeSourceID *string `json:"time_source_id"`
}

TimeKeeper A combination of a time source and a time counter used to measure the passage of time, aka a clock

swagger:model TimeKeeper

func (*TimeKeeper) ContextValidate

func (m *TimeKeeper) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this time keeper based on the context it is used

func (*TimeKeeper) MarshalBinary

func (m *TimeKeeper) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeKeeper) UnmarshalBinary

func (m *TimeKeeper) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeKeeper) Validate

func (m *TimeKeeper) Validate(formats strfmt.Registry) error

Validate validates this time keeper

type TimeKeeperState

type TimeKeeperState struct {

	// The time counter frequency as measured by the interval between the
	// two best timestamp exchanges with the time source over the past two
	// hours, in Hz.
	//
	Frequency int64 `json:"frequency,omitempty"`

	// The estimated error of the time counter frequency measurement, in
	// Parts Per Billion (PPB).
	//
	FrequencyError int64 `json:"frequency_error,omitempty"`

	// The time counter frequency as measured by the interval between the
	// two best timestamp exchanges with the time source over the past hour,
	// in Hz. This value is used to help determine time stamp error due to
	// time counter frequency drift.
	//
	LocalFrequency int64 `json:"local_frequency,omitempty"`

	// The estimated error of the local time counter frequency measurement,
	// int Parts Per Billion (PPB).
	//
	LocalFrequencyError int64 `json:"local_frequency_error,omitempty"`

	// The offset applied to time counter derived timestamp values,
	// in seconds.  This value comes from the system host clock.
	//
	// Required: true
	Offset *float64 `json:"offset"`

	// The time keeper is considered to be synced to the time source if a clock
	// offset, theta, has been calculated and applied within the past 20 minutes.
	//
	// Required: true
	Synced *bool `json:"synced"`

	// The calculated correction to apply to the offset, based on the
	// measured time counter frequency and time source timestamps.
	//
	Theta float64 `json:"theta,omitempty"`
}

TimeKeeperState TimeKeeper internal state information

swagger:model TimeKeeperState

func (*TimeKeeperState) ContextValidate

func (m *TimeKeeperState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time keeper state based on context it is used

func (*TimeKeeperState) MarshalBinary

func (m *TimeKeeperState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeKeeperState) UnmarshalBinary

func (m *TimeKeeperState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeKeeperState) Validate

func (m *TimeKeeperState) Validate(formats strfmt.Registry) error

Validate validates this time keeper state

type TimeKeeperStats

type TimeKeeperStats struct {

	// The number of times the frequency calculation has been updated.
	// Required: true
	FrequencyAccept *int64 `json:"frequency_accept"`

	// The number of times the frequency calculation has been rejected due
	// to an excessive delta between old and new values.
	//
	// Required: true
	FrequencyReject *int64 `json:"frequency_reject"`

	// The number of times the local frequency calculation has been updated.
	// Required: true
	LocalFrequencyAccept *int64 `json:"local_frequency_accept"`

	// The number of times the local frequency calculation has been rejected
	// due to an excessive delta between old and new values.
	//
	// Required: true
	LocalFrequencyReject *int64 `json:"local_frequency_reject"`

	// round trip times
	// Required: true
	RoundTripTimes *TimeKeeperStatsRoundTripTimes `json:"round_trip_times"`

	// The number of times the theta calculation has been updated.
	// Required: true
	ThetaAccept *int64 `json:"theta_accept"`

	// Then umber of times the theta calculation has been rejected due to
	// excessive delta between old and new values.
	//
	// Required: true
	ThetaReject *int64 `json:"theta_reject"`

	// The number of timestamps in the current working set of timestamps.
	// Old timestamps are dropped from the history of timestamps as they
	// become irrelevant.
	//
	// Required: true
	Timestamps *int64 `json:"timestamps"`
}

TimeKeeperStats TimeKeeper statistics

swagger:model TimeKeeperStats

func (*TimeKeeperStats) ContextValidate

func (m *TimeKeeperStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this time keeper stats based on the context it is used

func (*TimeKeeperStats) MarshalBinary

func (m *TimeKeeperStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeKeeperStats) UnmarshalBinary

func (m *TimeKeeperStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeKeeperStats) Validate

func (m *TimeKeeperStats) Validate(formats strfmt.Registry) error

Validate validates this time keeper stats

type TimeKeeperStatsRoundTripTimes

type TimeKeeperStatsRoundTripTimes struct {

	// the average round trip time, in seconds.
	Avg float64 `json:"avg,omitempty"`

	// The maximum round trip time, in seconds.
	Max float64 `json:"max,omitempty"`

	// The minimum round trip time, in seconds.
	Min float64 `json:"min,omitempty"`

	// The number of round trip times in the data set.
	// Required: true
	Size *int64 `json:"size"`
}

TimeKeeperStatsRoundTripTimes The round trip time measures the total elapsed time to make a timestamp exchange with the remote time source. The TimeKeeper stores RTT data so that the least delayed clock exchanges can be given extra weight when calculating the current clock offset.

swagger:model TimeKeeperStatsRoundTripTimes

func (*TimeKeeperStatsRoundTripTimes) ContextValidate

func (m *TimeKeeperStatsRoundTripTimes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time keeper stats round trip times based on context it is used

func (*TimeKeeperStatsRoundTripTimes) MarshalBinary

func (m *TimeKeeperStatsRoundTripTimes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeKeeperStatsRoundTripTimes) UnmarshalBinary

func (m *TimeKeeperStatsRoundTripTimes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeKeeperStatsRoundTripTimes) Validate

func (m *TimeKeeperStatsRoundTripTimes) Validate(formats strfmt.Registry) error

Validate validates this time keeper stats round trip times

type TimeSource

type TimeSource struct {

	// config
	// Required: true
	Config *TimeSourceConfig `json:"config"`

	// Unique time source identifier
	// Required: true
	ID *string `json:"id"`

	// time source kind
	// Required: true
	// Enum: [ntp system]
	Kind *string `json:"kind"`

	// stats
	// Required: true
	Stats *TimeSourceStats `json:"stats"`
}

TimeSource A reference time source

swagger:model TimeSource

func (*TimeSource) ContextValidate

func (m *TimeSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this time source based on the context it is used

func (*TimeSource) MarshalBinary

func (m *TimeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSource) UnmarshalBinary

func (m *TimeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSource) Validate

func (m *TimeSource) Validate(formats strfmt.Registry) error

Validate validates this time source

type TimeSourceConfig

type TimeSourceConfig struct {

	// ntp
	Ntp *TimeSourceConfigNtp `json:"ntp,omitempty"`
}

TimeSourceConfig time source configuration

swagger:model TimeSourceConfig

func (*TimeSourceConfig) ContextValidate

func (m *TimeSourceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this time source config based on the context it is used

func (*TimeSourceConfig) MarshalBinary

func (m *TimeSourceConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSourceConfig) UnmarshalBinary

func (m *TimeSourceConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSourceConfig) Validate

func (m *TimeSourceConfig) Validate(formats strfmt.Registry) error

Validate validates this time source config

type TimeSourceConfigNtp

type TimeSourceConfigNtp struct {

	// network hostname or address for server
	// Required: true
	Hostname *string `json:"hostname"`

	// service name or port for server
	Port *string `json:"port,omitempty"`
}

TimeSourceConfigNtp Network Time Protocol Server

swagger:model TimeSourceConfigNtp

func (*TimeSourceConfigNtp) ContextValidate

func (m *TimeSourceConfigNtp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time source config ntp based on context it is used

func (*TimeSourceConfigNtp) MarshalBinary

func (m *TimeSourceConfigNtp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSourceConfigNtp) UnmarshalBinary

func (m *TimeSourceConfigNtp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSourceConfigNtp) Validate

func (m *TimeSourceConfigNtp) Validate(formats strfmt.Registry) error

Validate validates this time source config ntp

type TimeSourceStats

type TimeSourceStats struct {

	// ntp
	Ntp *TimeSourceStatsNtp `json:"ntp,omitempty"`

	// system
	System *TimeSourceStatsSystem `json:"system,omitempty"`
}

TimeSourceStats time source statistics

swagger:model TimeSourceStats

func (*TimeSourceStats) ContextValidate

func (m *TimeSourceStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this time source stats based on the context it is used

func (*TimeSourceStats) MarshalBinary

func (m *TimeSourceStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSourceStats) UnmarshalBinary

func (m *TimeSourceStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSourceStats) Validate

func (m *TimeSourceStats) Validate(formats strfmt.Registry) error

Validate validates this time source stats

type TimeSourceStatsNtp

type TimeSourceStatsNtp struct {

	// the time and date of the last accepted NTP reply, in ISO8601 format
	// Format: date-time
	LastRxAccepted strfmt.DateTime `json:"last_rx_accepted,omitempty"`

	// The time and date of the last ignored NTP reply, in ISO8601 format
	// Format: date-time
	LastRxIgnored strfmt.DateTime `json:"last_rx_ignored,omitempty"`

	// Current NTP server poll period, in seconds
	// Required: true
	PollPeriod *int64 `json:"poll_period"`

	// Received packets that were ignored due to an invalid origin timestamp or stratum,
	// e.g. a Kiss-o'-Death packet
	//
	// Required: true
	RxIgnored *int64 `json:"rx_ignored"`

	// Received packets
	// Required: true
	RxPackets *int64 `json:"rx_packets"`

	// Time source distance from a NTP reference clock, in network hops.
	//
	Stratum int32 `json:"stratum,omitempty"`

	// Transmitted packets
	// Required: true
	TxPackets *int64 `json:"tx_packets"`
}

TimeSourceStatsNtp NTP statistics

swagger:model TimeSourceStatsNtp

func (*TimeSourceStatsNtp) ContextValidate

func (m *TimeSourceStatsNtp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time source stats ntp based on context it is used

func (*TimeSourceStatsNtp) MarshalBinary

func (m *TimeSourceStatsNtp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSourceStatsNtp) UnmarshalBinary

func (m *TimeSourceStatsNtp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSourceStatsNtp) Validate

func (m *TimeSourceStatsNtp) Validate(formats strfmt.Registry) error

Validate validates this time source stats ntp

type TimeSourceStatsSystem

type TimeSourceStatsSystem struct {

	// Number of times the system clock has been polled
	// Required: true
	PollCount *int64 `json:"poll_count"`

	// Current system poll period, in seconds
	// Required: true
	PollPeriod *int64 `json:"poll_period"`
}

TimeSourceStatsSystem System statistics

swagger:model TimeSourceStatsSystem

func (*TimeSourceStatsSystem) ContextValidate

func (m *TimeSourceStatsSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time source stats system based on context it is used

func (*TimeSourceStatsSystem) MarshalBinary

func (m *TimeSourceStatsSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeSourceStatsSystem) UnmarshalBinary

func (m *TimeSourceStatsSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeSourceStatsSystem) Validate

func (m *TimeSourceStatsSystem) Validate(formats strfmt.Registry) error

Validate validates this time source stats system

type ToggleNetworkGeneratorsRequest

type ToggleNetworkGeneratorsRequest struct {

	// dynamic results
	DynamicResults *DynamicResultsConfig `json:"dynamic_results,omitempty"`

	// The unique id of the running network generator
	// Required: true
	Replace *string `json:"replace"`

	// The unique id of the stopped network generator
	// Required: true
	With *string `json:"with"`
}

ToggleNetworkGeneratorsRequest Parameters for the toggle operation

swagger:model ToggleNetworkGeneratorsRequest

func (*ToggleNetworkGeneratorsRequest) ContextValidate

func (m *ToggleNetworkGeneratorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this toggle network generators request based on the context it is used

func (*ToggleNetworkGeneratorsRequest) MarshalBinary

func (m *ToggleNetworkGeneratorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ToggleNetworkGeneratorsRequest) UnmarshalBinary

func (m *ToggleNetworkGeneratorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ToggleNetworkGeneratorsRequest) Validate

func (m *ToggleNetworkGeneratorsRequest) Validate(formats strfmt.Registry) error

Validate validates this toggle network generators request

type TrafficDefinition

type TrafficDefinition struct {

	// length
	// Required: true
	Length *TrafficLength `json:"length"`

	// packet
	// Required: true
	Packet *TrafficPacketTemplate `json:"packet"`

	// signature
	Signature *SpirentSignature `json:"signature,omitempty"`

	// Relative weight of this packet definition
	// Minimum: 1
	Weight int32 `json:"weight,omitempty"`
}

TrafficDefinition Describes a sequence of traffic for a packet generator to transmit

swagger:model TrafficDefinition

func (*TrafficDefinition) ContextValidate

func (m *TrafficDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic definition based on the context it is used

func (*TrafficDefinition) MarshalBinary

func (m *TrafficDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficDefinition) UnmarshalBinary

func (m *TrafficDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficDefinition) Validate

func (m *TrafficDefinition) Validate(formats strfmt.Registry) error

Validate validates this traffic definition

type TrafficDuration

type TrafficDuration struct {

	// Indicates there is no duration limit when set.
	Continuous bool `json:"continuous,omitempty"`

	// Specifies the duration as number of transmitted frames.
	// Minimum: 1
	Frames int32 `json:"frames,omitempty"`

	// time
	Time *TrafficDurationTime `json:"time,omitempty"`
}

TrafficDuration Describes how long a packet generator should transmit traffic once started. Only one property may be set.

swagger:model TrafficDuration

func (*TrafficDuration) ContextValidate

func (m *TrafficDuration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic duration based on the context it is used

func (*TrafficDuration) MarshalBinary

func (m *TrafficDuration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficDuration) UnmarshalBinary

func (m *TrafficDuration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficDuration) Validate

func (m *TrafficDuration) Validate(formats strfmt.Registry) error

Validate validates this traffic duration

type TrafficDurationRemainder

type TrafficDurationRemainder struct {

	// Specifies how the duration is measured
	// Required: true
	// Enum: [indefinite frames seconds]
	Unit *string `json:"unit"`

	// Specifies the remaining duration for definite durations
	// Minimum: 0
	Value *int32 `json:"value,omitempty"`
}

TrafficDurationRemainder Specifies how much time remains for an object to be active

swagger:model TrafficDurationRemainder

func (*TrafficDurationRemainder) ContextValidate

func (m *TrafficDurationRemainder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic duration remainder based on context it is used

func (*TrafficDurationRemainder) MarshalBinary

func (m *TrafficDurationRemainder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficDurationRemainder) UnmarshalBinary

func (m *TrafficDurationRemainder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficDurationRemainder) Validate

func (m *TrafficDurationRemainder) Validate(formats strfmt.Registry) error

Validate validates this traffic duration remainder

type TrafficDurationTime

type TrafficDurationTime struct {

	// Specifies the units for value
	// Required: true
	// Enum: [hours minutes seconds milliseconds]
	Units *string `json:"units"`

	// Specifies the value for time based transmission
	// Required: true
	// Minimum: 1
	Value *int32 `json:"value"`
}

TrafficDurationTime Describes the transmit time

swagger:model TrafficDurationTime

func (*TrafficDurationTime) ContextValidate

func (m *TrafficDurationTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic duration time based on context it is used

func (*TrafficDurationTime) MarshalBinary

func (m *TrafficDurationTime) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficDurationTime) UnmarshalBinary

func (m *TrafficDurationTime) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficDurationTime) Validate

func (m *TrafficDurationTime) Validate(formats strfmt.Registry) error

Validate validates this traffic duration time

type TrafficLength

type TrafficLength struct {

	// Fixed packet length
	// Minimum: 64
	Fixed int32 `json:"fixed,omitempty"`

	// List of packet lengths
	List []int32 `json:"list"`

	// sequence
	Sequence *TrafficLengthSequence `json:"sequence,omitempty"`
}

TrafficLength Specifies length of generated packets. At least one property must be set.

swagger:model TrafficLength

func (*TrafficLength) ContextValidate

func (m *TrafficLength) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic length based on the context it is used

func (*TrafficLength) MarshalBinary

func (m *TrafficLength) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficLength) UnmarshalBinary

func (m *TrafficLength) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficLength) Validate

func (m *TrafficLength) Validate(formats strfmt.Registry) error

Validate validates this traffic length

type TrafficLengthSequence

type TrafficLengthSequence struct {

	// The number of different packet lengths
	// Required: true
	// Minimum: 1
	Count *int32 `json:"count"`

	// List of lengths in the sequence to skip
	Skip []int32 `json:"skip"`

	// The first length in the sequence
	// Required: true
	// Minimum: 64
	Start *int32 `json:"start"`

	// The last length in the sequence
	// Minimum: 64
	Stop int32 `json:"stop,omitempty"`
}

TrafficLengthSequence Specifies a sequence of packet lengths

swagger:model TrafficLengthSequence

func (*TrafficLengthSequence) ContextValidate

func (m *TrafficLengthSequence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic length sequence based on context it is used

func (*TrafficLengthSequence) MarshalBinary

func (m *TrafficLengthSequence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficLengthSequence) UnmarshalBinary

func (m *TrafficLengthSequence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficLengthSequence) Validate

func (m *TrafficLengthSequence) Validate(formats strfmt.Registry) error

Validate validates this traffic length sequence

type TrafficLoad

type TrafficLoad struct {

	// Tells the generator how many packets to transmit as part of an
	// atomic transmit operation. Larger burst sizes are more efficient.
	//
	// Maximum: 65535
	// Minimum: 1
	BurstSize int32 `json:"burst_size,omitempty"`

	// rate
	// Required: true
	Rate *TrafficLoadRate `json:"rate"`

	// The transmit units for the packet generator
	// Required: true
	// Enum: [frames octets]
	Units *string `json:"units"`
}

TrafficLoad Describes the transmit load of a packet generator

swagger:model TrafficLoad

func (*TrafficLoad) ContextValidate

func (m *TrafficLoad) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic load based on the context it is used

func (*TrafficLoad) MarshalBinary

func (m *TrafficLoad) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficLoad) UnmarshalBinary

func (m *TrafficLoad) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficLoad) Validate

func (m *TrafficLoad) Validate(formats strfmt.Registry) error

Validate validates this traffic load

type TrafficLoadRate

type TrafficLoadRate struct {

	// unit of time for the rate
	// Required: true
	// Enum: [second minute hour]
	Period *string `json:"period"`

	// number of packets per period
	// Required: true
	// Minimum: 1
	Value *int64 `json:"value"`
}

TrafficLoadRate The transmit packet rate

swagger:model TrafficLoadRate

func (*TrafficLoadRate) ContextValidate

func (m *TrafficLoadRate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic load rate based on context it is used

func (*TrafficLoadRate) MarshalBinary

func (m *TrafficLoadRate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficLoadRate) UnmarshalBinary

func (m *TrafficLoadRate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficLoadRate) Validate

func (m *TrafficLoadRate) Validate(formats strfmt.Registry) error

Validate validates this traffic load rate

type TrafficPacketTemplate

type TrafficPacketTemplate struct {

	// Specifies how modifiers from different protocols are combined in the
	// packet template
	//
	// Enum: [cartesian zip]
	ModifierTie *string `json:"modifier_tie,omitempty"`

	// Ordered list of packet protocols. Packets are constructed
	// by iterating over the sequence of protocols.
	//
	// Required: true
	// Min Items: 1
	Protocols []*TrafficProtocol `json:"protocols"`
}

TrafficPacketTemplate Defines a set of packets for the packet generator

swagger:model TrafficPacketTemplate

func (*TrafficPacketTemplate) ContextValidate

func (m *TrafficPacketTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic packet template based on the context it is used

func (*TrafficPacketTemplate) MarshalBinary

func (m *TrafficPacketTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficPacketTemplate) UnmarshalBinary

func (m *TrafficPacketTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficPacketTemplate) Validate

func (m *TrafficPacketTemplate) Validate(formats strfmt.Registry) error

Validate validates this traffic packet template

type TrafficProtocol

type TrafficProtocol struct {

	// custom
	Custom *PacketProtocolCustom `json:"custom,omitempty"`

	// ethernet
	Ethernet *PacketProtocolEthernet `json:"ethernet,omitempty"`

	// ipv4
	IPV4 *PacketProtocolIPV4 `json:"ipv4,omitempty"`

	// ipv6
	IPV6 *PacketProtocolIPV6 `json:"ipv6,omitempty"`

	// modifiers
	Modifiers *TrafficProtocolModifiers `json:"modifiers,omitempty"`

	// mpls
	Mpls *PacketProtocolMpls `json:"mpls,omitempty"`

	// tcp
	TCP *PacketProtocolTCP `json:"tcp,omitempty"`

	// udp
	UDP *PacketProtocolUDP `json:"udp,omitempty"`

	// vlan
	Vlan *PacketProtocolVlan `json:"vlan,omitempty"`
}

TrafficProtocol A traffic protocol definition for a traffic generator. At least one packet protocol must be set.

swagger:model TrafficProtocol

func (*TrafficProtocol) ContextValidate

func (m *TrafficProtocol) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol based on the context it is used

func (*TrafficProtocol) MarshalBinary

func (m *TrafficProtocol) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocol) UnmarshalBinary

func (m *TrafficProtocol) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocol) Validate

func (m *TrafficProtocol) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol

type TrafficProtocolFieldModifier

type TrafficProtocolFieldModifier struct {

	// List of modifier values. Context determines what values are valid.
	//
	// Min Items: 1
	List []*int64 `json:"list"`

	// sequence
	Sequence *TrafficProtocolFieldModifierSequence `json:"sequence,omitempty"`
}

TrafficProtocolFieldModifier Specifies how to modify a protocol data field. Maximum values are determined by the field to modify.

swagger:model trafficProtocolFieldModifier

func (*TrafficProtocolFieldModifier) ContextValidate

func (m *TrafficProtocolFieldModifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol field modifier based on the context it is used

func (*TrafficProtocolFieldModifier) MarshalBinary

func (m *TrafficProtocolFieldModifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolFieldModifier) UnmarshalBinary

func (m *TrafficProtocolFieldModifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolFieldModifier) Validate

func (m *TrafficProtocolFieldModifier) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol field modifier

type TrafficProtocolFieldModifierSequence

type TrafficProtocolFieldModifierSequence struct {

	// The number of values in the sequence
	// Required: true
	// Minimum: 1
	Count *int64 `json:"count"`

	// List of values in the sequence to skip
	Skip []*int64 `json:"skip"`

	// The first value in the sequence
	// Required: true
	// Minimum: 0
	Start *int64 `json:"start"`

	// The last value in the sequence
	// Minimum: 0
	Stop *int64 `json:"stop,omitempty"`
}

TrafficProtocolFieldModifierSequence Specifies a sequence of values. Context determines what values are valid.

swagger:model TrafficProtocolFieldModifierSequence

func (*TrafficProtocolFieldModifierSequence) ContextValidate

func (m *TrafficProtocolFieldModifierSequence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic protocol field modifier sequence based on context it is used

func (*TrafficProtocolFieldModifierSequence) MarshalBinary

func (m *TrafficProtocolFieldModifierSequence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolFieldModifierSequence) UnmarshalBinary

func (m *TrafficProtocolFieldModifierSequence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolFieldModifierSequence) Validate

Validate validates this traffic protocol field modifier sequence

type TrafficProtocolIPV4Modifier

type TrafficProtocolIPV4Modifier struct {

	// List of IPv4 addresses
	// Min Items: 1
	List []string `json:"list"`

	// sequence
	Sequence *TrafficProtocolIPV4ModifierSequence `json:"sequence,omitempty"`
}

TrafficProtocolIPV4Modifier Specifies how to modify an IPv4 address

swagger:model trafficProtocolIpv4Modifier

func (*TrafficProtocolIPV4Modifier) ContextValidate

func (m *TrafficProtocolIPV4Modifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol Ipv4 modifier based on the context it is used

func (*TrafficProtocolIPV4Modifier) MarshalBinary

func (m *TrafficProtocolIPV4Modifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolIPV4Modifier) UnmarshalBinary

func (m *TrafficProtocolIPV4Modifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolIPV4Modifier) Validate

func (m *TrafficProtocolIPV4Modifier) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol Ipv4 modifier

type TrafficProtocolIPV4ModifierSequence

type TrafficProtocolIPV4ModifierSequence struct {

	// The number of addresses in the sequence
	// Required: true
	// Minimum: 1
	Count *int32 `json:"count"`

	// List of addresses in the sequence to skip
	Skip []string `json:"skip"`

	// First IPv4 address in the sequence
	// Required: true
	// Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])$
	Start *string `json:"start"`

	// Last IPv4 address in the sequence
	// Pattern: ^((25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[1-9]?[0-9])$
	Stop string `json:"stop,omitempty"`
}

TrafficProtocolIPV4ModifierSequence Specifies a sequence of IPv4 addresses

swagger:model TrafficProtocolIPV4ModifierSequence

func (*TrafficProtocolIPV4ModifierSequence) ContextValidate

func (m *TrafficProtocolIPV4ModifierSequence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic protocol IP v4 modifier sequence based on context it is used

func (*TrafficProtocolIPV4ModifierSequence) MarshalBinary

func (m *TrafficProtocolIPV4ModifierSequence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolIPV4ModifierSequence) UnmarshalBinary

func (m *TrafficProtocolIPV4ModifierSequence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolIPV4ModifierSequence) Validate

Validate validates this traffic protocol IP v4 modifier sequence

type TrafficProtocolIPV6Modifier

type TrafficProtocolIPV6Modifier struct {

	// List of IPv6 addresses
	// Min Items: 1
	List []string `json:"list"`

	// sequence
	Sequence *TrafficProtocolIPV6ModifierSequence `json:"sequence,omitempty"`
}

TrafficProtocolIPV6Modifier Specifies how to modify an IPv6 address

swagger:model trafficProtocolIpv6Modifier

func (*TrafficProtocolIPV6Modifier) ContextValidate

func (m *TrafficProtocolIPV6Modifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol Ipv6 modifier based on the context it is used

func (*TrafficProtocolIPV6Modifier) MarshalBinary

func (m *TrafficProtocolIPV6Modifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolIPV6Modifier) UnmarshalBinary

func (m *TrafficProtocolIPV6Modifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolIPV6Modifier) Validate

func (m *TrafficProtocolIPV6Modifier) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol Ipv6 modifier

type TrafficProtocolIPV6ModifierSequence

type TrafficProtocolIPV6ModifierSequence struct {

	// The number of addresses in the sequence
	// Required: true
	// Minimum: 1
	Count *int32 `json:"count"`

	// List of addresses in the sequence to skip
	Skip []string `json:"skip"`

	// First IPv6 address in the sequence
	// Required: true
	// Pattern: ^((::[0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}::)|(([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F])|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))$
	Start *string `json:"start"`

	// Last IPv6 address in the sequence
	// Pattern: ^((::[0-9a-fA-F]{1,4})|([0-9a-fA-F]{1,4}::)|(([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F])|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))$
	Stop string `json:"stop,omitempty"`
}

TrafficProtocolIPV6ModifierSequence Specifies a sequence of IPv6 addresses

swagger:model TrafficProtocolIPV6ModifierSequence

func (*TrafficProtocolIPV6ModifierSequence) ContextValidate

func (m *TrafficProtocolIPV6ModifierSequence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic protocol IP v6 modifier sequence based on context it is used

func (*TrafficProtocolIPV6ModifierSequence) MarshalBinary

func (m *TrafficProtocolIPV6ModifierSequence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolIPV6ModifierSequence) UnmarshalBinary

func (m *TrafficProtocolIPV6ModifierSequence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolIPV6ModifierSequence) Validate

Validate validates this traffic protocol IP v6 modifier sequence

type TrafficProtocolMacModifier

type TrafficProtocolMacModifier struct {

	// List of MAC addresses
	// Min Items: 1
	List []string `json:"list"`

	// sequence
	Sequence *TrafficProtocolMacModifierSequence `json:"sequence,omitempty"`
}

TrafficProtocolMacModifier Specifies how to modify an Ethernet MAC address

swagger:model trafficProtocolMacModifier

func (*TrafficProtocolMacModifier) ContextValidate

func (m *TrafficProtocolMacModifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol mac modifier based on the context it is used

func (*TrafficProtocolMacModifier) MarshalBinary

func (m *TrafficProtocolMacModifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolMacModifier) UnmarshalBinary

func (m *TrafficProtocolMacModifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolMacModifier) Validate

func (m *TrafficProtocolMacModifier) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol mac modifier

type TrafficProtocolMacModifierSequence

type TrafficProtocolMacModifierSequence struct {

	// The number of addresses in the sequence
	// Required: true
	// Minimum: 1
	Count *int32 `json:"count"`

	// List of addresses in the sequence to skip
	Skip []string `json:"skip"`

	// The first MAC address in the sequence
	// Required: true
	// Pattern: ^([0-9a-fA-F]{1,2}(.|-|:)){5}[0-9a-fA-F]{1,2}$
	Start *string `json:"start"`

	// The last MAC address in the sequence
	// Pattern: ^([0-9a-fA-F]{1,2}(.|-|:)){5}[0-9a-fA-F]{1,2}$
	Stop string `json:"stop,omitempty"`
}

TrafficProtocolMacModifierSequence Specifies a sequence of MAC addresses

swagger:model TrafficProtocolMacModifierSequence

func (*TrafficProtocolMacModifierSequence) ContextValidate

func (m *TrafficProtocolMacModifierSequence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic protocol mac modifier sequence based on context it is used

func (*TrafficProtocolMacModifierSequence) MarshalBinary

func (m *TrafficProtocolMacModifierSequence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolMacModifierSequence) UnmarshalBinary

func (m *TrafficProtocolMacModifierSequence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolMacModifierSequence) Validate

Validate validates this traffic protocol mac modifier sequence

type TrafficProtocolModifier

type TrafficProtocolModifier struct {

	// field
	Field *TrafficProtocolFieldModifier `json:"field,omitempty"`

	// ipv4
	IPV4 *TrafficProtocolIPV4Modifier `json:"ipv4,omitempty"`

	// ipv6
	IPV6 *TrafficProtocolIPV6Modifier `json:"ipv6,omitempty"`

	// mac
	Mac *TrafficProtocolMacModifier `json:"mac,omitempty"`

	// Packet protocol field to modify. Context determines what field
	// names are valid and what data is expected in the modifier.
	//
	// Required: true
	Name *string `json:"name"`

	// Specifies the number of octets into the protocol field to write
	// modifier data. Currently only valid for the custom packet protocol
	// \"data\" field.
	//
	Offset int64 `json:"offset,omitempty"`

	// Specifies whether to pseudo-randomly order the modifier values
	//
	// Required: true
	Permute *bool `json:"permute"`
}

TrafficProtocolModifier Specifies how to modify protocol data

swagger:model TrafficProtocolModifier

func (*TrafficProtocolModifier) ContextValidate

func (m *TrafficProtocolModifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol modifier based on the context it is used

func (*TrafficProtocolModifier) MarshalBinary

func (m *TrafficProtocolModifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolModifier) UnmarshalBinary

func (m *TrafficProtocolModifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolModifier) Validate

func (m *TrafficProtocolModifier) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol modifier

type TrafficProtocolModifiers

type TrafficProtocolModifiers struct {

	// List of traffic protocol modifiers
	// Required: true
	// Min Items: 1
	Items []*TrafficProtocolModifier `json:"items"`

	// Specifies how modifier tuples are generated when multiple
	// modifiers are listed.
	//
	// Enum: [cartesian zip]
	Tie *string `json:"tie,omitempty"`
}

TrafficProtocolModifiers Specifies how to modify fields of the template

swagger:model TrafficProtocolModifiers

func (*TrafficProtocolModifiers) ContextValidate

func (m *TrafficProtocolModifiers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic protocol modifiers based on the context it is used

func (*TrafficProtocolModifiers) MarshalBinary

func (m *TrafficProtocolModifiers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficProtocolModifiers) UnmarshalBinary

func (m *TrafficProtocolModifiers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficProtocolModifiers) Validate

func (m *TrafficProtocolModifiers) Validate(formats strfmt.Registry) error

Validate validates this traffic protocol modifiers

type TvlpConfiguration

type TvlpConfiguration struct {

	// string describing error condition; only when state == error
	Error string `json:"error,omitempty"`

	// Unique TVLP configuration identifier
	// Required: true
	ID *string `json:"id"`

	// profile
	// Required: true
	Profile *TvlpProfile `json:"profile"`

	// TVLP configuration state
	// - ready - TVLP contains a valid configuration and is ready to be started
	// - countdown - TVLP has been given a start time in the future and is waiting to start replaying a profile
	// - running - TVLP is replaying a profile
	// - error - TVLP encountered a runtime error
	//
	// Required: true
	// Enum: [ready countdown running error]
	State *string `json:"state"`

	// time
	// Required: true
	Time *TvlpConfigurationTime `json:"time"`
}

TvlpConfiguration TVLP configuration

swagger:model TvlpConfiguration

func (*TvlpConfiguration) ContextValidate

func (m *TvlpConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp configuration based on the context it is used

func (*TvlpConfiguration) MarshalBinary

func (m *TvlpConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpConfiguration) UnmarshalBinary

func (m *TvlpConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpConfiguration) Validate

func (m *TvlpConfiguration) Validate(formats strfmt.Registry) error

Validate validates this tvlp configuration

type TvlpConfigurationTime

type TvlpConfigurationTime struct {

	// length of the current tvlp profile in ns
	// Required: true
	Length *int64 `json:"length"`

	// current offset in ns (only available when running)
	Offset int64 `json:"offset,omitempty"`

	// The ISO8601-formatted date to start TVLP profile (only available when countdown)
	// Format: date-time
	Start strfmt.DateTime `json:"start,omitempty"`
}

TvlpConfigurationTime read only TVLP time parameters

swagger:model TvlpConfigurationTime

func (*TvlpConfigurationTime) ContextValidate

func (m *TvlpConfigurationTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tvlp configuration time based on context it is used

func (*TvlpConfigurationTime) MarshalBinary

func (m *TvlpConfigurationTime) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpConfigurationTime) UnmarshalBinary

func (m *TvlpConfigurationTime) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpConfigurationTime) Validate

func (m *TvlpConfigurationTime) Validate(formats strfmt.Registry) error

Validate validates this tvlp configuration time

type TvlpProfile

type TvlpProfile struct {

	// block
	Block *TvlpProfileBlock `json:"block,omitempty"`

	// cpu
	CPU *TvlpProfileCPU `json:"cpu,omitempty"`

	// memory
	Memory *TvlpProfileMemory `json:"memory,omitempty"`

	// network
	Network *TvlpProfileNetwork `json:"network,omitempty"`

	// packet
	Packet *TvlpProfilePacket `json:"packet,omitempty"`
}

TvlpProfile TVLP profile

swagger:model TvlpProfile

func (*TvlpProfile) ContextValidate

func (m *TvlpProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile based on the context it is used

func (*TvlpProfile) MarshalBinary

func (m *TvlpProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfile) UnmarshalBinary

func (m *TvlpProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfile) Validate

func (m *TvlpProfile) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile

type TvlpProfileBlock

type TvlpProfileBlock struct {

	// series
	// Required: true
	Series []*TvlpProfileBlockSeriesItems0 `json:"series"`
}

TvlpProfileBlock tvlp profile block

swagger:model TvlpProfileBlock

func (*TvlpProfileBlock) ContextValidate

func (m *TvlpProfileBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile block based on the context it is used

func (*TvlpProfileBlock) MarshalBinary

func (m *TvlpProfileBlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileBlock) UnmarshalBinary

func (m *TvlpProfileBlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileBlock) Validate

func (m *TvlpProfileBlock) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile block

type TvlpProfileBlockSeriesItems0

type TvlpProfileBlockSeriesItems0 struct {

	// config
	// Required: true
	Config *BlockGeneratorConfig `json:"config"`

	// Length of a current operation in ns
	// Required: true
	Length *int64 `json:"length"`

	// Unique device or file identifier
	// Required: true
	ResourceID *string `json:"resource_id"`
}

TvlpProfileBlockSeriesItems0 TVLP Profile for Block generators configuration

swagger:model TvlpProfileBlockSeriesItems0

func (*TvlpProfileBlockSeriesItems0) ContextValidate

func (m *TvlpProfileBlockSeriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile block series items0 based on the context it is used

func (*TvlpProfileBlockSeriesItems0) MarshalBinary

func (m *TvlpProfileBlockSeriesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileBlockSeriesItems0) UnmarshalBinary

func (m *TvlpProfileBlockSeriesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileBlockSeriesItems0) Validate

func (m *TvlpProfileBlockSeriesItems0) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile block series items0

type TvlpProfileCPU

type TvlpProfileCPU struct {

	// series
	// Required: true
	Series []*TvlpProfileCPUSeriesItems0 `json:"series"`
}

TvlpProfileCPU tvlp profile CPU

swagger:model TvlpProfileCPU

func (*TvlpProfileCPU) ContextValidate

func (m *TvlpProfileCPU) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile CPU based on the context it is used

func (*TvlpProfileCPU) MarshalBinary

func (m *TvlpProfileCPU) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileCPU) UnmarshalBinary

func (m *TvlpProfileCPU) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileCPU) Validate

func (m *TvlpProfileCPU) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile CPU

type TvlpProfileCPUSeriesItems0

type TvlpProfileCPUSeriesItems0 struct {

	// config
	// Required: true
	Config *CPUGeneratorConfig `json:"config"`

	// Length of a current operation in ns
	// Required: true
	Length *int64 `json:"length"`
}

TvlpProfileCPUSeriesItems0 TVLP Profile for CPU generators configuration

swagger:model TvlpProfileCPUSeriesItems0

func (*TvlpProfileCPUSeriesItems0) ContextValidate

func (m *TvlpProfileCPUSeriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile CPU series items0 based on the context it is used

func (*TvlpProfileCPUSeriesItems0) MarshalBinary

func (m *TvlpProfileCPUSeriesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileCPUSeriesItems0) UnmarshalBinary

func (m *TvlpProfileCPUSeriesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileCPUSeriesItems0) Validate

func (m *TvlpProfileCPUSeriesItems0) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile CPU series items0

type TvlpProfileMemory

type TvlpProfileMemory struct {

	// series
	// Required: true
	Series []*TvlpProfileMemorySeriesItems0 `json:"series"`
}

TvlpProfileMemory tvlp profile memory

swagger:model TvlpProfileMemory

func (*TvlpProfileMemory) ContextValidate

func (m *TvlpProfileMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile memory based on the context it is used

func (*TvlpProfileMemory) MarshalBinary

func (m *TvlpProfileMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileMemory) UnmarshalBinary

func (m *TvlpProfileMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileMemory) Validate

func (m *TvlpProfileMemory) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile memory

type TvlpProfileMemorySeriesItems0

type TvlpProfileMemorySeriesItems0 struct {

	// config
	// Required: true
	Config *MemoryGeneratorConfig `json:"config"`

	// Length of the current operation in ns
	// Required: true
	Length *int64 `json:"length"`
}

TvlpProfileMemorySeriesItems0 TVLP Profile for Memory generators configuration

swagger:model TvlpProfileMemorySeriesItems0

func (*TvlpProfileMemorySeriesItems0) ContextValidate

func (m *TvlpProfileMemorySeriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile memory series items0 based on the context it is used

func (*TvlpProfileMemorySeriesItems0) MarshalBinary

func (m *TvlpProfileMemorySeriesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileMemorySeriesItems0) UnmarshalBinary

func (m *TvlpProfileMemorySeriesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileMemorySeriesItems0) Validate

func (m *TvlpProfileMemorySeriesItems0) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile memory series items0

type TvlpProfileNetwork

type TvlpProfileNetwork struct {

	// series
	// Required: true
	Series []*TvlpProfileNetworkSeriesItems0 `json:"series"`
}

TvlpProfileNetwork tvlp profile network

swagger:model TvlpProfileNetwork

func (*TvlpProfileNetwork) ContextValidate

func (m *TvlpProfileNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile network based on the context it is used

func (*TvlpProfileNetwork) MarshalBinary

func (m *TvlpProfileNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileNetwork) UnmarshalBinary

func (m *TvlpProfileNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileNetwork) Validate

func (m *TvlpProfileNetwork) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile network

type TvlpProfileNetworkSeriesItems0

type TvlpProfileNetworkSeriesItems0 struct {

	// config
	// Required: true
	Config *NetworkGeneratorConfig `json:"config"`

	// Length of the current operation in ns
	// Required: true
	Length *int64 `json:"length"`
}

TvlpProfileNetworkSeriesItems0 TVLP Profile for Network generators configuration

swagger:model TvlpProfileNetworkSeriesItems0

func (*TvlpProfileNetworkSeriesItems0) ContextValidate

func (m *TvlpProfileNetworkSeriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile network series items0 based on the context it is used

func (*TvlpProfileNetworkSeriesItems0) MarshalBinary

func (m *TvlpProfileNetworkSeriesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfileNetworkSeriesItems0) UnmarshalBinary

func (m *TvlpProfileNetworkSeriesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfileNetworkSeriesItems0) Validate

func (m *TvlpProfileNetworkSeriesItems0) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile network series items0

type TvlpProfilePacket

type TvlpProfilePacket struct {

	// series
	// Required: true
	Series []*TvlpProfilePacketSeriesItems0 `json:"series"`
}

TvlpProfilePacket tvlp profile packet

swagger:model TvlpProfilePacket

func (*TvlpProfilePacket) ContextValidate

func (m *TvlpProfilePacket) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile packet based on the context it is used

func (*TvlpProfilePacket) MarshalBinary

func (m *TvlpProfilePacket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfilePacket) UnmarshalBinary

func (m *TvlpProfilePacket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfilePacket) Validate

func (m *TvlpProfilePacket) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile packet

type TvlpProfilePacketSeriesItems0

type TvlpProfilePacketSeriesItems0 struct {

	// config
	// Required: true
	Config *PacketGeneratorConfig `json:"config"`

	// Length of a current operation in ns
	// Required: true
	Length *int64 `json:"length"`

	// Specifies the unique target for packets from this generator. This
	// id may refer to either a port or an interface id.
	//
	// Required: true
	TargetID *string `json:"target_id"`
}

TvlpProfilePacketSeriesItems0 TVLP Profile for Packet generators configuration

swagger:model TvlpProfilePacketSeriesItems0

func (*TvlpProfilePacketSeriesItems0) ContextValidate

func (m *TvlpProfilePacketSeriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp profile packet series items0 based on the context it is used

func (*TvlpProfilePacketSeriesItems0) MarshalBinary

func (m *TvlpProfilePacketSeriesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpProfilePacketSeriesItems0) UnmarshalBinary

func (m *TvlpProfilePacketSeriesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpProfilePacketSeriesItems0) Validate

func (m *TvlpProfilePacketSeriesItems0) Validate(formats strfmt.Registry) error

Validate validates this tvlp profile packet series items0

type TvlpResult

type TvlpResult struct {

	// block
	Block []*BlockGeneratorResult `json:"block"`

	// cpu
	CPU []*CPUGeneratorResult `json:"cpu"`

	// Unique TVLP result identifier
	// Required: true
	ID *string `json:"id"`

	// memory
	Memory []*MemoryGeneratorResult `json:"memory"`

	// network
	Network []*NetworkGeneratorResult `json:"network"`

	// packet
	Packet []*PacketGeneratorResult `json:"packet"`

	// TVLP configuration identifier that generated this result
	// Required: true
	TvlpID *string `json:"tvlp_id"`
}

TvlpResult TVLP result objects contain an array of generator results for each TVLP configuration step.

swagger:model TvlpResult

func (*TvlpResult) ContextValidate

func (m *TvlpResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp result based on the context it is used

func (*TvlpResult) MarshalBinary

func (m *TvlpResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpResult) UnmarshalBinary

func (m *TvlpResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpResult) Validate

func (m *TvlpResult) Validate(formats strfmt.Registry) error

Validate validates this tvlp result

type TvlpStartConfiguration

type TvlpStartConfiguration struct {

	// block
	Block *TvlpStartSeriesConfiguration `json:"block,omitempty"`

	// cpu
	CPU *TvlpStartSeriesConfiguration `json:"cpu,omitempty"`

	// memory
	Memory *TvlpStartSeriesConfiguration `json:"memory,omitempty"`

	// network
	Network *TvlpStartSeriesConfiguration `json:"network,omitempty"`

	// packet
	Packet *TvlpStartSeriesConfiguration `json:"packet,omitempty"`

	// The ISO8601-formatted date and time to start profile replay.
	// If not specified the profile will start immediately.
	//
	// Format: date-time
	StartTime strfmt.DateTime `json:"start_time,omitempty"`
}

TvlpStartConfiguration TVLP start configuration

swagger:model TvlpStartConfiguration

func (*TvlpStartConfiguration) ContextValidate

func (m *TvlpStartConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp start configuration based on the context it is used

func (*TvlpStartConfiguration) MarshalBinary

func (m *TvlpStartConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpStartConfiguration) UnmarshalBinary

func (m *TvlpStartConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpStartConfiguration) Validate

func (m *TvlpStartConfiguration) Validate(formats strfmt.Registry) error

Validate validates this tvlp start configuration

type TvlpStartSeriesConfiguration

type TvlpStartSeriesConfiguration struct {

	// dynamic results
	DynamicResults *DynamicResultsConfig `json:"dynamic_results,omitempty"`

	// The scale multiplier for load parameters of generators
	// Minimum: > 0
	LoadScale float64 `json:"load_scale,omitempty"`

	// The scale multiplier for the length of each profile entry
	// Minimum: > 0
	TimeScale float64 `json:"time_scale,omitempty"`
}

TvlpStartSeriesConfiguration TVLP series start configuration

swagger:model TvlpStartSeriesConfiguration

func (*TvlpStartSeriesConfiguration) ContextValidate

func (m *TvlpStartSeriesConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tvlp start series configuration based on the context it is used

func (*TvlpStartSeriesConfiguration) MarshalBinary

func (m *TvlpStartSeriesConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TvlpStartSeriesConfiguration) UnmarshalBinary

func (m *TvlpStartSeriesConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TvlpStartSeriesConfiguration) Validate

func (m *TvlpStartSeriesConfiguration) Validate(formats strfmt.Registry) error

Validate validates this tvlp start series configuration

type TxFlow

type TxFlow struct {

	// counters
	// Required: true
	Counters *PacketGeneratorFlowCounters `json:"counters"`

	// Unique generator result identifier that recorded this flow
	// Required: true
	GeneratorResultID *string `json:"generator_result_id"`

	// Unique transmit flow identifier
	// Required: true
	ID *string `json:"id"`

	// Spirent signature stream id
	StreamID int64 `json:"stream_id,omitempty"`
}

TxFlow A transmitted packet flow

swagger:model TxFlow

func (*TxFlow) ContextValidate

func (m *TxFlow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tx flow based on the context it is used

func (*TxFlow) MarshalBinary

func (m *TxFlow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TxFlow) UnmarshalBinary

func (m *TxFlow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TxFlow) Validate

func (m *TxFlow) Validate(formats strfmt.Registry) error

Validate validates this tx flow

Source Files

Jump to

Keyboard shortcuts

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