annet 0.12__py3-none-any.whl → 0.12.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of annet might be problematic. Click here for more details.

annet/cli_args.py CHANGED
@@ -455,12 +455,6 @@ class PatchOptions(DiffOptions):
455
455
  add_comments = opt_add_comments
456
456
 
457
457
 
458
- class DeployOptions(PatchOptions, DeviceCliOptions):
459
- no_check_diff = opt_no_check_diff
460
- entire_reload = opt_entire_reload
461
- rollback = opt_rollback
462
-
463
-
464
458
  class ShowGenOptions(GenOptions, FileOutOptions):
465
459
  indent = opt_indent
466
460
  annotate = opt_annotate
@@ -499,5 +493,11 @@ class ShowGeneratorsOptions(QueryOptionsOptional, GenSelectOptions):
499
493
  ignore_disabled = False
500
494
 
501
495
 
496
+ class DeployOptions(ShowDiffOptions, PatchOptions, DeviceCliOptions):
497
+ no_check_diff = opt_no_check_diff
498
+ entire_reload = opt_entire_reload
499
+ rollback = opt_rollback
500
+
501
+
502
502
  class SelectContext(ArgGroup):
503
503
  context_name = opt_selected_context_name
annet/gen.py CHANGED
@@ -130,6 +130,7 @@ def _old_new_per_device(ctx: OldNewDeviceContext, device: Device, filterer: Filt
130
130
  entire_results = []
131
131
  implicit_rules: Optional[Dict[str, Any]] = None
132
132
  filter_acl_rules: Optional[Dict[str, Any]] = None
133
+ old_json_fragment_files: Dict[str, Dict[str, Any]] = {}
133
134
  new_json_fragment_files: Dict[str, Dict[str, Any]] = {}
134
135
  json_fragment_results: Dict[str, generators.GeneratorJSONFragmentResult] = {}
135
136
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: annet
3
- Version: 0.12
3
+ Version: 0.12.2
4
4
  Summary: annet
5
5
  Home-page: https://github.com/annetutil/annet
6
6
  License: MIT
@@ -2,13 +2,13 @@ annet/__init__.py,sha256=oyElxAW97sHgQccGafhaWVBveBn1gSjjdP_xHROaRLg,2139
2
2
  annet/annet.py,sha256=TMdEuM7GJQ4TjRVmuK3bCTZN-21lxjQ9sXqEdILUuBk,725
3
3
  annet/argparse.py,sha256=MoBD0LPnHdA6HU7z1uQNArYlkD92znoeGIFTMnS4dRM,12608
4
4
  annet/cli.py,sha256=Nk956O3nOEVsOLyOqKDgjqJaB2uVlwYb9tPrWMbB4E4,9632
5
- annet/cli_args.py,sha256=AQIJDCUHMGmuhDKN5CBZPw44CZPzHM5--cS102Th3Cg,16054
5
+ annet/cli_args.py,sha256=Wv2X2wk6trTsGpKpcaZacGqVbDxMzEJvN8uYIJOq4D0,16071
6
6
  annet/connectors.py,sha256=FLFJlhb73g2c8e61zYnGn8dTkIiaaWYqeUCsZd48AWg,2471
7
7
  annet/deploy.py,sha256=B8E0P_VvCrS2URjFvgmUiIkHp95g7pAWfmT34igaDeo,18893
8
8
  annet/diff.py,sha256=zLcaCnb4lZRUb7frpH1CstQ3kacRcCblZs1uLG8J5lk,3391
9
9
  annet/executor.py,sha256=bw7COJNtssuxIqbQehlHYJnkdUeYvvL8WO5B-c67XE0,19040
10
10
  annet/filtering.py,sha256=F4ZKUCU3Yb1RlL2zKdyHtVUaWPzjWF4vWyMcdygKNYk,852
11
- annet/gen.py,sha256=jrtGQwGjD3Rf4U8CNXcsijuPN6RM2ryZj7S0fv4XxdU,32492
11
+ annet/gen.py,sha256=3ywi-RoQXf55HuvhOvAA0dZonStxFkKoCOYjaNeo9N0,32552
12
12
  annet/hardware.py,sha256=HYPDfji_GdRn5S0_0fl4rvM7byOY9aHxG6VMAtsLaxE,1090
13
13
  annet/implicit.py,sha256=QigK4uoxvrFho2h9yFjOq1d9rLsC5xFlAU4bKkCuMWk,5139
14
14
  annet/lib.py,sha256=zQIfNBg7fAAk2BHbHAqy_McAiXhz0RqpBAcfdU-6pAA,3742
@@ -128,10 +128,10 @@ annet/rulebook/texts/routeros.rul,sha256=ipfxjj0mjFef6IsUlupqx4BY_Je_OUb8u_U1019
128
128
  annet_generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
129
  annet_generators/example/__init__.py,sha256=zVd8_DrXuOASrNzg2Ab94rPyvJff83L-_HppDFxnUjM,228
130
130
  annet_generators/example/lldp.py,sha256=68CLrK7vxTQQy9XIBxtywuEdBNlIlfXGYj8_wYWs5UI,1146
131
- annet-0.12.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
132
- annet-0.12.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
133
- annet-0.12.dist-info/METADATA,sha256=1Fu2-NgJ4kk5UeSG8OFTJxjeARpGW5tG_fLiykOfQUM,692
134
- annet-0.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
135
- annet-0.12.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
136
- annet-0.12.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
137
- annet-0.12.dist-info/RECORD,,
131
+ annet-0.12.2.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
132
+ annet-0.12.2.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
133
+ annet-0.12.2.dist-info/METADATA,sha256=4hCPO4oGou8j2lSYEFAuDODeQOfLpktiPIYH6rOT6dg,694
134
+ annet-0.12.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
135
+ annet-0.12.2.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
136
+ annet-0.12.2.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
137
+ annet-0.12.2.dist-info/RECORD,,
File without changes
File without changes
File without changes