FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  1. Feb 04, 2025
  2. Jan 17, 2025
  3. Jan 02, 2025
    • Robert Franklin's avatar
      v0.16.15 - fix crash and minor improvements · bd9d596b
      Robert Franklin authored
      fixed crash when comparing two paths in the configuration dictionary
      when the types were different - this had never been encountered before
      but some recent changes for the border configuration exposed this
      
      added supported for 'interface / fec' command
      
      added some notices if debugging is enabled beyond the maximum level
      
      tidied code, removing some unnecessary imports
      v0.16.15
      bd9d596b
  4. Dec 03, 2024
  5. Nov 20, 2024
  6. Nov 12, 2024
    • Robert Franklin's avatar
      fix crash with paths containing different types · 3970d673
      Robert Franklin authored
      if two paths being matched for changes have differing types at the same
      position (e.g. one is a string and the other None) then this would
      trigger a crash, when they try to be sorted
      
      this fix converts the path elements to strings (with None being
      converted to an empty string) so they can be compared
      
      a unit test has been added to check for this, using the interface /
      service-policy command with and without a 'type' option
      3970d673
  7. Sep 23, 2024
  8. Mar 28, 2024
    • Robert Franklin's avatar
      v0.16.14 - handle inverse 'standalone-disable' · a93880f9
      Robert Franklin authored
      previously it would only be enabled if not, or removed if it should not
      be enabled; now the situation where a switch requires it to be disabled
      explicitly is handled
      
      this still doesn't correctly handle defaults but does handle the
      situation where it's explicitly set to the opposite state (just not
      when it's explicitly set to the default state)
      v0.16.14
      a93880f9
    • Robert Franklin's avatar
      v0.16.13 - port-channel standalone-disable · b83f4661
      Robert Franklin authored
      adds support for this command on routers, where it's disabled by
      default (switches default to it being enabled, which we can't detect,
      like 'switchport')
      v0.16.13
      b83f4661
  9. Feb 13, 2024
  10. Oct 23, 2023
    • Robert Franklin's avatar
      v0.16.11 - fix bug triggering different contexts · e0820f8f
      Robert Franklin authored
      if a trigger fired a converter which has a different context, the
      context the trigger fires in would not be checked against the matches
      but, instead, the context of the converter, causing lots of spurious
      triggers to run
      
      this is not normally a problem (and hasn't been noticed until now) as
      the context a trigger is set in will usually match that used by all the
      converters in the block that it triggers, meaning they are the same
      
      this is not always the case for some of the BGP converters, however, as
      the classes for the converters can be reused in the 'bgp' context and
      the 'address-family ... vrf ...' context (e.g. the 'neighbor ...
      fall-over' converter)
      
      this fix causes the context of a triggered converter to be checked to
      ensure that it matches that which the trigger was set in
      v0.16.11
      e0820f8f
  11. Oct 02, 2023
    • Robert Franklin's avatar
      v0.16.10 - 'nbr ... fall-out' route-map remove · 1314badc
      Robert Franklin authored
      this was not handled correctly before (removing the route-map requires
      that the entire command is removed and re-entered without it)
      v0.16.10
      1314badc
    • Robert Franklin's avatar
      fix: nbr fall-over route-map -> ... fall-over · f2397363
      Robert Franklin authored
      the case where shifting from 'neighbor ... fall-over route-map' to
      'neighbor ... fall-over' was not handled correctly as this can only be
      done by clearing the old command and entering the new; just entering
      the new one does not remove the route-map
      
      added tests to add and remove a route-map from a 'neighbor ...
      fall-over' command
      
      this involved a configuration dictionary change where both forms are
      moved under a 'fall-out' -> 'route' key, then with a potential
      'route-map' key under that, if there is a route-map specified, rather
      than having a 'route-map' of None to indicate the plain form
      f2397363
  12. Sep 29, 2023
    • Robert Franklin's avatar
      removed test_RtrBGP_NbrFallOver_RtMap_name_remove · e20f2927
      Robert Franklin authored
      this test was incorrect - testing for a configuration command sequence
      that would not have resulted in the configuration checked for
      
      (entering the plain form of the 'neighbor ... fall-out' command does
      NOT remove the route-map option; a following update will handle this
      situation in a converter)
      e20f2927
  13. Sep 28, 2023
    • Robert Franklin's avatar
      v0.16.9 - BFD support on interface + BGP + fixes · 85a7e45c
      Robert Franklin authored
      now handles two commands enabling BFD: 'interface / bfd interval ...'
      and 'route bgp / neighbor ... fall-over bfd'
      
      the 'neighbor ... fall-over' command was generally broken as it handled
      route-maps and BFD exclusively, whereas they can both be used on the
      same neighbor
      
      there is also some peculiar handling around the plain form of the
      command (without 'bfd' or 'route-map' after) where it cannot be removed
      without also removing a 'bfd' command, so a trigger is used to reapply
      the BFD command
      
      supporting this required an extra feature in the trigger mechanism,
      where a trigger can be filtered at the point of being set (as opposed
      to when it is fired on the triggered converter) which has been added
      using the new converter trigger_set_filter() methods
      
      fix: triggers matched the wrong context, if the context was dynamically
      modified during construction
      
      fix: removed some duplicate unittests
      
      fix: an incorrect test name clashed with another and prevented one from
      being run
      
      tidy: some typos and tidying of comments and method/class names
      v0.16.9
      85a7e45c
    • Robert Franklin's avatar
      added interface 'bfd interval' support · 6275bc47
      Robert Franklin authored
      parses and converts, added unittests
      6275bc47
  14. Sep 27, 2023
    • Robert Franklin's avatar
      fix: neighbor ... fall-over reapplies BFD config · 72402df1
      Robert Franklin authored
      if a plain 'neighbor ... fall-over' configuration (without a route-map
      or BFD) is removed, a BFD configuration will also be removed; this fix
      will trigger the reapplication of the BFD configuration, following this
      
      this required the ability to filter triggers from being set, in certain
      situations
      72402df1
    • Robert Franklin's avatar
      added trigger_set_filter() methods + fix · 0699d273
      Robert Franklin authored
      these methods are called on converters when trigger_blocks is
      configured on them - only if they return True will the trigger actually
      be set up
      
      they are called with the same parameters as an action method (the old,
      new, remove/update configurations, as well as the context and local
      argumented)
      
      these differ from the filter() methods as they are called on the
      converter setting up the trigger, rather than the converter upon which
      the trigger is applied (i.e. the triggered conversion) and are useful
      to prevent a trigger from being set up under certain situations, based
      on the triggering converter
      
      fix: explicit_context_matches() now retrieves the computed context at
      runtime, rather than the static context configured in the class (which
      is important, if the class dynamically modifies its context upon
      instantiation)
      
      tidy: some converter debugging messages around triggers to make them
      clearer
      0699d273
    • Robert Franklin's avatar
      tidy: typo in comment · 6dd78bf4
      Robert Franklin authored
      6dd78bf4
    • Robert Franklin's avatar
      243d69ff
    • Robert Franklin's avatar
      tidy: renamed add_nbr_path() to _init_path() · 197a9359
      Robert Franklin authored
      this is used in the 'router bgp ...' / 'neighbor ...' converter methods
      to create versions for both the global and VRF address-families (where
      things are added to the command or context, respectively, as these are
      handled differently by IOS)
      
      the recent change to introduce a subcontext for 'neighbor ...
      fall-over' means this method is not just used to add the 'neighbor'
      part to the relevant part of the path, so corrects the name in how
      it's now used
      
      in addition, the method is for internal use only, during construction,
      so has '_init' on the start to make that clearer
      197a9359
    • Robert Franklin's avatar
      fix: 'nbr ... fall-over' bfd/route-map coexist · c2308f88
      Robert Franklin authored
      previously, 'neighbor ... fall-over' with BFD and route-map options
      were treated as mutually exclusive and the use of one replaced the
      other - this is not the case and both can exist independently
      
      in addition, 'neighbor ... fall-over' (without either option) is
      really a particular case of the route-map version (matching if there is
      no route to the neighbor, rather than a change related to a specific
      route-map) - this fixes that
      
      note that there is still a bug here - if the plain form ('neighbor ...
      fall-over') is removed, this will cancel the BFD configuration: there
      is no way to actually do this in IOS, so it is necessary to clear it
      and then restore the BFD configuration - this needs to be fixed,
      probably with a trigger
      c2308f88
    • Robert Franklin's avatar
      fix: removed dup 'neighbor ... route-map' tests · ca84046b
      Robert Franklin authored
      these were in the test file twice with the same name (except for one
      with a missing character in the name) and only one was being run
      ca84046b
    • Robert Franklin's avatar
      tidy: Context_RtrBGP uses cmd from Cmd_RtrBGP · 1bd975b1
      Robert Franklin authored
      improves consistency and clarity
      1bd975b1
  15. Sep 26, 2023
  16. Jun 16, 2023
  17. May 17, 2023
    • Robert Franklin's avatar
      v0.16.7 - fixed deepops dependency and tidying · 110f5b9b
      Robert Franklin authored
      the unit tests depend on deepops>=1.8 to pass, so this updates that as
      a dependency
      
      also, the conversion debug messages have been tidied a little
      v0.16.7
      110f5b9b
    • Robert Franklin's avatar
      updated to require deepops>=1.8 · e0e2fb97
      Robert Franklin authored
      version 1.8 changes what happens when identical data structures are
      compared, returning an empty object of the same type, rather than None
      
      this probably doesn't affect anything that actually uses asimtote but,
      without this, some of the unit tests fail and that's confusing!
      e0e2fb97
  18. Apr 18, 2023
  19. Apr 17, 2023
Loading