Skip to main content

Malas (Multi-vendor automation leverage at slouching)

Project description

Malas (Multi-vendor automation leverage at slouching)

PyPI - Python Version PyPI Downloads

What is 'Malas'?
Malas is a word from Bahasa Indonesia. The Malas word meaning is Lazy (Too inclined to avoid hard work).

What Malas really is?
Malas is a simple multi-vendor network automation program powered by netmiko for general configuration or retrieve information via SSH parallelly.

Why Malas though?
Malas is an abstraction layer in a wizard-type CLI for simplicity's sake.

Main features

  • IPv4 target hosts.
  • Supported platforms based on netmiko.
  • Verify submitted User's file formats before accepted.
  • Performing parallel* connectivity tests before remote executions.
    *Parallel tasks capabilities based on CPU's capabilities.
  • Performing parallel* remote configurations or retrieve information.
    *Parallel tasks capabilities based on CPU's capabilities.
  • Show remote output results immediately.
  • Save remote output results per-remote host (Optional).
  • Auto-install missing modules (If uninstalled accidentally).

WIP

  • IPv6 target hosts
  • Hostname target hosts

Getting started

Installation:

python -m pip install malas
or
python3 -m pip install malas

Start the program:

python -m malas
or
python3 -m malas

File formatting:

1. The device information list file's format is a set of three
   that contains IP address, username (has privilege), and password separated by double colons '::'
   per line in row formats, for example (Ignore the bracket):

   #==== Device Information List.txt ====#
   #10.0.0.2::netadmin::password         #
   #10.0.0.3::netadmin::password         #
   #=====================================#

2. The configuration file's format is one command per line in row formats, for example (Ignore the bracket):

   #========= Configuration.txt =========#
   #interface GigabitEthernet0/11        #
   #description Guest_Networks           #
   #IP address 192.168.1.1 255.255.255.0 #
   #no shutdown                          #
   #exit                                 #
   #do write                             #
   #=====================================#


Ade Destrianto
https://destrianetworks.id

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Malas-1.0.210930.1.tar.gz (13.8 kB view details)

Uploaded Source

File details

Details for the file Malas-1.0.210930.1.tar.gz.

File metadata

  • Download URL: Malas-1.0.210930.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for Malas-1.0.210930.1.tar.gz
Algorithm Hash digest
SHA256 665b8e8e7ef30c00d546d3efccf3634a6fe70b1e6404f7c8737229ad806113db
MD5 67be76ba7507513e6c7e700bf3db2f49
BLAKE2b-256 daba387a3c7e1df231adc9f913d85a6820158660c05549a690b51ac88e6dd777

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page