smart_proxy_ipam 0.0.8 → 0.0.9
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/smart_proxy_ipam/phpipam/phpipam_api.rb +1 -1
- data/lib/smart_proxy_ipam/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: 903c2fe4707574d5898ba16c5974484b6969b30d93bb7111068fd4f612e44432
|
4
|
+
data.tar.gz: 7c274fbb32851d7dea75a900a5f76fcaad0d317ef3ea1422274f5db265ca2be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2377fc0504d1ca888c3d3710d00a1ab4f993c16f122e8d8570c5c8d60d89bcc9b9cf0dd7c8b3c7af182b2b02b8f2318c4addf54c270c682b13e76cdfdc6316c7
|
7
|
+
data.tar.gz: 63a7b1dec614cd796c68542a63b2263c5bcfd08d4043e1095535154d4f67d1b5c1d00dd90bc06b6ae657e0306c31c08a73a35fff10ed04f9305022bfd0fb7bbf
|
@@ -48,7 +48,7 @@ module Proxy::Phpipam
|
|
48
48
|
return {:error => "There are no more free addresses in subnet #{cidr}"}.to_json
|
49
49
|
end
|
50
50
|
|
51
|
-
{cidr
|
51
|
+
{:cidr => cidr, :next_ip => response['data']}.to_json
|
52
52
|
rescue Errno::ECONNREFUSED
|
53
53
|
return {:error => "Unable to connect to External IPAM server"}.to_json
|
54
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_ipam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Smart proxy plugin for IPAM integration with various IPAM providers
|
14
14
|
email: chrisjsmith001@gmail.com
|