Documentation ¶
Index ¶
Constants ¶
View Source
const IfName string = "spartan"
Variables ¶
View Source
var Config = Network{ Name: "spartan-network", Interface: IfName, IPAM: IPAM{ Type: "host-local", RangeStart: net.IPv4(198, 51, 100, 10), RangeEnd: net.IPv4(198, 51, 100, 253), Subnet: types.IPNet{ IP: net.IPv4(198, 51, 100, 0), Mask: net.IPv4Mask(0xff, 0xff, 0xff, 0), }, }, }
TODO(asridharan): This needs to be derived from the spartan configuration.
View Source
var IPs = []net.IPNet{ net.IPNet{ IP: net.IPv4(198, 51, 100, 1), Mask: net.IPv4Mask(0xff, 0xff, 0xff, 0xff), }, net.IPNet{ IP: net.IPv4(198, 51, 100, 2), Mask: net.IPv4Mask(0xff, 0xff, 0xff, 0xff), }, net.IPNet{ IP: net.IPv4(198, 51, 100, 3), Mask: net.IPv4Mask(0xff, 0xff, 0xff, 0xff), }, }
TODO(asridharan): This needs to be derived from the spartan configuration.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.