smart_proxy_ipam 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smart_proxy_ipam/phpipam/phpipam_client.rb +12 -12
- data/lib/smart_proxy_ipam/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: 31d37a53e82e3012f1294a9dabcbb9d81a82e543044342ad0fb4e5f9e194e49d
|
4
|
+
data.tar.gz: 9fd70c4b9b5b831c6132033939bacb7c7599db02a3f9f0228a5d9cc783c01aad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bfb1dcf2521689d1ff1a9b77ed33bcc613cce659f2f5372f5aec3933d06fec5588e6722b05e16626c26a6d7f5dd504df7e5709b99a355d5be4f2df2dfcb5893
|
7
|
+
data.tar.gz: 57de94ac91e4856ab9a034cdbdda4e78e6381705a958a06675a4bc6a358a47cc7dc896ffe7ef51c1c575850da12b627583e74979d8c95a1ee7a6316820254c2d
|
@@ -34,10 +34,10 @@ module Proxy::Phpipam
|
|
34
34
|
# Only return the relevant fields to Foreman
|
35
35
|
subnets['data'].each do |subnet|
|
36
36
|
response.push({
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
:id => subnet['id'],
|
38
|
+
:subnet => subnet['subnet'],
|
39
|
+
:description => subnet['description'],
|
40
|
+
:mask => subnet['mask']
|
41
41
|
})
|
42
42
|
end
|
43
43
|
|
@@ -58,9 +58,9 @@ module Proxy::Phpipam
|
|
58
58
|
if sections
|
59
59
|
sections.each do |section|
|
60
60
|
response.push({
|
61
|
-
|
62
|
-
|
63
|
-
|
61
|
+
:id => section['id'],
|
62
|
+
:name => section['name'],
|
63
|
+
:description => section['description']
|
64
64
|
})
|
65
65
|
end
|
66
66
|
end
|
@@ -76,11 +76,11 @@ module Proxy::Phpipam
|
|
76
76
|
# Only return the relevant data
|
77
77
|
subnets['data'].each do |subnet|
|
78
78
|
response.push({
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
79
|
+
:id => subnet['id'],
|
80
|
+
:subnet => subnet['subnet'],
|
81
|
+
:mask => subnet['mask'],
|
82
|
+
:sectionId => subnet['sectionId'],
|
83
|
+
:description => subnet['description']
|
84
84
|
})
|
85
85
|
end
|
86
86
|
end
|