Python Forum
automating cli configs using python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automating cli configs using python
#1
Hi ,

I have a scenario wherein i have a list of CLI (1000)in a file to be configured on the box. i should be configuring the cli's using combinations , some cli's cannot be configured at the same time, some can be. I have to write a python script to create multiple config files using combination of these CLI's, so that all cli's get configured. i need to create minimal number of config files using the script. some CLI's will have multiple options , and i need to excerise all the options as well. Can someone help me with this, how this can be done in python.
Reply
#2
Your question is rather broad in scope and scant on information. Perhaps if you posted one of the smaller files as an example, it would be easier to understand what you have and what you want to do.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Is there a python program for automating this invoicing workflow? PG_Archipelago 3 1,081 Feb-02-2023, 11:01 PM
Last Post: Larz60+
  Help with Creating a Script for Automating Reports SunWers 1 1,918 Dec-29-2020, 10:21 PM
Last Post: jjc385
  Automating to run python script 100 times by changing parameters pmt 1 2,600 Dec-29-2020, 10:31 AM
Last Post: andydoc
  Automating Windows GUI applications metro17 4 12,289 Feb-10-2020, 09:46 AM
Last Post: metro17
  Automating Excel sheets with Python wendysling 1 2,566 Mar-15-2019, 01:39 PM
Last Post: Larz60+
  Automating unittest ichabod801 3 2,757 Oct-28-2018, 09:32 PM
Last Post: Gribouillis
  Glob and automating help Thunberd 0 2,373 Jun-13-2018, 04:42 PM
Last Post: Thunberd
  Python Daemons & Configs & Communication TypesWithSpoons2 1 2,860 Aug-21-2017, 06:53 PM
Last Post: nilamo
  Automating a Data Extraction Process Harrison 12 8,600 Mar-31-2017, 10:44 AM
Last Post: Harrison

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020