ADDED:
* Explicit subnet ordering option for VLSM
This commit is contained in:
brent saner
2025-04-03 18:35:35 -04:00
parent 166fb3be23
commit 0c8577f149
4 changed files with 25 additions and 14 deletions

View File

@@ -79,6 +79,13 @@ type VLSMSplitter struct {
You almost assuredly do not want to do this.
*/
Ascending bool
/*
Explicit, if true, will ignore Ascending completely and split in the explicit order of PrefixLengths.
This has the potential to be *extremely* wasteful of addressing space as the resulting blocks are
VERY unoptimized.
*/
Explicit bool
// PrefixLengths contains the prefix lengths of each subnet to split out from the network.
PrefixLengths []uint8 `json:"prefixes" xml:"prefixes>prefix" yaml:"Prefix Lengths"`
*BaseSplitter `json:"net" xml:"net,omitempty" yaml:"network,omitempty"`