resturl

package
v1.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// REST ACL IP prefix
	ACLIP = "/vpp/dump/v1/acl/ip"
	// REST ACL MACIP prefix
	ACLMACIP = "/vpp/dump/v1/acl/macip"
)

Access list REST urls

View Source
const (
	// BfdURL is a REST path of a bfd
	BfdURL = "/vpp/dump/v1/bfd"
	// BfdSession is a REST path of a bfd sessions
	BfdSession = "/vpp/dump/v1/bfd/sessions"
	// BfdAuthKey is a REST path of a bfd authentication keys
	BfdAuthKey = "/vpp/dump/v1/bfd/authkeys"
)

BFD REST urls

View Source
const (
	// Interface is rest interface path
	Interface = "/vpp/dump/v1/interfaces"
	// Loopback is path for loopback interface
	Loopback = "/vpp/dump/v1/interfaces/loopback"
	// Ethernet is path for physical interface
	Ethernet = "/vpp/dump/v1/interfaces/ethernet"
	// Memif is path for memif interface
	Memif = "/vpp/dump/v1/interfaces/memif"
	// Tap is path for tap interface
	Tap = "/vpp/dump/v1/interfaces/tap"
	// AfPacket is path for af-packet interface
	AfPacket = "/vpp/dump/v1/interfaces/afpacket"
	// VxLan is path for vxlan interface
	VxLan = "/vpp/dump/v1/interfaces/vxlan"
)

VPP interface REST urls

View Source
const (
	// LinuxInterface is a linux interface rest path
	LinuxInterface = "/linux/dump/v1/interfaces"
	// LinuxInterfaceStats is a linux interface statistics rest path
	LinuxInterfaceStats = "/linux/dump/v1/interfaces/statistics"
)

Linux interface REST urls

View Source
const (
	// NatURL is a REST path of a NAT
	NatURL = "/vpp/dump/v1/nat"
	// NatGlobal is a REST path of a global NAT config
	NatGlobal = "/vpp/dump/v1/nat/global"
	// NatDNat is a REST path of a DNAT configurations
	NatDNat = "/vpp/dump/v1/nat/dnat"
)

NAT REST urls

View Source
const (
	// IPSecSpd is a REST path of a IPSec SPD
	IPSecSpd = "/vpp/dump/v1/ipsec/spd"
	// IPSecSa is a REST path of a IPSec SA
	IPSecSa = "/vpp/dump/v1/ipsec/sa"
	// IPSecTnIf is a REST path of a IPSec Tunnels
	IPSecTnIf = "/vpp/dump/v1/ipsec/tunnel"
)

IPSec REST url

View Source
const (
	// restBd is rest bridge domain path
	Bd = "/vpp/dump/v1/bd"
	// restBdId is rest bridge domain ID path
	BdID = "/vpp/dump/v1/bdid"
	// restFib is rest FIB path
	Fib = "/vpp/dump/v1/fib"
	// restXc is rest cross-connect path
	Xc = "/vpp/dump/v1/xc"
)

L2 plugin

View Source
const (
	// Routes is rest static route path
	Routes = "/vpp/dump/v1/routes"
	// Arps is rest ARPs path
	Arps = "/vpp/dump/v1/arps"
	// PArpIfs is rest proxy ARP interfaces path
	PArpIfs = "/vpp/dump/v1/proxyarp/interfaces"
	// PArpRngs is rest proxy ARP ranges path
	PArpRngs = "/vpp/dump/v1/proxyarp/ranges"
)

VPP L3 plugin

View Source
const (
	// LinuxRoutes is the rest linux route path
	LinuxRoutes = "/linux/dump/v1/routes"
	// LinuxArps is the rest linux ARPs path
	LinuxArps = "/linux/dump/v1/arps"
)

Linux L3 plugin

View Source
const (
	// Telemetry reads various types of metrics data from the VPP
	Telemetry  = "/vpp/telemetry"
	TMemory    = "/vpp/telemetry/memory"
	TRuntime   = "/vpp/telemetry/runtime"
	TNodeCount = "/vpp/telemetry/nodecount"
)

Telemetry

View Source
const (
	// Command allows to put CLI command to the rest
	Command = "/vpp/command"
)

Command

View Source
const (
	// Index can be used to get the full index page
	Index = "/"
)

Index

View Source
const (
	// Sessions is rest L4 configuration path
	Sessions = "/vpp/dump/v1/sessions"
)

L4 plugin

View Source
const (
	// StnURL is a REST path of a STN
	StnURL = "/vpp/dump/v1/stn"
)

STN REST url

View Source
const (
	// Traced binary API calls
	Tracer = "/vpp/binapitrace"
)

Tracer

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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