- 13 Nov, 2012 5 commits
-
-
Tomas Hlavacek authored
Fix parsing od the first leading codes/charactes in Cisco show bgp ipv4/6 received/advertised when all four positions are used for codes line on line: *>i 92.43.24.0/21 217.31.48.125 0 512 0 47949 47949 i
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
Add timeout parameter to defaults.
-
Tomas Hlavacek authored
Add more explanatory exception message to BIRD timeout handling code than the previos catch-all else branch with one Exception was.
-
Tomas Hlavacek authored
Add debugging messages to ulg.py around new worker process forking.
-
- 12 Nov, 2012 5 commits
-
-
Alix Guillard authored
Pure styling fixes.
-
Tomas Hlavacek authored
ulg.css obsoleted as Alix created brand new style.css.
-
Tomas Hlavacek authored
Fix javascript catch when setting document.xxx.innerHTML='<something='somethingelse'>'; to escape inner quotes.
-
Alix Guillard authored
Use CSS for whole page formating. Rework forms (including the autogenerated parts). Change table color generation mechanism.
-
Tomas Hlavacek authored
Fix IPv6 prefix annotation in show route all ... command in BIRD command decorator.
-
- 11 Nov, 2012 1 commit
-
-
Tomas Hlavacek authored
Add possibility to set a name of the BIRD router in BirdRouterLocal object.
-
- 05 Nov, 2012 1 commit
-
-
Tomas Hlavacek authored
BIRD over SSH over pexpect returns first line with two birdc prompt concatenated to the result (answer). This needs to be removed as well as the first two lines that contains BIRD login message.
-
- 26 Oct, 2012 3 commits
-
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
-
- 19 Oct, 2012 5 commits
-
-
Tomas Hlavacek authored
Refactor rescanPeers and rescanRoutingTables. Replace getPeers and getRoutingTables functions. Add support for save and load peers list and RT list into persistent storage. Add rescanHook function. Add loadPersistentInfo call into init of BirdRouterRemote.
-
Tomas Hlavacek authored
Add BirdRouterRemote class. Implement SSH pexpect session handler. Inherit/copy synchronous rescanPeers rescanRoutingTables from BirdRouterLocal (slow, TODO: implement async versions).
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
Issue logout when the command finished and result is written.
-
- 18 Oct, 2012 2 commits
-
-
Tomas Hlavacek authored
Refactor BIRD BGP graph generation by means of finishHook and arbitrary data in sessions. FinishHook is used to set off result parsing and the preprocessed list of ASes in paths is saved along with AS names resolved from whois in the session data. In the display phase it is only transformed into nodes and passed to graphviz.
-
Tomas Hlavacek authored
Implement arbitrary data into sessions. Implement finishHook to TextCommand. Refactor graph generation of Cisco by the abovementoined mechanisms. Add whois client. Refactor whois client calls in ulg.py in action whois. Add simple annotation by AS names in BIRD BGP graph.
-
- 17 Oct, 2012 2 commits
-
-
Tomas Hlavacek authored
ARIN whois server does not allow queries for 1.2.0.0/20 but we can query any IP address in that block. Remove the /<netmask> part and it works.
-
Tomas Hlavacek authored
Implement whois CGI action. Link decorator helper functions to this new action instead of RIPE DB web interface. Put link to URLs to RIPE DB web interface frol old defaults.getANSURL() and defaults.getIPPrefixURL() functions to the header of the new Whois output in the modal window. Open the links to RIPE DB in new windows/tabs.
-
- 12 Oct, 2012 1 commit
-
-
Tomas Hlavacek authored
Prepare for BIRD remote router via SSH by refactoring current class BirdLocalRouter class and pull out common stuff to a new BirdRouter abstract class. Add (now empty) BirdRemoteRouter class.
-
- 11 Oct, 2012 1 commit
-
-
Tomas Hlavacek authored
IP address annotation (clickable modal window/href) in the show bgp ipv4/6 unicas <prefix> output added. In future it should be linked via decorator_helper to whois client / DNS resolver to give more meaningful explanation of observed network topology.
-
- 10 Oct, 2012 6 commits
-
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
Fix condition when the CiscoCommandShowBgpIPv46Select.decorateResult() hits the end of the result array/file and the e index falls beyond the end which causes exception.
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
Also prepare Cisco for decorators of show bgp ipv4/6 commands.
-
Tomas Hlavacek authored
Bugfix situation when listing slice is cut from text in session result file it may happen that multi-line result is cut apart on listing boundary which causes errors in table generation function of sh bgp ipv4/6 unicast neigh <ip> received-routes and simmilar (handled by the same shared code) commands. The errors actually means that there is incomplete records because the cut part is missing (it might be beginning of the first record or the end of the last record). Also URL generation for modal windows was simplified.
-
- 09 Oct, 2012 1 commit
-
-
Tomas Hlavacek authored
Refactor URL generation aparatus in decorator_helper to simplify linking modal windows. Bugfix BIRD graph parameters unwanted spreading/copying.
-
- 07 Oct, 2012 1 commit
-
-
Tomas Hlavacek authored
Slightly refactor the BIRD config and RT table parser. Graph bindings are based on but less complicated than Cisco ones.
-
- 04 Oct, 2012 3 commits
-
-
Tomas Hlavacek authored
Refactor bgp_graph_gen function and subfunctions. Add sh bgp ipv6 uni command with BGP graph decorator. Add label escaping and vertex ID transformation in order to avoid forbidden colons in the vertex ID. The colon char is a separator of values in the pydot interface or so.
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
-
- 03 Oct, 2012 1 commit
-
-
Tomas Hlavacek authored
-
- 27 Sep, 2012 1 commit
-
-
Tomas Hlavacek authored
Rework parameter passing from (result,router=0,decorator_helper,resrange,...) to more compresehnsive version (session,decorator_helper). The session contains or should contain all the parameters needed but there is a certain indirection because session is being defined later in ulg.py. The rationale is that even thouhg ulg.py can no be imported into files containing decorators it is stable part of the ULG and therefore it might be used for building decorators based on classes defined there (even though the classes are not directly accessible, which can be overcomed by passing instances or using decorator_helper to do needed class instantiation. Modules for BIRD as well as Cisco has been changed to reflect this changes.
-
- 26 Sep, 2012 1 commit
-
-
Tomas Hlavacek authored
Fix some woes in Cisco regexps. Fix minor display bugs.
-