salt/doc/topics/targeting/ipcidr.rst
2014-06-17 17:20:49 -05:00

20 lines
419 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.