These are chat archives for allegro/ralph

28th
Oct 2015
Michał Suszko
@msuszko
Oct 28 2015 14:34
hmm models.PositiveIntegerField is to small to store ip address for Network.min_ip and .max.ip
why don'y you use GenericIPAddressField?
Michał Suszko
@msuszko
Oct 28 2015 14:45
PositiveIntegerField is just IntegerField with > 0 constraint, so max value is 2^31 and last address you can store in it is 127.255.255.255
✪ vi4m Marcin Kliks
@vi4m
Oct 28 2015 15:12
looks like really shitty bug - we should use only GenericIPAddressField
Michał Suszko
@msuszko
Oct 28 2015 15:18
I have test env with 806 networks and 2342 IPs and ralph.data_center.models.networks.get_network_tree has been running for 10 minutes before I interrupted it, so it needs better algorithm probably
@vi4m we spent some time discussing how to squeeze our current CMDB (asset <-> administrator) mess into Ralph's model, and one support team for an asset could work for us, but one team for a person is a problem
✪ vi4m Marcin Kliks
@vi4m
Oct 28 2015 15:25
@msuszko could you propose some REP with possible solutions? i'm sure we can adapt some solution which is elegant and flexible
either extending asset model(to obey team requirement)
and leaving just concrete support person - as a 1 scenario
or changing user/team structure
we will decide then
Michał Suszko
@msuszko
Oct 28 2015 15:30
OK