Scripting
Questions and discussions about scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! XMC script stops -> "Error: session exceeded timeout: 30 secs"

Hello, I am running a XMC script to receive the output of show config/sh run against different devices: XOS, VSP, EOS (B-Series, S-Series, ...).       cli_result = emc_cli.send("sh config")     wfile(devname,cli_result.getOutput())   It works fine ...

StephanH by Valued Contributor III
  • 3520 Views
  • 4 replies
  • 0 kudos

Copy Global Config via remote SSH

I am trying to copy the global-running-config of our VDX from a remote host linux host. I use the below command I am executing from a remote Linux host: sshpass -p 'password' ssh -o StrictHostKeyChecking=no user@x.x.x.x 'copy global-running-config sf...

ExtremeXOS - JSON Based CLI Output from python process - how?

Hey Extreme,   So, I am trying to build a stateful python api that lives on the switch, reason being is I want to dump a json based document of a “state”, and have the switch get it’s self to this state - think automation without poking configure com...

nicko170 by New Contributor
  • 2269 Views
  • 2 replies
  • 0 kudos

Resolved! Python xmclib documentation

Hello, I tried looking for any documentation about the XMC Lib that can be imported in python, to understand a bit more about some functions that are used in existing scripts. But I can't find any. Anyone can help me by telling me where to find thi...

Nealo by New Contributor
  • 3885 Views
  • 2 replies
  • 0 kudos
GTM-P2G8KFN