Add func (v *VirtioNetworkDeviceConfiguration) GetMACAddress() string
?
#136
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
https://developer.apple.com/documentation/virtualization/vznetworkdeviceconfiguration/3656653-macaddress?language=objc
(I assume this is the same behaviour as calling NewRandomLocallyAdministeredMACAddress() explicitly)
I could not find a way to get the value of this default address
Describe the solution you'd like
This address is useful to know on the host as "/var/db/dhcpd_leases" can be parsed to do MAC address -> IP address look ups.
And the property is readwrite ( https://developer.apple.com/documentation/virtualization/vznetworkdeviceconfiguration/3656653-macaddress?language=objc ) so a getter in the go API would be nice to have
Describe alternatives you've considered
I'm suggesting this to make the API nicer, but it's easy to workaround with NewRandomLocallyAdministeredMACAddress()
The text was updated successfully, but these errors were encountered: