mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add note to various network_hosts docs about long_run for IPv6 networks
This commit is contained in:
parent
11862743c2
commit
b8bcc0d599
2 changed files with 11 additions and 1 deletions
|
@ -1202,7 +1202,12 @@ Returns:
|
|||
|
||||
.. versionadded:: 2017.7.0
|
||||
|
||||
Return the list of hosts within a networks.
|
||||
Return the list of hosts within a networks. This utility works for both IPv4 and IPv6.
|
||||
|
||||
.. note::
|
||||
|
||||
When running this command with a large IPv6 network, the command will
|
||||
take a long time to gather all of the hosts.
|
||||
|
||||
Example:
|
||||
|
||||
|
|
|
@ -453,6 +453,11 @@ def _network_hosts(ip_addr_entry):
|
|||
def network_hosts(value, options=None, version=None):
|
||||
'''
|
||||
Return the list of hosts within a network.
|
||||
|
||||
.. note::
|
||||
|
||||
When running this command with a large IPv6 network, the command will
|
||||
take a long time to gather all of the hosts.
|
||||
'''
|
||||
ipaddr_filter_out = _filter_ipaddr(value, options=options, version=version)
|
||||
if not ipaddr_filter_out:
|
||||
|
|
Loading…
Add table
Reference in a new issue