Skip to content

Latest commit

 

History

History
82 lines (71 loc) · 2.16 KB

README.md

File metadata and controls

82 lines (71 loc) · 2.16 KB

DevOps Swiss Army Knife

PyPI version Repository License

DevOps Swiss Army Knife is a set of tools to help the DevOps, ItOps or SysAdmin to update manage the infrastructure in an easy way.

Tools

dnsquery

Usage

#~ dnsquery -h
Usage: dnsquery.py [options]

Options:
  -h, --help            show this help message and exit
  -d str, --domain=str  Specify the domain.
  -f list, --fields=list
                        Display fields (ip, name, type).
  -r str, --regex=str   Regular Expression.
  -s str, --server=str  DNS Server
  -t list, --type=list  Type filter
  -D str, --delimiter=str
                        Delimiter
#~ 

lanreporter

Usage

# lanreporter -h
Usage: lanreporter [action] [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -f FIELDS, --fields=FIELDS
                        Display fields (ip, name, type).
  -o OUTPUT, --output=OUTPUT
                        Output format:filename (default=stdout).
  -s SOURCES, --sources=SOURCES
                        Update domain list.
#~

Example

#~ lanreporter -s 192.168.122.0/24
+-----------------+-------------------+-----------------+
| ipv4            | mac               | hostname        |
+-----------------+-------------------+-----------------+
| 192.168.122.1   | 00:16:3E:7B:A2:78 |                 |
| 192.168.122.166 |                   | centos7.default |
+-----------------+-------------------+-----------------+
#~

Dependencies

Operative System

Python libraries

Installation

Download the master branch and install it using setuptools.

Source

#~ wget -c "https://github.com/sergiotocalini/devops-sak/archive/master.zip"
#~ unzip master.zip
#~ cd devops-sak-master
#~ sudo pip install .

PyPi

~# sudo pip install devops-sak
~#