annet 0.16.27__py3-none-any.whl → 0.16.28__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/implicit.py +23 -11
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/METADATA +1 -1
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/RECORD +8 -8
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/AUTHORS +0 -0
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/LICENSE +0 -0
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/WHEEL +0 -0
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/entry_points.txt +0 -0
- {annet-0.16.27.dist-info → annet-0.16.28.dist-info}/top_level.txt +0 -0
annet/implicit.py
CHANGED
|
@@ -133,17 +133,29 @@ def _implicit_tree(device):
|
|
|
133
133
|
no shutdown
|
|
134
134
|
"""
|
|
135
135
|
elif device.hw.Cisco:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
136
|
+
# C2900/C3500/C3600 does not support the MTU on a per-interface basis
|
|
137
|
+
if device.hw.Cisco.Catalyst.C2900 or device.hw.Cisco.Catalyst.C3500 \
|
|
138
|
+
or device.hw.Cisco.Catalyst.C3600:
|
|
139
|
+
text += r"""
|
|
140
|
+
!interface */\S*Ethernet\S+/
|
|
141
|
+
no shutdown
|
|
142
|
+
!interface */Loopback[0-9.]+/
|
|
143
|
+
no shutdown
|
|
144
|
+
!interface */port-channel[0-9.]+/
|
|
145
|
+
no shutdown
|
|
146
|
+
"""
|
|
147
|
+
else:
|
|
148
|
+
text += r"""
|
|
149
|
+
!interface */\S*Ethernet\S+/
|
|
150
|
+
mtu 1500
|
|
151
|
+
no shutdown
|
|
152
|
+
!interface */Loopback[0-9.]+/
|
|
153
|
+
mtu 1500
|
|
154
|
+
no shutdown
|
|
155
|
+
!interface */port-channel[0-9.]+/
|
|
156
|
+
mtu 1500
|
|
157
|
+
no shutdown
|
|
158
|
+
"""
|
|
147
159
|
if device.hw.Cisco.Catalyst:
|
|
148
160
|
# this configuration is not visible in running-config when enabled
|
|
149
161
|
text += r"""
|
|
@@ -11,7 +11,7 @@ annet/executor.py,sha256=Jny-hm0otZA1naPpFWR-R16SbaZioSQ8pkx-Yd2PYlM,19004
|
|
|
11
11
|
annet/filtering.py,sha256=ZtqxPsKdV9reZoRxtQyBg22BqyMqd-2SotYcxZ-68AQ,903
|
|
12
12
|
annet/gen.py,sha256=rOAveprvBaEXbLyaQUhQ0QtOvcDfndlIOpchNhu8M1U,33499
|
|
13
13
|
annet/hardware.py,sha256=_iR28dWiPtt6ZYdk-qg1sxazkSRJE3ukqKB-fFFfQak,1141
|
|
14
|
-
annet/implicit.py,sha256=
|
|
14
|
+
annet/implicit.py,sha256=G6EwZbrtUp089qRAwh96hminp236-1pJbeKAedoEafg,6056
|
|
15
15
|
annet/lib.py,sha256=lOdz3UJFYkO0wnuzIRRq3FpULQliqBtfmGmKOGVFO4Q,4238
|
|
16
16
|
annet/output.py,sha256=FYMcWCc43-b51KsCiKnXPZHawhgWNoVtY9gRqw__Ce0,7473
|
|
17
17
|
annet/parallel.py,sha256=hLkzEht0KhzmzUWDdO4QFYQHzhxs3wPlTA8DxbB2ziw,17160
|
|
@@ -175,10 +175,10 @@ annet_generators/rpl_example/generator.py,sha256=zndIGfV4ZlTxPgAGYs7bMQvTc_tYScO
|
|
|
175
175
|
annet_generators/rpl_example/items.py,sha256=Ez1RF5YhcXNCusBmeApIjRL3rBlMazNZd29Gpw1_IsA,766
|
|
176
176
|
annet_generators/rpl_example/mesh.py,sha256=z_WgfDZZ4xnyh3cSf75igyH09hGvtexEVwy1gCD_DzA,288
|
|
177
177
|
annet_generators/rpl_example/route_policy.py,sha256=z6nPb0VDeQtKD1NIg9sFvmUxBD5tVs2frfNIuKdM-5c,2318
|
|
178
|
-
annet-0.16.
|
|
179
|
-
annet-0.16.
|
|
180
|
-
annet-0.16.
|
|
181
|
-
annet-0.16.
|
|
182
|
-
annet-0.16.
|
|
183
|
-
annet-0.16.
|
|
184
|
-
annet-0.16.
|
|
178
|
+
annet-0.16.28.dist-info/AUTHORS,sha256=rh3w5P6gEgqmuC-bw-HB68vBCr-yIBFhVL0PG4hguLs,878
|
|
179
|
+
annet-0.16.28.dist-info/LICENSE,sha256=yPxl7dno02Pw7gAcFPIFONzx_gapwDoPXsIsh6Y7lC0,1079
|
|
180
|
+
annet-0.16.28.dist-info/METADATA,sha256=-EflTMHVXM8VDk6NwmYp-DZl-Fzn624B5HNp_JuoIwU,729
|
|
181
|
+
annet-0.16.28.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
182
|
+
annet-0.16.28.dist-info/entry_points.txt,sha256=5lIaDGlGi3l6QQ2ry2jZaqViP5Lvt8AmsegdD0Uznck,192
|
|
183
|
+
annet-0.16.28.dist-info/top_level.txt,sha256=QsoTZBsUtwp_FEcmRwuN8QITBmLOZFqjssRfKilGbP8,23
|
|
184
|
+
annet-0.16.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|