Documentation ¶
Overview ¶
Package ecu implements the Seesaw v2 ECU component, which provides an externally accessible interface to monitor and control the Seesaw Node.
Index ¶
- type ECU
- type ECUConfig
- type SeesawECU
- func (s *SeesawECU) BGPNeighbors(ctx *ipc.Context, reply *quagga.Neighbors) error
- func (s *SeesawECU) Backends(ctx *ipc.Context, reply *int) error
- func (s *SeesawECU) ClusterStatus(ctx *ipc.Context, reply *seesaw.ClusterStatus) error
- func (s *SeesawECU) ConfigReload(ctx *ipc.Context, reply *int) error
- func (s *SeesawECU) ConfigSource(args *ipc.ConfigSource, oldSource *string) error
- func (s *SeesawECU) ConfigStatus(ctx *ipc.Context, reply *seesaw.ConfigStatus) error
- func (s *SeesawECU) Failover(ctx *ipc.Context, reply *int) error
- func (s *SeesawECU) HAStatus(ctx *ipc.Context, status *seesaw.HAStatus) error
- func (s *SeesawECU) OverrideBackend(args *ipc.Override, reply *int) error
- func (s *SeesawECU) OverrideDestination(args *ipc.Override, reply *int) error
- func (s *SeesawECU) OverrideVserver(args *ipc.Override, reply *int) error
- func (s *SeesawECU) VLANs(ctx *ipc.Context, reply *seesaw.VLANs) error
- func (s *SeesawECU) Vservers(ctx *ipc.Context, reply *seesaw.VserverMap) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECU ¶
type ECU struct {
// contains filtered or unexported fields
}
ECU contains the data necessary to run the Seesaw v2 ECU.
type ECUConfig ¶
type ECUConfig struct { CACertsFile string ControlAddress string ECUCertFile string ECUKeyFile string EngineSocket string MonitorAddress string UpdateInterval time.Duration }
ECUConfig provides configuration details for a Seesaw ECU.
func DefaultECUConfig ¶
func DefaultECUConfig() ECUConfig
DefaultECUConfig returns the default ECU configuration.
type SeesawECU ¶
type SeesawECU struct {
// contains filtered or unexported fields
}
SeesawECU provides the RPC interface to the Seesaw ECU.
func (*SeesawECU) BGPNeighbors ¶
BGPNeighbors returns a list of the BGP neighbors that we are peering with.
func (*SeesawECU) ClusterStatus ¶
ClusterStatus returns status information about this Seesaw Cluster.
func (*SeesawECU) ConfigReload ¶
ConfigReload requests a configuration reload.
func (*SeesawECU) ConfigSource ¶
func (s *SeesawECU) ConfigSource(args *ipc.ConfigSource, oldSource *string) error
ConfigSource requests the configuration source be changed to the specified source. The name of the original source is returned.
func (*SeesawECU) ConfigStatus ¶
ConfigStatus returns status information about this Seesaw's current configuration.
func (*SeesawECU) OverrideBackend ¶
OverrideBackend requests that the specified BackendOverride be applied.
func (*SeesawECU) OverrideDestination ¶
OverrideDestination requests that the specified DestinationOverride be applied.
func (*SeesawECU) OverrideVserver ¶
OverrideVserver requests that the specified VserverOverride be applied.