1. 18 Apr, 2014 1 commit
    • Tomas Hlavacek's avatar
      Fix line break in Cisco show bgp ipv4 uni sum · fa12f979
      Tomas Hlavacek authored
      Line break in Cisco parser for show bgp ipv4 unicast summary caused
      exception. This happens when the IP address is longer and newline
      is inserted to allign columns. And this happens especially when
      somebody uses IPv6 peer to transport IPv4 routes.
      
      Fix line breaks using code for IPv6 also in IPv4 handling
      code.
      fa12f979
  2. 17 Apr, 2014 3 commits
  3. 22 Jan, 2014 1 commit
    • Tomas Hlavacek's avatar
      Fix bug in BirdRouterRemote init · b96cb793
      Tomas Hlavacek authored
      There was a bug in BirdRouterRemote __init__ function in
      self.bin_ssh init procedure. The self.bin_ssh was set to None when
      bin_birdc parameter was passed. Careless copy-paste artefact perhaps.
      Bug has been discovered by Batbileg Sugar batbileg@gemnet.mn .
      b96cb793
  4. 10 Jan, 2014 1 commit
  5. 20 Sep, 2013 1 commit
    • Tomas Hlavacek's avatar
      Fix BIRD show protocols partitioning · 553cd2ea
      Tomas Hlavacek authored
      Fix BirdShowProtocolsCommand and parseBirdShowProtocols not to duplicate
      partitioning of the result (for the display as a table). Before this patch
      it didn't worked because parseBirdShowProtocols reduced results to i.e.
      [100..200] and later decorateResult in BirdShowProtocols reduced the
      previously reduced result of length 100 to [100..200] which is empty.
      553cd2ea
  6. 12 Jul, 2013 1 commit
    • Tomas Hlavacek's avatar
      Add sorting of BIRD RT and peer tables · db343b70
      Tomas Hlavacek authored
      Sort both control tables that ULG obtains automatically form BIRD daemon
      on start to construct drop-down select boxes on main page at the first place.
      The sorting occures when the tables are read and saved in the internal (persistent) structure.
      db343b70
  7. 02 May, 2013 2 commits
    • Tomas Hlavacek's avatar
      Cisco: Fix graph when local prefix is queried · f97aa9d5
      Tomas Hlavacek authored
      Graph did failed to display when locally originated prefix was
      queried. Now it shows linear graph with an originating AS.
      f97aa9d5
    • Tomas Hlavacek's avatar
      Cisco: Fix show bgp ipv4/6 uni neigh rec parser · 0eb449fc
      Tomas Hlavacek authored
      Fix a problem with a false assumption previously made on length of
      the first field in output of a command show bgp ipv4/6 unicast neighbor
      <IP> received-routes. On newer IOSes it is 5-chars long (because of RPKI flags)
      but on older ones it is only 4 chars.
      
      Example:
      
      marge>sh bgp ipv4 uni neigh 91.210.16.3 received-r
      BGP table version is 55601421, local router ID is 217.31.48.123
      Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                    r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
                    x best-external, a additional-path, c RIB-compressed,
      Origin codes: i - IGP, e - EGP, ? - incomplete
      RPKI validation codes: V valid, I invalid, N Not found
      
           Network          Next Hop            Metric LocPrf Weight Path
       *   192.88.99.0      91.210.16.3                            0 25192 i
       *   193.17.47.0      91.210.16.3                            0 25192 20701 i
      ^^^^^
      
      Thanks to julianeble@yahoo.com.br for pointing it out.
      0eb449fc
  8. 04 Apr, 2013 5 commits
    • Tomas Hlavacek's avatar
      Convert Juniper to use CommonSelectionParameter · e1c16caa
      Tomas Hlavacek authored
      Convert Juniper router handlers and commands to use CommonSelectionParameter
      instead of SelectionParameter.
      e1c16caa
    • Tomas Hlavacek's avatar
      Fix typos introduced by previous commit · 05de1e14
      Tomas Hlavacek authored
      Fix minor typos introduced by previous commit. The bug slightly affected
      effectivness of the ULG CGI startup.
      05de1e14
    • Tomas Hlavacek's avatar
      Convert BIRD to use CommonSelectionParameter · 1c299957
      Tomas Hlavacek authored
      Convert BIRD router handlers and commands to use CommonSelectionParameter
      instead of SelectionParameter.
      1c299957
    • Tomas Hlavacek's avatar
      Convert Cisco to use CommonSelectionParameter · 7e6d6c97
      Tomas Hlavacek authored
      Convert Cisco routers and commands to use CommonSelectionParameter
      instead of SelectionParameter.
      7e6d6c97
    • Tomas Hlavacek's avatar
      Add support for CommonSelectionParameter · f91fd079
      Tomas Hlavacek authored
      There are problems with page size and page loading speed when there
      are more routers with several peers and several BGP related commands
      because selection commands multiplicate the peer tables in the resulting
      javascript placed into the resulting page. This is not effective enough and
      therefore sligh rewrite is needed.
      
      Introduce new type of SelectionParameter - CommonSelectionParameter that
      has its ID and it is placed to a JS variable in the beginning of the page
      or function that uses the values inside only once. Then construction of the
      select boxes uses this variables to feed needed values according to the
      ID of the content.
      f91fd079
  9. 27 Mar, 2013 11 commits
  10. 23 Mar, 2013 2 commits
  11. 22 Mar, 2013 2 commits
  12. 20 Mar, 2013 4 commits
  13. 11 Mar, 2013 1 commit
  14. 06 Mar, 2013 2 commits
  15. 03 Mar, 2013 3 commits