FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  1. Dec 03, 2024
  2. Nov 20, 2024
  3. 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
  4. Sep 23, 2024
  5. 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
  6. Feb 13, 2024
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. Sep 26, 2023
  13. Jun 16, 2023
  14. 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
  15. Apr 18, 2023
  16. Apr 17, 2023
    • Robert Franklin's avatar
      v0.16.6 - internal class name tidying · 6c327e00
      Robert Franklin authored
      this should have no effect on functionality
      
      tidies the names of lots of internal classes and makes the call of
      inherited context enter() methods better
      v0.16.6
      6c327e00
    • Robert Franklin's avatar
      tidied route-map converter class names · db10af06
      Robert Franklin authored
      better highlights abstract converters (_AbsCvt_xxx) and contexts
      db10af06
    • Robert Franklin's avatar
      simplified various calls to super().enter() · 059e94b5
      Robert Franklin authored
      better use of split arguments (not assuming parent/context class
      argument lists) and calls
      059e94b5
    • Robert Franklin's avatar
      corrected comment class name · 5d8f878f
      Robert Franklin authored
      5d8f878f
    • Robert Franklin's avatar
      major tidying of converter class names · 12160b30
      Robert Franklin authored
      context converters are now called Context_xxx
      
      abstract command converters are now called _AbsCvt_xxx
      
      still some tiyding to do against route-maps
      12160b30
    • Robert Franklin's avatar
      renamed DiffConvert class to Convert · 038b721f
      Robert Franklin authored
      this includes the name of abstract context classes based on it, which
      will be tidied in a future commit
      038b721f
    • Robert Franklin's avatar
      v0.16.5 - internal reorganisation and tidying · 632ab229
      Robert Franklin authored
      internal reorganisations that should have no effect on actual
      functionality but significant enough to warrant a version change
      
      converter methods now receive the context wildcard arguments as a
      single leading list, rather than being supplied discretely; this
      argument is usually just passed to an enter() method and avoids needing
      to specify them explicitly
      
      it also avoids the need to explicitly call split_args() (which has been,
      removed), if the boundary between the context and local arguments has
      adjusted or is otherwise dynamic (such as when a converter class is
      reused) - the split_args_offset attribute has been renamed
      context_offset
      
      get_sort_key() replaced by sort_key attribute
      
      some correcting of class names
      v0.16.5
      632ab229
  17. Apr 16, 2023
    • Robert Franklin's avatar
      renamed split_args_offset to context_offset · 5aef4677
      Robert Franklin authored
      this was previously used by the split_args() method but that has been
      removed, in favour of it being done by get_args() and the context being
      supplied to all the converters by default, so the name was not
      particularly accurate
      5aef4677
Loading