[ixpmanager] v4 OpenBGPd Template
Barry O'Donovan
barry.odonovan at inex.ie
Tue Feb 28 11:33:06 GMT 2017
So, first question: if you revert template to what it was, does it work?
- Barry
Mike Hammett wrote:
> root at ixpm:/srv/ixpmanager# php -l config/routers.php
> No syntax errors detected in config/routers.php
>
>
> <?php
>
> // barry 20161103
> //
> // We want/need to move router details into the database but we need to
> design an
> // appropriate schema first. Possibly aligning it with refactoring
> VlanInterface
> // to have a sub-table for protocol details (on a per protocol basis).
> //
> // In the meantime, here is a rough design on what the database would
> hold. This
> // is currently being used by APIv4 to generate configurations.
> //
>
> return [
> // route servers/collectors
>
> 'rs1-ipv4' => [
> 'vlan_id' => 1,
> 'protocol' => 4,
> 'type' => 'RS', // RC|RS|AS112?
> 'name' => 'STL-RIX - Route Server 1 - IPv4',
> 'shortname' => 'RS1 - IPv4',
> 'router_id' => '206.71.10.1',
> 'peering_ip' => '206.71.10.1',
> 'asn' => 13681,
> 'software' => 'bird', //left alone because docs say there's no
> use for it
> 'mgmt_ip' => '10.0.199.101',
> 'api' => 'http://rc1-lan1-ipv4.mgmt.example.com/api',
> //left alone because documentation says the only use case so far is for
> Birdseye, which we're not using
> 'api_type' => 'birdseye', //left alone because documentation
> says the only use case so far is for Birdseye, which we're not using
> 'lg_access' => Entities\User::AUTH_PUBLIC,
> 'quarantine' => false,
> 'bgp_lc' => false,
> 'template' => 'api/v4/router/server/openbgpd/standard',
> ],
>
> // ...
>
> ];
>
>
>
>
> -----
> Mike Hammett
>
> Intelligent Computing Solutions <http://www.ics-il.com/>
> <https://www.facebook.com/ICSIL><https://plus.google.com/+IntelligentComputingSolutionsDeKalb><https://www.linkedin.com/company/intelligent-computing-solutions><https://twitter.com/ICSIL>
>
> Midwest Internet Exchange <http://www.midwest-ix.com/>
> <https://www.facebook.com/mdwestix><https://www.linkedin.com/company/midwest-internet-exchange><https://twitter.com/mdwestix>
>
> The Brothers WISP <http://www.thebrotherswisp.com/>
> <https://www.facebook.com/thebrotherswisp><https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg>
> ------------------------------------------------------------------------
> *From: *"Barry O'Donovan" <barry.odonovan at inex.ie>
> *To: *"INEX IXP Manager Mailing List" <ixpmanager at inex.ie>
> *Sent: *Tuesday, February 28, 2017 5:23:43 AM
> *Subject: *Re: [ixpmanager] v4 OpenBGPd Template
>
>
>
> Mike Hammett wrote:
>> I did copy and customize the routers.php.
>>
>> Should I move this to an issue or are we still in assumed user error? :-p
>
> Assumed user error ;-P
>
> It's working fine in production here.
>
> Does the routers.php file validate for syntax:
>
> php -l config/routers.php
>
>
> If so, can you share its contents?
>
> - Barry
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
More information about the ixpmanager
mailing list