vppcalls

package
v0.0.0-...-ae01f8c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package vppcalls contains wrappers over VPP ISISX binary APIs and helpers to dump ISISX configuration in VPP

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddIsisxHandlerVersion

func AddIsisxHandlerVersion(version vpp.Version, msgs []govppapi.Message,
	h func(ch govppapi.Channel, ifIdx ifaceidx.IfaceMetadataIndex, log logging.Logger) ISISXVppAPI,
)

Types

type ISISXVppAPI

type ISISXVppAPI interface {
	ISISXVppRead

	// GetISISXVersion retrieves version of the VPP ISISX plugin
	GetISISXVersion() (ver string, err error)
	// AddISISXConnection creates new ISISX unidirectional cross-connection between 2 interfaces
	AddISISXConnection(inputInterface, outputInterface string) error
	// DeleteISISXConnection deletes existing ISISX unidirectional cross-connection between 2 interfaces
	DeleteISISXConnection(inputInterface, outputInterface string) error
}

ISISXVppAPI provides read/write methods required to handle VPP ISIS-protocol-based forwarding

func CompatibleIsisxVppHandler

func CompatibleIsisxVppHandler(c vpp.Client, ifIdx ifaceidx.IfaceMetadataIndex,
	log logging.Logger) ISISXVppAPI

type ISISXVppRead

type ISISXVppRead interface {
	// DumpISISXConnections retrieves VPP ISISX configuration.
	DumpISISXConnections() ([]*proto_isisx.ISISXConnection, error)
}

ISISXVppRead provides read methods for ISISX plugin

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳