Skip to content

Instantly share code, notes, and snippets.

View amulheirn's full-sized avatar

Andrew Mulheirn amulheirn

View GitHub Profile
@amulheirn
amulheirn / 8k-junos-policies.py
Last active February 1, 2019 02:08
Python script to create 8,000 policies in Junos for use in VRFs
__author__ = 'amulheirn'
# Create 8,000 export policies for use on 8,000 VRFs in Junos
# Used for type-approval-testing of customer MX960
interface = '0/0/0' # Local source interface
startvrf = 1 # Start of the vrf range
endvrf = 8001 # End of the vrf range
for i in range (startvrf, endvrf):