This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework IPAMClient.random_blocks() to avoid collecting the whole list.
Instead use _random_subnets_from_cidrs() to generate blocks form the list of CIDRs. Use _random_blocks in _new_affine_block to avoid duplication.
- Loading branch information
Shaun Crampton
committed
Apr 12, 2016
1 parent
775edb0
commit bd1bafa
Showing
2 changed files
with
187 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters