realize

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VniTable = "global-vnis"
)

Variables

This section is empty.

Functions

func Alloc

func Alloc(new, current *api.AllocationTable) (*api.AllocationTable, error)

func BuildResourceInternet

func BuildResourceInternet() (*xir.Topology, error)

func Dealloc

func Dealloc(current *api.AllocationTable, mzid string) (*api.AllocationTable, error)

func EmbeddingToRz

func EmbeddingToRz(embedding *sfe.Embedding, maplinkids bool) (*portal.Realization, error)

func GetResources

func GetResources() ([]*portal.Resource, error)

func ReadTable

func ReadTable() (*api.AllocationTable, error)

func Realize

func Realize(
	tbroot *xir.Device,
	tbx, xp *xir.Topology,
	a *portal.AllocationTable,
	resourcePool *portal.Pool,
	params RealizeParameters,
	exparams *xir.ExperimentParameters,
) (*portal.Realization, portal.Diagnostics, error)

func Relinquish

func Relinquish(rlz *portal.Realization) error

func SiteList added in v1.1.38

func SiteList(rz *portal.Realization) []string

func WriteTable

func WriteTable(a *api.AllocationTable) error

Types

type RealizeParameters

type RealizeParameters struct {
	Mzid    string
	Hash    string
	Creator string
	Vid     uint32
}

type VlanSegment

type VlanSegment struct {
	Vid uint32
	Vni uint32

	Hosts []string

	Vlans   []*portal.Endpoint
	EpVteps []*portal.Endpoint

	Access  []*portal.Waypoint
	Taps    []*portal.Waypoint
	Trunks  []*portal.Waypoint
	WpVteps []*portal.Waypoint
}

func NewVlanSegment

func NewVlanSegment() *VlanSegment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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