cloudcontrol_sdk 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cloudcontrol/api/network.rb +12 -23
- data/lib/cloudcontrol/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a1c786592c3d9724506f3c9e4af2c2d82cd40589f23df576f8e34ac3a0c6f25
|
|
4
|
+
data.tar.gz: 10947a3d6dba2866169373a8a1a73ebe963b924a384cf06380b4b6634b5fb35a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f29baccd49dea29bc3fd1290d1152743a8c8247fe6f1ddd6bfe6e8f6a53434e1e7ed9bad2e95b92d4560e4ffe1f734a587097d04ace976a257ff95f71c11cba
|
|
7
|
+
data.tar.gz: 7291b4e3bd02876323f196f511971a80cf44cb08ccc5470c2567c91982f86544f7affcd1fff7d86cd9795729745e8f2a9dfd5dd469e65d0b1d7a513b4798f99a
|
|
@@ -22,37 +22,32 @@ module CloudControl::API
|
|
|
22
22
|
single(listvlans(options))
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
def list_publicipv4(
|
|
25
|
+
def list_publicipv4(options = {})
|
|
26
26
|
org_endpoint '/network/publicIpBlock'
|
|
27
|
-
options[:networkDomain] = network_domain_id
|
|
28
27
|
query_params options
|
|
29
28
|
get_simple
|
|
30
29
|
end
|
|
31
30
|
|
|
32
|
-
def list_reserved_publicipv4(
|
|
31
|
+
def list_reserved_publicipv4(options = {})
|
|
33
32
|
org_endpoint '/network/reservedPublicIpv4Address'
|
|
34
|
-
options[:networkDomain] = network_domain_id
|
|
35
33
|
query_params options
|
|
36
34
|
get_simple
|
|
37
35
|
end
|
|
38
36
|
|
|
39
|
-
def list_reserved_privateipv4(
|
|
37
|
+
def list_reserved_privateipv4(options = {})
|
|
40
38
|
org_endpoint '/network/reservedPrivateIpv4Address'
|
|
41
|
-
options[:networkDomain] = network_domain_id
|
|
42
39
|
query_params options
|
|
43
40
|
get_simple
|
|
44
41
|
end
|
|
45
42
|
|
|
46
|
-
def list_reserved_ipv6(
|
|
43
|
+
def list_reserved_ipv6(options = {})
|
|
47
44
|
org_endpoint '/network/reservedIpv6Address'
|
|
48
|
-
options[:networkDomain] = network_domain_id
|
|
49
45
|
query_params options
|
|
50
46
|
get_simple
|
|
51
47
|
end
|
|
52
48
|
|
|
53
|
-
def list_staticroutes(
|
|
54
|
-
|
|
55
|
-
org_endpoint '/network/staticRoute'
|
|
49
|
+
def list_staticroutes(options = {})
|
|
50
|
+
org_endpoint '/network/staticRoute'
|
|
56
51
|
query_params options
|
|
57
52
|
get_simple
|
|
58
53
|
end
|
|
@@ -63,23 +58,20 @@ module CloudControl::API
|
|
|
63
58
|
get_simple
|
|
64
59
|
end
|
|
65
60
|
|
|
66
|
-
def list_ipaddress_lists(
|
|
61
|
+
def list_ipaddress_lists(options = {})
|
|
67
62
|
org_endpoint '/network/ipAddressList'
|
|
68
|
-
options[:networkDomainId] = network_domain_id
|
|
69
63
|
query_params options
|
|
70
64
|
get_simple
|
|
71
65
|
end
|
|
72
66
|
|
|
73
|
-
def list_port_lists(
|
|
67
|
+
def list_port_lists(options = {})
|
|
74
68
|
org_endpoint '/network/portList'
|
|
75
|
-
options[:networkDomainId] = network_domain_id
|
|
76
69
|
query_params options
|
|
77
70
|
get_simple
|
|
78
71
|
end
|
|
79
72
|
|
|
80
|
-
def list_nat_rules(
|
|
73
|
+
def list_nat_rules( options = {})
|
|
81
74
|
org_endpoint '/network/natRule'
|
|
82
|
-
options[:networkDomainId] = network_domain_id
|
|
83
75
|
query_params options
|
|
84
76
|
get_simple
|
|
85
77
|
end
|
|
@@ -126,23 +118,20 @@ module CloudControl::API
|
|
|
126
118
|
get_simple
|
|
127
119
|
end
|
|
128
120
|
|
|
129
|
-
def list_default_healthmon(
|
|
121
|
+
def list_default_healthmon(options = {})
|
|
130
122
|
org_endpoint '/networkDomainVip/defaultHealthMonitor'
|
|
131
|
-
options[:networkDomainId] = network_domain_id
|
|
132
123
|
query_params options
|
|
133
124
|
get_simple
|
|
134
125
|
end
|
|
135
126
|
|
|
136
|
-
def list_default_persistence(
|
|
127
|
+
def list_default_persistence(options = {})
|
|
137
128
|
org_endpoint '/networkDomainVip/defaultPersistenceProfile'
|
|
138
|
-
options[:networkDomainId] = network_domain_id
|
|
139
129
|
query_params options
|
|
140
130
|
get_simple
|
|
141
131
|
end
|
|
142
132
|
|
|
143
|
-
def list_default_irules(
|
|
133
|
+
def list_default_irules(options = {})
|
|
144
134
|
org_endpoint '/networkDomainVip/defaultiRu'
|
|
145
|
-
options[:networkDomainId] = network_domain_id
|
|
146
135
|
query_params options
|
|
147
136
|
get_simple
|
|
148
137
|
end
|
data/lib/cloudcontrol/version.rb
CHANGED