gnmi

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package gnmi implements the northbound gNMI service for the configuration subsystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) GetECGI

func (s *Server) GetECGI() types.ECGI

GetECGI - expose the tower Ecgi

func (*Server) GetEcID

func (s *Server) GetEcID() types.EcID

GetEcID - expose the tower EcID

func (*Server) GetPlmnID

func (s *Server) GetPlmnID() types.PlmnID

GetPlmnID - expose the tower PlmnID

func (*Server) GetPort

func (s *Server) GetPort() int

GetPort - expose the Port number

func (*Server) Set

func (s *Server) Set(ctx context.Context, req *gnmi.SetRequest) (*gnmi.SetResponse, error)

Set implements gNMI Set

func (*Server) Subscribe

func (s *Server) Subscribe(stream gnmi.GNMI_SubscribeServer) error

Subscribe implements gNMI Subscribe

type Service

type Service struct {
	northbound.Service
	Port      int
	TowerEcID types.EcID
	PlmnID    types.PlmnID
}

Service implements Service for GNMI

func (Service) Register

func (s Service) Register(r *grpc.Server)

Register registers the GNMI server with grpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL