vrs

package
v0.0.0-...-5b96ece Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect()

func DestroyNet

func DestroyNet(info VMData)

Types

type NuageInfo

type NuageInfo struct {
	UnixSocketFile string
	BridgeName     string
	VSDAddress     string
	Subnet         string
	Org            string
	Domain         string
	Zone           string
	User           string
	CspUser        string
	CspPassword    string
}
var NuageData NuageInfo

type VMData

type VMData struct {
	Eth            string
	UUID           string
	PortName       string
	Mac            string
	IP             string
	Netmask        string
	InterfaceVSDId string
}

func CreateContainerNet

func CreateContainerNet(name string, localVeth string) VMData

func CreateVMNet

func CreateVMNet(name string, eth string, vsdid string) VMData

type VMType

type VMType int
const (
	VM        VMType = 0
	Container VMType = 1
)

Jump to

Keyboard shortcuts

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