models

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CIStatusEntry added in v0.8.0

type CIStatusEntry struct {

	// Instance name
	Instance string `json:"instance,omitempty"`

	// Current Cluster Instance State
	State string `json:"state,omitempty"`

	// Instance Virtual IP address
	Vip string `json:"vip,omitempty"`
}

CIStatusEntry c i status entry

swagger:model CIStatusEntry

func (*CIStatusEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this c i status entry based on context it is used

func (*CIStatusEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*CIStatusEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*CIStatusEntry) Validate added in v0.8.0

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

Validate validates this c i status entry

type CIStatusGetEntry added in v0.8.0

type CIStatusGetEntry struct {

	// Instance name
	Instance string `json:"instance,omitempty"`

	// Current Cluster Instance State
	State string `json:"state,omitempty"`

	// Sync - sync state
	// Required: true
	Sync *int64 `json:"sync"`

	// Instance Virtual IP address
	Vip string `json:"vip,omitempty"`
}

CIStatusGetEntry c i status get entry

swagger:model CIStatusGetEntry

func (*CIStatusGetEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this c i status get entry based on context it is used

func (*CIStatusGetEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*CIStatusGetEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*CIStatusGetEntry) Validate added in v0.8.0

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

Validate validates this c i status get entry

type ConntrackEntry

type ConntrackEntry struct {

	// Packet bytes of the conntrack
	Bytes int64 `json:"bytes,omitempty"`

	// value for Conntrack Act
	ConntrackAct string `json:"conntrackAct,omitempty"`

	// value for Conntrack state
	ConntrackState string `json:"conntrackState,omitempty"`

	// IP address for externel access
	DestinationIP string `json:"destinationIP,omitempty"`

	// port number for the access
	DestinationPort int64 `json:"destinationPort,omitempty"`

	// Packet counts of the conntrack
	Packets int64 `json:"packets,omitempty"`

	// value for access protocol
	Protocol string `json:"protocol,omitempty"`

	// IP address for externel access
	SourceIP string `json:"sourceIP,omitempty"`

	// port number for the access
	SourcePort int64 `json:"sourcePort,omitempty"`
}

ConntrackEntry conntrack entry

swagger:model ConntrackEntry

func (*ConntrackEntry) ContextValidate

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

ContextValidate validates this conntrack entry based on context it is used

func (*ConntrackEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*ConntrackEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*ConntrackEntry) Validate

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

Validate validates this conntrack entry

type DeviceInfoEntry added in v0.8.0

type DeviceInfoEntry struct {

	// Operation System of the device
	OS string `json:"OS,omitempty"`

	// CPU architecture of the device
	Architecture string `json:"architecture,omitempty"`

	// Boot ID in the linux
	BootID string `json:"bootID,omitempty"`

	// Device host name
	HostName string `json:"hostName,omitempty"`

	// Kernel version of the device
	Kernel string `json:"kernel,omitempty"`

	// Device machine ID
	MachineID string `json:"machineID,omitempty"`

	// system uptime
	Uptime string `json:"uptime,omitempty"`
}

DeviceInfoEntry device info entry

swagger:model DeviceInfoEntry

func (*DeviceInfoEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this device info entry based on context it is used

func (*DeviceInfoEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*DeviceInfoEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*DeviceInfoEntry) Validate added in v0.8.0

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

Validate validates this device info entry

type EndPoint added in v0.8.0

type EndPoint struct {

	// Host Description
	Description string `json:"description,omitempty"`

	// Host name in CIDR
	HostName string `json:"hostName,omitempty"`

	// Number of inactive retries
	InactiveReTries int64 `json:"inactiveReTries,omitempty"`

	// How frequently to probe in seconds
	ProbeDuration int64 `json:"probeDuration,omitempty"`

	// The l4port to probe on
	ProbePort int64 `json:"probePort,omitempty"`

	// URI for http probes
	ProbeReqURL string `json:"probeReqUrl,omitempty"`

	// Type of probe used
	ProbeType string `json:"probeType,omitempty"`
}

EndPoint end point

swagger:model EndPoint

func (*EndPoint) ContextValidate added in v0.8.0

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

ContextValidate validates this end point based on context it is used

func (*EndPoint) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*EndPoint) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*EndPoint) Validate added in v0.8.0

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

Validate validates this end point

type EndPointState added in v0.8.0

type EndPointState struct {

	// Average delay seen for endpoint
	AvgDelay string `json:"avgDelay,omitempty"`

	// Current state of this endpoint
	CurrState string `json:"currState,omitempty"`

	// Host Description
	Description string `json:"description,omitempty"`

	// Host name
	HostName string `json:"hostName,omitempty"`

	// Number of inactive retries
	InactiveReTries int64 `json:"inactiveReTries,omitempty"`

	// Maximum delay seen for endpoint
	MaxDelay string `json:"maxDelay,omitempty"`

	// Minimum delay seen for endpoint
	MinDelay string `json:"minDelay,omitempty"`

	// How frequently to probe in seconds
	ProbeDuration int64 `json:"probeDuration,omitempty"`

	// The l4port to probe on
	ProbePort int64 `json:"probePort,omitempty"`

	// Type of probe used
	ProbeType string `json:"probeType,omitempty"`
}

EndPointState end point state

swagger:model EndPointState

func (*EndPointState) ContextValidate added in v0.8.0

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

ContextValidate validates this end point state based on context it is used

func (*EndPointState) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*EndPointState) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*EndPointState) Validate added in v0.8.0

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

Validate validates this end point state

type Error

type Error struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details string `json:"details,omitempty"`

	// fields
	Fields []string `json:"fields"`

	// message
	Message string `json:"message,omitempty"`

	// sub code
	SubCode int32 `json:"sub-code,omitempty"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type FDBEntry added in v0.8.0

type FDBEntry struct {

	// Name of the interface device to which you want to modify FDB
	Dev string `json:"dev,omitempty"`

	// MAC address to FDB
	MacAddress string `json:"macAddress,omitempty"`
}

FDBEntry f d b entry

swagger:model FDBEntry

func (*FDBEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this f d b entry based on context it is used

func (*FDBEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*FDBEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*FDBEntry) Validate added in v0.8.0

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

Validate validates this f d b entry

type FileSystemInfoEntry added in v0.8.0

type FileSystemInfoEntry struct {

	// size of remain the disk
	Avail string `json:"avail,omitempty"`

	// File system name mounted on this device
	FileSystem string `json:"fileSystem,omitempty"`

	// path of the mounted on
	MountedOn string `json:"mountedOn,omitempty"`

	// Boot ID in the linux
	Size string `json:"size,omitempty"`

	// File type (ex. nfs, ext4..)
	Type string `json:"type,omitempty"`

	// usage per total size
	UsePercent string `json:"usePercent,omitempty"`

	// size of used the disk
	Used string `json:"used,omitempty"`
}

FileSystemInfoEntry file system info entry

swagger:model FileSystemInfoEntry

func (*FileSystemInfoEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this file system info entry based on context it is used

func (*FileSystemInfoEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*FileSystemInfoEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*FileSystemInfoEntry) Validate added in v0.8.0

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

Validate validates this file system info entry

type FirewallEntry added in v0.8.0

type FirewallEntry struct {

	// opts
	Opts *FirewallOptionEntry `json:"opts,omitempty"`

	// rule arguments
	RuleArguments *FirewallRuleEntry `json:"ruleArguments,omitempty"`
}

FirewallEntry firewall entry

swagger:model FirewallEntry

func (*FirewallEntry) ContextValidate added in v0.8.0

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

ContextValidate validate this firewall entry based on the context it is used

func (*FirewallEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*FirewallEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*FirewallEntry) Validate added in v0.8.0

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

Validate validates this firewall entry

type FirewallOptionEntry added in v0.8.0

type FirewallOptionEntry struct {

	// Allow any matching rule
	Allow bool `json:"allow,omitempty"`

	// Drop any matching rule
	Drop bool `json:"drop,omitempty"`

	// Set a fwmark for any matching rule
	FwMark int64 `json:"fwMark,omitempty"`

	// Redirect any matching rule
	Redirect bool `json:"redirect,omitempty"`

	// Redirect any matching rule
	RedirectPortName string `json:"redirectPortName,omitempty"`

	// Trap anything matching rule
	Trap bool `json:"trap,omitempty"`
}

FirewallOptionEntry firewall option entry

swagger:model FirewallOptionEntry

func (*FirewallOptionEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this firewall option entry based on context it is used

func (*FirewallOptionEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*FirewallOptionEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*FirewallOptionEntry) Validate added in v0.8.0

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

Validate validates this firewall option entry

type FirewallRuleEntry added in v0.8.0

type FirewallRuleEntry struct {

	// Destination IP in CIDR notation
	DestinationIP string `json:"destinationIP,omitempty"`

	// Maximum  destination port range
	MaxDestinationPort int64 `json:"maxDestinationPort,omitempty"`

	// Maximum  source port range
	MaxSourcePort int64 `json:"maxSourcePort,omitempty"`

	// Minimum destination port range
	MinDestinationPort int64 `json:"minDestinationPort,omitempty"`

	// Minimum source port range
	MinSourcePort int64 `json:"minSourcePort,omitempty"`

	// the incoming port
	PortName string `json:"portName,omitempty"`

	// User preference for ordering
	Preference int64 `json:"preference,omitempty"`

	// the protocol
	Protocol int64 `json:"protocol,omitempty"`

	// Source IP in CIDR notation
	SourceIP string `json:"sourceIP,omitempty"`
}

FirewallRuleEntry firewall rule entry

swagger:model FirewallRuleEntry

func (*FirewallRuleEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this firewall rule entry based on context it is used

func (*FirewallRuleEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*FirewallRuleEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*FirewallRuleEntry) Validate added in v0.8.0

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

Validate validates this firewall rule entry

type IPV4AddressEntry added in v0.8.0

type IPV4AddressEntry struct {

	// Name of the interface device to which you want to modify the IP address
	Dev string `json:"dev,omitempty"`

	// IP address to modify.
	IPAddress string `json:"ipAddress,omitempty"`
}

IPV4AddressEntry IPv4 address entry

swagger:model IPv4AddressEntry

func (*IPV4AddressEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this IPv4 address entry based on context it is used

func (*IPV4AddressEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*IPV4AddressEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*IPV4AddressEntry) Validate added in v0.8.0

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

Validate validates this IPv4 address entry

type IPV4AddressGetEntry added in v0.8.0

type IPV4AddressGetEntry struct {

	// Name of the interface device to which you want to modify the IP address
	Dev string `json:"dev,omitempty"`

	// ip address
	IPAddress []string `json:"ipAddress"`

	// Sync - sync state
	// Required: true
	Sync *int64 `json:"sync"`
}

IPV4AddressGetEntry IPv4 address get entry

swagger:model IPv4AddressGetEntry

func (*IPV4AddressGetEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this IPv4 address get entry based on context it is used

func (*IPV4AddressGetEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*IPV4AddressGetEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*IPV4AddressGetEntry) Validate added in v0.8.0

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

Validate validates this IPv4 address get entry

type IPV4AddressMod

type IPV4AddressMod struct {

	// Name of the interface device to which you want to modify the IP address
	Dev string `json:"Dev,omitempty"`

	// IP address to modify.
	IPAddress string `json:"IpAddress,omitempty"`
}

IPV4AddressMod IPv4 address mod

swagger:model IPv4AddressMod

func (*IPV4AddressMod) ContextValidate

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

ContextValidate validates this IPv4 address mod based on context it is used

func (*IPV4AddressMod) MarshalBinary

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

MarshalBinary interface implementation

func (*IPV4AddressMod) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*IPV4AddressMod) Validate

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

Validate validates this IPv4 address mod

type LoadbalanceEntry

type LoadbalanceEntry struct {

	// values of End point servers
	Endpoints []*LoadbalanceEntryEndpointsItems0 `json:"endpoints"`

	// service arguments
	ServiceArguments *LoadbalanceEntryServiceArguments `json:"serviceArguments,omitempty"`
}

LoadbalanceEntry loadbalance entry

swagger:model LoadbalanceEntry

func (*LoadbalanceEntry) ContextValidate

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

ContextValidate validate this loadbalance entry based on the context it is used

func (*LoadbalanceEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadbalanceEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadbalanceEntry) Validate

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

Validate validates this loadbalance entry

type LoadbalanceEntryEndpointsItems0

type LoadbalanceEntryEndpointsItems0 struct {

	// IP address for externel access
	EndpointIP string `json:"endpointIP,omitempty"`

	// state of the endpoint
	State string `json:"state,omitempty"`

	// port number for access service
	TargetPort int64 `json:"targetPort,omitempty"`

	// Weight for the load balancing
	Weight int64 `json:"weight,omitempty"`
}

LoadbalanceEntryEndpointsItems0 loadbalance entry endpoints items0

swagger:model LoadbalanceEntryEndpointsItems0

func (*LoadbalanceEntryEndpointsItems0) ContextValidate

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

ContextValidate validates this loadbalance entry endpoints items0 based on context it is used

func (*LoadbalanceEntryEndpointsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadbalanceEntryEndpointsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadbalanceEntryEndpointsItems0) Validate

Validate validates this loadbalance entry endpoints items0

type LoadbalanceEntryServiceArguments

type LoadbalanceEntryServiceArguments struct {

	// value for BGP enable or not
	Bgp bool `json:"bgp,omitempty"`

	// block-number if any of this LB entry
	Block uint16 `json:"block,omitempty"`

	// IP address for externel access
	ExternalIP string `json:"externalIP,omitempty"`

	// value for inactivity timeout (in seconds)
	InactiveTimeOut int32 `json:"inactiveTimeOut,omitempty"`

	// value for NAT mode (0-DNAT, 1-oneArm, 2-fullNAT)
	Mode int32 `json:"mode,omitempty"`

	// value for monitoring enabled or not
	Monitor bool `json:"monitor,omitempty"`

	// port number for the access
	Port int64 `json:"port,omitempty"`

	// value for access protocol
	Protocol string `json:"protocol,omitempty"`

	// value for load balance algorithim
	Sel int64 `json:"sel,omitempty"`
}

LoadbalanceEntryServiceArguments loadbalance entry service arguments

swagger:model LoadbalanceEntryServiceArguments

func (*LoadbalanceEntryServiceArguments) ContextValidate

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

ContextValidate validates this loadbalance entry service arguments based on context it is used

func (*LoadbalanceEntryServiceArguments) MarshalBinary

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

MarshalBinary interface implementation

func (*LoadbalanceEntryServiceArguments) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadbalanceEntryServiceArguments) Validate

Validate validates this loadbalance entry service arguments

type MirrorEntry added in v0.8.0

type MirrorEntry struct {

	// Mirror name
	MirrorIdent string `json:"mirrorIdent,omitempty"`

	// mirror info
	MirrorInfo *MirrorEntryMirrorInfo `json:"mirrorInfo,omitempty"`

	// target object
	TargetObject *MirrorEntryTargetObject `json:"targetObject,omitempty"`
}

MirrorEntry mirror entry

swagger:model MirrorEntry

func (*MirrorEntry) ContextValidate added in v0.8.0

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

ContextValidate validate this mirror entry based on the context it is used

func (*MirrorEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*MirrorEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*MirrorEntry) Validate added in v0.8.0

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

Validate validates this mirror entry

type MirrorEntryMirrorInfo added in v0.8.0

type MirrorEntryMirrorInfo struct {

	// Port where mirrored traffic needs to be sent
	Port string `json:"port,omitempty"`

	// For ERSPAN we may need to send tunnelled mirror traffic
	RemoteIP string `json:"remoteIP,omitempty"`

	// For ERSPAN we may need to send tunnelled mirror traffic
	SourceIP string `json:"sourceIP,omitempty"`

	// mirror tunnel-id. For ERSPAN we may need to send tunnelled mirror traffic
	TunnelID int64 `json:"tunnelID,omitempty"`

	// One of MirrTypeSpan, MirrTypeRspan or MirrTypeErspan
	Type int64 `json:"type,omitempty"`

	// For RSPAN we may need to send tagged mirror traffic
	Vlan int64 `json:"vlan,omitempty"`
}

MirrorEntryMirrorInfo mirror entry mirror info

swagger:model MirrorEntryMirrorInfo

func (*MirrorEntryMirrorInfo) ContextValidate added in v0.8.0

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

ContextValidate validates this mirror entry mirror info based on context it is used

func (*MirrorEntryMirrorInfo) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*MirrorEntryMirrorInfo) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*MirrorEntryMirrorInfo) Validate added in v0.8.0

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

Validate validates this mirror entry mirror info

type MirrorEntryTargetObject added in v0.8.0

type MirrorEntryTargetObject struct {

	// Target Attachment
	Attachment int64 `json:"attachment,omitempty"`

	// Target Names
	MirrObjName string `json:"mirrObjName,omitempty"`
}

MirrorEntryTargetObject mirror entry target object

swagger:model MirrorEntryTargetObject

func (*MirrorEntryTargetObject) ContextValidate added in v0.8.0

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

ContextValidate validates this mirror entry target object based on context it is used

func (*MirrorEntryTargetObject) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*MirrorEntryTargetObject) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*MirrorEntryTargetObject) Validate added in v0.8.0

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

Validate validates this mirror entry target object

type MirrorGetEntry added in v0.8.0

type MirrorGetEntry struct {

	// Mirror name
	MirrorIdent string `json:"mirrorIdent,omitempty"`

	// mirror info
	MirrorInfo *MirrorGetEntryMirrorInfo `json:"mirrorInfo,omitempty"`

	// Sync - sync state
	// Required: true
	Sync *int64 `json:"sync"`

	// target object
	TargetObject *MirrorGetEntryTargetObject `json:"targetObject,omitempty"`
}

MirrorGetEntry mirror get entry

swagger:model MirrorGetEntry

func (*MirrorGetEntry) ContextValidate added in v0.8.0

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

ContextValidate validate this mirror get entry based on the context it is used

func (*MirrorGetEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*MirrorGetEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*MirrorGetEntry) Validate added in v0.8.0

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

Validate validates this mirror get entry

type MirrorGetEntryMirrorInfo added in v0.8.0

type MirrorGetEntryMirrorInfo struct {

	// Port where mirrored traffic needs to be sent
	Port string `json:"port,omitempty"`

	// For ERSPAN we may need to send tunnelled mirror traffic
	RemoteIP string `json:"remoteIP,omitempty"`

	// For ERSPAN we may need to send tunnelled mirror traffic
	SourceIP string `json:"sourceIP,omitempty"`

	// mirror tunnel-id. For ERSPAN we may need to send tunnelled mirror traffic
	TunnelID int64 `json:"tunnelID,omitempty"`

	// One of MirrTypeSpan, MirrTypeRspan or MirrTypeErspan
	Type int64 `json:"type,omitempty"`

	// For RSPAN we may need to send tagged mirror traffic
	Vlan int64 `json:"vlan,omitempty"`
}

MirrorGetEntryMirrorInfo mirror get entry mirror info

swagger:model MirrorGetEntryMirrorInfo

func (*MirrorGetEntryMirrorInfo) ContextValidate added in v0.8.0

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

ContextValidate validates this mirror get entry mirror info based on context it is used

func (*MirrorGetEntryMirrorInfo) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*MirrorGetEntryMirrorInfo) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*MirrorGetEntryMirrorInfo) Validate added in v0.8.0

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

Validate validates this mirror get entry mirror info

type MirrorGetEntryTargetObject added in v0.8.0

type MirrorGetEntryTargetObject struct {

	// Target Attachment
	Attachment int64 `json:"attachment,omitempty"`

	// Target Names
	MirrObjName string `json:"mirrObjName,omitempty"`
}

MirrorGetEntryTargetObject mirror get entry target object

swagger:model MirrorGetEntryTargetObject

func (*MirrorGetEntryTargetObject) ContextValidate added in v0.8.0

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

ContextValidate validates this mirror get entry target object based on context it is used

func (*MirrorGetEntryTargetObject) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*MirrorGetEntryTargetObject) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*MirrorGetEntryTargetObject) Validate added in v0.8.0

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

Validate validates this mirror get entry target object

type NeighborEntry added in v0.8.0

type NeighborEntry struct {

	// Name of the interface device to which you want to add neighbor
	Dev string `json:"dev,omitempty"`

	// IP address to neighbor
	IPAddress string `json:"ipAddress,omitempty"`

	// MAC address to neighbor
	MacAddress string `json:"macAddress,omitempty"`
}

NeighborEntry neighbor entry

swagger:model NeighborEntry

func (*NeighborEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this neighbor entry based on context it is used

func (*NeighborEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*NeighborEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*NeighborEntry) Validate added in v0.8.0

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

Validate validates this neighbor entry

type Neighborv4Mod

type Neighborv4Mod struct {

	// IP address to neighbor
	IPAddress string `json:"IpAddress,omitempty"`
}

Neighborv4Mod neighborv4 mod

swagger:model Neighborv4Mod

func (*Neighborv4Mod) ContextValidate

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

ContextValidate validates this neighborv4 mod based on context it is used

func (*Neighborv4Mod) MarshalBinary

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

MarshalBinary interface implementation

func (*Neighborv4Mod) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Neighborv4Mod) Validate

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

Validate validates this neighborv4 mod

type OperParams added in v0.8.0

type OperParams struct {

	// Set level to debug,info,error,warning,notice,critical,emergency,alert
	LogLevel string `json:"logLevel,omitempty"`
}

OperParams oper params

swagger:model OperParams

func (*OperParams) ContextValidate added in v0.8.0

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

ContextValidate validates this oper params based on context it is used

func (*OperParams) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*OperParams) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*OperParams) Validate added in v0.8.0

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

Validate validates this oper params

type OperState added in v0.8.0

type OperState struct {

	// Set level to debug,info,error,warning,notice,critical,emergency,alert
	DebugLevel string `json:"debugLevel,omitempty"`
}

OperState oper state

swagger:model OperState

func (*OperState) ContextValidate added in v0.8.0

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

ContextValidate validates this oper state based on context it is used

func (*OperState) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*OperState) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*OperState) Validate added in v0.8.0

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

Validate validates this oper state

type PolicyEntry

type PolicyEntry struct {

	// Policy name
	PolicyIdent string `json:"policyIdent,omitempty"`

	// policy info
	PolicyInfo *PolicyEntryPolicyInfo `json:"policyInfo,omitempty"`

	// target object
	TargetObject *PolicyEntryTargetObject `json:"targetObject,omitempty"`
}

PolicyEntry policy entry

swagger:model PolicyEntry

func (*PolicyEntry) ContextValidate

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

ContextValidate validate this policy entry based on the context it is used

func (*PolicyEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyEntry) Validate

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

Validate validates this policy entry

type PolicyEntryPolicyInfo

type PolicyEntryPolicyInfo struct {

	// Policy color for QoS
	ColorAware bool `json:"colorAware,omitempty"`

	// policy type
	CommittedBlkSize int64 `json:"committedBlkSize,omitempty"`

	// policy type
	CommittedInfoRate int64 `json:"committedInfoRate,omitempty"`

	// policy type
	ExcessBlkSize int64 `json:"excessBlkSize,omitempty"`

	// policy type
	PeakInfoRate int64 `json:"peakInfoRate,omitempty"`

	// policy type
	Type int64 `json:"type,omitempty"`
}

PolicyEntryPolicyInfo policy entry policy info

swagger:model PolicyEntryPolicyInfo

func (*PolicyEntryPolicyInfo) ContextValidate

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

ContextValidate validates this policy entry policy info based on context it is used

func (*PolicyEntryPolicyInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyEntryPolicyInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyEntryPolicyInfo) Validate

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

Validate validates this policy entry policy info

type PolicyEntryTargetObject

type PolicyEntryTargetObject struct {

	// Target Attachment
	Attachment int64 `json:"attachment,omitempty"`

	// Target Names
	PolObjName string `json:"polObjName,omitempty"`
}

PolicyEntryTargetObject policy entry target object

swagger:model PolicyEntryTargetObject

func (*PolicyEntryTargetObject) ContextValidate

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

ContextValidate validates this policy entry target object based on context it is used

func (*PolicyEntryTargetObject) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyEntryTargetObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyEntryTargetObject) Validate

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

Validate validates this policy entry target object

type PortEntry

type PortEntry struct {

	// Dataplan Sync check
	DataplaneSync int64 `json:"DataplaneSync,omitempty"`

	// port hardware information
	PortHardwareInformation *PortEntryPortHardwareInformation `json:"portHardwareInformation,omitempty"`

	// port l2 information
	PortL2Information *PortEntryPortL2Information `json:"portL2Information,omitempty"`

	// port l3 information
	PortL3Information *PortEntryPortL3Information `json:"portL3Information,omitempty"`

	// The name of the Port interface
	PortName string `json:"portName,omitempty"`

	// Index of the Port
	PortNo int64 `json:"portNo,omitempty"`

	// port software information
	PortSoftwareInformation *PortEntryPortSoftwareInformation `json:"portSoftwareInformation,omitempty"`

	// port statistic information
	PortStatisticInformation *PortEntryPortStatisticInformation `json:"portStatisticInformation,omitempty"`

	// network zone
	Zone string `json:"zone,omitempty"`
}

PortEntry port entry

swagger:model PortEntry

func (*PortEntry) ContextValidate

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

ContextValidate validate this port entry based on the context it is used

func (*PortEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PortEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PortEntry) Validate

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

Validate validates this port entry

type PortEntryPortHardwareInformation added in v0.8.0

type PortEntryPortHardwareInformation struct {

	// link status
	Link bool `json:"link,omitempty"`

	// MAC address of the port
	MacAddress string `json:"macAddress,omitempty"`

	// Port's mater
	Master string `json:"master,omitempty"`

	// MTU of the port
	Mtu int64 `json:"mtu,omitempty"`

	// MAC address written by byte array
	RawMacAddress []int64 `json:"rawMacAddress"`

	// real port..
	Real string `json:"real,omitempty"`

	// state...
	State bool `json:"state,omitempty"`

	// Tunnel Id such as VxLAN.
	TunnelID int64 `json:"tunnelId,omitempty"`
}

PortEntryPortHardwareInformation port entry port hardware information

swagger:model PortEntryPortHardwareInformation

func (*PortEntryPortHardwareInformation) ContextValidate added in v0.8.0

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

ContextValidate validates this port entry port hardware information based on context it is used

func (*PortEntryPortHardwareInformation) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PortEntryPortHardwareInformation) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PortEntryPortHardwareInformation) Validate added in v0.8.0

Validate validates this port entry port hardware information

type PortEntryPortL2Information added in v0.8.0

type PortEntryPortL2Information struct {

	// Is PVID config or not
	IsPvid bool `json:"isPvid,omitempty"`

	// virtual lan id(VLAN ID)
	Vid int64 `json:"vid,omitempty"`
}

PortEntryPortL2Information port entry port l2 information

swagger:model PortEntryPortL2Information

func (*PortEntryPortL2Information) ContextValidate added in v0.8.0

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

ContextValidate validates this port entry port l2 information based on context it is used

func (*PortEntryPortL2Information) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PortEntryPortL2Information) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PortEntryPortL2Information) Validate added in v0.8.0

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

Validate validates this port entry port l2 information

type PortEntryPortL3Information added in v0.8.0

type PortEntryPortL3Information struct {

	// List of IP address v4
	IPV4Address []string `json:"IPv4Address"`

	// List of the IP address v6
	IPV6Address []string `json:"IPv6Address"`

	// Is routed or not
	Routed bool `json:"routed,omitempty"`
}

PortEntryPortL3Information port entry port l3 information

swagger:model PortEntryPortL3Information

func (*PortEntryPortL3Information) ContextValidate added in v0.8.0

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

ContextValidate validates this port entry port l3 information based on context it is used

func (*PortEntryPortL3Information) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PortEntryPortL3Information) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PortEntryPortL3Information) Validate added in v0.8.0

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

Validate validates this port entry port l3 information

type PortEntryPortSoftwareInformation added in v0.8.0

type PortEntryPortSoftwareInformation struct {

	// The status of the eBPF loaded
	BpfLoaded bool `json:"bpfLoaded,omitempty"`

	// The ID of the Port in the software(OS)
	OsID int64 `json:"osId,omitempty"`

	// Activation status of the port
	PortActive bool `json:"portActive,omitempty"`

	// Priority of the port
	PortProp int64 `json:"portProp,omitempty"`

	// port type
	PortType int64 `json:"portType,omitempty"`
}

PortEntryPortSoftwareInformation port entry port software information

swagger:model PortEntryPortSoftwareInformation

func (*PortEntryPortSoftwareInformation) ContextValidate added in v0.8.0

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

ContextValidate validates this port entry port software information based on context it is used

func (*PortEntryPortSoftwareInformation) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PortEntryPortSoftwareInformation) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PortEntryPortSoftwareInformation) Validate added in v0.8.0

Validate validates this port entry port software information

type PortEntryPortStatisticInformation added in v0.8.0

type PortEntryPortStatisticInformation struct {

	// Statistic of the ingress port bytes.
	RxBytes int64 `json:"rxBytes,omitempty"`

	// Statistic of the number of ingress Error packets.
	RxErrors int64 `json:"rxErrors,omitempty"`

	// Statistic of the number of ingress packets.
	RxPackets int64 `json:"rxPackets,omitempty"`

	// Statistic of the egress port bytes.
	TxBytes int64 `json:"txBytes,omitempty"`

	// Statistic of the number of egress Error packets.
	TxErrors int64 `json:"txErrors,omitempty"`

	// Statistic of the number of egress packets.
	TxPackets int64 `json:"txPackets,omitempty"`
}

PortEntryPortStatisticInformation port entry port statistic information

swagger:model PortEntryPortStatisticInformation

func (*PortEntryPortStatisticInformation) ContextValidate added in v0.8.0

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

ContextValidate validates this port entry port statistic information based on context it is used

func (*PortEntryPortStatisticInformation) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PortEntryPortStatisticInformation) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PortEntryPortStatisticInformation) Validate added in v0.8.0

Validate validates this port entry port statistic information

type PostSuccess added in v0.8.0

type PostSuccess struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

PostSuccess post success

swagger:model PostSuccess

func (*PostSuccess) ContextValidate added in v0.8.0

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

ContextValidate validates this post success based on context it is used

func (*PostSuccess) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*PostSuccess) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*PostSuccess) Validate added in v0.8.0

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

Validate validates this post success

type ProcessInfoEntry added in v0.8.0

type ProcessInfoEntry struct {

	// CPU usage of the process
	CPUUsage string `json:"CPUUsage,omitempty"`

	// Memory usage of the process
	MemoryUsage string `json:"MemoryUsage,omitempty"`

	// process command
	Command string `json:"command,omitempty"`

	// process nice value
	Nice string `json:"nice,omitempty"`

	// process ID
	Pid string `json:"pid,omitempty"`

	// process priority
	Priority string `json:"priority,omitempty"`

	// Physical memory usage
	ResidentSize string `json:"residentSize,omitempty"`

	// Shared memory usage
	SharedMemory string `json:"sharedMemory,omitempty"`

	// process status
	Status string `json:"status,omitempty"`

	// Executation time
	Time string `json:"time,omitempty"`

	// User name that start the process
	User string `json:"user,omitempty"`

	// virtual memory usage
	VirtMemory string `json:"virtMemory,omitempty"`
}

ProcessInfoEntry process info entry

swagger:model ProcessInfoEntry

func (*ProcessInfoEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this process info entry based on context it is used

func (*ProcessInfoEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*ProcessInfoEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*ProcessInfoEntry) Validate added in v0.8.0

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

Validate validates this process info entry

type RouteEntry

type RouteEntry struct {

	// IP address and netmask
	DestinationIPNet string `json:"destinationIPNet,omitempty"`

	// IP address for nexthop
	Gateway string `json:"gateway,omitempty"`
}

RouteEntry route entry

swagger:model RouteEntry

func (*RouteEntry) ContextValidate

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

ContextValidate validates this route entry based on context it is used

func (*RouteEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*RouteEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RouteEntry) Validate

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

Validate validates this route entry

type RouteGetEntry added in v0.8.0

type RouteGetEntry struct {

	// IP address and netmask
	DestinationIPNet string `json:"destinationIPNet,omitempty"`

	// Route flags
	Flags string `json:"flags,omitempty"`

	// IP address for nexthop
	Gateway string `json:"gateway,omitempty"`

	// index of the route
	HardwareMark int64 `json:"hardwareMark,omitempty"`

	// Route protocol
	Protocol int64 `json:"protocol,omitempty"`

	// statistic
	Statistic *RouteGetEntryStatistic `json:"statistic,omitempty"`

	// sync
	Sync int64 `json:"sync,omitempty"`
}

RouteGetEntry route get entry

swagger:model RouteGetEntry

func (*RouteGetEntry) ContextValidate added in v0.8.0

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

ContextValidate validate this route get entry based on the context it is used

func (*RouteGetEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*RouteGetEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*RouteGetEntry) Validate added in v0.8.0

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

Validate validates this route get entry

type RouteGetEntryStatistic added in v0.8.0

type RouteGetEntryStatistic struct {

	// Statistic of the ingress port bytes.
	// Required: true
	Bytes *int64 `json:"bytes"`

	// Statistic of the egress port bytes.
	// Required: true
	Packets *int64 `json:"packets"`
}

RouteGetEntryStatistic route get entry statistic

swagger:model RouteGetEntryStatistic

func (*RouteGetEntryStatistic) ContextValidate added in v0.8.0

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

ContextValidate validates this route get entry statistic based on context it is used

func (*RouteGetEntryStatistic) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*RouteGetEntryStatistic) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*RouteGetEntryStatistic) Validate added in v0.8.0

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

Validate validates this route get entry statistic

type SessionEntry

type SessionEntry struct {

	// access network tunnel
	AccessNetworkTunnel *SessionEntryAccessNetworkTunnel `json:"accessNetworkTunnel,omitempty"`

	// core network tunnel
	CoreNetworkTunnel *SessionEntryCoreNetworkTunnel `json:"coreNetworkTunnel,omitempty"`

	// IP address and netmask
	Ident string `json:"ident,omitempty"`

	// IP address for nexthop
	SessionIP string `json:"sessionIP,omitempty"`
}

SessionEntry session entry

swagger:model SessionEntry

func (*SessionEntry) ContextValidate

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

ContextValidate validate this session entry based on the context it is used

func (*SessionEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionEntry) Validate

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

Validate validates this session entry

type SessionEntryAccessNetworkTunnel

type SessionEntryAccessNetworkTunnel struct {

	// ID of the tunnel
	TeID int64 `json:"TeID,omitempty"`

	// Access network IP address
	TunnelIP string `json:"tunnelIP,omitempty"`
}

SessionEntryAccessNetworkTunnel session entry access network tunnel

swagger:model SessionEntryAccessNetworkTunnel

func (*SessionEntryAccessNetworkTunnel) ContextValidate

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

ContextValidate validates this session entry access network tunnel based on context it is used

func (*SessionEntryAccessNetworkTunnel) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionEntryAccessNetworkTunnel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionEntryAccessNetworkTunnel) Validate

Validate validates this session entry access network tunnel

type SessionEntryCoreNetworkTunnel

type SessionEntryCoreNetworkTunnel struct {

	// ID of the tunnel
	TeID int64 `json:"teID,omitempty"`

	// Connection network IP address
	TunnelIP string `json:"tunnelIP,omitempty"`
}

SessionEntryCoreNetworkTunnel session entry core network tunnel

swagger:model SessionEntryCoreNetworkTunnel

func (*SessionEntryCoreNetworkTunnel) ContextValidate

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

ContextValidate validates this session entry core network tunnel based on context it is used

func (*SessionEntryCoreNetworkTunnel) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionEntryCoreNetworkTunnel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionEntryCoreNetworkTunnel) Validate

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

Validate validates this session entry core network tunnel

type SessionUlClEntry

type SessionUlClEntry struct {

	// ulcl argument
	UlclArgument *SessionUlClEntryUlclArgument `json:"ulclArgument,omitempty"`

	// IP address and netmask
	UlclIdent string `json:"ulclIdent,omitempty"`
}

SessionUlClEntry session ul cl entry

swagger:model SessionUlClEntry

func (*SessionUlClEntry) ContextValidate

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

ContextValidate validate this session ul cl entry based on the context it is used

func (*SessionUlClEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionUlClEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionUlClEntry) Validate

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

Validate validates this session ul cl entry

type SessionUlClEntryUlclArgument

type SessionUlClEntryUlclArgument struct {

	// QFI number
	Qfi int64 `json:"qfi,omitempty"`

	// Access network IP address
	UlclIP string `json:"ulclIP,omitempty"`
}

SessionUlClEntryUlclArgument session ul cl entry ulcl argument

swagger:model SessionUlClEntryUlclArgument

func (*SessionUlClEntryUlclArgument) ContextValidate

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

ContextValidate validates this session ul cl entry ulcl argument based on context it is used

func (*SessionUlClEntryUlclArgument) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionUlClEntryUlclArgument) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionUlClEntryUlclArgument) Validate

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

Validate validates this session ul cl entry ulcl argument

type VlanBridgeEntry added in v0.8.0

type VlanBridgeEntry struct {

	// Vlan ID
	Vid int64 `json:"vid,omitempty"`
}

VlanBridgeEntry vlan bridge entry

swagger:model VlanBridgeEntry

func (*VlanBridgeEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this vlan bridge entry based on context it is used

func (*VlanBridgeEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VlanBridgeEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VlanBridgeEntry) Validate added in v0.8.0

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

Validate validates this vlan bridge entry

type VlanGetEntry added in v0.8.0

type VlanGetEntry struct {

	// Interface device name
	Dev string `json:"dev,omitempty"`

	// member
	Member []*VlanMemberEntry `json:"member"`

	// Vlan ID
	Vid int64 `json:"vid,omitempty"`

	// vlan statistic
	VlanStatistic *VlanGetEntryVlanStatistic `json:"vlanStatistic,omitempty"`
}

VlanGetEntry vlan get entry

swagger:model VlanGetEntry

func (*VlanGetEntry) ContextValidate added in v0.8.0

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

ContextValidate validate this vlan get entry based on the context it is used

func (*VlanGetEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VlanGetEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VlanGetEntry) Validate added in v0.8.0

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

Validate validates this vlan get entry

type VlanGetEntryVlanStatistic added in v0.8.0

type VlanGetEntryVlanStatistic struct {

	// in bytes
	InBytes int64 `json:"inBytes,omitempty"`

	// in packets
	InPackets int64 `json:"inPackets,omitempty"`

	// out bytes
	OutBytes int64 `json:"outBytes,omitempty"`

	// out packets
	OutPackets int64 `json:"outPackets,omitempty"`
}

VlanGetEntryVlanStatistic vlan get entry vlan statistic

swagger:model VlanGetEntryVlanStatistic

func (*VlanGetEntryVlanStatistic) ContextValidate added in v0.8.0

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

ContextValidate validates this vlan get entry vlan statistic based on context it is used

func (*VlanGetEntryVlanStatistic) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VlanGetEntryVlanStatistic) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VlanGetEntryVlanStatistic) Validate added in v0.8.0

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

Validate validates this vlan get entry vlan statistic

type VlanMemberEntry added in v0.8.0

type VlanMemberEntry struct {

	// Interface device name
	Dev string `json:"dev,omitempty"`

	// Tagged status added
	Tagged bool `json:"tagged,omitempty"`
}

VlanMemberEntry vlan member entry

swagger:model VlanMemberEntry

func (*VlanMemberEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this vlan member entry based on context it is used

func (*VlanMemberEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VlanMemberEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VlanMemberEntry) Validate added in v0.8.0

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

Validate validates this vlan member entry

type VlanPortMod

type VlanPortMod struct {

	// Interface device name
	Dev string `json:"Dev,omitempty"`

	// Tagged status added
	Tagged bool `json:"Tagged,omitempty"`

	// Vlan ID
	Vid float64 `json:"Vid,omitempty"`
}

VlanPortMod vlan port mod

swagger:model VlanPortMod

func (*VlanPortMod) ContextValidate

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

ContextValidate validates this vlan port mod based on context it is used

func (*VlanPortMod) MarshalBinary

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

MarshalBinary interface implementation

func (*VlanPortMod) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VlanPortMod) Validate

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

Validate validates this vlan port mod

type VxlanBridgeEntry added in v0.8.0

type VxlanBridgeEntry struct {

	// ep intf
	EpIntf string `json:"epIntf,omitempty"`

	// vxlan ID
	VxlanID int64 `json:"vxlanID,omitempty"`
}

VxlanBridgeEntry vxlan bridge entry

swagger:model VxlanBridgeEntry

func (*VxlanBridgeEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this vxlan bridge entry based on context it is used

func (*VxlanBridgeEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VxlanBridgeEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VxlanBridgeEntry) Validate added in v0.8.0

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

Validate validates this vxlan bridge entry

type VxlanEntry added in v0.8.0

type VxlanEntry struct {

	// ep intf
	EpIntf string `json:"epIntf,omitempty"`

	// peer IP
	PeerIP []string `json:"peerIP"`

	// vxlan ID
	VxlanID int64 `json:"vxlanID,omitempty"`

	// vxlan name
	VxlanName string `json:"vxlanName,omitempty"`
}

VxlanEntry vxlan entry

swagger:model VxlanEntry

func (*VxlanEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this vxlan entry based on context it is used

func (*VxlanEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VxlanEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VxlanEntry) Validate added in v0.8.0

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

Validate validates this vxlan entry

type VxlanPeerEntry added in v0.8.0

type VxlanPeerEntry struct {

	// peer IP
	PeerIP string `json:"peerIP,omitempty"`
}

VxlanPeerEntry vxlan peer entry

swagger:model VxlanPeerEntry

func (*VxlanPeerEntry) ContextValidate added in v0.8.0

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

ContextValidate validates this vxlan peer entry based on context it is used

func (*VxlanPeerEntry) MarshalBinary added in v0.8.0

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

MarshalBinary interface implementation

func (*VxlanPeerEntry) UnmarshalBinary added in v0.8.0

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

UnmarshalBinary interface implementation

func (*VxlanPeerEntry) Validate added in v0.8.0

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

Validate validates this vxlan peer entry

Jump to

Keyboard shortcuts

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