mgmt

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CsFlagEnableAdmit = 1
	CsFlagEnableServe = 2
)

Variables

This section is empty.

Functions

func Configure

func Configure()

Configure configures the face system.

Types

type ContentStoreModule

type ContentStoreModule struct {
	// contains filtered or unexported fields
}

ContentStoreModule is the module that handles Content Store Management.

func (*ContentStoreModule) String

func (c *ContentStoreModule) String() string

type FIBModule

type FIBModule struct {
	// contains filtered or unexported fields
}

FIBModule is the module that handles FIB Management.

func (*FIBModule) String

func (f *FIBModule) String() string

type FaceModule

type FaceModule struct {
	// contains filtered or unexported fields
}

FaceModule is the module that handles Face Management.

func (*FaceModule) String

func (f *FaceModule) String() string

type ForwarderStatusModule

type ForwarderStatusModule struct {
	// contains filtered or unexported fields
}

ForwarderStatusModule is the module that provide forwarder status information.

func (*ForwarderStatusModule) String

func (f *ForwarderStatusModule) String() string

type Module

type Module interface {
	String() string
	// contains filtered or unexported methods
}

Module represents a management module

type NlsrReadvertiser

type NlsrReadvertiser struct {
	// contains filtered or unexported fields
}

Simple readvertiser that echoes the register command to NLSR. Currently the command is one-shot, and does not handle failures.

func NewNlsrReadvertiser

func NewNlsrReadvertiser(m *Thread) *NlsrReadvertiser

func (*NlsrReadvertiser) Announce

func (r *NlsrReadvertiser) Announce(name enc.Name, route *table.Route)

func (*NlsrReadvertiser) String

func (r *NlsrReadvertiser) String() string

func (*NlsrReadvertiser) Withdraw

func (r *NlsrReadvertiser) Withdraw(name enc.Name, route *table.Route)

type RIBModule

type RIBModule struct {
	// contains filtered or unexported fields
}

RIBModule is the module that handles RIB Management.

func (*RIBModule) String

func (r *RIBModule) String() string

type StrategyChoiceModule

type StrategyChoiceModule struct {
	// contains filtered or unexported fields
}

StrategyChoiceModule is the module that handles Strategy Choice Management.

func (*StrategyChoiceModule) String

func (s *StrategyChoiceModule) String() string

type Thread

type Thread struct {
	// contains filtered or unexported fields
}

Thread Represents the management thread

func MakeMgmtThread

func MakeMgmtThread() *Thread

MakeMgmtThread creates a new management thread.

func (*Thread) Run

func (m *Thread) Run()

Run management thread

func (*Thread) String

func (m *Thread) String() string

Jump to

Keyboard shortcuts

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