Versions in this module Expand all Collapse all v1 v1.0.1 Aug 11, 2020 v1.0.0 Aug 7, 2019 Changes in this version + type Allocator struct + Allocated *NetResource + func NewAllocator() *Allocator + func (al *Allocator) AllocPyHost() IAllocator + func (al *Allocator) ApplyIP() IAllocator + func (al *Allocator) Done() (IResource, error) + func (al *Allocator) GenMac() IAllocator + type IAllocator interface + AllocPyHost func() IAllocator + ApplyIP func() IAllocator + Done func() (IResource, error) + GenMac func() IAllocator + type IResource interface + ListAllocated func() + type NetResource struct + IP string + IpSeg string + Macs []string + PyIP string + func (nr *NetResource) ListAllocated()