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
spiro-network-0.2.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for spiro_network-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5094b83aebddc06716062826b12328ab791ef22415284b5e763368b3d5442c24 |
|
MD5 | 68df77bb23b16bd026049ca8608a4bba |
|
BLAKE2b-256 | cba5c7d428f137e8cced88552d0fdd16d0b9852d3fd697f247d47d07b26d3069 |