vlan

package
v0.0.0-...-6e18aa0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// flat option
	FlagVlanName   = cli.StringFlag{Name: "name", Usage: "the vlan name"}
	FlagVlanSubnet = cli.StringFlag{Name: "subnet", Usage: "the vlan subnet"}
	FlagHostIF     = cli.StringFlag{Name: "host-interface", Value: CliVlanHostIF, Usage: "parent of vlan device"}

	FlagAttachName    = cli.StringFlag{Name: "name", Usage: "the vlan name of the container will join"}
	FlagContainerName = cli.StringFlag{Name: "container-name", Usage: "the container name which want to config"}
)

the follew option will see in help doc. can set the default value;

View Source
var (
	CliAttachName    string
	CliContainerName string
	CliVlanSubnet    string
	CliVlanHostIF    string = "eth0"
)

vlan optiion.

Functions

func CreateVlan

func CreateVlan(ctx *cli.Context)

func Vlan

func Vlan(ctx *cli.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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