cancel
Showing results for 
Search instead for 
Did you mean: 

Python Scripting Guide

Python Scripting Guide

eyeV
New Contributor III
Hi everybody!

I've recently update EXOS to 15.6. and I really would love to write some python scripts. Honestly, I'm not into programming actually. I just write python scripts sometimes.

So, I've read EXOS 15.6 User Guide, but there are few information about python scripting. Аt least for me) Does anybody give me some examples or maybe guides, articles, posts or something about it?

Thanks for help!

26 REPLIES 26

Christina M your link now produces:

404 Not Found

As does the same link on your "how to use python with EXOS" page:
https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-use-Python-on-EXOS

What I'm trying to do is to control EXOS from python application running on a remote machine, so I can quickly enact config changes on the switch at my application runtime. To this end I do not see the value in this Python on EXOS feature, since it's much more cumbersome to have to tftp a script to the switch, telnet in, and "load" it, vs simply telnetting in and executing the commands via CLI as needed.

Given what I'm triyng to do (control exos switch remotely from python code), is the easiest and fastest way to accomplish this via telnet/CLI? Or is there some CLIENT python support I can use?

Someone on another thread mentioned a thing called XMC,which can completely control the switch, and has a REST API, and I was wondering if this would be useful in my case, but I'm having trouble finding documentation on it. Any links or advice would be appreciated. Thanks!

eyeV
New Contributor III
It's exactly what I need! Thank you!

Stephane_Grosj1
Extreme Employee
I'd love to see your scripts, and everybody's scripts.
If you are ok to share your creation, can you pass links to them? I'm trying to find, internally, a way to share all of it, for the community.

eyeV
New Contributor III
Pretty good idea! For me, especially. )

StephenW
Extreme Employee
eyeV,

code academy is a great place to start learning python. It's free and very thorough.

http://www.codecademy.com/

I have a few script i made that make some task's very easy. Like running ELRP on every created vlan.

GTM-P2G8KFN