test

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModel

func GetModel() (model.DatabaseModel, error)

func GetSchema

func GetSchema() (ovsdb.DatabaseSchema, error)

Types

type BridgeType

type BridgeType struct {
	UUID         string            `ovsdb:"_uuid"`
	Name         string            `ovsdb:"name"`
	DatapathType string            `ovsdb:"datapath_type"`
	DatapathID   *string           `ovsdb:"datapath_id"`
	OtherConfig  map[string]string `ovsdb:"other_config"`
	ExternalIds  map[string]string `ovsdb:"external_ids"`
	Ports        []string          `ovsdb:"ports"`
	Status       map[string]string `ovsdb:"status"`
	Mirrors      []string          `ovsdb:"mirrors"`
}

BridgeType is the simplified ORM model of the Bridge table

type FlowSampleCollectorSetType

type FlowSampleCollectorSetType struct {
	UUID        string            `ovsdb:"_uuid"`
	Bridge      string            `ovsdb:"bridge"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	ID          int               `ovsdb:"id"`
	IPFIX       *string           // `ovsdb:"ipfix"`
}

type ManagerType

type ManagerType struct {
	UUID   string `ovsdb:"_uuid"`
	Target string `ovsdb:"target"`
}

type MirrorType

type MirrorType struct {
	UUID          string   `ovsdb:"_uuid"`
	Name          string   `ovsdb:"name"`
	SelectSrcPort []string `ovsdb:"select_src_port"`
}

type OvsType

type OvsType struct {
	UUID           string   `ovsdb:"_uuid"`
	Bridges        []string `ovsdb:"bridges"`
	ManagerOptions []string `ovsdb:"manager_options"`
}

OvsType is the simplified ORM model of the Bridge table

type PortType

type PortType struct {
	UUID string `ovsdb:"_uuid"`
	Name string `ovsdb:"name"`
}

Jump to

Keyboard shortcuts

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