smart_proxy_ipam 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11231d7dfbe474369e7e309f78e07cab5f8f1659d53bbc9be1dfb47d8ad31483
|
4
|
+
data.tar.gz: ab1ff93dccf2f5757244265790ec8d59a43c26f1749121056b5b75bf71456b0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a0e228481042a1f2128f8fd0407b27d498503313fbe32d7105606cc92a281026e8ea5760f4e392f3cc961d646c437b6915c6302c4c10496eb72c88506390adc
|
7
|
+
data.tar.gz: a247f8664841b1460c9e4cc302828acc07c8219c1eb33a099ef3a16c43f5e641b5c90faf4c98df6b0562692787b6f009c47da70d8baa059bacf935a919db3b01
|
@@ -3,7 +3,7 @@ module Proxy::Ipam
|
|
3
3
|
class NotFound < RuntimeError; end
|
4
4
|
|
5
5
|
class Plugin < ::Proxy::Plugin
|
6
|
-
plugin '
|
6
|
+
plugin 'externalipam', Proxy::Ipam::VERSION
|
7
7
|
|
8
8
|
http_rackup_path File.expand_path('ipam_http_config.ru', File.expand_path('../', __FILE__))
|
9
9
|
https_rackup_path File.expand_path('ipam_http_config.ru', File.expand_path('../', __FILE__))
|
@@ -48,9 +48,6 @@ module Proxy::Phpipam
|
|
48
48
|
response = get('sections/')
|
49
49
|
json_body = JSON.parse(response.body)
|
50
50
|
json_body['data'] = filter_fields(json_body, [:id, :name, :description])
|
51
|
-
logger.debug("=================")
|
52
|
-
logger.debug("SECTIONS JSON: " + json_body.to_s)
|
53
|
-
logger.debug("=================")
|
54
51
|
response.body = json_body.to_json
|
55
52
|
response.header['Content-Length'] = json_body.to_s.length
|
56
53
|
response.body
|
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.15
|
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-12-
|
11
|
+
date: 2019-12-18 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
|
@@ -29,7 +29,7 @@ files:
|
|
29
29
|
- lib/smart_proxy_ipam/phpipam/phpipam_client.rb
|
30
30
|
- lib/smart_proxy_ipam/phpipam/phpipam_helper.rb
|
31
31
|
- lib/smart_proxy_ipam/version.rb
|
32
|
-
- settings.d/
|
32
|
+
- settings.d/externalipam.yml.example
|
33
33
|
homepage: http://github.com/grizzthedj/smart_proxy_ipam
|
34
34
|
licenses:
|
35
35
|
- GPL-3.0
|