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.xmlRaw config/openbgpd_raw.phpStatus/openbgpd_status.phpDescriptiondescrGroupgroupnameNeighborneighborDescriptiondescrinput80NeighborneighborNeighbor IP addressinput25TCP-MD5 keymd5sigkeyThe md5 key to communicate with the peer. Does not work with Cisco BGP routers. You need the Local Addr option to be set.inputTCP-MD5 passwordmd5sigpassThe md5 password to communicate with the peer. Use this when communicating with a Cisco BGP router. You need the Local Addr option to be set.inputGroupgroupnameAdd neighbor to BGP group.selectNeighbor ParametersNeighbor ParametersrowhelperParametersparametersNeighbor settings.selectValueparmvalueinput25
$newoptions = array();
$new_groups = array();
if($config['installedpackages']['openbgpdgroups']['config']) {
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'][4]['options'] = $newoptions;
$counter = 0;
foreach($pkg['fields']['field'] as $field) {
if($field['name'] == "group") {
$foundgroupid = $counter;
echo "found it: $counter";
}
$counter++;
}
} else {
$newoptions['option'][0]['name'] = "";
$newoptions['option'][0]['value'] = "";
$pkg['fields']['field'][4]['options'] =$newoptions;
}
openbgpd_install_conf();
grey_out_value_boxes();