38 Commits
Author SHA1 Message Date
TheGreatDocandTony Murray d475665601 Added BGP Peer Descriptions (#9165)
* Added BGP Peer Descriptions

* Fixed formatting

* Added to device routing tab too

* Some text formatting

* Test files

* Added default null to bgpPeerDescr

* Added db_schema.yaml

* Fix default value for bgpPeerDescr

* Fixed Order and Search box

* Added glyphicon for success/error

* Switch to toastr notification

* Removed unused bootstrap code
2018-09-10 22:54:46 -05:00
Tony MurrayandNeil Lathwood 561846a44b fix: Fiedx issues with new config init (#8242)
* Fix non-config defaults

* update processConfig and remove file
2018-02-12 09:15:44 +00:00
Tony MurrayandGitHub 1d777693e1 feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. (#7106)
* Refactor remove use of pear Net_IPv4 and Net_IPv6

Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%.  Please test.

Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.

Add support for ipv6 fo ipInNetwork() function

Add phpdocs to functions
Remove accidental inclusion

Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()

tidy parsing cidr network

Change to a class based implementation.

Update phpdocs.
Fully catch exceptions for hex parsing.

Fix mistake.

support older phpunit versions

Fix php shifting to negative with php 5

* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.

* Also remove colons from hex strings.

* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
SLMitchandTony Murray dbaad709fe fix: add column title under device bgp tab (#6747)
* add column title

* Change column name

Change the column name to `Family` to be consistent
2017-05-30 07:54:43 -05:00
Neil LathwoodandGitHub 1bbbaff58b refactor: Moved ifLabel -> cleanPort and updated the usage (#6288)
* refactor: Moved ifLabel -> cleanPort and updated the usage

* added list of tags allowed

* few updates as per comments from @murrant

* Added simple unit tests

* double display for javascript popover

* Remove ifNameDescr() function
Fix realtime port page

* remove accidental temp code

* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01:00
Neil LathwoodandGitHub 38cebc5fd7 feature: Added better BGP support for Arista (#6046)
* feature: Added better BGP support for Arista
2017-03-11 23:16:49 +00:00
David BellandNeil Lathwood ead3abb2c2 webui: Create correct link for BGP peers #5958 2017-03-05 19:42:39 +00:00
Tony MurrayandNeil Lathwood cbaab1462f Change the size of the bgp updates arrows. (#5913) 2017-02-15 23:16:03 +00:00
Richard MayhewandNeil Lathwood 47397d0083 webui: Updated icons to use Font Awesome (#5468) 2017-01-21 11:24:05 +00:00
Tony Murray 8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Neil LathwoodandGitHub e09f5c552c Merge pull request #3800 from murrant/rrd-create-remote
RRD Cleanup: centralize rrd_exists check, utilize data_update() and rrd_name()
2016-08-10 18:44:45 +01:00
laf 08c77862b9 Renamed variable for sql query 2016-08-02 23:38:08 +01:00
laf e54881df14 Improved junos BGP code + WebUI 2016-08-02 22:28:57 +01:00
Tony Murray 57650e4ffc Remove nfs requirement for distributed poller (with rrdtool 1.5+)
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
Aaron Daniels 4ebc2b1f33 - Modified code to use graph generation functions instead of calling overlib directly.
The graph generation functions check for the status of 'web_mouseover'.
2016-02-03 06:41:20 +10:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf d24a79f2ba Webui updates for BGP 2015-06-09 14:30:31 +01:00
laf b9dabae7d8 Updated BGP polling for Cisco to support CISCO-BGP4-MIB better 2015-06-02 16:32:39 +01:00
Adam Amstrong b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong 4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans 8df2b9b3f5 remove legacy variables, hopefully i didn't mess anything up
git-svn-id: http://www.observium.org/svn/observer/trunk@3134 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 18:38:11 +00:00
Adam Amstrong a12c71df4e quadgraphs -> graphrow
git-svn-id: http://www.observium.org/svn/observer/trunk@3093 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 16:49:38 +00:00
Tom Laermans 2667649d3c syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2970 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 13:56:23 +00:00
Adam Amstrong ee1517e38b ldap tls support
git-svn-id: http://www.observium.org/svn/observer/trunk@2880 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-27 23:36:19 +00:00
Adam Amstrong e9749884cd fix BGP page
git-svn-id: http://www.observium.org/svn/observer/trunk@2876 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-17 16:46:28 +00:00
Adam Amstrong a076ee0c10 show host/port on bgp neighbour page
git-svn-id: http://www.observium.org/svn/observer/trunk@2729 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-17 14:19:21 +00:00
Adam Amstrong a4bde74a48 pathces from wez to fix webinf stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2695 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-21 13:27:59 +00:00
Tom Laermans 9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Adam Amstrong 7930814d0d migrate routing/vrf&bgp to new urls
git-svn-id: http://www.observium.org/svn/observer/trunk@2501 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-19 08:54:48 +00:00
Adam Amstrong a88b4bb970 routing -> db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2332 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-16 10:44:50 +00:00
Tom Laermans 0d99fe7a53 cleanieclean
git-svn-id: http://www.observium.org/svn/observer/trunk@2215 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-01 20:29:31 +00:00
Adam Amstrong dddcf485dc fixes and visual representation of CEF switching.
git-svn-id: http://www.observium.org/svn/observer/trunk@2211 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-01 12:37:43 +00:00
Adam Amstrong 11bb5953ff fixes :>
git-svn-id: http://www.observium.org/svn/observer/trunk@2202 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-29 17:11:07 +00:00
Adam Amstrong 28558969c4 improvements to BGP stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2200 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-29 16:32:55 +00:00
Adam Amstrong b40b218f43 fix BGP a bit. move CEF to routing.
git-svn-id: http://www.observium.org/svn/observer/trunk@2102 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-19 21:54:43 +00:00
Adam Amstrong 7b0c48c0ff gogo bgp bullshit
git-svn-id: http://www.observium.org/svn/observer/trunk@2090 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-17 16:14:44 +00:00
Adam Amstrong e14e179e31 fuck you, svn
git-svn-id: http://www.observium.org/svn/observer/trunk@2089 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-17 15:55:38 +00:00