Erik Hansson
Erik Hansson
> I'd suggest that if an IP address gets its VRF membership from its enclosing parent prefix, then it should also get its prefix length from it as well. That...
> While the "automagic" management of the prefix assignment might be useful, I think it might be more beneficial to instead allow manual management of the prefix assignment. This presents...
There is actually another way to deal with the case of prefix lengths; store two parents. - One parent is the _direct parent_, the smallest matching prefix containing the address....
> > Yes, but you'd have to be extremely careful about it. For example, if you create 192.168.0.0/16 and 192.168.0.0/24, the former will be assigned as the parent of the...
@jeremystretch, I'd like to nominate this for inclusion in the triage for v4.4.
> ```sql > (p.vrf_id = prefix.vrf_id OR (p.vrf_id IS NULL AND prefix.vrf_id IS NULL)) > ``` I don't know if the query planner catches this, but you could simplify it...