constants

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_ACCESS          = "access"
	MODE_TRUNKING        = "trunk"
	MODE_ETHERCHANNEL    = "etherchannel"
	MODE_NONE            = "none"
	DEVICE_TYPE_L3SWITCH = "l3switch"
	DEVICE_TYPE_L2SWITCH = "l2switch"
	DEVICE_TYPE_ROUTER   = "router"
)

Variables

This section is empty.

Functions

func GetDeviceType added in v0.2.0

func GetDeviceType(dType *ent.DeviceType) (mode string)

func GetIntMode added in v0.2.0

func GetIntMode(intMode *ent.NetInterfaceMode) (mode string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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