Module for getting information about network addresses.
New in version 2016.3.0.
depends: | netaddr |
---|
salt.modules.netaddress.
cidr_broadcast
(cidr)¶Get the broadcast address associated with a CIDR address.
CLI example:
salt myminion netaddress.cidr_netmask 192.168.0.0/20
salt.modules.netaddress.
cidr_netmask
(cidr)¶Get the netmask address associated with a CIDR address.
CLI example:
salt myminion netaddress.cidr_netmask 192.168.0.0/20
salt.modules.netaddress.
list_cidr_ips
(cidr)¶Get a list of IP addresses from a CIDR.
CLI example:
salt myminion netaddress.list_cidr_ips 192.168.0.0/20
salt.modules.netaddress.
list_cidr_ips_ipv6
(cidr)¶Get a list of IPv6 addresses from a CIDR.
CLI example:
salt myminion netaddress.list_cidr_ips_ipv6 192.168.0.0/20
Generated on July 18, 2017 at 06:45:48 MDT.
You are viewing docs for the previous stable release, 2016.3.6. Switch to docs for the latest stable release, 2016.11.6, or to a recent doc build from the develop branch.
© 2017 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy