Salt modules for discovering and exposing minion's IP addresses
Project description
spiro-network
A variety of network utilities.
This is meant to be installed on minions.
Full docs available online.
Installation
On minions, install the spiro-network
PyPI package.
Interface
A number of things are provided:
Modules
-
ipaddr.external_four
,ipaddr.external_six
: Queries external services for your IP, useful if the minion is behind a NAT or other complex network -
ipaddr.four
,ipaddr.six
: Collates information about a minion's IP address from several sources.network.ipaddrs
/network.ipaddrs6
- AWS metadata if the metadata grain is available
ipaddr.external_four
/ipaddr.external_six
(above)
States
hostname.is
: Sets the hostname, takes no arguments. (Note: See hostname(1) for information on FQDNs and other hostname variants.)
Configuration
spiro-network requires no configuration to function.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spiro-network-0.2.tar.gz
.
File metadata
- Download URL: spiro-network-0.2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82c7e880d222a77146a4103db8ee8596b5ee17d1d1c0c7e5a8b37b036a7d4807 |
|
MD5 | a0637f3d363ca484292463e377bd46e7 |
|
BLAKE2b-256 | 42daf31b11d9ec13562fd633fa7f9e7f8ea3a5dd2aee864ea8526645d3859c6a |
File details
Details for the file spiro_network-0.2-py3-none-any.whl
.
File metadata
- Download URL: spiro_network-0.2-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.7.0 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5094b83aebddc06716062826b12328ab791ef22415284b5e763368b3d5442c24 |
|
MD5 | 68df77bb23b16bd026049ca8608a4bba |
|
BLAKE2b-256 | cba5c7d428f137e8cced88552d0fdd16d0b9852d3fd697f247d47d07b26d3069 |