constvalue

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 0 Imported by: 19

Documentation

Index

Constants

View Source
const (
	OvsVsctl             string = "ovs-vsctl"
	OvsOfctl             string = "ovs-ofctl"
	OvsBrint             string = "br-int"
	OvsBrtun             string = "br-tun"
	OvsBrcheck           string = "br-nwnode-check"
	OvsBr0               string = "obr0"
	OvsIfErrorField      string = "error"
	OvsIfErrorNoDev      string = "No such device"
	CheckNousedIfsIntval int    = 5 * 60
	InvalidNetID         int    = 4096
	DefaultTunIntPort    uint   = 1
	DefaultMtu           string = "1500"

	MaxRetryTimesOfOvsOp    int = 40
	MaxRetryIntervalOfOvsOp int = 5

	MaxPciDeviceNum = 25

	HostTypePhysicalMachine = "bare_metal"
	HostTypeVirtualMachine  = "virtual_machine"
	MaxNwSendDelPodTimes    = 6
)
View Source
const (
	NetPlaneStd     = "std"
	NetPlaneEio     = "eio"
	NetPlaneControl = "control"
	NetPlaneMedia   = "media"
	NetPlaneOam     = "oam"
)
View Source
const (
	MechDriverOvs      = "normal"
	MechDriverSriov    = "direct"
	MechDriverPhysical = "physical"
)
View Source
const (
	BondBackup  = "active-backup"
	BondBalance = "balance-xor"
	BondPairNum = 2
)
View Source
const (
	EventFailForCreatepod   = "CreatePodNetworkFailed."
	EventFailForGetpod      = "GetPodFailed."
	EventFailForParseconfig = "ParseBluePrintOrConfigFailed."
	EventFailForNorthport   = "NorthPort."
	EventFailForSouthport   = "SouthPort."
)
View Source
const (
	VnicType = "vnic"
	VfType   = "vf"
	VethType = "veth"
	PfType   = "pf"
	Br0Vnic  = "br0_vnic"
	C0Vf     = "c0_vf"
	C0Vnic   = "c0_vnic"
)
View Source
const (
	AgentGetPodRetryTimes = 20
	AgentGetPodWaitSecond = 5
)
View Source
const HTTPDefaultTimeoutInSec = 60 // default http GET/POST request timeout in second
View Source
const LocalDBDataDir = "/root/nwnode/data-dir"
View Source
const LogicalPortDefaultVnicType = "normal"
View Source
const PaaSTenantAdminDefaultUUID = "admin"
View Source
const SKIP string = "REPLICATE-SKIP"

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