- Aug 31, 2022
-
-
Robert Franklin authored
route-maps are now handled by the parser and converter interface / ip[v6] policy route-map commands are now handled by the parser and converter no longer deletes non-existent old ACLs, prefix-lists and track objects when creating new ones error messages from converter methods now show the configuration dictionaries when raising the exception converter get_ext() method now supports wildcard arguments optimised usage of converter enter() methods to avoid unnecessary expansion removed unnecessary debugging output left in code when not debugging
-
- Aug 30, 2022
-
-
Robert Franklin authored
also, improved the service-policy interface command with a _cmd() method
-
Robert Franklin authored
the syntax can be a unpleasant, in some cases but more efficient
-
Robert Franklin authored
was expanding and recreating the list of commands unnecessarily
-
Robert Franklin authored
this ensures two things: first - removing all the old clauses before adding the new ones ensures that conflicting entries are never attempted to be created, and second - avoids resetting the action of a route-map entry ('permit' or 'deny') to the old type, if removing an old clause after setting a new one
-
Robert Franklin authored
when list was previously empty
-
Robert Franklin authored
-
Robert Franklin authored
correctly handles changing between the two and 'global' now handled as an empty string (which makes comparison using deepdiff() work)
-
Robert Franklin authored
-
Robert Franklin authored
-
Robert Franklin authored
-
Robert Franklin authored
still need to do 'set'
-
Robert Franklin authored
also, fixed plain 'set ip next-hop' to not match these commands
-
Robert Franklin authored
-
Robert Franklin authored
-
Robert Franklin authored
-
Robert Franklin authored
-
Robert Franklin authored
-
Robert Franklin authored
previously an old list would be removed, before being recreated, even if the old list did not exist - this removes that behaviour (but will still do it, if changing a list) this affects IPv4 and IPv6 access-lists and prefix-lists
-
Robert Franklin authored
this is in the main class docstring - a quick summary to know what each method is and how it is called
-
- Aug 25, 2022
-
-
Robert Franklin authored
these now print the debugging messages before raising an exception, showing the contents of the configuration items being fed in through the 'old', 'upd', 'rem' and 'new' arguments also, cleaned up the class names in error messages to make them more readable and simpler
-
Robert Franklin authored
this allows wildcards (= None) to appear in the 'ext' path of a Diff- Convert object
-
- Aug 24, 2022
-
-
Robert Franklin authored
if changing a track object from one type to another, the old one must be deleted first; we don't need to do that when adding a new object, though - this prevents this happening (and possibly generating an error that the object didn't exist)
-
Robert Franklin authored
-
Robert Franklin authored
was left in to check the output and not required
-
Robert Franklin authored
into ASCIIbetical order with other commands
-
Robert Franklin authored
-
- Aug 23, 2022
-
-
Robert Franklin authored
-
Robert Franklin authored
-
- Jul 28, 2022
-
-
Robert Franklin authored
these didn't correctly handle the canonicalisation of interface names nor if changes were made by modifying the existing entry or adjusting some parameters of it (in particular, the 'track' object needs to be deleted and created again, if it changes type) also, the -S option now supports parsing integers and '-' for None added some additional port names for ACLs (as used in the UDN border ACL)
-
Robert Franklin authored
canonicalises interface name, if specified in route will now reconfigure a route, if just changing some aspect (e.g. metric) rather than removing and re-adding
-
Robert Franklin authored
did not correctly destroy an old track object when changing from one type to another (e.g. route to interface) - this is now done, when this happens; does not do this when reconfiguring the same type of object re-applies sub configuration when object is destroyed and recreated using triggers (i.e. if a delay is specified, this will be re-added) did not canonicalise interface name when tracking that, resulting potential differences when different casing or abbreviations used
-
Robert Franklin authored
also, help text updated
-
- Jul 26, 2022
-
-
Robert Franklin authored
now all appear on one line in a consistent format with each other
-
Robert Franklin authored
confirms the portion of the configuration dictionary or rules tree being shown
-
- Jul 25, 2022
-
-
Robert Franklin authored
removed defunct insert_before comment (as this has been replaced by the block ordering system)
-
Robert Franklin authored
if a string which is a valid integer is specified, it will be converted to an integer when dumping the debugging information
-
- Jul 24, 2022
-
-
Robert Franklin authored
-
- Mar 25, 2022
-
-
Robert Franklin authored
subinterfaces are now correctly removed with 'no interface' support for 25GE and 100GE interfaces (correctly canonicalised)
-
Robert Franklin authored
these can be removed with "no interface ..." rather than be defaulted
-