device

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package device implements the simulated device agent NB

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

func NewAgent() simulator.DeviceAgent

NewAgent creates a new simulated device agent

Types

type Service

type Service struct {
	northbound.Service
	// contains filtered or unexported fields
}

Service implements gNMI and P4Runtime services for a specified device

func (Service) Register

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

Register registers the gNMI and P4Runtime with the given gRPC server

Directories

Path Synopsis
gnmi
v2
Package gnmi implements the simulated gNMI service
Package gnmi implements the simulated gNMI service
gnoi
v2
Package gnoi implements the simulated gNOI System service
Package gnoi implements the simulated gNOI System service
p4runtime
v1
Package p4runtime implements the simulated P4Runtime service
Package p4runtime implements the simulated P4Runtime service

Jump to

Keyboard shortcuts

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