ipv6-prefix-generator's People
ipv6-prefix-generator's Issues
Random generating
generování specifikovaného počtu zcela náhodně generovaných prefixů (viz parametr RGR): generování začíná od nejnižších úrovní, na kterých mají být do trie přidány nové prefixy, což potenciálně usnadní kontroly při rozgenerovávání existujících prefixů (listů vstupní trie)
Get new prefixes
Get and return new generated full prefixes after tree traversing
Incorrect detection prefix leafs
input: 2001:0200:e000::/35, 2001:0418:5c03::/48
rgr: 0
depth_distribution: {35:1, 39:1, 48:1, 61: 1}
prefix_q: 2
This is a correct input. Expected flow: generating new prefixes. Issues:
-
raise ValueError(f"There is no leaf prefixes in trie for generate new prefixes on {depth} depth")
-
raise ValueError(f"There is no leaf prefixes in trie for generate new prefixes on {depth} depth")
Incorrect calculating prefix depth
Incorrect calculating prefix depth in binary trie. Eg. isn't possible to add a prefix with length 64.
Calculating new prefix Len in generating phase using tree traversal
Check depth distribution
Number of prefixes in input parameter depth distributions
should be equal (or probably less) than parameter prefix
which define final count of prefixes after generate
Depends on #4
Add input argument depth_distribution
Prefix input parameter
Check prefix
input parameter. Should be more(>)
or equal(=)
current count of prefixes in trie
- If
>
-> gonna generate - else
=
-> Nothing to do
Prefix nodes in particular level
Search nodes and count them by levels -> level search
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.