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 Tomofumi Hayashi
parent 550f68024f
commit deb2f2f64c
5 changed files with 118 additions and 17 deletions

View File

@@ -73,6 +73,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