Documentation
¶
Index ¶
Constants ¶
View Source
const ( MethodReceiver = "NetworkDriver" TxQueueLen = 0 )
View Source
const ( IPVLAN_MODE_L2 ipvlanType IPVLAN_MODE_L3 )
Variables ¶
View Source
var ( // Exported user CLI flag config options FlagIPVlanMode = cli.StringFlag{Name: "mode", Value: ipVlanMode, Usage: "name of the ipvlan mode [l2|l3]. (default: l2)"} FlagGateway = cli.StringFlag{Name: "gateway", Value: "", Usage: "IP of the default gateway (defaultL2 mode: first usable address of a subnet. Subnet 192.168.1.0/24 would mean the container gateway to 192.168.1.1)"} FlagSubnet = cli.StringFlag{Name: "ipvlan-subnet", Value: defaultSubnet, Usage: "subnet for the containers (l2 mode: 192.168.1.0/24)"} FlagMtu = cli.IntFlag{Name: "mtu", Value: cliMTU, Usage: "MTU of the container interface (default: 1500)"} FlagIpvlanEthIface = cli.StringFlag{Name: "host-interface", Value: ipVlanEthIface, Usage: "(required) interface that the container will be communicating outside of the docker host with"} )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.