mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
libnetwork: macvlan: clean up some consts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
aec4853498
commit
9fba1514d2
1 changed files with 7 additions and 9 deletions
|
@ -17,17 +17,15 @@ const (
|
|||
vethLen = 7
|
||||
containerVethPrefix = "eth"
|
||||
vethPrefix = "veth"
|
||||
macvlanType = "macvlan" // driver type name
|
||||
modePrivate = "private" // macvlan mode private
|
||||
modeVepa = "vepa" // macvlan mode vepa
|
||||
modeBridge = "bridge" // macvlan mode bridge
|
||||
modePassthru = "passthru" // macvlan mode passthrough
|
||||
parentOpt = "parent" // parent interface -o parent
|
||||
modeOpt = "_mode" // macvlan mode ux opt suffix
|
||||
macvlanType = "macvlan" // driver type name
|
||||
modePrivate = "private" // macvlan mode private
|
||||
modeVepa = "vepa" // macvlan mode vepa
|
||||
modeBridge = "bridge" // macvlan mode bridge
|
||||
modePassthru = "passthru" // macvlan mode passthrough
|
||||
parentOpt = "parent" // parent interface -o parent
|
||||
driverModeOpt = "macvlan_mode" // macvlan mode ux opt suffix
|
||||
)
|
||||
|
||||
var driverModeOpt = macvlanType + modeOpt // mode --option macvlan_mode
|
||||
|
||||
type endpointTable map[string]*endpoint
|
||||
|
||||
type networkTable map[string]*network
|
||||
|
|
Loading…
Reference in a new issue