IP Allocation Management

Using the Ring CRDT and Weave gossip, provides an interface
for the weave script to allocate IP addresses in `weave run`,
`weave start` and `weave expose`.

See docs/ipam.md for implementation details, and site/features.md
for user-visible changes.
This commit is contained in:
Bryan Boreham committed 2015-05-14 17:44:06 +01:00
1 parent 72112d7aef
commit 3cd1a17c23
22 files changed
+2930 -80

No files matched your search

+7
View File
@@ -11,3 +11,10 @@ func CheckWarn(e error) {
Warning.Println(e)
}
}
// Assert test is true, panic otherwise
func Assert(test bool) {
if !test {
panic("Assertion failure")
}
}