mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
498a612078
Conflicts: doc/topics/cloud/linode.rst doc/topics/cloud/misc.rst doc/topics/cloud/parallels.rst doc/topics/cloud/proxmox.rst Conflicts: doc/topics/development/architecture.rst doc/topics/development/translating.rst
19 lines
418 B
ReStructuredText
19 lines
418 B
ReStructuredText
.. _targeting-ipcidr:
|
|
|
|
==========================
|
|
Subnet/IP Address Matching
|
|
==========================
|
|
|
|
Minions can easily be matched based on IP address, or by subnet (using CIDR_
|
|
notation).
|
|
|
|
.. code-block:: bash
|
|
|
|
salt -S 192.168.40.20 test.ping
|
|
salt -S 10.0.0.0/24 test.ping
|
|
|
|
.. _CIDR: http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
|
|
|
.. note::
|
|
|
|
Only IPv4 matching is supported at this time. |