srv6

package
v1.6.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package srv6 - parameters keys of SRV6 remote mechanism

Index

Constants

View Source
const (
	// MECHANISM string
	MECHANISM = "SRV6"

	// SrcHostIP -  src localsid of mgmt interface
	SrcHostIP = "src_host_ip"
	// DstHostIP -  dst localsid of mgmt interface
	DstHostIP = "dst_host_ip"
	// SrcBSID -  src BSID
	SrcBSID = "src_bsid"
	// DstBSID - dst BSID
	DstBSID = "dst_bsid"
	// SrcLocalSID -  src LocalSID
	SrcLocalSID = "src_localsid"
	// DstLocalSID - dst LocalSID
	DstLocalSID = "dst_localsid"
	// SrcHostLocalSID -  src host unique LocalSID
	SrcHostLocalSID = "src_host_localsid"
	// DstHostLocalSID - dst host unique LocalSID
	DstHostLocalSID = "dst_host_localsid"
	// SrcHardwareAddress -  src hw address
	SrcHardwareAddress = "src_hw_addr"
	// DstHardwareAddress - dst hw address
	DstHardwareAddress = "dst_hw_addr"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mechanism

type Mechanism interface {
	// SrcHostIP -  src localsid of mgmt interface
	SrcHostIP() string
	// DstHostIP - dst localsid of mgmt interface
	DstHostIP() string
	// SrcBSID -  src BSID
	SrcBSID() string
	// DstBSID - dst BSID
	DstBSID() string
	// SrcLocalSID -  src LocalSID
	SrcLocalSID() string
	// DstLocalSID - dst LocalSID
	DstLocalSID() string
	// SrcHostLocalSID -  src host unique LocalSID
	SrcHostLocalSID() string
	// DstHostLocalSID - dst host unique LocalSID
	DstHostLocalSID() string
	// SrcHardwareAddress -  src hw address
	SrcHardwareAddress() string
	// DstHardwareAddress - dst hw address
	DstHardwareAddress() string
}

Mechanism - a vxlan mechanism utility wrapper

func ToMechanism

func ToMechanism(m *networkservice.Mechanism) Mechanism

ToMechanism - convert unified mechanism to useful wrapper

Jump to

Keyboard shortcuts

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