These 8 commits are when the Protocol Buffers files have changed:
| Commit: | 996e681 | |
|---|---|---|
| Author: | GeertJohan | |
| Committer: | GeertJohan | |
Make the network and broadcast address of a prefix allocatable on demand Every prefix reserves its network and (IPv4) broadcast address at creation (the FIXME in newPrefix). For prefixes used as routed pools, where no L2 semantics apply, this wastes addresses: a /30 yields 2 usable instead of 4. - NewPrefix accepts options; WithNetworkAndBroadcastAllocatable() creates a prefix whose network and broadcast address are allocatable like any other address. - Ipamer.SetPrefixNetworkAndBroadcastAllocatable edits the flag on an existing prefix: making the addresses allocatable is always possible, reserving them again fails while either address is allocated. - The flag persists through all storages (prefixJSON) and gob; data from before this field decodes to the previous behavior (reserved). - hasIPs() and the child prefix release check account for the flag, so a prefix with allocatable boundary addresses cannot be deleted while it holds a single allocation. The child release check previously allowed up to 2 ips regardless of address family; it now uses hasIPs(). - grpc: network_and_broadcast_allocatable on Prefix and CreatePrefixRequest, a new SetPrefixNetworkAndBroadcastAllocatable rpc, and the cli flag --network-and-broadcast-allocatable. The proto3 zero values match the previous behavior, so existing clients and servers are unaffected.
| Commit: | 39e032b | |
|---|---|---|
| Author: | Stefan Majer | |
Add NewTestServer helper, fix context handling in tests
The documentation is generated from this commit.
| Commit: | 10bef02 | |
|---|---|---|
| Author: | Stefan Majer | |
Expose prefixes overlapping via grpc to reduce api dependency
| Commit: | aacd03b | |
|---|---|---|
| Author: | Stefan Majer | |
| Committer: | GitHub | |
Migrate to go-1.22 (#136)
The documentation is generated from this commit.
| Commit: | cbe26d8 | |
|---|---|---|
| Author: | Dave Tucker | |
| Committer: | GitHub | |
Support Namespaces (#96)
| Commit: | 7d78691 | |
|---|---|---|
| Author: | Harsh Thakur | |
| Committer: | GitHub | |
Acquire specific child cidr (#98) Signed-off-by: Harsh Thakur <harsh@civo.com> Co-authored-by: Harsh Thakur <harsh@civo.com>
| Commit: | 1d3698a | |
|---|---|---|
| Author: | Stefan Majer | |
| Committer: | GitHub | |
Expose Usage via grpc (#86)
| Commit: | 56e109e | |
|---|---|---|
| Author: | Stefan Majer | |
| Committer: | GitHub | |
grpc service (#82)