From eb04e45311683dba1d54c8e5db293a2d3877eb68 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 31 Mar 2015 09:39:27 -0400 Subject: [PATCH] fixed doc issues with cloudstack_fw --- cloud/cloudstack/cloudstack_fw.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/cloud/cloudstack/cloudstack_fw.py b/cloud/cloudstack/cloudstack_fw.py index 0014f433c47..cb60c1cde64 100644 --- a/cloud/cloudstack/cloudstack_fw.py +++ b/cloud/cloudstack/cloudstack_fw.py @@ -45,23 +45,23 @@ options: description: - CIDR (full notation) to be used for firewall rule. required: false - default: '0.0.0.0\0' - start_port + default: '0.0.0.0/0' + start_port: description: - Start port for this rule. Considered if C(protocol=tcp) or C(protocol=udp). required: false default: null - end_port + end_port: description: - End port for this rule. Considered if C(protocol=tcp) or C(protocol=udp). required: false default: null - icmp_type + icmp_type: description: - Type of the icmp message being sent. Considered if C(protocol=icmp). required: false default: null - icmp_code + icmp_code: description: - Error code for this icmp message. Considered if C(protocol=icmp). required: false @@ -106,9 +106,6 @@ EXAMPLES = ''' state: absent ''' -RETURN = ''' -''' - try: from cs import CloudStack, CloudStackException, read_config has_lib_cs = True