test

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestPath

func NewTestPath() base.ColibriPath

NewTestPath returns a new path with one segment consisting on 3 hopfields: (0,2)->(1,2)->(1,0).

Types

type TestColibriPath

type TestColibriPath struct {
	HopCount   int
	CurrentHop int
	Ingress    uint16
	Egress     uint16
}

func (*TestColibriPath) Copy

func (p *TestColibriPath) Copy() base.ColibriPath

func (*TestColibriPath) IndexOfCurrentHop

func (p *TestColibriPath) IndexOfCurrentHop() int

func (*TestColibriPath) IngressEgressIFIDs

func (p *TestColibriPath) IngressEgressIFIDs() (uint16, uint16)

func (*TestColibriPath) NumberOfHops

func (p *TestColibriPath) NumberOfHops() int

func (*TestColibriPath) Reverse

func (p *TestColibriPath) Reverse() error

Jump to

Keyboard shortcuts

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