Documentation
¶
Overview ¶
Package southbound contains code for updating P4 pipeline and chassis configuration on Stratum devices
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StratumGNMI ¶ added in v0.2.4
StratumGNMI is ab abstraction of a device with gNMI endpoint
func NewStratumGNMI ¶ added in v0.2.4
func NewStratumGNMI(object *topoapi.Object) (*StratumGNMI, error)
NewStratumGNMI creates a new stratum gNMI device descriptor from the specified topo entity
func (*StratumGNMI) Connect ¶ added in v0.2.4
func (d *StratumGNMI) Connect() error
Connect establishes connection to the gNMI server
func (*StratumGNMI) Disconnect ¶ added in v0.2.4
func (d *StratumGNMI) Disconnect() error
Disconnect terminates the gNMI connection
func (*StratumGNMI) SetChassisConfig ¶ added in v0.2.4
func (d *StratumGNMI) SetChassisConfig(config []byte) error
SetChassisConfig sets the chassis configuration on the device using previously established connection
type StratumP4 ¶
StratumP4 is ab abstraction of a device with P4Runtime endpoint
func NewStratumP4 ¶
NewStratumP4 creates a new stratum P4 device descriptor from the specified topo entity
func (*StratumP4) Disconnect ¶
Disconnect terminates the P4 message stream