From 93a237f604ec1cf666fb74d0d94142b023921556 Mon Sep 17 00:00:00 2001 From: Ethan Devenport Date: Mon, 29 Aug 2016 06:18:25 +0000 Subject: [PATCH] Minor documentation corrections. --- .../extras/cloud/profitbricks/profitbricks.py | 4 ++++ .../profitbricks/profitbricks_firewall_rule.py | 16 ++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py index 0f4e8ff6fa2..f8d6eb78fd0 100644 --- a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py +++ b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks.py @@ -98,6 +98,10 @@ options: - This will assign the machine to the public LAN. If no LAN exists with public Internet access it is created. required: false default: false + nic_name: + description: + - The name of the default NIC. + required: false lan: description: - The ID of the LAN you wish to add the servers to. diff --git a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_firewall_rule.py b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_firewall_rule.py index 902d6f94cc4..f04d2a7f2b1 100644 --- a/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_firewall_rule.py +++ b/lib/ansible/modules/extras/cloud/profitbricks/profitbricks_firewall_rule.py @@ -38,36 +38,36 @@ options: description: - The name or UUID of the firewall rule. required: false - protocol + protocol: description: - The protocol for the firewall rule. choices: [ "TCP", "UDP", "ICMP" ] required: true - mac_source + mac_source: description: - Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. No value allows all source MAC addresses. required: false - source_ip + source_ip: description: - Only traffic originating from the respective IPv4 address is allowed. No value allows all source IPs. required: false - target_ip + target_ip: description: - In case the target NIC has multiple IP addresses, only traffic directed to the respective IP address of the NIC is allowed. No value allows all target IPs. required: false - port_range_start + port_range_start: description: - Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen. Leave value empty to allow all ports. required: false - port_range_end + port_range_end: description: - Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen. Leave value empty to allow all ports. required: false - icmp_type + icmp_type: description: - Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen. No value allows all types. required: false - icmp_code + icmp_code: description: - Defines the allowed code (from 0 to 254) if protocol ICMP is chosen. No value allows all codes. required: false