- 24 Oct, 2012 1 commit
-
-
Tomas Hlavacek authored
Add Debian installation section with Debian-specific package names.
-
- 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.
-
- 23 Sep, 2012 1 commit
-
-
Tomas Hlavacek authored
RT table selection support added to commands show route table <RT> for <IP> show route table <RT> protocol <peer> show route table <RT> all for <IP>
-
- 18 Sep, 2012 2 commits
-
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
Multiple fixes into BIRD decorators added. Added show route for ... and show route all for ... commands.
-
- 14 Sep, 2012 2 commits
-
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
Lot of things has to be reworked in order to introduce range display of large results (it should have been take into account in the beginning)...
-
- 11 Sep, 2012 5 commits
-
-
Tomas Hlavacek authored
(But the decorator is dead slow:-( )
-
Tomas Hlavacek authored
When the result was None the len() caused exception.
-
Tomas Hlavacek authored
Code scope changed - it was wrong and running directly outside of a new thread would cause Exception.
-
Tomas Hlavacek authored
-
Tomas Hlavacek authored
ULGmodel, Cisco and BIRD support changed in order to support sync as well as async commands (async = command result is displayed in the same time when the command is running).
-
- 10 Sep, 2012 2 commits
-
-
Tomas Hlavacek authored
Error handling returned from BIRD scatched.
-
Tomas Hlavacek authored
-
- 04 Sep, 2012 2 commits
-
-
Tomas Hlavacek authored
Added commands show memory, show status and show route all ... . Refactored last lined (end of output) test and runRawCommand() funct.
-
Tomas Hlavacek authored
It reflects reality better though this change expects the user to change the name by himself. Configuration twaked accordingly.
-