Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AppLabel - AppLabel = "osp-openstackmacaddress" // FinalizerName - FinalizerName = "openstackmacaddress.osp-director.openstack.org" )
Variables ¶
This section is empty.
Functions ¶
func CreateMACWithPrefix ¶
CreateMACWithPrefix - create random mac address using 3 byte prefix
func IsUniqMAC ¶
func IsUniqMAC(macNodeStatus map[string]ospdirectorv1beta1.OpenStackMACNodeStatus, mac string) bool
IsUniqMAC - check if the hostname is uniq or already present in the reservations TODO: check if all MAC addresses with prefix from mac got consumed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.