Documentation
¶
Overview ¶
Package stratum 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 GNMI ¶
type GNMI struct {
ID string
Client gnmi.GNMIClient
Context context.Context
// contains filtered or unexported fields
}
GNMI is a connection context to a Stratum gNMI endpoint derived from onos.topo.GNMIEndpoint aspect
func NewGNMI ¶
NewGNMI creates a new stratum gNMI connection context from the specified topo entity using its onos.topo.StratumAgents aspect GNMIEndpoint field
func NewStratumGNMI ¶ added in v0.1.16
NewStratumGNMI creates a new stratum gNMI connection context from the specified topo entity using its onos.topo.StratumAgents aspect GNMIEndpoint field
func (*GNMI) Disconnect ¶
Disconnect terminates the gNMI connection
Click to show internal directories.
Click to hide internal directories.