1. 17 Apr, 2014 1 commit
    • Tomas Hlavacek's avatar
      Fix Cisco show bgp table parsing IPv4/6 mismatch · f9c4bcd2
      Tomas Hlavacek authored
      Fix Cisco parsing of show bgp ipv4/6 unicast sum when the opposite address
      family peer is used. I.e. this:
      
      sfc-c7200-gate.ai3.net#show bgp ipv4 unicast summary
      <cut>
      BGP activity 2403473/2329339 prefixes, 9040108/8863755 paths, scan interval 60 secs
      
      Neighbor      V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
      2001:D30:101:1::11
                    4 4717 0     0       0      0   0    never   Active
      202.249.24.4  4 4717 0     0       0      0   0    never   Active
      202.249.24.36 4 4717 0     0       0      0   0    never   Active
      
      Fixing issue https://github.com/tmshlvck/ulg/issues/10 .
      f9c4bcd2
  2. 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
  3. 04 Apr, 2013 1 commit
  4. 27 Mar, 2013 5 commits
  5. 23 Mar, 2013 2 commits
  6. 20 Mar, 2013 1 commit
  7. 06 Mar, 2013 1 commit
  8. 18 Feb, 2013 1 commit
  9. 24 Jan, 2013 1 commit
  10. 15 Jan, 2013 1 commit
  11. 21 Dec, 2012 2 commits
  12. 12 Dec, 2012 1 commit
  13. 08 Dec, 2012 1 commit
  14. 30 Nov, 2012 2 commits
  15. 23 Nov, 2012 3 commits
  16. 13 Nov, 2012 2 commits
  17. 19 Oct, 2012 3 commits
  18. 18 Oct, 2012 1 commit
    • Tomas Hlavacek's avatar
      Add AS names to BGP graph nodes. · 93e459ac
      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.
      93e459ac
  19. 11 Oct, 2012 1 commit
    • Tomas Hlavacek's avatar
      Add IP address annotation for BIRD and Cisco. · 726d99d1
      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.
      726d99d1
  20. 10 Oct, 2012 4 commits
  21. 04 Oct, 2012 2 commits
  22. 03 Oct, 2012 1 commit
  23. 27 Sep, 2012 1 commit
    • Tomas Hlavacek's avatar
      Rework parameter passing to decorator methods. · 6cfdc78a
      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.
      6cfdc78a