[JIRA] Updated: (MDA-50) create stage to consolidate mdui:IPHint CIDR blocks
Ian Young (JIRA)
noreply at shibboleth.net
Mon Oct 8 05:05:22 EDT 2012
[ https://issues.shibboleth.net/jira/browse/MDA-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Young updated MDA-50:
-------------------------
Assignee: Ian Young (was: Chad La Joie)
> create stage to consolidate mdui:IPHint CIDR blocks
> ---------------------------------------------------
>
> Key: MDA-50
> URL: https://issues.shibboleth.net/jira/browse/MDA-50
> Project: Metadata Aggregator
> Issue Type: New Feature
> Components: SAML Metadata
> Affects Versions: 0.6
> Reporter: Ian Young
> Assignee: Ian Young
>
> CIDR blocks in a federation registry are probably arranged in terms the entity owner understands, for example one for each local subnet. We see this in the UK federation in the schools sector, with many individual ranges.
> It would be a slight optimisation to have a stage which can consolidate these into shorter prefixes. For example, the following ranges:
> 194.80.19.0/26
> 194.80.19.64/26
> Can be replaced by this one:
> 194.80.19.0/25
> I think this is fairly simple in principle, if you first order the list by both prefix length and address. Then, you can repeatedly remove any pair of entries which have the same prefix length and differ only by the last masked bit in their address and replace it with the lower of those addresses but with a prefix shorter by one. Any block which is contained entirely within a block earlier in the list may also be removed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list