[ixpmanager] Adding Customers
Nick Hilliard
nick at inex.ie
Sat Mar 2 22:55:53 GMT 2013
On 02/03/2013 21:35, Simon Vass wrote:
> The problem seems to be with the following line.
>
> $form->getElement('irrdb')->setValue($object->getIRRDB()->getId());
>
> in CustomerController.php
Hmm, ok. Are there any entries in the irrdbconfig table?
If not, here's a dump of what we use - see attached. You can just feed
this directly into sql using:
% mysql -u root dbname < irrdb-config.sql
Note that the "Source" value must be a comma separated list of source:
entries that you would find in IRRDBs. Also it's important that there are
no spaces (hmm, need to fix this).
This table specifies how IXP Manager should query the IRRDBs for prefix
list filters for Route Server clients. Blindly querying the IRRDBs will
end you up with a whole pile of crap in your prefix filter lists, because
of IRRDBs like Level3 and ALTDB, where there is no garbage collection
mechanism.
Anyway, try this out and see if it fixes your problem.
Nick
-------------- next part --------------
LOCK TABLES `irrdbconfig` WRITE;
/*!40000 ALTER TABLE `irrdbconfig` DISABLE KEYS */;
INSERT INTO `irrdbconfig` VALUES (1,'whois.ripe.net','ripe','RIPE','RIPE Query from RIPE Database'),(2,'whois.radb.net','irrd','RADB','RADB Query from RADB Database'),(3,'whois.lacnic.net','ripe','LACNIC','LACNIC Query from LACNIC Database'),(4,'whois.apnic.net','ripe','APNIC','APNIC Query from APNIC Database'),(5,'rr.level3.net','ripe','LEVEL3','Level3 Query from Level3 Database'),(6,'whois.radb.net','irrd','ARIN','ARIN Query from RADB Database'),(7,'whois.radb.net','irrd','RADB,ARIN','RADB+ARIN Query from RADB Database'),(8,'whois.radb.net','irrd','ALTDB','ALTDB Query from RADB Database'),(9,'whois.radb.net','irrd','RADB,RIPE','RADB+RIPE Query from RADB Database'),(10,'whois.radb.net','irrd','RADB,APNIC,ARIN','RADB+APNIC+ARIN Query from RADB Database\r\n');
/*!40000 ALTER TABLE `irrdbconfig` ENABLE KEYS */;
UNLOCK TABLES;
More information about the ixpmanager
mailing list