Support MacRequest to specify MAC address for interface

This commit is contained in:
Tomofumi Hayashi
2018-08-28 19:21:50 +09:00
committed by dougbtv
parent 6b573e8c4b
commit dae85d7781
5 changed files with 118 additions and 17 deletions

View File

@@ -62,6 +62,7 @@ type DelegateNetConf struct {
Conf types.NetConf
ConfList types.NetConfList
IfnameRequest string `json:"ifnameRequest,omitempty"`
MacRequest string `json:"macRequest,omitempty"`
// MasterPlugin is only used internal housekeeping
MasterPlugin bool `json:"-"`
// Conflist plugin is only used internal housekeeping