Python Scripting Guide
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 05:06 AM
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!
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-11-2015 01:58 PM
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!
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!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-11-2015 01:58 PM
It's exactly what I need! Thank you!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 01:41 PM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 01:41 PM
Pretty good idea! For me, especially. )
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 01:37 PM
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.
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.
