Documentation ¶
Index ¶
Constants ¶
View Source
const AvailabilityZoneTable = "Availability_Zone"
View Source
const ConnectionTable = "Connection"
View Source
const DatapathBindingTable = "Datapath_Binding"
View Source
const EncapTable = "Encap"
View Source
const GatewayTable = "Gateway"
View Source
const ICSBGlobalTable = "IC_SB_Global"
View Source
const PortBindingTable = "Port_Binding"
View Source
const RouteTable = "Route"
View Source
const SSLTable = "SSL"
Variables ¶
This section is empty.
Functions ¶
func FullDatabaseModel ¶
func FullDatabaseModel() (model.ClientDBModel, error)
FullDatabaseModel returns the DatabaseModel object to be used in libovsdb
func Schema ¶
func Schema() ovsdb.DatabaseSchema
Types ¶
type AvailabilityZone ¶
AvailabilityZone defines an object in Availability_Zone table
type Connection ¶
type Connection struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` InactivityProbe *int `ovsdb:"inactivity_probe"` IsConnected bool `ovsdb:"is_connected"` MaxBackoff *int `ovsdb:"max_backoff"` OtherConfig map[string]string `ovsdb:"other_config"` Status map[string]string `ovsdb:"status"` Target string `ovsdb:"target"` }
Connection defines an object in Connection table
type DatapathBinding ¶
type DatapathBinding struct { UUID string `ovsdb:"_uuid"` ExternalIDs map[string]string `ovsdb:"external_ids"` TransitSwitch string `ovsdb:"transit_switch"` TunnelKey int `ovsdb:"tunnel_key"` }
DatapathBinding defines an object in Datapath_Binding table
type Encap ¶
type Encap struct { UUID string `ovsdb:"_uuid"` GatewayName string `ovsdb:"gateway_name"` IP string `ovsdb:"ip"` Options map[string]string `ovsdb:"options"` Type EncapType `ovsdb:"type"` }
Encap defines an object in Encap table
type Gateway ¶
type Gateway struct { UUID string `ovsdb:"_uuid"` AvailabilityZone string `ovsdb:"availability_zone"` Encaps []string `ovsdb:"encaps"` ExternalIDs map[string]string `ovsdb:"external_ids"` Hostname string `ovsdb:"hostname"` Name string `ovsdb:"name"` }
Gateway defines an object in Gateway table
type ICSBGlobal ¶
type ICSBGlobal struct { UUID string `ovsdb:"_uuid"` Connections []string `ovsdb:"connections"` ExternalIDs map[string]string `ovsdb:"external_ids"` Options map[string]string `ovsdb:"options"` SSL *string `ovsdb:"ssl"` }
ICSBGlobal defines an object in IC_SB_Global table
type PortBinding ¶
type PortBinding struct { UUID string `ovsdb:"_uuid"` Address string `ovsdb:"address"` AvailabilityZone string `ovsdb:"availability_zone"` Encap *string `ovsdb:"encap"` ExternalIDs map[string]string `ovsdb:"external_ids"` Gateway string `ovsdb:"gateway"` LogicalPort string `ovsdb:"logical_port"` TransitSwitch string `ovsdb:"transit_switch"` TunnelKey int `ovsdb:"tunnel_key"` }
PortBinding defines an object in Port_Binding table
type Route ¶
type Route struct { UUID string `ovsdb:"_uuid"` AvailabilityZone string `ovsdb:"availability_zone"` ExternalIDs map[string]string `ovsdb:"external_ids"` IPPrefix string `ovsdb:"ip_prefix"` Nexthop string `ovsdb:"nexthop"` Origin RouteOrigin `ovsdb:"origin"` RouteTable string `ovsdb:"route_table"` TransitSwitch string `ovsdb:"transit_switch"` }
Route defines an object in Route table
type RouteOrigin ¶
type RouteOrigin = string
var ( RouteOriginConnected RouteOrigin = "connected" RouteOriginStatic RouteOrigin = "static" )
type SSL ¶
type SSL struct { UUID string `ovsdb:"_uuid"` BootstrapCaCert bool `ovsdb:"bootstrap_ca_cert"` CaCert string `ovsdb:"ca_cert"` Certificate string `ovsdb:"certificate"` ExternalIDs map[string]string `ovsdb:"external_ids"` PrivateKey string `ovsdb:"private_key"` SSLCiphers string `ovsdb:"ssl_ciphers"` SSLProtocols string `ovsdb:"ssl_protocols"` }
SSL defines an object in SSL table
Click to show internal directories.
Click to hide internal directories.