CLI example

This commit is contained in:
Ryan Lane 2015-10-09 15:05:57 -07:00
parent 81028e86ad
commit 07cd3a0ad4

View file

@ -168,6 +168,12 @@ def listener_dict_to_tuple(listener):
'''
Convert an ELB listener dict into a listener tuple used by certain parts of
the AWS ELB API.
CLI example:
.. code-block:: bash
salt myminion boto_elb.listener_dict_to_tuple '{"elb_port":80,"instance_port":80,"elb_protocol":"HTTP"}'
'''
# We define all listeners as complex listeners.
if 'instance_protocol' not in listener: