23 Dec
2003
23 Dec
'03
10:02 a.m.
Hi George, On 2003-12-23 08:49:15 +1000, George Michaelson wrote:
wouldn't it be easier to include a bootstrap.sql file, which takes as input a well formed object, and does <handwaving> to prep it into the SQL back end?
or a bootstrap.sh script, which asks 2-3 intelligent questions and does the same?
I'm not clear as to what we want bootstrap.sql or bootstrap.sh to do, but perhaps it is a good idea to initialise the DB with - a person object, - a mntner object, - a 0.0.0.0/0 inetnum object, - a ::/0 inet6num object, - and a AS1 - AS65534 as-block object, even if some of them are not needed for some setups and some of them must be different for some other setups.
-George
-- Engin Gunduz RIPE NCC Software Engineering Department