Describe your package here Describe your package requirements here Currently there are no FAQ items provided. OpenBGPDNeighbors 1 Services: OpenBGPD Neighbors /usr/local/pkg/openbgpd.inc Settings /pkg_edit.php?xml=openbgpd.xml&id=0 Neighbors /pkg.php?xml=openbgpd_neighbors.xml Groups /pkg.php?xml=openbgpd_groups.xml Raw config /openbgpd_raw.php Status /openbgpd_status.php Description descr Group groupname Neighbor neighbor Description descr input 80 Neighbor neighbor Neighbor IP address input 25 TCP-MD5 key md5sigkey The md5 key to communicate with the peer. Does not work with Cisco BGP routers. input TCP-MD5 password md5sigpass The md5 password to communicate with the peer. Use this when communicating with a Cisco BGP router. input Group groupname Add neighbor to BGP group. select none none rowhelper Parameters parameters Neighbor settings. select Value parmvalue input 25 $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();