FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  1. Dec 08, 2021
    • Robert Franklin's avatar
      v0.13.5 - 'router bgp' parsing + fixes + improve · 1121cc18
      Robert Franklin authored
      all the BGP commands we update and now parsed
      
      BGP conversions not added yet
      
      fixed bug where comparing lists (ACLs, prefix-lists, etc.) would crash
      when adding a new list (one of the lists was None)
      
      -V (debug converter) option now supports three levels (only print
      converters that are matched; also print 'from', 'update' and 'to'; also
      print non-matched converters)
      
      added level 3 -P option to print arguments passed to parse()
      v0.13.5
      1121cc18
    • Robert Franklin's avatar
      removed extraneous blank lines · 70ead95f
      Robert Franklin authored
      was printing blank lines between each converter, even if debugging was
      not enabled
      70ead95f
    • Robert Franklin's avatar
      fixed crash if explain_diffs() given None · 6e81e1fa
      Robert Franklin authored
      and to_str_func was not specified (conversion to an empty list was not
      done)
      6e81e1fa
  2. Dec 07, 2021
    • Robert Franklin's avatar
      simplified converter debugging config dumps · 3cb7fbc6
      Robert Franklin authored
      no longer outputs the from/update/remove configuration blocks if
      remove() or add() are called (instead of truncate() and update()) as
      these are not passed to the conversion method anyway
      
      this just reduces the output to remove unused data
      3cb7fbc6
    • Robert Franklin's avatar
      improved convert debugging · b1846ef7
      Robert Franklin authored
      now, converters which don't match anything are only printed at convert
      debug level 3 and greater (level 2 prints 'from' and 'to')
      
      blank lines also added between individual matches and after the
      converter name
      b1846ef7
    • Robert Franklin's avatar
      61d9fe59
    • Robert Franklin's avatar
      finished adding 'route bgp' parsing · 477a7c74
      Robert Franklin authored
      this excludes commands we aren't using nor forms of commands we're not
      using, as well as commands for neighbors at the router process level
      (as we use 'no bgp default ipv4-unicast', so all this happens
      underneath that address-family block)
      
      no converters yet
      477a7c74
  3. Dec 06, 2021
    • Robert Franklin's avatar
      added start of 'router bgp' parsing · 2b398aac
      Robert Franklin authored
      haven't yet done address-family subtexts, not many commands for
      neighbors - only the ones we use outside the address-family parts
      
      no converters yet
      2b398aac
    • Robert Franklin's avatar
      added -P level 3 to debug parse() args · 8899d0a8
      Robert Franklin authored
      8899d0a8
    • Robert Franklin's avatar
      v0.13.4 - added AS-path ACLs + OSPFv3 + bug fix · c07b6130
      Robert Franklin authored
      'router ospfv3' support added
      
      regular IP/IPv6 ACLs and prefix-lists were not being deleted before
      being recreated, when updated
      
      fixed bug VRF address-family context handling
      v0.13.4
      c07b6130
    • Robert Franklin's avatar
      fixed syntax of ip AS-path ACLs · b3d481fe
      Robert Franklin authored
      were created by entering a subcontext rather than directly, by mistake
      
      also, an AS-path ACL is no longer removed first, if it didn't exist
      (i.e. it will only be removed if it is being changed, not created)
      b3d481fe
    • Robert Franklin's avatar
      fixed differences for regular ACLs + prefix-lists · ed265667
      Robert Franklin authored
      changes to move to new remove() and update() methods recently broke ACL
      and prefix-lists because the old list wasn't removed before the new,
      replacement list was loaded (so the new rules were just appended)
      
      also, calling explain_diffs() without a to_str_func argument also
      resulted in a crash with a missing variable: this wasn't tested because
      it required a change other than the AS path ACL to see it
      ed265667
  4. Dec 05, 2021
  5. Dec 03, 2021
  6. Dec 02, 2021
    • Robert Franklin's avatar
      v0.13.1 - converters use self.enter() · 9ff901d6
      Robert Franklin authored
      were using super().enter which was wrong, although it was never
      overridden in the child classes so nothing ever broke
      v0.13.1
      9ff901d6
    • Robert Franklin's avatar
      v0.13 - improved internals + handles more changes · 1649b1f1
      Robert Franklin authored
      command parser and converter classes are now added automatically by
      enumerating subclasses of IndentedContextualCommand and DiffConvert -
      as well as being simpler and using less code, it avoids the mistake
      of forgetting to add a class to the list
      
      added handling of changes to the following:
      
      * VRF definitions
      * OSPF - interface and router process
      * OSPFv3 - interface
      
      fixed a crash in handling interface service-policy changes
      v0.13
      1649b1f1
    • Robert Franklin's avatar
      fixed syntax error in HSRP track update · e45fe9a7
      Robert Franklin authored
      missing space
      e45fe9a7
    • Robert Franklin's avatar
      fixed crash in service-policy conversion · 69b0237e
      Robert Franklin authored
      there was a missing parameter but took the opportunity to convert the
      parser into one that understands the full command rather than treating
      it as an opaque string
      
      this also fixed the potential problem of a new policy being applied the
      old one was removed, if the new one came ASCIIbetically before
      69b0237e
  7. Nov 30, 2021
    • Robert Franklin's avatar
      fixed interface shutdown / no shutdown · 7f371f91
      Robert Franklin authored
      the logic for these previously was complex and wrong - it is now
      simpler and (hopefully) correct
      
      for example, interfaces missing from the 'to' configuration are no
      longer 'no shutdown' but deleted interfaces are removed
      
      also, tidied and corrected some of the VRF commands: the enter()
      method compresses some methods onto one line and some of the contexts
      for converters were wrong
      7f371f91
    • Robert Franklin's avatar
      fixed logic around context removals · 405b8273
      Robert Franklin authored
      previously, checking to see if a converter's remove action was required
      due to the context only saw if the exact context was being removed -
      this meant that, if a point higher than a converter's context was being
      removed, the removal would not be skipped
      
      now, the context of a converter is considered removed if the context,
      OR some point above it, is being removed
      
      this means that converters in subcontexts are now skipped if the parent
      context to the subcontext is being removed
      
      for example, if 'vrf ... / address-family ... / route-target ...' would
      previously be removed if 'vrf ...' itself was being removed, as the
      context for the 'route-target' command was not matched - this change
      will cause that to happen and everything will be removed just by the
      'vrf ...' converter's remove being triggered
      405b8273
    • Robert Franklin's avatar
      fixed bug where explain_diffs wasn't imported · ea1167f6
      Robert Franklin authored
      this would have happened when converters.py was separated from diff.py
      for IOS - it only gets triggered when an ACL needs updating
      ea1167f6
  8. Nov 28, 2021
Loading