Documentation ¶
Index ¶
- Constants
- Variables
- func GetUpdate(path *gnmi.Path) (*gnmi.Update, error)
- type Server
- func (s *Server) Capabilities(ctx context.Context, req *gnmi.CapabilityRequest) (*gnmi.CapabilityResponse, error)
- func (s *Server) Get(ctx context.Context, req *gnmi.GetRequest) (*gnmi.GetResponse, error)
- func (s *Server) Set(ctx context.Context, req *gnmi.SetRequest) (*gnmi.SetResponse, error)
- func (s *Server) Subscribe(stream gnmi.GNMI_SubscribeServer) error
- type Service
Constants ¶
View Source
const ConfigNameSuffix = "Running"
ConfigNameSuffix is appended to the Configuration name when it is created
Variables ¶
per each subscribe request we receive the map is updated with a channel corresponding to the path.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements the grpc GNMI service
func (*Server) Capabilities ¶
func (s *Server) Capabilities(ctx context.Context, req *gnmi.CapabilityRequest) (*gnmi.CapabilityResponse, error)
Capabilities implements gNMI Capabilities
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, req *gnmi.GetRequest) (*gnmi.GetResponse, error)
Get implements gNMI Get
func (*Server) Set ¶
func (s *Server) Set(ctx context.Context, req *gnmi.SetRequest) (*gnmi.SetResponse, error)
Set implements gNMI Set
Click to show internal directories.
Click to hide internal directories.