mgmt

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOCAL_PREFIX = defn.LOCAL_PREFIX
View Source
var NON_LOCAL_PREFIX = defn.NON_LOCAL_PREFIX

Functions

This section is empty.

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

(AI GENERATED DESCRIPTION): Returns the module's name “mgmt‑cs”, satisfying the fmt.Stringer interface for logging or debugging.

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

(AI GENERATED DESCRIPTION): Returns the identifier string `"mgmt-fib"` that represents the FIB module’s name.

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

(AI GENERATED DESCRIPTION): Returns the fixed identifier string for the Face module (`"mgmt-face"`), used for naming and logging.

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

(AI GENERATED DESCRIPTION): Returns the constant string `"mgmt-status"` to identify the ForwarderStatusModule.

type Interest added in v1.4.3

type Interest struct {
	spec.Interest
	// contains filtered or unexported fields
}

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

(AI GENERATED DESCRIPTION): Creates a new NlsrReadvertiser instance and associates it with the supplied Thread.

func (*NlsrReadvertiser) Announce

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

(AI GENERATED DESCRIPTION): Announces a client‑originated route by sending an RIB register interest containing the route’s name, face ID, and cost to the NLSR.

func (*NlsrReadvertiser) String

func (r *NlsrReadvertiser) String() string

(AI GENERATED DESCRIPTION): Returns the constant string “mgmt-nlsr-readvertiser”, serving as the human‑readable identifier for the NlsrReadvertiser (used in logs, debugging, or fmt.Stringer output).

func (*NlsrReadvertiser) Withdraw

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

(AI GENERATED DESCRIPTION): Sends an unregister interest to the NLSR to withdraw a client‑originated route from the routing table.

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

(AI GENERATED DESCRIPTION): Returns the string identifier for this RIBModule, which is always `"mgmt-rib"`.

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

(AI GENERATED DESCRIPTION): Returns the identifier string `"mgmt-strategy"` for the StrategyChoiceModule.

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

(AI GENERATED DESCRIPTION): Returns the constant string “mgmt”, identifying the Thread as a management thread.

Jump to

Keyboard shortcuts

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