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

Forum Posts

Resolved! Delete Element from Array

Hello All, I am new in this community and I am in learning face, I want to know the output syntax of deleting elements from an Array in Python. I have mention the input format but i don’t know about the final output. Can anyone suggest me.   import ...

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
  • 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
  • 2 replies
  • 0 kudos