<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>root@ixpm:/srv/ixpmanager# php -l config/routers.php<br>No syntax errors detected in config/routers.php<br><br><br><?php<br><br>// barry 20161103<br>//<br>// We want/need to move router details into the database but we need to design an<br>// appropriate schema first. Possibly aligning it with refactoring VlanInterface<br>// to have a sub-table for protocol details (on a per protocol basis).<br>//<br>// In the meantime, here is a rough design on what the database would hold. This<br>// is currently being used by APIv4 to generate configurations.<br>//<br><br>return [<br>    // route servers/collectors<br><br>    'rs1-ipv4' => [<br>        'vlan_id'    => 1,<br>        'protocol'   => 4,<br>        'type'       => 'RS',   // RC|RS|AS112?<br>        'name'       => 'STL-RIX - Route Server 1 - IPv4',<br>        'shortname'  => 'RS1 - IPv4',<br>        'router_id'  => '206.71.10.1',<br>        'peering_ip' => '206.71.10.1',<br>        'asn'        => 13681,<br>        'software'   => 'bird', //left alone because docs say there's no use for it<br>        'mgmt_ip'    => '10.0.199.101',<br>        '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<br>        'api_type'   => 'birdseye', //left alone because documentation says the only use case so far is for Birdseye, which we're not using<br>        'lg_access'  => Entities\User::AUTH_PUBLIC,<br>        'quarantine' => false,<br>        'bgp_lc'     => false,<br>        'template'   => 'api/v4/router/server/openbgpd/standard',<br>    ],<br><br>    // ...<br><br>];<br><br><br><div><span name="x"></span><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none;">-----</span><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><span style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; display: inline ! important; float: none;">Mike Hammett</span><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><a href="http://www.ics-il.com/" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Intelligent Computing Solutions</a><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><a href="https://www.facebook.com/ICSIL" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/fbicon.png" src="http://www.ics-il.com/images/fbicon.png" style="border: 0pt none;"></a><a href="https://plus.google.com/+IntelligentComputingSolutionsDeKalb" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/googleicon.png" src="http://www.ics-il.com/images/googleicon.png" style="border: 0pt none;"></a><a href="https://www.linkedin.com/company/intelligent-computing-solutions" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/linkedinicon.png" src="http://www.ics-il.com/images/linkedinicon.png" style="border: 0pt none;"></a><a href="https://twitter.com/ICSIL" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/twittericon.png" src="http://www.ics-il.com/images/twittericon.png" style="border: 0pt none;"></a><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><a href="http://www.midwest-ix.com/" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">Midwest Internet Exchange</a><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><a href="https://www.facebook.com/mdwestix" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/fbicon.png" src="http://www.ics-il.com/images/fbicon.png" style="border: 0pt none;"></a><a href="https://www.linkedin.com/company/midwest-internet-exchange" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/linkedinicon.png" src="http://www.ics-il.com/images/linkedinicon.png" style="border: 0pt none;"></a><a href="https://twitter.com/mdwestix" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/twittericon.png" src="http://www.ics-il.com/images/twittericon.png" style="border: 0pt none;"></a><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><a href="http://www.thebrotherswisp.com/" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">The Brothers WISP</a><br style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><a href="https://www.facebook.com/thebrotherswisp" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/fbicon.png" src="http://www.ics-il.com/images/fbicon.png" style="border: 0pt none;"></a><a href="https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"><img src="http://www.ics-il.com/images/youtubeicon.png" src="http://www.ics-il.com/images/youtubeicon.png" style="border: 0pt none;"></a><span name="x"></span><br></div><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Barry O'Donovan" <barry.odonovan@inex.ie><br><b>To: </b>"INEX IXP Manager Mailing List" <ixpmanager@inex.ie><br><b>Sent: </b>Tuesday, February 28, 2017 5:23:43 AM<br><b>Subject: </b>Re: [ixpmanager] v4 OpenBGPd Template<br><br><br><br>Mike Hammett wrote:<br>> I did copy and customize the routers.php.<br>> <br>> Should I move this to an issue or are we still in assumed user error?  :-p<br><br>Assumed user error ;-P<br><br>It's working fine in production here.<br><br>Does the routers.php file validate for syntax:<br><br>php -l config/routers.php<br><br><br>If so, can you share its contents?<br><br> - Barry<br><br><br><br>_______________________________________________<br>INEX IXP Manager mailing list<br>ixpmanager@inex.ie<br>https://www.inex.ie/mailman/listinfo/ixpmanager<br></div><br></div></body></html>