models

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 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 BGPApplyPolicyToNeighborMod added in v0.9.4

type BGPApplyPolicyToNeighborMod struct {

	// BGP Neighbor IP address
	IPAddress string `json:"ipAddress,omitempty"`

	// policies
	Policies []string `json:"policies"`

	// policy type
	PolicyType string `json:"policyType,omitempty"`

	// route action
	RouteAction string `json:"routeAction,omitempty"`
}

BGPApplyPolicyToNeighborMod b g p apply policy to neighbor mod

swagger:model BGPApplyPolicyToNeighborMod

func (*BGPApplyPolicyToNeighborMod) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p apply policy to neighbor mod based on context it is used

func (*BGPApplyPolicyToNeighborMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPApplyPolicyToNeighborMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPApplyPolicyToNeighborMod) Validate added in v0.9.4

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

Validate validates this b g p apply policy to neighbor mod

type BGPGlobal added in v0.9.0

type BGPGlobal struct {

	// apply policy
	ApplyPolicy *BGPGlobalApplyPolicy `json:"apply-policy,omitempty"`

	// config
	Config *BGPGlobalConfig `json:"config,omitempty"`
}

BGPGlobal b g p global

swagger:model BGPGlobal

func (*BGPGlobal) ContextValidate added in v0.9.0

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

ContextValidate validate this b g p global based on the context it is used

func (*BGPGlobal) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*BGPGlobal) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*BGPGlobal) Validate added in v0.9.0

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

Validate validates this b g p global

type BGPGlobalApplyPolicy added in v0.9.0

type BGPGlobalApplyPolicy struct {

	// config
	Config *BGPPolicyConfig `json:"config,omitempty"`
}

BGPGlobalApplyPolicy b g p global apply policy

swagger:model BGPGlobalApplyPolicy

func (*BGPGlobalApplyPolicy) ContextValidate added in v0.9.0

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

ContextValidate validate this b g p global apply policy based on the context it is used

func (*BGPGlobalApplyPolicy) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*BGPGlobalApplyPolicy) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*BGPGlobalApplyPolicy) Validate added in v0.9.0

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

Validate validates this b g p global apply policy

type BGPGlobalConfig added in v0.9.0

type BGPGlobalConfig struct {

	// Adds policy to set next hop as self, if enabled
	SetNextHopSelf bool `json:"SetNextHopSelf,omitempty"`

	// Listen port (default 179)
	ListenPort int64 `json:"listenPort,omitempty"`

	// Local AS number
	LocalAs int64 `json:"localAs,omitempty"`

	// BGP Router ID
	RouterID string `json:"routerId,omitempty"`
}

BGPGlobalConfig b g p global config

swagger:model BGPGlobalConfig

func (*BGPGlobalConfig) ContextValidate added in v0.9.0

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

ContextValidate validates this b g p global config based on context it is used

func (*BGPGlobalConfig) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*BGPGlobalConfig) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*BGPGlobalConfig) Validate added in v0.9.0

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

Validate validates this b g p global config

type BGPNeigh added in v0.9.0

type BGPNeigh struct {

	// BGP Neighbor IP address
	IPAddress string `json:"ipAddress,omitempty"`

	// Remote AS number
	RemoteAs int64 `json:"remoteAs,omitempty"`

	// Remote Connect Port (default 179)
	RemotePort int64 `json:"remotePort,omitempty"`

	// Enable multi-hop peering (if needed)
	SetMultiHop bool `json:"setMultiHop,omitempty"`
}

BGPNeigh b g p neigh

swagger:model BGPNeigh

func (*BGPNeigh) ContextValidate added in v0.9.0

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

ContextValidate validates this b g p neigh based on context it is used

func (*BGPNeigh) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*BGPNeigh) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*BGPNeigh) Validate added in v0.9.0

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

Validate validates this b g p neigh

type BGPNeighGetEntry added in v0.9.1

type BGPNeighGetEntry struct {

	// BGP Neighbor IP address
	IPAddress string `json:"ipAddress,omitempty"`

	// Remote AS number
	RemoteAs int64 `json:"remoteAs,omitempty"`

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

	// Current uptime
	Updowntime string `json:"updowntime,omitempty"`
}

BGPNeighGetEntry b g p neigh get entry

swagger:model BGPNeighGetEntry

func (*BGPNeighGetEntry) ContextValidate added in v0.9.1

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

ContextValidate validates this b g p neigh get entry based on context it is used

func (*BGPNeighGetEntry) MarshalBinary added in v0.9.1

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

MarshalBinary interface implementation

func (*BGPNeighGetEntry) UnmarshalBinary added in v0.9.1

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

UnmarshalBinary interface implementation

func (*BGPNeighGetEntry) Validate added in v0.9.1

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

Validate validates this b g p neigh get entry

type BGPPolicyASPathMod added in v0.9.4

type BGPPolicyASPathMod struct {

	// as path list
	AsPathList []string `json:"asPathList"`

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`
}

BGPPolicyASPathMod b g p policy a s path mod

swagger:model BGPPolicyASPathMod

func (*BGPPolicyASPathMod) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p policy a s path mod based on context it is used

func (*BGPPolicyASPathMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyASPathMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyASPathMod) Validate added in v0.9.4

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

Validate validates this b g p policy a s path mod

type BGPPolicyCommunityMod added in v0.9.4

type BGPPolicyCommunityMod struct {

	// community list
	CommunityList []string `json:"communityList"`

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`
}

BGPPolicyCommunityMod b g p policy community mod

swagger:model BGPPolicyCommunityMod

func (*BGPPolicyCommunityMod) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p policy community mod based on context it is used

func (*BGPPolicyCommunityMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyCommunityMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyCommunityMod) Validate added in v0.9.4

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

Validate validates this b g p policy community mod

type BGPPolicyConfig added in v0.9.0

type BGPPolicyConfig struct {

	// BGP export policy list
	ExportPolicyList []string `json:"export-policy-list"`
}

BGPPolicyConfig b g p policy config

swagger:model BGPPolicyConfig

func (*BGPPolicyConfig) ContextValidate added in v0.9.0

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

ContextValidate validates this b g p policy config based on context it is used

func (*BGPPolicyConfig) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*BGPPolicyConfig) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*BGPPolicyConfig) Validate added in v0.9.0

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

Validate validates this b g p policy config

type BGPPolicyDefindSetMod added in v0.9.4

type BGPPolicyDefindSetMod struct {

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`

	// statements
	Statements []*BGPPolicyDefindSetStatement `json:"statements"`
}

BGPPolicyDefindSetMod b g p policy defind set mod

swagger:model BGPPolicyDefindSetMod

func (*BGPPolicyDefindSetMod) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy defind set mod based on the context it is used

func (*BGPPolicyDefindSetMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefindSetMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetMod) Validate added in v0.9.4

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

Validate validates this b g p policy defind set mod

type BGPPolicyDefindSetStatement added in v0.9.4

type BGPPolicyDefindSetStatement struct {

	// actions
	Actions *BGPPolicyDefindSetStatementActions `json:"actions,omitempty"`

	// conditions
	Conditions *BGPPolicyDefindSetStatementConditions `json:"conditions,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

BGPPolicyDefindSetStatement b g p policy defind set statement

swagger:model BGPPolicyDefindSetStatement

func (*BGPPolicyDefindSetStatement) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy defind set statement based on the context it is used

func (*BGPPolicyDefindSetStatement) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatement) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatement) Validate added in v0.9.4

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

Validate validates this b g p policy defind set statement

type BGPPolicyDefindSetStatementActions added in v0.9.4

type BGPPolicyDefindSetStatementActions struct {

	// bgp actions
	BgpActions *BGPPolicyDefindSetStatementActionsBgpActions `json:"bgpActions,omitempty"`

	// route disposition
	RouteDisposition string `json:"routeDisposition,omitempty"`
}

BGPPolicyDefindSetStatementActions b g p policy defind set statement actions

swagger:model BGPPolicyDefindSetStatementActions

func (*BGPPolicyDefindSetStatementActions) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy defind set statement actions based on the context it is used

func (*BGPPolicyDefindSetStatementActions) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActions) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActions) Validate added in v0.9.4

Validate validates this b g p policy defind set statement actions

type BGPPolicyDefindSetStatementActionsBgpActions added in v0.9.4

type BGPPolicyDefindSetStatementActionsBgpActions struct {

	// set as path prepend
	SetAsPathPrepend *BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend `json:"setAsPathPrepend,omitempty"`

	// set community
	SetCommunity *BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity `json:"setCommunity,omitempty"`

	// set ext community
	SetExtCommunity *BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity `json:"setExtCommunity,omitempty"`

	// set large community
	SetLargeCommunity *BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity `json:"setLargeCommunity,omitempty"`

	// set local perf
	SetLocalPerf int64 `json:"setLocalPerf,omitempty"`

	// set med
	SetMed string `json:"setMed,omitempty"`

	// set next hop
	SetNextHop string `json:"setNextHop,omitempty"`
}

BGPPolicyDefindSetStatementActionsBgpActions b g p policy defind set statement actions bgp actions

swagger:model BGPPolicyDefindSetStatementActionsBgpActions

func (*BGPPolicyDefindSetStatementActionsBgpActions) ContextValidate added in v0.9.4

ContextValidate validate this b g p policy defind set statement actions bgp actions based on the context it is used

func (*BGPPolicyDefindSetStatementActionsBgpActions) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActions) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActions) Validate added in v0.9.4

Validate validates this b g p policy defind set statement actions bgp actions

type BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend added in v0.9.4

type BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend struct {

	// as
	As string `json:"as,omitempty"`

	// repeat n
	RepeatN int64 `json:"repeatN,omitempty"`
}

BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend b g p policy defind set statement actions bgp actions set as path prepend

swagger:model BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement actions bgp actions set as path prepend based on context it is used

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetAsPathPrepend) Validate added in v0.9.4

Validate validates this b g p policy defind set statement actions bgp actions set as path prepend

type BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity added in v0.9.4

type BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity struct {

	// options
	Options string `json:"options,omitempty"`

	// set community method
	SetCommunityMethod []string `json:"setCommunityMethod"`
}

BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity b g p policy defind set statement actions bgp actions set community

swagger:model BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement actions bgp actions set community based on context it is used

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetCommunity) Validate added in v0.9.4

Validate validates this b g p policy defind set statement actions bgp actions set community

type BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity added in v0.9.4

type BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity struct {

	// options
	Options string `json:"options,omitempty"`

	// set community method
	SetCommunityMethod []string `json:"setCommunityMethod"`
}

BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity b g p policy defind set statement actions bgp actions set ext community

swagger:model BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement actions bgp actions set ext community based on context it is used

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetExtCommunity) Validate added in v0.9.4

Validate validates this b g p policy defind set statement actions bgp actions set ext community

type BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity added in v0.9.4

type BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity struct {

	// options
	Options string `json:"options,omitempty"`

	// set community method
	SetCommunityMethod []string `json:"setCommunityMethod"`
}

BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity b g p policy defind set statement actions bgp actions set large community

swagger:model BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement actions bgp actions set large community based on context it is used

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementActionsBgpActionsSetLargeCommunity) Validate added in v0.9.4

Validate validates this b g p policy defind set statement actions bgp actions set large community

type BGPPolicyDefindSetStatementConditions added in v0.9.4

type BGPPolicyDefindSetStatementConditions struct {

	// bgp conditions
	BgpConditions *BGPPolicyDefindSetStatementConditionsBgpConditions `json:"bgpConditions,omitempty"`

	// match neighbor set
	MatchNeighborSet *BGPPolicyDefindSetStatementConditionsMatchNeighborSet `json:"matchNeighborSet,omitempty"`

	// match prefix set
	MatchPrefixSet *BGPPolicyDefindSetStatementConditionsMatchPrefixSet `json:"matchPrefixSet,omitempty"`
}

BGPPolicyDefindSetStatementConditions b g p policy defind set statement conditions

swagger:model BGPPolicyDefindSetStatementConditions

func (*BGPPolicyDefindSetStatementConditions) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy defind set statement conditions based on the context it is used

func (*BGPPolicyDefindSetStatementConditions) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditions) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditions) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions

type BGPPolicyDefindSetStatementConditionsBgpConditions added in v0.9.4

type BGPPolicyDefindSetStatementConditionsBgpConditions struct {

	// afi safi in
	AfiSafiIn []string `json:"afiSafiIn"`

	// as path length
	AsPathLength *BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength `json:"asPathLength,omitempty"`

	// match as path set
	MatchAsPathSet *BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet `json:"matchAsPathSet,omitempty"`

	// match community set
	MatchCommunitySet *BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet `json:"matchCommunitySet,omitempty"`

	// match ext community set
	MatchExtCommunitySet *BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet `json:"matchExtCommunitySet,omitempty"`

	// match large community set
	MatchLargeCommunitySet *BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet `json:"matchLargeCommunitySet,omitempty"`

	// next hop in list
	NextHopInList []string `json:"nextHopInList"`

	// route type
	RouteType string `json:"routeType,omitempty"`

	// rpki
	Rpki string `json:"rpki,omitempty"`
}

BGPPolicyDefindSetStatementConditionsBgpConditions b g p policy defind set statement conditions bgp conditions

swagger:model BGPPolicyDefindSetStatementConditionsBgpConditions

func (*BGPPolicyDefindSetStatementConditionsBgpConditions) ContextValidate added in v0.9.4

ContextValidate validate this b g p policy defind set statement conditions bgp conditions based on the context it is used

func (*BGPPolicyDefindSetStatementConditionsBgpConditions) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditions) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditions) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions bgp conditions

type BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength added in v0.9.4

type BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength struct {

	// operator
	Operator string `json:"operator,omitempty"`

	// value
	Value int64 `json:"value,omitempty"`
}

BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength b g p policy defind set statement conditions bgp conditions as path length

swagger:model BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions bgp conditions as path length based on context it is used

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsAsPathLength) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions bgp conditions as path length

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet added in v0.9.4

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet struct {

	// as path set
	AsPathSet string `json:"asPathSet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet b g p policy defind set statement conditions bgp conditions match as path set

swagger:model BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions bgp conditions match as path set based on context it is used

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchAsPathSet) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions bgp conditions match as path set

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet added in v0.9.4

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet struct {

	// community set
	CommunitySet string `json:"communitySet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet b g p policy defind set statement conditions bgp conditions match community set

swagger:model BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions bgp conditions match community set based on context it is used

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchCommunitySet) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions bgp conditions match community set

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet added in v0.9.4

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet struct {

	// community set
	CommunitySet string `json:"communitySet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet b g p policy defind set statement conditions bgp conditions match ext community set

swagger:model BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions bgp conditions match ext community set based on context it is used

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchExtCommunitySet) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions bgp conditions match ext community set

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet added in v0.9.4

type BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet struct {

	// community set
	CommunitySet string `json:"communitySet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet b g p policy defind set statement conditions bgp conditions match large community set

swagger:model BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions bgp conditions match large community set based on context it is used

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsBgpConditionsMatchLargeCommunitySet) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions bgp conditions match large community set

type BGPPolicyDefindSetStatementConditionsMatchNeighborSet added in v0.9.4

type BGPPolicyDefindSetStatementConditionsMatchNeighborSet struct {

	// match set option
	MatchSetOption string `json:"matchSetOption,omitempty"`

	// neighbor set
	NeighborSet string `json:"neighborSet,omitempty"`
}

BGPPolicyDefindSetStatementConditionsMatchNeighborSet b g p policy defind set statement conditions match neighbor set

swagger:model BGPPolicyDefindSetStatementConditionsMatchNeighborSet

func (*BGPPolicyDefindSetStatementConditionsMatchNeighborSet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions match neighbor set based on context it is used

func (*BGPPolicyDefindSetStatementConditionsMatchNeighborSet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsMatchNeighborSet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsMatchNeighborSet) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions match neighbor set

type BGPPolicyDefindSetStatementConditionsMatchPrefixSet added in v0.9.4

type BGPPolicyDefindSetStatementConditionsMatchPrefixSet struct {

	// match set option
	MatchSetOption string `json:"matchSetOption,omitempty"`

	// prefix set
	PrefixSet string `json:"prefixSet,omitempty"`
}

BGPPolicyDefindSetStatementConditionsMatchPrefixSet b g p policy defind set statement conditions match prefix set

swagger:model BGPPolicyDefindSetStatementConditionsMatchPrefixSet

func (*BGPPolicyDefindSetStatementConditionsMatchPrefixSet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy defind set statement conditions match prefix set based on context it is used

func (*BGPPolicyDefindSetStatementConditionsMatchPrefixSet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsMatchPrefixSet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefindSetStatementConditionsMatchPrefixSet) Validate added in v0.9.4

Validate validates this b g p policy defind set statement conditions match prefix set

type BGPPolicyDefinedSetGetEntry added in v0.9.4

type BGPPolicyDefinedSetGetEntry struct {

	// list
	List []string `json:"list"`

	// BGP Defined set Entries
	Name string `json:"name,omitempty"`

	// prefix list
	PrefixList []*BGPPolicyPrefix `json:"prefixList"`
}

BGPPolicyDefinedSetGetEntry b g p policy defined set get entry

swagger:model BGPPolicyDefinedSetGetEntry

func (*BGPPolicyDefinedSetGetEntry) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy defined set get entry based on the context it is used

func (*BGPPolicyDefinedSetGetEntry) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefinedSetGetEntry) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefinedSetGetEntry) Validate added in v0.9.4

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

Validate validates this b g p policy defined set get entry

type BGPPolicyDefinedSetsMod added in v0.9.4

type BGPPolicyDefinedSetsMod struct {

	// list
	List []string `json:"List"`

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`

	// prefix list
	PrefixList []*BGPPolicyPrefix `json:"prefixList"`
}

BGPPolicyDefinedSetsMod b g p policy defined sets mod

swagger:model BGPPolicyDefinedSetsMod

func (*BGPPolicyDefinedSetsMod) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy defined sets mod based on the context it is used

func (*BGPPolicyDefinedSetsMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefinedSetsMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefinedSetsMod) Validate added in v0.9.4

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

Validate validates this b g p policy defined sets mod

type BGPPolicyDefinitionsMod added in v0.9.4

type BGPPolicyDefinitionsMod struct {

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`

	// statements
	Statements []*BGPPolicyDefinitionsStatement `json:"statements"`
}

BGPPolicyDefinitionsMod b g p policy definitions mod

swagger:model BGPPolicyDefinitionsMod

func (*BGPPolicyDefinitionsMod) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy definitions mod based on the context it is used

func (*BGPPolicyDefinitionsMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsMod) Validate added in v0.9.4

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

Validate validates this b g p policy definitions mod

type BGPPolicyDefinitionsStatement added in v0.9.4

type BGPPolicyDefinitionsStatement struct {

	// actions
	Actions *BGPPolicyDefinitionsStatementActions `json:"actions,omitempty"`

	// conditions
	Conditions *BGPPolicyDefinitionsStatementConditions `json:"conditions,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

BGPPolicyDefinitionsStatement b g p policy definitions statement

swagger:model BGPPolicyDefinitionsStatement

func (*BGPPolicyDefinitionsStatement) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy definitions statement based on the context it is used

func (*BGPPolicyDefinitionsStatement) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatement) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatement) Validate added in v0.9.4

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

Validate validates this b g p policy definitions statement

type BGPPolicyDefinitionsStatementActions added in v0.9.4

type BGPPolicyDefinitionsStatementActions struct {

	// bgp actions
	BgpActions *BGPPolicyDefinitionsStatementActionsBgpActions `json:"bgpActions,omitempty"`

	// route disposition
	RouteDisposition string `json:"routeDisposition,omitempty"`
}

BGPPolicyDefinitionsStatementActions b g p policy definitions statement actions

swagger:model BGPPolicyDefinitionsStatementActions

func (*BGPPolicyDefinitionsStatementActions) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy definitions statement actions based on the context it is used

func (*BGPPolicyDefinitionsStatementActions) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActions) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActions) Validate added in v0.9.4

Validate validates this b g p policy definitions statement actions

type BGPPolicyDefinitionsStatementActionsBgpActions added in v0.9.4

type BGPPolicyDefinitionsStatementActionsBgpActions struct {

	// set as path prepend
	SetAsPathPrepend *BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend `json:"setAsPathPrepend,omitempty"`

	// set community
	SetCommunity *BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity `json:"setCommunity,omitempty"`

	// set ext community
	SetExtCommunity *BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity `json:"setExtCommunity,omitempty"`

	// set large community
	SetLargeCommunity *BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity `json:"setLargeCommunity,omitempty"`

	// set local perf
	SetLocalPerf int64 `json:"setLocalPerf,omitempty"`

	// set med
	SetMed string `json:"setMed,omitempty"`

	// set next hop
	SetNextHop string `json:"setNextHop,omitempty"`
}

BGPPolicyDefinitionsStatementActionsBgpActions b g p policy definitions statement actions bgp actions

swagger:model BGPPolicyDefinitionsStatementActionsBgpActions

func (*BGPPolicyDefinitionsStatementActionsBgpActions) ContextValidate added in v0.9.4

ContextValidate validate this b g p policy definitions statement actions bgp actions based on the context it is used

func (*BGPPolicyDefinitionsStatementActionsBgpActions) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActions) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActions) Validate added in v0.9.4

Validate validates this b g p policy definitions statement actions bgp actions

type BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend added in v0.9.4

type BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend struct {

	// as
	As string `json:"as,omitempty"`

	// repeat n
	RepeatN int64 `json:"repeatN,omitempty"`
}

BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend b g p policy definitions statement actions bgp actions set as path prepend

swagger:model BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement actions bgp actions set as path prepend based on context it is used

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetAsPathPrepend) Validate added in v0.9.4

Validate validates this b g p policy definitions statement actions bgp actions set as path prepend

type BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity added in v0.9.4

type BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity struct {

	// options
	Options string `json:"options,omitempty"`

	// set community method
	SetCommunityMethod []string `json:"setCommunityMethod"`
}

BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity b g p policy definitions statement actions bgp actions set community

swagger:model BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement actions bgp actions set community based on context it is used

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetCommunity) Validate added in v0.9.4

Validate validates this b g p policy definitions statement actions bgp actions set community

type BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity added in v0.9.4

type BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity struct {

	// options
	Options string `json:"options,omitempty"`

	// set community method
	SetCommunityMethod []string `json:"setCommunityMethod"`
}

BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity b g p policy definitions statement actions bgp actions set ext community

swagger:model BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement actions bgp actions set ext community based on context it is used

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetExtCommunity) Validate added in v0.9.4

Validate validates this b g p policy definitions statement actions bgp actions set ext community

type BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity added in v0.9.4

type BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity struct {

	// options
	Options string `json:"options,omitempty"`

	// set community method
	SetCommunityMethod []string `json:"setCommunityMethod"`
}

BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity b g p policy definitions statement actions bgp actions set large community

swagger:model BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement actions bgp actions set large community based on context it is used

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementActionsBgpActionsSetLargeCommunity) Validate added in v0.9.4

Validate validates this b g p policy definitions statement actions bgp actions set large community

type BGPPolicyDefinitionsStatementConditions added in v0.9.4

type BGPPolicyDefinitionsStatementConditions struct {

	// bgp conditions
	BgpConditions *BGPPolicyDefinitionsStatementConditionsBgpConditions `json:"bgpConditions,omitempty"`

	// match neighbor set
	MatchNeighborSet *BGPPolicyDefinitionsStatementConditionsMatchNeighborSet `json:"matchNeighborSet,omitempty"`

	// match prefix set
	MatchPrefixSet *BGPPolicyDefinitionsStatementConditionsMatchPrefixSet `json:"matchPrefixSet,omitempty"`
}

BGPPolicyDefinitionsStatementConditions b g p policy definitions statement conditions

swagger:model BGPPolicyDefinitionsStatementConditions

func (*BGPPolicyDefinitionsStatementConditions) ContextValidate added in v0.9.4

ContextValidate validate this b g p policy definitions statement conditions based on the context it is used

func (*BGPPolicyDefinitionsStatementConditions) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditions) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditions) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions

type BGPPolicyDefinitionsStatementConditionsBgpConditions added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsBgpConditions struct {

	// afi safi in
	AfiSafiIn []string `json:"afiSafiIn"`

	// as path length
	AsPathLength *BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength `json:"asPathLength,omitempty"`

	// match as path set
	MatchAsPathSet *BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet `json:"matchAsPathSet,omitempty"`

	// match community set
	MatchCommunitySet *BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet `json:"matchCommunitySet,omitempty"`

	// match ext community set
	MatchExtCommunitySet *BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet `json:"matchExtCommunitySet,omitempty"`

	// match large community set
	MatchLargeCommunitySet *BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet `json:"matchLargeCommunitySet,omitempty"`

	// next hop in list
	NextHopInList []string `json:"nextHopInList"`

	// route type
	RouteType string `json:"routeType,omitempty"`

	// rpki
	Rpki string `json:"rpki,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsBgpConditions b g p policy definitions statement conditions bgp conditions

swagger:model BGPPolicyDefinitionsStatementConditionsBgpConditions

func (*BGPPolicyDefinitionsStatementConditionsBgpConditions) ContextValidate added in v0.9.4

ContextValidate validate this b g p policy definitions statement conditions bgp conditions based on the context it is used

func (*BGPPolicyDefinitionsStatementConditionsBgpConditions) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditions) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditions) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions bgp conditions

type BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength struct {

	// operator
	Operator string `json:"operator,omitempty"`

	// value
	Value int64 `json:"value,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength b g p policy definitions statement conditions bgp conditions as path length

swagger:model BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions bgp conditions as path length based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsAsPathLength) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions bgp conditions as path length

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet struct {

	// as path set
	AsPathSet string `json:"asPathSet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet b g p policy definitions statement conditions bgp conditions match as path set

swagger:model BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions bgp conditions match as path set based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchAsPathSet) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions bgp conditions match as path set

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet struct {

	// community set
	CommunitySet string `json:"communitySet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet b g p policy definitions statement conditions bgp conditions match community set

swagger:model BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions bgp conditions match community set based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchCommunitySet) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions bgp conditions match community set

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet struct {

	// community set
	CommunitySet string `json:"communitySet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet b g p policy definitions statement conditions bgp conditions match ext community set

swagger:model BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions bgp conditions match ext community set based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchExtCommunitySet) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions bgp conditions match ext community set

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet struct {

	// community set
	CommunitySet string `json:"communitySet,omitempty"`

	// match set options
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet b g p policy definitions statement conditions bgp conditions match large community set

swagger:model BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions bgp conditions match large community set based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsBgpConditionsMatchLargeCommunitySet) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions bgp conditions match large community set

type BGPPolicyDefinitionsStatementConditionsMatchNeighborSet added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsMatchNeighborSet struct {

	// match set option
	MatchSetOption string `json:"matchSetOption,omitempty"`

	// neighbor set
	NeighborSet string `json:"neighborSet,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsMatchNeighborSet b g p policy definitions statement conditions match neighbor set

swagger:model BGPPolicyDefinitionsStatementConditionsMatchNeighborSet

func (*BGPPolicyDefinitionsStatementConditionsMatchNeighborSet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions match neighbor set based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsMatchNeighborSet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsMatchNeighborSet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsMatchNeighborSet) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions match neighbor set

type BGPPolicyDefinitionsStatementConditionsMatchPrefixSet added in v0.9.4

type BGPPolicyDefinitionsStatementConditionsMatchPrefixSet struct {

	// match set option
	MatchSetOption string `json:"matchSetOption,omitempty"`

	// prefix set
	PrefixSet string `json:"prefixSet,omitempty"`
}

BGPPolicyDefinitionsStatementConditionsMatchPrefixSet b g p policy definitions statement conditions match prefix set

swagger:model BGPPolicyDefinitionsStatementConditionsMatchPrefixSet

func (*BGPPolicyDefinitionsStatementConditionsMatchPrefixSet) ContextValidate added in v0.9.4

ContextValidate validates this b g p policy definitions statement conditions match prefix set based on context it is used

func (*BGPPolicyDefinitionsStatementConditionsMatchPrefixSet) MarshalBinary added in v0.9.4

MarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsMatchPrefixSet) UnmarshalBinary added in v0.9.4

UnmarshalBinary interface implementation

func (*BGPPolicyDefinitionsStatementConditionsMatchPrefixSet) Validate added in v0.9.4

Validate validates this b g p policy definitions statement conditions match prefix set

type BGPPolicyExtendedCommunityMod added in v0.9.4

type BGPPolicyExtendedCommunityMod struct {

	// ext community list
	ExtCommunityList []string `json:"extCommunityList"`

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`
}

BGPPolicyExtendedCommunityMod b g p policy extended community mod

swagger:model BGPPolicyExtendedCommunityMod

func (*BGPPolicyExtendedCommunityMod) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p policy extended community mod based on context it is used

func (*BGPPolicyExtendedCommunityMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyExtendedCommunityMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyExtendedCommunityMod) Validate added in v0.9.4

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

Validate validates this b g p policy extended community mod

type BGPPolicyLargeCommunityMod added in v0.9.4

type BGPPolicyLargeCommunityMod struct {

	// large community list
	LargeCommunityList []string `json:"LargeCommunityList"`

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`
}

BGPPolicyLargeCommunityMod b g p policy large community mod

swagger:model BGPPolicyLargeCommunityMod

func (*BGPPolicyLargeCommunityMod) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p policy large community mod based on context it is used

func (*BGPPolicyLargeCommunityMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyLargeCommunityMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyLargeCommunityMod) Validate added in v0.9.4

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

Validate validates this b g p policy large community mod

type BGPPolicyNeighborMod added in v0.9.4

type BGPPolicyNeighborMod struct {

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`

	// neighbor info list
	NeighborInfoList []string `json:"neighborInfoList"`
}

BGPPolicyNeighborMod b g p policy neighbor mod

swagger:model BGPPolicyNeighborMod

func (*BGPPolicyNeighborMod) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p policy neighbor mod based on context it is used

func (*BGPPolicyNeighborMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyNeighborMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyNeighborMod) Validate added in v0.9.4

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

Validate validates this b g p policy neighbor mod

type BGPPolicyPrefix added in v0.9.4

type BGPPolicyPrefix struct {

	// BGP Neighbor IP address
	IPPrefix string `json:"ipPrefix,omitempty"`

	// Remote AS number
	MasklengthRange string `json:"masklengthRange,omitempty"`
}

BGPPolicyPrefix b g p policy prefix

swagger:model BGPPolicyPrefix

func (*BGPPolicyPrefix) ContextValidate added in v0.9.4

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

ContextValidate validates this b g p policy prefix based on context it is used

func (*BGPPolicyPrefix) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyPrefix) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyPrefix) Validate added in v0.9.4

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

Validate validates this b g p policy prefix

type BGPPolicyPrefixMod added in v0.9.4

type BGPPolicyPrefixMod struct {

	// BGP Neighbor IP address
	Name string `json:"name,omitempty"`

	// prefix list
	PrefixList []*BGPPolicyPrefix `json:"prefixList"`
}

BGPPolicyPrefixMod b g p policy prefix mod

swagger:model BGPPolicyPrefixMod

func (*BGPPolicyPrefixMod) ContextValidate added in v0.9.4

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

ContextValidate validate this b g p policy prefix mod based on the context it is used

func (*BGPPolicyPrefixMod) MarshalBinary added in v0.9.4

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

MarshalBinary interface implementation

func (*BGPPolicyPrefixMod) UnmarshalBinary added in v0.9.4

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

UnmarshalBinary interface implementation

func (*BGPPolicyPrefixMod) Validate added in v0.9.4

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

Validate validates this b g p policy prefix mod

type BfdEntry added in v0.9.2

type BfdEntry struct {

	// Instance name running BFD session
	Instance string `json:"instance,omitempty"`

	// Tx interval between BFD packets(in microseconds)
	Interval uint64 `json:"interval,omitempty"`

	// Remote IP
	RemoteIP string `json:"remoteIp,omitempty"`

	// Retry Count to detect failure
	RetryCount uint8 `json:"retryCount,omitempty"`

	// Remote IP
	SourceIP string `json:"sourceIp,omitempty"`
}

BfdEntry bfd entry

swagger:model BfdEntry

func (*BfdEntry) ContextValidate added in v0.9.2

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

ContextValidate validates this bfd entry based on context it is used

func (*BfdEntry) MarshalBinary added in v0.9.2

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

MarshalBinary interface implementation

func (*BfdEntry) UnmarshalBinary added in v0.9.2

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

UnmarshalBinary interface implementation

func (*BfdEntry) Validate added in v0.9.2

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

Validate validates this bfd entry

type BfdGetEntry added in v0.9.2

type BfdGetEntry struct {

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

	// Tx interval between BFD packets(in microseconds)
	Interval uint64 `json:"interval,omitempty"`

	// port number to be used for BFD session
	Port uint16 `json:"port,omitempty"`

	// Remote IP
	RemoteIP string `json:"remoteIp,omitempty"`

	// Retry Count to detect failure
	RetryCount uint8 `json:"retryCount,omitempty"`

	// Source IP to be used for BFD session
	SourceIP string `json:"sourceIP,omitempty"`

	// Current state for BFD session
	State string `json:"state,omitempty"`
}

BfdGetEntry bfd get entry

swagger:model BfdGetEntry

func (*BfdGetEntry) ContextValidate added in v0.9.2

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

ContextValidate validates this bfd get entry based on context it is used

func (*BfdGetEntry) MarshalBinary added in v0.9.2

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

MarshalBinary interface implementation

func (*BfdGetEntry) UnmarshalBinary added in v0.9.2

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

UnmarshalBinary interface implementation

func (*BfdGetEntry) Validate added in v0.9.2

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

Validate validates this bfd get entry

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"`

	// Connection's Service Name
	ServName string `json:"servName,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 name in CIDR
	HostName string `json:"hostName,omitempty"`

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

	// Endpoint Identifier
	Name string `json:"name,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/https probes
	ProbeReq string `json:"probeReq,omitempty"`

	// Response for http/https probes
	ProbeResp string `json:"probeResp,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 EndPointGetEntry added in v0.8.3

type EndPointGetEntry struct {

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

	// Current state of this endpoint
	CurrState string `json:"currState,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"`

	// Endpoint Identifier
	Name string `json:"name,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/https probes
	ProbeReq string `json:"probeReq,omitempty"`

	// Response for http/https probes
	ProbeResp string `json:"probeResp,omitempty"`

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

EndPointGetEntry end point get entry

swagger:model EndPointGetEntry

func (*EndPointGetEntry) ContextValidate added in v0.8.3

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

ContextValidate validates this end point get entry based on context it is used

func (*EndPointGetEntry) MarshalBinary added in v0.8.3

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

MarshalBinary interface implementation

func (*EndPointGetEntry) UnmarshalBinary added in v0.8.3

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

UnmarshalBinary interface implementation

func (*EndPointGetEntry) Validate added in v0.8.3

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

Validate validates this end point get entry

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"`

	// traffic counters
	Counter string `json:"counter,omitempty"`

	// Do SNAT on matching rule
	DoSnat bool `json:"doSnat,omitempty"`

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

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

	// Record or dump for matching rule
	Record bool `json:"record,omitempty"`

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

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

	// Modify to given IP in CIDR notation
	ToIP string `json:"toIP,omitempty"`

	// Modify to given Port (Zero if port is not to be modified)
	ToPort int64 `json:"toPort,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"`

	// values of Secondary IPs
	SecondaryIPs []*LoadbalanceEntrySecondaryIPsItems0 `json:"secondaryIPs"`

	// 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 {

	// traffic counters of the endpoint
	Counter string `json:"counter,omitempty"`

	// IP address for external 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 LoadbalanceEntrySecondaryIPsItems0 added in v0.8.7

type LoadbalanceEntrySecondaryIPsItems0 struct {

	// IP address for secondary access
	SecondaryIP string `json:"secondaryIP,omitempty"`
}

LoadbalanceEntrySecondaryIPsItems0 loadbalance entry secondary i ps items0

swagger:model LoadbalanceEntrySecondaryIPsItems0

func (*LoadbalanceEntrySecondaryIPsItems0) ContextValidate added in v0.8.7

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

ContextValidate validates this loadbalance entry secondary i ps items0 based on context it is used

func (*LoadbalanceEntrySecondaryIPsItems0) MarshalBinary added in v0.8.7

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

MarshalBinary interface implementation

func (*LoadbalanceEntrySecondaryIPsItems0) UnmarshalBinary added in v0.8.7

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

UnmarshalBinary interface implementation

func (*LoadbalanceEntrySecondaryIPsItems0) Validate added in v0.8.7

Validate validates this loadbalance entry secondary i ps 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 external access
	ExternalIP string `json:"externalIP,omitempty"`

	// Ingress specific host URL path
	Host string `json:"host,omitempty"`

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

	// externally managed rule or not
	Managed bool `json:"managed,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"`

	// service name
	Name string `json:"name,omitempty"`

	// end-point specific op (0-create, 1-attachEP, 2-detachEP)
	Oper int32 `json:"oper,omitempty"`

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

	// private IP (NAT'd) address for external access
	PrivateIP string `json:"privateIP,omitempty"`

	// value for probe retries
	ProbeRetries int32 `json:"probeRetries,omitempty"`

	// value for probe timer (in seconds)
	ProbeTimeout uint32 `json:"probeTimeout,omitempty"`

	// probe port if probetype is tcp/udp/sctp
	Probeport uint16 `json:"probeport,omitempty"`

	// probe request string
	Probereq string `json:"probereq,omitempty"`

	// probe response string
	Proberesp string `json:"proberesp,omitempty"`

	// probe type for any end-point of this entry
	Probetype string `json:"probetype,omitempty"`

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

	// value for Security mode (0-Plain, 1-HTTPs)
	Security int32 `json:"security,omitempty"`

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

	// snat rule
	Snat bool `json:"snat,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 MetricsConfig added in v0.9.7

type MetricsConfig struct {

	// value for prometheus enable or not
	// Required: true
	Prometheus *bool `json:"prometheus"`
}

MetricsConfig metrics config

swagger:model MetricsConfig

func (*MetricsConfig) ContextValidate added in v0.9.7

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

ContextValidate validates this metrics config based on context it is used

func (*MetricsConfig) MarshalBinary added in v0.9.7

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

MarshalBinary interface implementation

func (*MetricsConfig) UnmarshalBinary added in v0.9.7

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

UnmarshalBinary interface implementation

func (*MetricsConfig) Validate added in v0.9.7

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

Validate validates this metrics config

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"`

	// Protocol type of the route like "static"
	Protocol string `json:"protocol,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 string `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