Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 10, 2023
2 parents 136bd8c + 77a46cc commit f291039
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/fixtures/configs/build_big_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
for slot in range(1, 14):
for port in range(1, 49):
print("interface GigabitEthernet {}/{}".format(slot, port))
mode = choice(['trunk', 'access'])
# nosec will silence warnings about python random cryptographic inadequacy
mode = choice(['trunk', 'access']) # nosec
if mode=='trunk':
print(" switchport")
print(" switchport trunk encapsulation dot1q")
Expand All @@ -33,7 +34,8 @@
for vlan in range(1, 4095):
print("interface Vlan {}".format(vlan))
print(" no shutdown")
mode = choice(['global', 'vrf'])
# nosec will silence warnings about python random cryptographic inadequacy
mode = choice(['global', 'vrf']) # nosec
if mode=='vrf':
print("ip vrf forwarding VRF_{}".format(vlan))
print(" description Layer3 SVI: vlan {}".format(vlan))
Expand Down

0 comments on commit f291039

Please sign in to comment.