Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.OpenBGPDNeighbors1Services: OpenBGPD Neighbors/usr/local/pkg/openbgpd.incSettings/pkg_edit.php?xml=openbgpd.xml&id=0Neighbors/pkg.php?xml=openbgpd_neighbors.xmlGroups/pkg.php?xml=openbgpd_groups.xmlStatus/openbgpd_status.phpDescriptiondescrNeighborneighborDescriptiondescrinput80NeighborneighborNeighbor IP addressinput25GroupgroupnameAdd neighbor to BGP group.selectnonenonerowhelperParamatersparamatersNeighbor settings. Items ending with a X require a value. Leave the items without a trailing X's value blank.selectValueparmvalueWhen the WAN MS ping time is surpassed, item will failover to next hostinput15
$newoptions = array();
$new_groups = array();
foreach($config['installedpackages']['openbgpdgroups']['config'] as $item)
$new_groups[] = $item['name'];
$counter = 0;
foreach($new_groups as $group) {
$newoptions['option'][$counter]['name'] = $group;
$newoptions['option'][$counter]['value'] = $group;
$counter++;
}
$newoptions['option'][$counter]['name'] = "";
$newoptions['option'][$counter]['value'] = "";
$pkg['fields']['field'][2]['options'] = $newoptions;
$counter = 0;
foreach($pkg['fields']['field'] as $field) {
if($field['name'] == "group") {
$foundgroupid = $counter;
echo "found it: $counter";
}
$counter++;
}
openbgpd_install_conf();