cloudcontrol_sdk 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudcontrol/api/network.rb +8 -1
- data/lib/cloudcontrol/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d17faf5cf614afa3b309a77795067475c4d81c9180b33a89190133f01ca684e
|
4
|
+
data.tar.gz: 3b52f63c3b584b2c6bec22030c0a9798c730f290cf7ee06e9ca3f9dec647197f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24ede1dd9f374451c37217e2f5c88f4abb2d6835ef9c2ce509e4475517d2a41bdc3283e6254879c1f5f9eba3eb58eb1c919c56943c83866bf4579bc24f307c9e
|
7
|
+
data.tar.gz: d04582fabf131c9fdf1b80241cf1b4b80d7d5f7b62a2981ca962040e5e269de81b3c5ffc04c04100aa8913df1c1cd640d7209dadf2d897c840bdb42b0693c482
|
@@ -61,5 +61,12 @@ module CloudControl::API
|
|
61
61
|
xml_params(schema: "network", tag: "AclRule", name: name, position: position, action: (allow ? "PERMIT" : "DENY"), protocol: protocol, source_ip_range: {}, destination_ip_range: {}, port_range: {type: "EQUAL_TO", port1: port}, type: (inbound ? "OUTSIDE_ACL" : "INSIDE_ACL"))
|
62
62
|
post
|
63
63
|
end
|
64
|
-
|
64
|
+
|
65
|
+
def list_fw_rules(options = {})
|
66
|
+
endpoint "/#{org_id}/network/firewallRule"
|
67
|
+
query_params options
|
68
|
+
get_simple
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
65
72
|
end
|
data/lib/cloudcontrol/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudcontrol_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nigel Wright
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|