annet 0.13__py3-none-any.whl → 0.13.1__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.

@@ -98,7 +98,7 @@
98
98
 
99
99
  "PC": "^(PC|pc|[Mm]ellanox SN|[Ee]dge-?[Cc]ore|[Mm]oxa|[Aa]sterfusion CX)",
100
100
 
101
- "PC.Whitebox": "([Mm]ellanox SN|[Ee]dge-?[Cc]ore)",
101
+ "PC.Whitebox": "([Mm]ellanox SN|[Ee]dge-?[Cc]ore|[Aa]sterfusion CX)",
102
102
  "PC.Whitebox.Mellanox": "[Mm]ellanox",
103
103
  "PC.Whitebox.Mellanox.SN": " SN",
104
104
  "PC.Whitebox.Mellanox.SN.SN2100": " SN2100",
@@ -89,6 +89,8 @@ def hw_to_vendor(hw: HardwareView) -> Optional[str]:
89
89
  return "aruba"
90
90
  elif hw.Ribbon:
91
91
  return "ribbon"
92
+ elif hw.H3C:
93
+ return "h3c"
92
94
  return None
93
95
 
94
96
 
@@ -106,6 +108,7 @@ def vendor_to_hw(vendor):
106
108
  "aruba": "Aruba",
107
109
  "routeros": "RouterOS",
108
110
  "ribbon": "Ribbon",
111
+ "h3c": "H3C",
109
112
  }.get(vendor.lower(), vendor),
110
113
  None,
111
114
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: annet
3
- Version: 0.13
3
+ Version: 0.13.1
4
4
  Summary: annet
5
5
  Home-page: https://github.com/annetutil/annet
6
6
  License: MIT
@@ -49,10 +49,10 @@ annet/annlib/types.py,sha256=VHU0CBADfYmO0xzB_c5f-mcuU3dUumuJczQnqGlib9M,852
49
49
  annet/annlib/netdev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  annet/annlib/netdev/db.py,sha256=fI_u5aya4l61mbYSjj4JwlVfi3s7obt2jqERSuXGRUI,1634
51
51
  annet/annlib/netdev/devdb/__init__.py,sha256=aKYjjLbJebdKBjnGDpVLQdSqrV2JL24spGm58tmMWVU,892
52
- annet/annlib/netdev/devdb/data/devdb.json,sha256=2zEvVnK0SGYgRlYM95OTJvacTLjEBO-L9_qc77GBYCE,5054
52
+ annet/annlib/netdev/devdb/data/devdb.json,sha256=NldGS8_whScc7eC_CZPEDB9AoxtfvK_51oJVFIu0Tlo,5072
53
53
  annet/annlib/netdev/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  annet/annlib/netdev/views/dump.py,sha256=XJ6UO6sYSO5pIoe5R4eTQmKwx0_JJ71_h8QSYAURtyk,4184
55
- annet/annlib/netdev/views/hardware.py,sha256=_ZgaZgT6l4UEf94QaLtKIV31rRNJH4MPXh0-3xbesOc,3192
55
+ annet/annlib/netdev/views/hardware.py,sha256=FtYlN5MWjCPn-GkDdIQrGO5mDrVYbbY8g_T7bNmfFPk,3256
56
56
  annet/annlib/rbparser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
57
  annet/annlib/rbparser/acl.py,sha256=RR8yPt6t96_IiyuKVbeZ-3x32cyhBAT2wC1y99oWBO8,3931
58
58
  annet/annlib/rbparser/deploying.py,sha256=ACT8QNhDAhJx3ZKuGh2nYBOrpdka2qEKuLDxvQAGKLk,1649
@@ -124,10 +124,10 @@ annet/rulebook/texts/routeros.rul,sha256=ipfxjj0mjFef6IsUlupqx4BY_Je_OUb8u_U1019
124
124
  annet_generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
125
125
  annet_generators/example/__init__.py,sha256=zVd8_DrXuOASrNzg2Ab94rPyvJff83L-_HppDFxnUjM,228
126
126
  annet_generators/example/lldp.py,sha256=68CLrK7vxTQQy9XIBxtywuEdBNlIlfXGYj8_wYWs5UI,1146
127
- annet-0.13.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
128
- annet-0.13.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
129
- annet-0.13.dist-info/METADATA,sha256=g3QKP7nG-jQyEjMEM5ACPXnuEPERgiXW1f_7oXN3mNA,730
130
- annet-0.13.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
131
- annet-0.13.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
132
- annet-0.13.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
133
- annet-0.13.dist-info/RECORD,,
127
+ annet-0.13.1.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
128
+ annet-0.13.1.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
129
+ annet-0.13.1.dist-info/METADATA,sha256=mN4mmAIDDIBiASLkPfDlNpWCjJstiw7yjLihrw99AfM,732
130
+ annet-0.13.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
131
+ annet-0.13.1.dist-info/entry_points.txt,sha256=yHimujIzR2bwNIbb--MTs_GpXiAve89Egpu2LlgTEkg,119
132
+ annet-0.13.1.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
133
+ annet-0.13.1.dist-info/RECORD,,
File without changes
File without changes
File without changes