Looking to see if OpenClos can be used beyond Juniper devices

244 views
Skip to first unread message

Gregory Golberg

unread,
Mar 16, 2015, 6:13:27 PM3/16/15
to open...@googlegroups.com
Hi all,

Is there any intent to make this into a framework for configuring fabric with more than just Juniper devices? Some sort, perhaps, of plugin?

Any pointers/docs on what things in the code base are more generic, and which are more specific to the hardware?

-g

Moloy c

unread,
Mar 16, 2015, 6:30:30 PM3/16/15
to open...@googlegroups.com

Hi Gregory,


All device configurations are generated from Jinja templates located at jnpr/openclos/conf/junosTemplates/*.txt. Currently all these templates are specific for Junos devices. 


These templates can be easily modified to generate custom device configuration. If you want to achieve it, you have to modify existing jnpr/openclos/conf/junosTemplates/*.txt files. In our next release we are planning to let any folder or zipped folder to be used as templates and generate configurations from that. Please feel free to ask any follow up questions on templates.


Thanks,

Moloy

Gregory Golberg

unread,
Mar 17, 2015, 4:44:07 PM3/17/15
to open...@googlegroups.com
Great, I'm looking at those.

I want to see if this can be adapted to configuring AWS VPCs - I'm guessing that a VPC is a "spine", and a subnet is a "leaf". (Or is that crazy?)

Also, what is the difference, by the way, between sampleApplication and l3Clos.py which also has a main?

-g

Moloy c

unread,
Mar 17, 2015, 5:02:34 PM3/17/15
to open...@googlegroups.com
In most of the modules you will find main method, which are some example code. The idea is user should write their own application and use these modules.

sampleApplication shows how to perform following tasks to automate the whole process.
1. generate device config
2. generate dhcp config
3. run dhcp server
4. run REST server
5. run SNMP Trap listener 

Thanks,
Moloy
Reply all
Reply to author
Forward
0 new messages