mgmt

package
v0.0.0-...-6c4fd92 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: NIST-PD-fallback Imports: 3 Imported by: 6

Documentation

Overview

Package mgmt defines interface of forwarder management features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	io.Closer

	// OpenFace creates a face connected to the current application.
	OpenFace() (Face, error)
}

Client provides access to forwarder management features for the application.

type Face

type Face interface {
	// ID returns face identifier.
	ID() string

	// Face returns an l3.Face.
	Face() l3.Face

	// Close requests the face to be closed.
	Close() error

	// Advertise advertises a prefix announcement.
	// It causes the connected forwarder to start delivering Interests matching this prefix to this face.
	// Advertising the same name more than once is not an error but has no effect.
	Advertise(name ndn.Name) error

	// Withdraw removes a route.
	// It causes the connected forwarder to stop delivering Interests matching this prefix to this face.
	// Withdrawing an unadvertised name is not an error but has no effect.
	Withdraw(name ndn.Name) error
}

Face represents a face.

Directories

Path Synopsis
Package gqlmgmt provides access to NDN-DPDK GraphQL API.
Package gqlmgmt provides access to NDN-DPDK GraphQL API.
Package nfdmgmt provides access to NFD Management API.
Package nfdmgmt provides access to NFD Management API.

Jump to

Keyboard shortcuts

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