Italiano English
Modifica History Actions

Differenze per "capresolver"

Differenze tra le versioni 4 e 5
Versione 4 del 2012-05-24 11:14:01
Dimensione: 995
Autore: claudyus
Commento:
Versione 5 del 2012-05-24 11:36:49
Dimensione: 1034
Autore: claudyus
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 5: Linea 5:
The graph utils is placed inside [[github misc_tool repo]] and can be used to render a graph of the possible cap collision taking a subset of city as input. The graph utils is placed inside [[https://github.com/ninuxorg/misc_tools|github misc_tool repo]] and can be used to render a graph of the possible cap collision taking a subset of city as input.

Cap2NinuxAddress Resolver

The cap2ninuxaddress resolver is an standard way to calculare the ZIPCODE part of the ipv4 addressing used inside ninux from a legacy italian CAP code.

The graph utils is placed inside github misc_tool repo and can be used to render a graph of the possible cap collision taking a subset of city as input.

For example if the cap resolver is

NINUXCAP = CAP %255 and the given city are:

citylist = ["Pisa", "Roma", "Ostia", "Zagarolo", "Ladispoli", "Catanzaro", "Trieste", "Pomezia",
        "Viterbo", "Manziana", "Montecatini terme", "Carrara", "Cosenza", "Reggio Calabria", "Mistretta",
        "Vittoria", "Lecce", "Foggia", "Pescara", "Reggello", "Verona", "Monza", "Stregna" #questo vince su tutti
        , "", "", "", "", "", "", "", "", "", ""]

The result will be something like: cap_ninux.png

The "ALGO" to calcolate the cap should be:

  • Compatible as possible with current numeration
  • Reduce the conflict as possible