Documentation
¶
Overview ¶
Package southbound contains utilities to interact with Stratum devices via gNMI and P4Runtime
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶ added in v1.1.10
Host is a simple representation of a host network interface discovered by the ONOS lite
type HostDiscovery ¶ added in v1.1.10
type HostDiscovery interface {
GetHosts(object *topo.Object, listener HostListener) (*HostReport, error)
}
HostDiscovery is an abstraction of an entity capable of discovering hosts
func NewGNMIHostDiscovery ¶ added in v1.1.10
func NewGNMIHostDiscovery() HostDiscovery
NewGNMIHostDiscovery returns new host discovery based on gNMI
type HostListener ¶ added in v1.1.10
type HostListener interface { HostAdded(host *Host, agentID string) HostDeleted(host *Host, agentID string) }
HostListener is an abstraction of an entity capable of handling host changes
type HostReport ¶ added in v1.1.10
HostReport provides results of a host query against the host local agent
type IngressLinkDiscovery ¶ added in v1.1.2
type IngressLinkDiscovery interface {
GetIngressLinks(object *topo.Object, listener IngressLinkListener) (*LinkReport, error)
}
IngressLinkDiscovery is an abstraction of an entity capable of discovering ingress links
func NewGNMILinkDiscovery ¶ added in v1.1.2
func NewGNMILinkDiscovery() IngressLinkDiscovery
NewGNMILinkDiscovery returns new ingress link discovery based on gNMI
type IngressLinkListener ¶ added in v1.1.2
IngressLinkListener is an abstraction of an entity capable of handling ingress link changes
type Link ¶ added in v0.2.4
type Link struct { IngressDevice string IngressPort uint32 EgressDevice string EgressPort uint32 CreateTime uint64 }
Link holds information about an ingress link
type LinkReport ¶ added in v0.2.4
LinkReport provides results of a link query against the link local agent
type PortDiscovery ¶ added in v1.1.2
type PortDiscovery interface {
GetPorts(object *topo.Object, listener PortStatusListener) (map[string]*topo.Port, error)
}
PortDiscovery is an abstraction of an entity capable of discovering device ports
func NewGNMIPortDiscovery ¶ added in v1.1.2
func NewGNMIPortDiscovery() PortDiscovery
NewGNMIPortDiscovery returns new port discovery based on gNMI