cancel
Showing results for 
Search instead for 
Did you mean: 

Suggestion for structured CLI

Suggestion for structured CLI

Salva_ferrer
New Contributor III

Hi all

I decided to post this in the developer forum because looked appropriate. 

I recently had the joy of writing python code for XIQ-SE and EXOS. They tried to extract data from cli and automate ZTP+ with commands not available in XIQ-SE alone and required by my deployments.

Writing any code like this is mostly straighforward except for one thing: the massive amount of time, and code that goes to writing and debugging regular expressions to read the CLI output.

As a suggestion that would reduce this friction point, I had a look at the nuShell project and their effort to create a 'structured shell'. I mean a shell whose output is readable by humans but also structured so it can be easily parsed by programs. 

I think this would greatly help amateur coders like me write simple code to EXOS without having to  become regular expressions ninjas.

I hope Extreme would consider this in order to enhance adoption of coding and automation practices in  their OSes

 

0 REPLIES 0
GTM-P2G8KFN