sriov

package
v0.0.0-...-445419e Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseVF

func ReleaseVF(conf *NetConf) error

func SetupVF

func SetupVF(conf *NetConf) error

Types

type NetConf

type NetConf struct {
	Master string `json:"master"`
	MAC    string `json:"mac"`
	VF     int    `json:"vf"`
	Vlan   int    `json:"vlan"`
	// ex: "192.168.1.2/24"
	IPAddr  string `json:"ip"`
	Gateway string `json:"gateway"`
	IfName  string `json:"ifname"`
	NetNs   string `json:"netns"`
}

Jump to

Keyboard shortcuts

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