I want to get all the prefixes that contain my given prefix. For example:
rtree_roa = radix.Radix()
rtree_roa.add("188.136.189.0/24")
rtree_roa.add("188.136.188.0/23")
rtree_roa.add("188.136.0.0/16")
When I given the prefix "188.136.189.0/24", the radix can response the list include "188.136.189.0/24", "188.136.188.0/23" and "188.136.0.0/16".
I want to get all the prefixes that contain my given prefix. For example: rtree_roa = radix.Radix() rtree_roa.add("188.136.189.0/24") rtree_roa.add("188.136.188.0/23") rtree_roa.add("188.136.0.0/16")
When I given the prefix "188.136.189.0/24", the radix can response the list include "188.136.189.0/24", "188.136.188.0/23" and "188.136.0.0/16".
Can you add this function in class RadixTree?