utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomInfoKey

func CustomInfoKey(vppLabel string) string

func GetVppAgentPrefix

func GetVppAgentPrefix() string

func GetVppEtcdlabel

func GetVppEtcdlabel(key string) string

func InterfaceKey

func InterfaceKey(vppLabel string, ifaceLabel string) string

func InterfacePrefixKey

func InterfacePrefixKey(vppLabel string) string

func InterfaceStateKey

func InterfaceStateKey(vppLabel string, ifaceLabel string) string

func InterfaceStatePrefixKey

func InterfaceStatePrefixKey(vppLabel string) string

func L2BridgeDomainKey

func L2BridgeDomainKey(vppLabel string, bdName string) string

func L2BridgeDomainKeyPrefix

func L2BridgeDomainKeyPrefix(vppLabel string) string

func L2XConnectKey

func L2XConnectKey(vppLabel string, rxIf string) string

func L3RouteKey

func L3RouteKey(vppLabel string, vrf uint32, destNet *net.IPNet, nextHop string) string

func L3RouteKeyPrefix

func L3RouteKeyPrefix(vppLabel string) string

func LinuxInterfaceKey

func LinuxInterfaceKey(vppLabel string, ifaceLabel string) string

func LinuxInterfacePrefixKey

func LinuxInterfacePrefixKey(vppLabel string) string

func TruncateString

func TruncateString(s string, n int) string

TruncateString returns input string possibly truncated to at most n characters.

Types

This section is empty.

Directories

Path Synopsis
vty
Package vty provides the ability to execute remote commands (e.g.
Package vty provides the ability to execute remote commands (e.g.
ssh
Package ssh provides the API for connecting to a SSH node.
Package ssh provides the API for connecting to a SSH node.

Jump to

Keyboard shortcuts

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