mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-16 06:26:21 +00:00
Support IPRequest to specify IP address for interface
This commit is contained in:
committed by
Tomofumi Hayashi
parent
d1c8a3d93f
commit
f4068d18bd
@@ -83,6 +83,9 @@ func LoadDelegateNetConf(bytes []byte, net *NetworkSelectionElement, deviceID st
|
||||
if net.MacRequest != "" {
|
||||
delegateConf.MacRequest = net.MacRequest
|
||||
}
|
||||
if net.IPRequest != "" {
|
||||
delegateConf.IPRequest = net.IPRequest
|
||||
}
|
||||
}
|
||||
|
||||
delegateConf.Bytes = bytes
|
||||
|
Reference in New Issue
Block a user