ovnmodel

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ACLDecoder

func ACLDecoder(raw json.RawMessage) (getter.Getter, error)

ACLDecoder implements a json message raw decoder

func AddressSetDecoder

func AddressSetDecoder(raw json.RawMessage) (getter.Getter, error)

AddressSetDecoder implements a json message raw decoder

func ConnectionDecoder

func ConnectionDecoder(raw json.RawMessage) (getter.Getter, error)

ConnectionDecoder implements a json message raw decoder

func DHCPOptionsDecoder

func DHCPOptionsDecoder(raw json.RawMessage) (getter.Getter, error)

DHCPOptionsDecoder implements a json message raw decoder

func DNSDecoder

func DNSDecoder(raw json.RawMessage) (getter.Getter, error)

DNSDecoder implements a json message raw decoder

func Decoders

func Decoders() map[string]graph.MetadataDecoder

Decoders returns all the decoder functions indexed by Name

func ForwardingGroupDecoder

func ForwardingGroupDecoder(raw json.RawMessage) (getter.Getter, error)

ForwardingGroupDecoder implements a json message raw decoder

func FullDatabaseModel

func FullDatabaseModel() (*model.DBModel, error)

FullDatabaseModel returns the DatabaseModel object to be used in libovsdb

func GatewayChassisDecoder

func GatewayChassisDecoder(raw json.RawMessage) (getter.Getter, error)

GatewayChassisDecoder implements a json message raw decoder

func HAChassisDecoder

func HAChassisDecoder(raw json.RawMessage) (getter.Getter, error)

HAChassisDecoder implements a json message raw decoder

func HAChassisGroupDecoder

func HAChassisGroupDecoder(raw json.RawMessage) (getter.Getter, error)

HAChassisGroupDecoder implements a json message raw decoder

func LoadBalancerDecoder

func LoadBalancerDecoder(raw json.RawMessage) (getter.Getter, error)

LoadBalancerDecoder implements a json message raw decoder

func LoadBalancerHealthCheckDecoder

func LoadBalancerHealthCheckDecoder(raw json.RawMessage) (getter.Getter, error)

LoadBalancerHealthCheckDecoder implements a json message raw decoder

func LogicalRouterDecoder

func LogicalRouterDecoder(raw json.RawMessage) (getter.Getter, error)

LogicalRouterDecoder implements a json message raw decoder

func LogicalRouterPolicyDecoder

func LogicalRouterPolicyDecoder(raw json.RawMessage) (getter.Getter, error)

LogicalRouterPolicyDecoder implements a json message raw decoder

func LogicalRouterPortDecoder

func LogicalRouterPortDecoder(raw json.RawMessage) (getter.Getter, error)

LogicalRouterPortDecoder implements a json message raw decoder

func LogicalRouterStaticRouteDecoder

func LogicalRouterStaticRouteDecoder(raw json.RawMessage) (getter.Getter, error)

LogicalRouterStaticRouteDecoder implements a json message raw decoder

func LogicalSwitchDecoder

func LogicalSwitchDecoder(raw json.RawMessage) (getter.Getter, error)

LogicalSwitchDecoder implements a json message raw decoder

func LogicalSwitchPortDecoder

func LogicalSwitchPortDecoder(raw json.RawMessage) (getter.Getter, error)

LogicalSwitchPortDecoder implements a json message raw decoder

func MeterBandDecoder

func MeterBandDecoder(raw json.RawMessage) (getter.Getter, error)

MeterBandDecoder implements a json message raw decoder

func MeterDecoder

func MeterDecoder(raw json.RawMessage) (getter.Getter, error)

MeterDecoder implements a json message raw decoder

func NATDecoder

func NATDecoder(raw json.RawMessage) (getter.Getter, error)

NATDecoder implements a json message raw decoder

func NBGlobalDecoder

func NBGlobalDecoder(raw json.RawMessage) (getter.Getter, error)

NBGlobalDecoder implements a json message raw decoder

func PortGroupDecoder

func PortGroupDecoder(raw json.RawMessage) (getter.Getter, error)

PortGroupDecoder implements a json message raw decoder

func QoSDecoder

func QoSDecoder(raw json.RawMessage) (getter.Getter, error)

QoSDecoder implements a json message raw decoder

func SSLDecoder

func SSLDecoder(raw json.RawMessage) (getter.Getter, error)

SSLDecoder implements a json message raw decoder

Types

type ACL

type ACL struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Action      string            `ovsdb:"action" json:",omitempty" `
	Direction   string            `ovsdb:"direction" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Log         bool              `ovsdb:"log" json:",omitempty" `
	Match       string            `ovsdb:"match" json:",omitempty" `
	Meter       []string          `ovsdb:"meter" json:",omitempty" `
	Name        []string          `ovsdb:"name" json:",omitempty" `
	Priority    int               `ovsdb:"priority" json:",omitempty" `
	Severity    []string          `ovsdb:"severity" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

ACL defines the type used by both libovsdb and skydive for table ACL easyjson:json gendecoder

func (*ACL) GetField

func (obj *ACL) GetField(key string) (interface{}, error)

func (*ACL) GetFieldBool

func (obj *ACL) GetFieldBool(key string) (bool, error)

func (*ACL) GetFieldInt64

func (obj *ACL) GetFieldInt64(key string) (int64, error)

func (*ACL) GetFieldKeys

func (obj *ACL) GetFieldKeys() []string

func (*ACL) GetFieldString

func (obj *ACL) GetFieldString(key string) (string, error)

func (*ACL) GetName

func (t *ACL) GetName() string

func (*ACL) GetUUID

func (t *ACL) GetUUID() string

func (ACL) MarshalEasyJSON

func (v ACL) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ACL) MarshalJSON

func (v ACL) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ACL) MatchBool

func (obj *ACL) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*ACL) MatchInt64

func (obj *ACL) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*ACL) MatchString

func (obj *ACL) MatchString(key string, predicate getter.StringPredicate) bool

func (*ACL) Metadata

func (t *ACL) Metadata() graph.Metadata

func (*ACL) UnmarshalEasyJSON

func (v *ACL) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ACL) UnmarshalJSON

func (v *ACL) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AddressSet

type AddressSet struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Addresses   []string          `ovsdb:"addresses" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Name        string            `ovsdb:"name" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

AddressSet defines the type used by both libovsdb and skydive for table Address_Set easyjson:json gendecoder

func (*AddressSet) GetField

func (obj *AddressSet) GetField(key string) (interface{}, error)

func (*AddressSet) GetFieldBool

func (obj *AddressSet) GetFieldBool(key string) (bool, error)

func (*AddressSet) GetFieldInt64

func (obj *AddressSet) GetFieldInt64(key string) (int64, error)

func (*AddressSet) GetFieldKeys

func (obj *AddressSet) GetFieldKeys() []string

func (*AddressSet) GetFieldString

func (obj *AddressSet) GetFieldString(key string) (string, error)

func (*AddressSet) GetName

func (t *AddressSet) GetName() string

func (*AddressSet) GetUUID

func (t *AddressSet) GetUUID() string

func (AddressSet) MarshalEasyJSON

func (v AddressSet) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AddressSet) MarshalJSON

func (v AddressSet) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AddressSet) MatchBool

func (obj *AddressSet) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*AddressSet) MatchInt64

func (obj *AddressSet) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*AddressSet) MatchString

func (obj *AddressSet) MatchString(key string, predicate getter.StringPredicate) bool

func (*AddressSet) Metadata

func (t *AddressSet) Metadata() graph.Metadata

func (*AddressSet) UnmarshalEasyJSON

func (v *AddressSet) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AddressSet) UnmarshalJSON

func (v *AddressSet) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Connection

type Connection struct {
	UUID            string            `ovsdb:"_uuid" json:",omitempty" `
	ExternalIDs     map[string]string `ovsdb:"external_ids" json:",omitempty" `
	InactivityProbe []int             `ovsdb:"inactivity_probe" json:",omitempty" `
	IsConnected     bool              `ovsdb:"is_connected" json:",omitempty" `
	MaxBackoff      []int             `ovsdb:"max_backoff" json:",omitempty" `
	OtherConfig     map[string]string `ovsdb:"other_config" json:",omitempty" `
	Status          map[string]string `ovsdb:"status" json:",omitempty" `
	Target          string            `ovsdb:"target" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OtherConfigMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	StatusMeta      graph.Metadata `json:",omitempty" field:"Metadata"`
}

Connection defines the type used by both libovsdb and skydive for table Connection easyjson:json gendecoder

func (*Connection) GetField

func (obj *Connection) GetField(key string) (interface{}, error)

func (*Connection) GetFieldBool

func (obj *Connection) GetFieldBool(key string) (bool, error)

func (*Connection) GetFieldInt64

func (obj *Connection) GetFieldInt64(key string) (int64, error)

func (*Connection) GetFieldKeys

func (obj *Connection) GetFieldKeys() []string

func (*Connection) GetFieldString

func (obj *Connection) GetFieldString(key string) (string, error)

func (*Connection) GetName

func (t *Connection) GetName() string

func (*Connection) GetUUID

func (t *Connection) GetUUID() string

func (Connection) MarshalEasyJSON

func (v Connection) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Connection) MarshalJSON

func (v Connection) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Connection) MatchBool

func (obj *Connection) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*Connection) MatchInt64

func (obj *Connection) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*Connection) MatchString

func (obj *Connection) MatchString(key string, predicate getter.StringPredicate) bool

func (*Connection) Metadata

func (t *Connection) Metadata() graph.Metadata

func (*Connection) UnmarshalEasyJSON

func (v *Connection) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Connection) UnmarshalJSON

func (v *Connection) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DHCPOptions

type DHCPOptions struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Cidr        string            `ovsdb:"cidr" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Options     map[string]string `ovsdb:"options" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

DHCPOptions defines the type used by both libovsdb and skydive for table DHCP_Options easyjson:json gendecoder

func (*DHCPOptions) GetField

func (obj *DHCPOptions) GetField(key string) (interface{}, error)

func (*DHCPOptions) GetFieldBool

func (obj *DHCPOptions) GetFieldBool(key string) (bool, error)

func (*DHCPOptions) GetFieldInt64

func (obj *DHCPOptions) GetFieldInt64(key string) (int64, error)

func (*DHCPOptions) GetFieldKeys

func (obj *DHCPOptions) GetFieldKeys() []string

func (*DHCPOptions) GetFieldString

func (obj *DHCPOptions) GetFieldString(key string) (string, error)

func (*DHCPOptions) GetName

func (t *DHCPOptions) GetName() string

func (*DHCPOptions) GetUUID

func (t *DHCPOptions) GetUUID() string

func (DHCPOptions) MarshalEasyJSON

func (v DHCPOptions) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DHCPOptions) MarshalJSON

func (v DHCPOptions) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DHCPOptions) MatchBool

func (obj *DHCPOptions) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*DHCPOptions) MatchInt64

func (obj *DHCPOptions) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*DHCPOptions) MatchString

func (obj *DHCPOptions) MatchString(key string, predicate getter.StringPredicate) bool

func (*DHCPOptions) Metadata

func (t *DHCPOptions) Metadata() graph.Metadata

func (*DHCPOptions) UnmarshalEasyJSON

func (v *DHCPOptions) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DHCPOptions) UnmarshalJSON

func (v *DHCPOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DNS

type DNS struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Records     map[string]string `ovsdb:"records" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	RecordsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

DNS defines the type used by both libovsdb and skydive for table DNS easyjson:json gendecoder

func (*DNS) GetField

func (obj *DNS) GetField(key string) (interface{}, error)

func (*DNS) GetFieldBool

func (obj *DNS) GetFieldBool(key string) (bool, error)

func (*DNS) GetFieldInt64

func (obj *DNS) GetFieldInt64(key string) (int64, error)

func (*DNS) GetFieldKeys

func (obj *DNS) GetFieldKeys() []string

func (*DNS) GetFieldString

func (obj *DNS) GetFieldString(key string) (string, error)

func (*DNS) GetName

func (t *DNS) GetName() string

func (*DNS) GetUUID

func (t *DNS) GetUUID() string

func (DNS) MarshalEasyJSON

func (v DNS) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DNS) MarshalJSON

func (v DNS) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DNS) MatchBool

func (obj *DNS) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*DNS) MatchInt64

func (obj *DNS) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*DNS) MatchString

func (obj *DNS) MatchString(key string, predicate getter.StringPredicate) bool

func (*DNS) Metadata

func (t *DNS) Metadata() graph.Metadata

func (*DNS) UnmarshalEasyJSON

func (v *DNS) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DNS) UnmarshalJSON

func (v *DNS) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ForwardingGroup

type ForwardingGroup struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ChildPort   []string          `ovsdb:"child_port" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Liveness    bool              `ovsdb:"liveness" json:",omitempty" `
	Name        string            `ovsdb:"name" json:",omitempty" `
	Vip         string            `ovsdb:"vip" json:",omitempty" `
	Vmac        string            `ovsdb:"vmac" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

ForwardingGroup defines the type used by both libovsdb and skydive for table Forwarding_Group easyjson:json gendecoder

func (*ForwardingGroup) GetField

func (obj *ForwardingGroup) GetField(key string) (interface{}, error)

func (*ForwardingGroup) GetFieldBool

func (obj *ForwardingGroup) GetFieldBool(key string) (bool, error)

func (*ForwardingGroup) GetFieldInt64

func (obj *ForwardingGroup) GetFieldInt64(key string) (int64, error)

func (*ForwardingGroup) GetFieldKeys

func (obj *ForwardingGroup) GetFieldKeys() []string

func (*ForwardingGroup) GetFieldString

func (obj *ForwardingGroup) GetFieldString(key string) (string, error)

func (*ForwardingGroup) GetName

func (t *ForwardingGroup) GetName() string

func (*ForwardingGroup) GetUUID

func (t *ForwardingGroup) GetUUID() string

func (ForwardingGroup) MarshalEasyJSON

func (v ForwardingGroup) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ForwardingGroup) MarshalJSON

func (v ForwardingGroup) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ForwardingGroup) MatchBool

func (obj *ForwardingGroup) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*ForwardingGroup) MatchInt64

func (obj *ForwardingGroup) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*ForwardingGroup) MatchString

func (obj *ForwardingGroup) MatchString(key string, predicate getter.StringPredicate) bool

func (*ForwardingGroup) Metadata

func (t *ForwardingGroup) Metadata() graph.Metadata

func (*ForwardingGroup) UnmarshalEasyJSON

func (v *ForwardingGroup) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ForwardingGroup) UnmarshalJSON

func (v *ForwardingGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GatewayChassis

type GatewayChassis struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ChassisName string            `ovsdb:"chassis_name" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Name        string            `ovsdb:"name" json:",omitempty" `
	Options     map[string]string `ovsdb:"options" json:",omitempty" `
	Priority    int               `ovsdb:"priority" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

GatewayChassis defines the type used by both libovsdb and skydive for table Gateway_Chassis easyjson:json gendecoder

func (*GatewayChassis) GetField

func (obj *GatewayChassis) GetField(key string) (interface{}, error)

func (*GatewayChassis) GetFieldBool

func (obj *GatewayChassis) GetFieldBool(key string) (bool, error)

func (*GatewayChassis) GetFieldInt64

func (obj *GatewayChassis) GetFieldInt64(key string) (int64, error)

func (*GatewayChassis) GetFieldKeys

func (obj *GatewayChassis) GetFieldKeys() []string

func (*GatewayChassis) GetFieldString

func (obj *GatewayChassis) GetFieldString(key string) (string, error)

func (*GatewayChassis) GetName

func (t *GatewayChassis) GetName() string

func (*GatewayChassis) GetUUID

func (t *GatewayChassis) GetUUID() string

func (GatewayChassis) MarshalEasyJSON

func (v GatewayChassis) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GatewayChassis) MarshalJSON

func (v GatewayChassis) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GatewayChassis) MatchBool

func (obj *GatewayChassis) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*GatewayChassis) MatchInt64

func (obj *GatewayChassis) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*GatewayChassis) MatchString

func (obj *GatewayChassis) MatchString(key string, predicate getter.StringPredicate) bool

func (*GatewayChassis) Metadata

func (t *GatewayChassis) Metadata() graph.Metadata

func (*GatewayChassis) UnmarshalEasyJSON

func (v *GatewayChassis) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GatewayChassis) UnmarshalJSON

func (v *GatewayChassis) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type HAChassis

type HAChassis struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ChassisName string            `ovsdb:"chassis_name" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Priority    int               `ovsdb:"priority" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

HAChassis defines the type used by both libovsdb and skydive for table HA_Chassis easyjson:json gendecoder

func (*HAChassis) GetField

func (obj *HAChassis) GetField(key string) (interface{}, error)

func (*HAChassis) GetFieldBool

func (obj *HAChassis) GetFieldBool(key string) (bool, error)

func (*HAChassis) GetFieldInt64

func (obj *HAChassis) GetFieldInt64(key string) (int64, error)

func (*HAChassis) GetFieldKeys

func (obj *HAChassis) GetFieldKeys() []string

func (*HAChassis) GetFieldString

func (obj *HAChassis) GetFieldString(key string) (string, error)

func (*HAChassis) GetName

func (t *HAChassis) GetName() string

func (*HAChassis) GetUUID

func (t *HAChassis) GetUUID() string

func (HAChassis) MarshalEasyJSON

func (v HAChassis) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (HAChassis) MarshalJSON

func (v HAChassis) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*HAChassis) MatchBool

func (obj *HAChassis) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*HAChassis) MatchInt64

func (obj *HAChassis) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*HAChassis) MatchString

func (obj *HAChassis) MatchString(key string, predicate getter.StringPredicate) bool

func (*HAChassis) Metadata

func (t *HAChassis) Metadata() graph.Metadata

func (*HAChassis) UnmarshalEasyJSON

func (v *HAChassis) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*HAChassis) UnmarshalJSON

func (v *HAChassis) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type HAChassisGroup

type HAChassisGroup struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	HaChassis   []string          `ovsdb:"ha_chassis" json:",omitempty" `
	Name        string            `ovsdb:"name" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

HAChassisGroup defines the type used by both libovsdb and skydive for table HA_Chassis_Group easyjson:json gendecoder

func (*HAChassisGroup) GetField

func (obj *HAChassisGroup) GetField(key string) (interface{}, error)

func (*HAChassisGroup) GetFieldBool

func (obj *HAChassisGroup) GetFieldBool(key string) (bool, error)

func (*HAChassisGroup) GetFieldInt64

func (obj *HAChassisGroup) GetFieldInt64(key string) (int64, error)

func (*HAChassisGroup) GetFieldKeys

func (obj *HAChassisGroup) GetFieldKeys() []string

func (*HAChassisGroup) GetFieldString

func (obj *HAChassisGroup) GetFieldString(key string) (string, error)

func (*HAChassisGroup) GetName

func (t *HAChassisGroup) GetName() string

func (*HAChassisGroup) GetUUID

func (t *HAChassisGroup) GetUUID() string

func (HAChassisGroup) MarshalEasyJSON

func (v HAChassisGroup) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (HAChassisGroup) MarshalJSON

func (v HAChassisGroup) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*HAChassisGroup) MatchBool

func (obj *HAChassisGroup) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*HAChassisGroup) MatchInt64

func (obj *HAChassisGroup) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*HAChassisGroup) MatchString

func (obj *HAChassisGroup) MatchString(key string, predicate getter.StringPredicate) bool

func (*HAChassisGroup) Metadata

func (t *HAChassisGroup) Metadata() graph.Metadata

func (*HAChassisGroup) UnmarshalEasyJSON

func (v *HAChassisGroup) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*HAChassisGroup) UnmarshalJSON

func (v *HAChassisGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LoadBalancer

type LoadBalancer struct {
	UUID            string            `ovsdb:"_uuid" json:",omitempty" `
	ExternalIDs     map[string]string `ovsdb:"external_ids" json:",omitempty" `
	HealthCheck     []string          `ovsdb:"health_check" json:",omitempty" `
	IPPortMappings  map[string]string `ovsdb:"ip_port_mappings" json:",omitempty" `
	Name            string            `ovsdb:"name" json:",omitempty" `
	Protocol        []string          `ovsdb:"protocol" json:",omitempty" `
	SelectionFields []string          `ovsdb:"selection_fields" json:",omitempty" `
	Vips            map[string]string `ovsdb:"vips" json:",omitempty" `

	ExternalIDsMeta    graph.Metadata `json:",omitempty" field:"Metadata"`
	IPPortMappingsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	VipsMeta           graph.Metadata `json:",omitempty" field:"Metadata"`
}

LoadBalancer defines the type used by both libovsdb and skydive for table Load_Balancer easyjson:json gendecoder

func (*LoadBalancer) GetField

func (obj *LoadBalancer) GetField(key string) (interface{}, error)

func (*LoadBalancer) GetFieldBool

func (obj *LoadBalancer) GetFieldBool(key string) (bool, error)

func (*LoadBalancer) GetFieldInt64

func (obj *LoadBalancer) GetFieldInt64(key string) (int64, error)

func (*LoadBalancer) GetFieldKeys

func (obj *LoadBalancer) GetFieldKeys() []string

func (*LoadBalancer) GetFieldString

func (obj *LoadBalancer) GetFieldString(key string) (string, error)

func (*LoadBalancer) GetName

func (t *LoadBalancer) GetName() string

func (*LoadBalancer) GetUUID

func (t *LoadBalancer) GetUUID() string

func (LoadBalancer) MarshalEasyJSON

func (v LoadBalancer) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LoadBalancer) MarshalJSON

func (v LoadBalancer) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LoadBalancer) MatchBool

func (obj *LoadBalancer) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LoadBalancer) MatchInt64

func (obj *LoadBalancer) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LoadBalancer) MatchString

func (obj *LoadBalancer) MatchString(key string, predicate getter.StringPredicate) bool

func (*LoadBalancer) Metadata

func (t *LoadBalancer) Metadata() graph.Metadata

func (*LoadBalancer) UnmarshalEasyJSON

func (v *LoadBalancer) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LoadBalancer) UnmarshalJSON

func (v *LoadBalancer) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LoadBalancerHealthCheck

type LoadBalancerHealthCheck struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Options     map[string]string `ovsdb:"options" json:",omitempty" `
	Vip         string            `ovsdb:"vip" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

LoadBalancerHealthCheck defines the type used by both libovsdb and skydive for table Load_Balancer_Health_Check easyjson:json gendecoder

func (*LoadBalancerHealthCheck) GetField

func (obj *LoadBalancerHealthCheck) GetField(key string) (interface{}, error)

func (*LoadBalancerHealthCheck) GetFieldBool

func (obj *LoadBalancerHealthCheck) GetFieldBool(key string) (bool, error)

func (*LoadBalancerHealthCheck) GetFieldInt64

func (obj *LoadBalancerHealthCheck) GetFieldInt64(key string) (int64, error)

func (*LoadBalancerHealthCheck) GetFieldKeys

func (obj *LoadBalancerHealthCheck) GetFieldKeys() []string

func (*LoadBalancerHealthCheck) GetFieldString

func (obj *LoadBalancerHealthCheck) GetFieldString(key string) (string, error)

func (*LoadBalancerHealthCheck) GetName

func (t *LoadBalancerHealthCheck) GetName() string

func (*LoadBalancerHealthCheck) GetUUID

func (t *LoadBalancerHealthCheck) GetUUID() string

func (LoadBalancerHealthCheck) MarshalEasyJSON

func (v LoadBalancerHealthCheck) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LoadBalancerHealthCheck) MarshalJSON

func (v LoadBalancerHealthCheck) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LoadBalancerHealthCheck) MatchBool

func (obj *LoadBalancerHealthCheck) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LoadBalancerHealthCheck) MatchInt64

func (obj *LoadBalancerHealthCheck) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LoadBalancerHealthCheck) MatchString

func (obj *LoadBalancerHealthCheck) MatchString(key string, predicate getter.StringPredicate) bool

func (*LoadBalancerHealthCheck) Metadata

func (t *LoadBalancerHealthCheck) Metadata() graph.Metadata

func (*LoadBalancerHealthCheck) UnmarshalEasyJSON

func (v *LoadBalancerHealthCheck) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LoadBalancerHealthCheck) UnmarshalJSON

func (v *LoadBalancerHealthCheck) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LogicalRouter

type LogicalRouter struct {
	UUID         string            `ovsdb:"_uuid" json:",omitempty" `
	Enabled      []bool            `ovsdb:"enabled" json:",omitempty" `
	ExternalIDs  map[string]string `ovsdb:"external_ids" json:",omitempty" `
	LoadBalancer []string          `ovsdb:"load_balancer" json:",omitempty" `
	Name         string            `ovsdb:"name" json:",omitempty" `
	Nat          []string          `ovsdb:"nat" json:",omitempty" `
	Options      map[string]string `ovsdb:"options" json:",omitempty" `
	Policies     []string          `ovsdb:"policies" json:",omitempty" `
	Ports        []string          `ovsdb:"ports" json:",omitempty" `
	StaticRoutes []string          `ovsdb:"static_routes" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

LogicalRouter defines the type used by both libovsdb and skydive for table Logical_Router easyjson:json gendecoder

func (*LogicalRouter) GetField

func (obj *LogicalRouter) GetField(key string) (interface{}, error)

func (*LogicalRouter) GetFieldBool

func (obj *LogicalRouter) GetFieldBool(key string) (bool, error)

func (*LogicalRouter) GetFieldInt64

func (obj *LogicalRouter) GetFieldInt64(key string) (int64, error)

func (*LogicalRouter) GetFieldKeys

func (obj *LogicalRouter) GetFieldKeys() []string

func (*LogicalRouter) GetFieldString

func (obj *LogicalRouter) GetFieldString(key string) (string, error)

func (*LogicalRouter) GetName

func (t *LogicalRouter) GetName() string

func (*LogicalRouter) GetUUID

func (t *LogicalRouter) GetUUID() string

func (LogicalRouter) MarshalEasyJSON

func (v LogicalRouter) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LogicalRouter) MarshalJSON

func (v LogicalRouter) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LogicalRouter) MatchBool

func (obj *LogicalRouter) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LogicalRouter) MatchInt64

func (obj *LogicalRouter) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LogicalRouter) MatchString

func (obj *LogicalRouter) MatchString(key string, predicate getter.StringPredicate) bool

func (*LogicalRouter) Metadata

func (t *LogicalRouter) Metadata() graph.Metadata

func (*LogicalRouter) UnmarshalEasyJSON

func (v *LogicalRouter) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LogicalRouter) UnmarshalJSON

func (v *LogicalRouter) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LogicalRouterPolicy

type LogicalRouterPolicy struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Action      string            `ovsdb:"action" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Match       string            `ovsdb:"match" json:",omitempty" `
	Nexthop     []string          `ovsdb:"nexthop" json:",omitempty" `
	Options     map[string]string `ovsdb:"options" json:",omitempty" `
	Priority    int               `ovsdb:"priority" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

LogicalRouterPolicy defines the type used by both libovsdb and skydive for table Logical_Router_Policy easyjson:json gendecoder

func (*LogicalRouterPolicy) GetField

func (obj *LogicalRouterPolicy) GetField(key string) (interface{}, error)

func (*LogicalRouterPolicy) GetFieldBool

func (obj *LogicalRouterPolicy) GetFieldBool(key string) (bool, error)

func (*LogicalRouterPolicy) GetFieldInt64

func (obj *LogicalRouterPolicy) GetFieldInt64(key string) (int64, error)

func (*LogicalRouterPolicy) GetFieldKeys

func (obj *LogicalRouterPolicy) GetFieldKeys() []string

func (*LogicalRouterPolicy) GetFieldString

func (obj *LogicalRouterPolicy) GetFieldString(key string) (string, error)

func (*LogicalRouterPolicy) GetName

func (t *LogicalRouterPolicy) GetName() string

func (*LogicalRouterPolicy) GetUUID

func (t *LogicalRouterPolicy) GetUUID() string

func (LogicalRouterPolicy) MarshalEasyJSON

func (v LogicalRouterPolicy) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LogicalRouterPolicy) MarshalJSON

func (v LogicalRouterPolicy) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LogicalRouterPolicy) MatchBool

func (obj *LogicalRouterPolicy) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LogicalRouterPolicy) MatchInt64

func (obj *LogicalRouterPolicy) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LogicalRouterPolicy) MatchString

func (obj *LogicalRouterPolicy) MatchString(key string, predicate getter.StringPredicate) bool

func (*LogicalRouterPolicy) Metadata

func (t *LogicalRouterPolicy) Metadata() graph.Metadata

func (*LogicalRouterPolicy) UnmarshalEasyJSON

func (v *LogicalRouterPolicy) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LogicalRouterPolicy) UnmarshalJSON

func (v *LogicalRouterPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LogicalRouterPort

type LogicalRouterPort struct {
	UUID           string            `ovsdb:"_uuid" json:",omitempty" `
	Enabled        []bool            `ovsdb:"enabled" json:",omitempty" `
	ExternalIDs    map[string]string `ovsdb:"external_ids" json:",omitempty" `
	GatewayChassis []string          `ovsdb:"gateway_chassis" json:",omitempty" `
	HaChassisGroup []string          `ovsdb:"ha_chassis_group" json:",omitempty" `
	Ipv6Prefix     []string          `ovsdb:"ipv6_prefix" json:",omitempty" `
	Ipv6RaConfigs  map[string]string `ovsdb:"ipv6_ra_configs" json:",omitempty" `
	MAC            string            `ovsdb:"mac" json:",omitempty" `
	Name           string            `ovsdb:"name" json:",omitempty" `
	Networks       []string          `ovsdb:"networks" json:",omitempty" `
	Options        map[string]string `ovsdb:"options" json:",omitempty" `
	Peer           []string          `ovsdb:"peer" json:",omitempty" `

	ExternalIDsMeta   graph.Metadata `json:",omitempty" field:"Metadata"`
	Ipv6RaConfigsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta       graph.Metadata `json:",omitempty" field:"Metadata"`
}

LogicalRouterPort defines the type used by both libovsdb and skydive for table Logical_Router_Port easyjson:json gendecoder

func (*LogicalRouterPort) GetField

func (obj *LogicalRouterPort) GetField(key string) (interface{}, error)

func (*LogicalRouterPort) GetFieldBool

func (obj *LogicalRouterPort) GetFieldBool(key string) (bool, error)

func (*LogicalRouterPort) GetFieldInt64

func (obj *LogicalRouterPort) GetFieldInt64(key string) (int64, error)

func (*LogicalRouterPort) GetFieldKeys

func (obj *LogicalRouterPort) GetFieldKeys() []string

func (*LogicalRouterPort) GetFieldString

func (obj *LogicalRouterPort) GetFieldString(key string) (string, error)

func (*LogicalRouterPort) GetName

func (t *LogicalRouterPort) GetName() string

func (*LogicalRouterPort) GetUUID

func (t *LogicalRouterPort) GetUUID() string

func (LogicalRouterPort) MarshalEasyJSON

func (v LogicalRouterPort) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LogicalRouterPort) MarshalJSON

func (v LogicalRouterPort) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LogicalRouterPort) MatchBool

func (obj *LogicalRouterPort) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LogicalRouterPort) MatchInt64

func (obj *LogicalRouterPort) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LogicalRouterPort) MatchString

func (obj *LogicalRouterPort) MatchString(key string, predicate getter.StringPredicate) bool

func (*LogicalRouterPort) Metadata

func (t *LogicalRouterPort) Metadata() graph.Metadata

func (*LogicalRouterPort) UnmarshalEasyJSON

func (v *LogicalRouterPort) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LogicalRouterPort) UnmarshalJSON

func (v *LogicalRouterPort) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LogicalRouterStaticRoute

type LogicalRouterStaticRoute struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	IPPrefix    string            `ovsdb:"ip_prefix" json:",omitempty" `
	Nexthop     string            `ovsdb:"nexthop" json:",omitempty" `
	Options     map[string]string `ovsdb:"options" json:",omitempty" `
	OutputPort  []string          `ovsdb:"output_port" json:",omitempty" `
	Policy      []string          `ovsdb:"policy" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

LogicalRouterStaticRoute defines the type used by both libovsdb and skydive for table Logical_Router_Static_Route easyjson:json gendecoder

func (*LogicalRouterStaticRoute) GetField

func (obj *LogicalRouterStaticRoute) GetField(key string) (interface{}, error)

func (*LogicalRouterStaticRoute) GetFieldBool

func (obj *LogicalRouterStaticRoute) GetFieldBool(key string) (bool, error)

func (*LogicalRouterStaticRoute) GetFieldInt64

func (obj *LogicalRouterStaticRoute) GetFieldInt64(key string) (int64, error)

func (*LogicalRouterStaticRoute) GetFieldKeys

func (obj *LogicalRouterStaticRoute) GetFieldKeys() []string

func (*LogicalRouterStaticRoute) GetFieldString

func (obj *LogicalRouterStaticRoute) GetFieldString(key string) (string, error)

func (*LogicalRouterStaticRoute) GetName

func (t *LogicalRouterStaticRoute) GetName() string

func (*LogicalRouterStaticRoute) GetUUID

func (t *LogicalRouterStaticRoute) GetUUID() string

func (LogicalRouterStaticRoute) MarshalEasyJSON

func (v LogicalRouterStaticRoute) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LogicalRouterStaticRoute) MarshalJSON

func (v LogicalRouterStaticRoute) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LogicalRouterStaticRoute) MatchBool

func (obj *LogicalRouterStaticRoute) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LogicalRouterStaticRoute) MatchInt64

func (obj *LogicalRouterStaticRoute) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LogicalRouterStaticRoute) MatchString

func (obj *LogicalRouterStaticRoute) MatchString(key string, predicate getter.StringPredicate) bool

func (*LogicalRouterStaticRoute) Metadata

func (t *LogicalRouterStaticRoute) Metadata() graph.Metadata

func (*LogicalRouterStaticRoute) UnmarshalEasyJSON

func (v *LogicalRouterStaticRoute) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LogicalRouterStaticRoute) UnmarshalJSON

func (v *LogicalRouterStaticRoute) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LogicalSwitch

type LogicalSwitch struct {
	UUID             string            `ovsdb:"_uuid" json:",omitempty" `
	ACLs             []string          `ovsdb:"acls" json:",omitempty" `
	DNSRecords       []string          `ovsdb:"dns_records" json:",omitempty" `
	ExternalIDs      map[string]string `ovsdb:"external_ids" json:",omitempty" `
	ForwardingGroups []string          `ovsdb:"forwarding_groups" json:",omitempty" `
	LoadBalancer     []string          `ovsdb:"load_balancer" json:",omitempty" `
	Name             string            `ovsdb:"name" json:",omitempty" `
	OtherConfig      map[string]string `ovsdb:"other_config" json:",omitempty" `
	Ports            []string          `ovsdb:"ports" json:",omitempty" `
	QOSRules         []string          `ovsdb:"qos_rules" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OtherConfigMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

LogicalSwitch defines the type used by both libovsdb and skydive for table Logical_Switch easyjson:json gendecoder

func (*LogicalSwitch) GetField

func (obj *LogicalSwitch) GetField(key string) (interface{}, error)

func (*LogicalSwitch) GetFieldBool

func (obj *LogicalSwitch) GetFieldBool(key string) (bool, error)

func (*LogicalSwitch) GetFieldInt64

func (obj *LogicalSwitch) GetFieldInt64(key string) (int64, error)

func (*LogicalSwitch) GetFieldKeys

func (obj *LogicalSwitch) GetFieldKeys() []string

func (*LogicalSwitch) GetFieldString

func (obj *LogicalSwitch) GetFieldString(key string) (string, error)

func (*LogicalSwitch) GetName

func (t *LogicalSwitch) GetName() string

func (*LogicalSwitch) GetUUID

func (t *LogicalSwitch) GetUUID() string

func (LogicalSwitch) MarshalEasyJSON

func (v LogicalSwitch) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LogicalSwitch) MarshalJSON

func (v LogicalSwitch) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LogicalSwitch) MatchBool

func (obj *LogicalSwitch) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LogicalSwitch) MatchInt64

func (obj *LogicalSwitch) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LogicalSwitch) MatchString

func (obj *LogicalSwitch) MatchString(key string, predicate getter.StringPredicate) bool

func (*LogicalSwitch) Metadata

func (t *LogicalSwitch) Metadata() graph.Metadata

func (*LogicalSwitch) UnmarshalEasyJSON

func (v *LogicalSwitch) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LogicalSwitch) UnmarshalJSON

func (v *LogicalSwitch) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type LogicalSwitchPort

type LogicalSwitchPort struct {
	UUID             string            `ovsdb:"_uuid" json:",omitempty" `
	Addresses        []string          `ovsdb:"addresses" json:",omitempty" `
	Dhcpv4Options    []string          `ovsdb:"dhcpv4_options" json:",omitempty" `
	Dhcpv6Options    []string          `ovsdb:"dhcpv6_options" json:",omitempty" `
	DynamicAddresses []string          `ovsdb:"dynamic_addresses" json:",omitempty" `
	Enabled          []bool            `ovsdb:"enabled" json:",omitempty" `
	ExternalIDs      map[string]string `ovsdb:"external_ids" json:",omitempty" `
	HaChassisGroup   []string          `ovsdb:"ha_chassis_group" json:",omitempty" `
	Name             string            `ovsdb:"name" json:",omitempty" `
	Options          map[string]string `ovsdb:"options" json:",omitempty" `
	ParentName       []string          `ovsdb:"parent_name" json:",omitempty" `
	PortSecurity     []string          `ovsdb:"port_security" json:",omitempty" `
	Tag              []int             `ovsdb:"tag" json:",omitempty" `
	TagRequest       []int             `ovsdb:"tag_request" json:",omitempty" `
	Type             string            `ovsdb:"type" json:",omitempty" `
	Up               []bool            `ovsdb:"up" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

LogicalSwitchPort defines the type used by both libovsdb and skydive for table Logical_Switch_Port easyjson:json gendecoder

func (*LogicalSwitchPort) GetField

func (obj *LogicalSwitchPort) GetField(key string) (interface{}, error)

func (*LogicalSwitchPort) GetFieldBool

func (obj *LogicalSwitchPort) GetFieldBool(key string) (bool, error)

func (*LogicalSwitchPort) GetFieldInt64

func (obj *LogicalSwitchPort) GetFieldInt64(key string) (int64, error)

func (*LogicalSwitchPort) GetFieldKeys

func (obj *LogicalSwitchPort) GetFieldKeys() []string

func (*LogicalSwitchPort) GetFieldString

func (obj *LogicalSwitchPort) GetFieldString(key string) (string, error)

func (*LogicalSwitchPort) GetName

func (t *LogicalSwitchPort) GetName() string

func (*LogicalSwitchPort) GetUUID

func (t *LogicalSwitchPort) GetUUID() string

func (LogicalSwitchPort) MarshalEasyJSON

func (v LogicalSwitchPort) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (LogicalSwitchPort) MarshalJSON

func (v LogicalSwitchPort) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*LogicalSwitchPort) MatchBool

func (obj *LogicalSwitchPort) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*LogicalSwitchPort) MatchInt64

func (obj *LogicalSwitchPort) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*LogicalSwitchPort) MatchString

func (obj *LogicalSwitchPort) MatchString(key string, predicate getter.StringPredicate) bool

func (*LogicalSwitchPort) Metadata

func (t *LogicalSwitchPort) Metadata() graph.Metadata

func (*LogicalSwitchPort) UnmarshalEasyJSON

func (v *LogicalSwitchPort) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*LogicalSwitchPort) UnmarshalJSON

func (v *LogicalSwitchPort) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Meter

type Meter struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Bands       []string          `ovsdb:"bands" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Fair        []bool            `ovsdb:"fair" json:",omitempty" `
	Name        string            `ovsdb:"name" json:",omitempty" `
	Unit        string            `ovsdb:"unit" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

Meter defines the type used by both libovsdb and skydive for table Meter easyjson:json gendecoder

func (*Meter) GetField

func (obj *Meter) GetField(key string) (interface{}, error)

func (*Meter) GetFieldBool

func (obj *Meter) GetFieldBool(key string) (bool, error)

func (*Meter) GetFieldInt64

func (obj *Meter) GetFieldInt64(key string) (int64, error)

func (*Meter) GetFieldKeys

func (obj *Meter) GetFieldKeys() []string

func (*Meter) GetFieldString

func (obj *Meter) GetFieldString(key string) (string, error)

func (*Meter) GetName

func (t *Meter) GetName() string

func (*Meter) GetUUID

func (t *Meter) GetUUID() string

func (Meter) MarshalEasyJSON

func (v Meter) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Meter) MarshalJSON

func (v Meter) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Meter) MatchBool

func (obj *Meter) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*Meter) MatchInt64

func (obj *Meter) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*Meter) MatchString

func (obj *Meter) MatchString(key string, predicate getter.StringPredicate) bool

func (*Meter) Metadata

func (t *Meter) Metadata() graph.Metadata

func (*Meter) UnmarshalEasyJSON

func (v *Meter) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Meter) UnmarshalJSON

func (v *Meter) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MeterBand

type MeterBand struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Action      string            `ovsdb:"action" json:",omitempty" `
	BurstSize   int               `ovsdb:"burst_size" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Rate        int               `ovsdb:"rate" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

MeterBand defines the type used by both libovsdb and skydive for table Meter_Band easyjson:json gendecoder

func (*MeterBand) GetField

func (obj *MeterBand) GetField(key string) (interface{}, error)

func (*MeterBand) GetFieldBool

func (obj *MeterBand) GetFieldBool(key string) (bool, error)

func (*MeterBand) GetFieldInt64

func (obj *MeterBand) GetFieldInt64(key string) (int64, error)

func (*MeterBand) GetFieldKeys

func (obj *MeterBand) GetFieldKeys() []string

func (*MeterBand) GetFieldString

func (obj *MeterBand) GetFieldString(key string) (string, error)

func (*MeterBand) GetName

func (t *MeterBand) GetName() string

func (*MeterBand) GetUUID

func (t *MeterBand) GetUUID() string

func (MeterBand) MarshalEasyJSON

func (v MeterBand) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MeterBand) MarshalJSON

func (v MeterBand) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MeterBand) MatchBool

func (obj *MeterBand) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*MeterBand) MatchInt64

func (obj *MeterBand) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*MeterBand) MatchString

func (obj *MeterBand) MatchString(key string, predicate getter.StringPredicate) bool

func (*MeterBand) Metadata

func (t *MeterBand) Metadata() graph.Metadata

func (*MeterBand) UnmarshalEasyJSON

func (v *MeterBand) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MeterBand) UnmarshalJSON

func (v *MeterBand) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type NAT

type NAT struct {
	UUID              string            `ovsdb:"_uuid" json:",omitempty" `
	AllowedExtIPs     []string          `ovsdb:"allowed_ext_ips" json:",omitempty" `
	ExemptedExtIPs    []string          `ovsdb:"exempted_ext_ips" json:",omitempty" `
	ExternalIDs       map[string]string `ovsdb:"external_ids" json:",omitempty" `
	ExternalIP        string            `ovsdb:"external_ip" json:",omitempty" `
	ExternalMAC       []string          `ovsdb:"external_mac" json:",omitempty" `
	ExternalPortRange string            `ovsdb:"external_port_range" json:",omitempty" `
	LogicalIP         string            `ovsdb:"logical_ip" json:",omitempty" `
	LogicalPort       []string          `ovsdb:"logical_port" json:",omitempty" `
	Options           map[string]string `ovsdb:"options" json:",omitempty" `
	Type              string            `ovsdb:"type" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

NAT defines the type used by both libovsdb and skydive for table NAT easyjson:json gendecoder

func (*NAT) GetField

func (obj *NAT) GetField(key string) (interface{}, error)

func (*NAT) GetFieldBool

func (obj *NAT) GetFieldBool(key string) (bool, error)

func (*NAT) GetFieldInt64

func (obj *NAT) GetFieldInt64(key string) (int64, error)

func (*NAT) GetFieldKeys

func (obj *NAT) GetFieldKeys() []string

func (*NAT) GetFieldString

func (obj *NAT) GetFieldString(key string) (string, error)

func (*NAT) GetName

func (t *NAT) GetName() string

func (*NAT) GetUUID

func (t *NAT) GetUUID() string

func (NAT) MarshalEasyJSON

func (v NAT) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (NAT) MarshalJSON

func (v NAT) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*NAT) MatchBool

func (obj *NAT) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*NAT) MatchInt64

func (obj *NAT) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*NAT) MatchString

func (obj *NAT) MatchString(key string, predicate getter.StringPredicate) bool

func (*NAT) Metadata

func (t *NAT) Metadata() graph.Metadata

func (*NAT) UnmarshalEasyJSON

func (v *NAT) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*NAT) UnmarshalJSON

func (v *NAT) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type NBGlobal

type NBGlobal struct {
	UUID           string            `ovsdb:"_uuid" json:",omitempty" `
	Connections    []string          `ovsdb:"connections" json:",omitempty" `
	ExternalIDs    map[string]string `ovsdb:"external_ids" json:",omitempty" `
	HvCfg          int               `ovsdb:"hv_cfg" json:",omitempty" `
	HvCfgTimestamp int               `ovsdb:"hv_cfg_timestamp" json:",omitempty" `
	Ipsec          bool              `ovsdb:"ipsec" json:",omitempty" `
	Name           string            `ovsdb:"name" json:",omitempty" `
	NbCfg          int               `ovsdb:"nb_cfg" json:",omitempty" `
	NbCfgTimestamp int               `ovsdb:"nb_cfg_timestamp" json:",omitempty" `
	Options        map[string]string `ovsdb:"options" json:",omitempty" `
	SbCfg          int               `ovsdb:"sb_cfg" json:",omitempty" `
	SbCfgTimestamp int               `ovsdb:"sb_cfg_timestamp" json:",omitempty" `
	SSL            []string          `ovsdb:"ssl" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
	OptionsMeta     graph.Metadata `json:",omitempty" field:"Metadata"`
}

NBGlobal defines the type used by both libovsdb and skydive for table NB_Global easyjson:json gendecoder

func (*NBGlobal) GetField

func (obj *NBGlobal) GetField(key string) (interface{}, error)

func (*NBGlobal) GetFieldBool

func (obj *NBGlobal) GetFieldBool(key string) (bool, error)

func (*NBGlobal) GetFieldInt64

func (obj *NBGlobal) GetFieldInt64(key string) (int64, error)

func (*NBGlobal) GetFieldKeys

func (obj *NBGlobal) GetFieldKeys() []string

func (*NBGlobal) GetFieldString

func (obj *NBGlobal) GetFieldString(key string) (string, error)

func (*NBGlobal) GetName

func (t *NBGlobal) GetName() string

func (*NBGlobal) GetUUID

func (t *NBGlobal) GetUUID() string

func (NBGlobal) MarshalEasyJSON

func (v NBGlobal) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (NBGlobal) MarshalJSON

func (v NBGlobal) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*NBGlobal) MatchBool

func (obj *NBGlobal) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*NBGlobal) MatchInt64

func (obj *NBGlobal) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*NBGlobal) MatchString

func (obj *NBGlobal) MatchString(key string, predicate getter.StringPredicate) bool

func (*NBGlobal) Metadata

func (t *NBGlobal) Metadata() graph.Metadata

func (*NBGlobal) UnmarshalEasyJSON

func (v *NBGlobal) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*NBGlobal) UnmarshalJSON

func (v *NBGlobal) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type OVNLink struct {
	SourceTable  string // source table name
	SourceField  string // source field name
	DestTable    string // destination table name
	DestField    string // destination field table name
	Relationship string // relationship type
}

OVNLink describes a Link between two OVN tables

func GetLinks() []OVNLink

type PortGroup

type PortGroup struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	ACLs        []string          `ovsdb:"acls" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Name        string            `ovsdb:"name" json:",omitempty" `
	Ports       []string          `ovsdb:"ports" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

PortGroup defines the type used by both libovsdb and skydive for table Port_Group easyjson:json gendecoder

func (*PortGroup) GetField

func (obj *PortGroup) GetField(key string) (interface{}, error)

func (*PortGroup) GetFieldBool

func (obj *PortGroup) GetFieldBool(key string) (bool, error)

func (*PortGroup) GetFieldInt64

func (obj *PortGroup) GetFieldInt64(key string) (int64, error)

func (*PortGroup) GetFieldKeys

func (obj *PortGroup) GetFieldKeys() []string

func (*PortGroup) GetFieldString

func (obj *PortGroup) GetFieldString(key string) (string, error)

func (*PortGroup) GetName

func (t *PortGroup) GetName() string

func (*PortGroup) GetUUID

func (t *PortGroup) GetUUID() string

func (PortGroup) MarshalEasyJSON

func (v PortGroup) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (PortGroup) MarshalJSON

func (v PortGroup) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*PortGroup) MatchBool

func (obj *PortGroup) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*PortGroup) MatchInt64

func (obj *PortGroup) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*PortGroup) MatchString

func (obj *PortGroup) MatchString(key string, predicate getter.StringPredicate) bool

func (*PortGroup) Metadata

func (t *PortGroup) Metadata() graph.Metadata

func (*PortGroup) UnmarshalEasyJSON

func (v *PortGroup) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*PortGroup) UnmarshalJSON

func (v *PortGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type QoS

type QoS struct {
	UUID        string            `ovsdb:"_uuid" json:",omitempty" `
	Action      map[string]int    `ovsdb:"action" json:",omitempty" `
	Bandwidth   map[string]int    `ovsdb:"bandwidth" json:",omitempty" `
	Direction   string            `ovsdb:"direction" json:",omitempty" `
	ExternalIDs map[string]string `ovsdb:"external_ids" json:",omitempty" `
	Match       string            `ovsdb:"match" json:",omitempty" `
	Priority    int               `ovsdb:"priority" json:",omitempty" `

	ActionMeta      graph.Metadata `json:",omitempty" field:"Metadata"`
	BandwidthMeta   graph.Metadata `json:",omitempty" field:"Metadata"`
	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

QoS defines the type used by both libovsdb and skydive for table QoS easyjson:json gendecoder

func (*QoS) GetField

func (obj *QoS) GetField(key string) (interface{}, error)

func (*QoS) GetFieldBool

func (obj *QoS) GetFieldBool(key string) (bool, error)

func (*QoS) GetFieldInt64

func (obj *QoS) GetFieldInt64(key string) (int64, error)

func (*QoS) GetFieldKeys

func (obj *QoS) GetFieldKeys() []string

func (*QoS) GetFieldString

func (obj *QoS) GetFieldString(key string) (string, error)

func (*QoS) GetName

func (t *QoS) GetName() string

func (*QoS) GetUUID

func (t *QoS) GetUUID() string

func (QoS) MarshalEasyJSON

func (v QoS) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (QoS) MarshalJSON

func (v QoS) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*QoS) MatchBool

func (obj *QoS) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*QoS) MatchInt64

func (obj *QoS) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*QoS) MatchString

func (obj *QoS) MatchString(key string, predicate getter.StringPredicate) bool

func (*QoS) Metadata

func (t *QoS) Metadata() graph.Metadata

func (*QoS) UnmarshalEasyJSON

func (v *QoS) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*QoS) UnmarshalJSON

func (v *QoS) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SSL

type SSL struct {
	UUID            string            `ovsdb:"_uuid" json:",omitempty" `
	BootstrapCaCert bool              `ovsdb:"bootstrap_ca_cert" json:",omitempty" `
	CaCert          string            `ovsdb:"ca_cert" json:",omitempty" `
	Certificate     string            `ovsdb:"certificate" json:",omitempty" `
	ExternalIDs     map[string]string `ovsdb:"external_ids" json:",omitempty" `
	PrivateKey      string            `ovsdb:"private_key" json:",omitempty" `
	SSLCiphers      string            `ovsdb:"ssl_ciphers" json:",omitempty" `
	SSLProtocols    string            `ovsdb:"ssl_protocols" json:",omitempty" `

	ExternalIDsMeta graph.Metadata `json:",omitempty" field:"Metadata"`
}

SSL defines the type used by both libovsdb and skydive for table SSL easyjson:json gendecoder

func (*SSL) GetField

func (obj *SSL) GetField(key string) (interface{}, error)

func (*SSL) GetFieldBool

func (obj *SSL) GetFieldBool(key string) (bool, error)

func (*SSL) GetFieldInt64

func (obj *SSL) GetFieldInt64(key string) (int64, error)

func (*SSL) GetFieldKeys

func (obj *SSL) GetFieldKeys() []string

func (*SSL) GetFieldString

func (obj *SSL) GetFieldString(key string) (string, error)

func (*SSL) GetName

func (t *SSL) GetName() string

func (*SSL) GetUUID

func (t *SSL) GetUUID() string

func (SSL) MarshalEasyJSON

func (v SSL) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SSL) MarshalJSON

func (v SSL) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SSL) MatchBool

func (obj *SSL) MatchBool(key string, predicate getter.BoolPredicate) bool

func (*SSL) MatchInt64

func (obj *SSL) MatchInt64(key string, predicate getter.Int64Predicate) bool

func (*SSL) MatchString

func (obj *SSL) MatchString(key string, predicate getter.StringPredicate) bool

func (*SSL) Metadata

func (t *SSL) Metadata() graph.Metadata

func (*SSL) UnmarshalEasyJSON

func (v *SSL) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SSL) UnmarshalJSON

func (v *SSL) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Source Files

Jump to

Keyboard shortcuts

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