smart_proxy_ipam 0.0.15 → 0.0.16

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: 11231d7dfbe474369e7e309f78e07cab5f8f1659d53bbc9be1dfb47d8ad31483
4
- data.tar.gz: ab1ff93dccf2f5757244265790ec8d59a43c26f1749121056b5b75bf71456b0e
3
+ metadata.gz: 2aabee347a7edd212a629d75d24d812cbe772d16cc7626ee7691d550c28091d8
4
+ data.tar.gz: a516d9a3925ededc68b1a1738c9eb6d406e09e8769e042201fb28a86ba8071f0
5
5
  SHA512:
6
- metadata.gz: 9a0e228481042a1f2128f8fd0407b27d498503313fbe32d7105606cc92a281026e8ea5760f4e392f3cc961d646c437b6915c6302c4c10496eb72c88506390adc
7
- data.tar.gz: a247f8664841b1460c9e4cc302828acc07c8219c1eb33a099ef3a16c43f5e641b5c90faf4c98df6b0562692787b6f009c47da70d8baa059bacf935a919db3b01
6
+ metadata.gz: 4956e02e3637c56c9274a36488723d1a49099362d238b57bbc41a9549c39ea75ecc0af1f4a88738cf3d0636c1c154b9b7ab1a146b98a11cf898700f062bbe4cc
7
+ data.tar.gz: d339ecc86c1d1f23e770fac2bd83d1f4245333a99b893c6cce847c47af29d89017e6c8f634f62c3f0f97cce5298f569dad7c28bedc55662d787a81fc5242327a
data/README.md CHANGED
@@ -17,7 +17,7 @@ for how to install Foreman plugins
17
17
 
18
18
  Once plugin is installed, you can use phpIPAM to get the next available IP address for a subnet:
19
19
 
20
- 1. Create a subnet in Foreman of IPAM type "External IPAM". Click on the `Proxy` tab and associate the subnet with a Smart Proxy that has the `external_ipam` feature enabled. _NOTE: This subnet must actually exist in phpIPAM. There is no integration with subnet creation at this time._
20
+ 1. Create a subnet in Foreman of IPAM type "External IPAM". Click on the `Proxy` tab and associate the subnet with a Smart Proxy that has the `External IPAM` feature enabled. _NOTE: This subnet must actually exist in phpIPAM. There is no integration with subnet creation at this time._
21
21
  2. Create a host in Foreman. When adding/editing interfaces, select the above created subnet, and the next available IP in the selected subnet will be pulled from phpIPAM, and displayed in the IPv4 address field. _NOTE: This is not supported for IPv6._
22
22
 
23
23
  ## Local development
@@ -47,14 +47,14 @@ gem 'foreman_ipam', :path => '/path/to/foreman_ipam'
47
47
  ```
48
48
  bundle install
49
49
  bundle exec rails db:migrate
50
- bundle exec rails db:seed # This adds 'external_ipam' feature to Features table
50
+ bundle exec rails db:seed # This adds 'External IPAM' feature to Features table
51
51
  bundle exec foreman start
52
52
  ```
53
- 6. Add the smart_proxy_phpipam plugin to `Gemfile.local.rb` in Smart Proxy bundler.d directory
53
+ 6. Add the smart_proxy_ipam plugin to `Gemfile.local.rb` in Smart Proxy bundler.d directory
54
54
  ```
55
55
  gem 'smart_proxy_ipam', :path => '/path/to/smart_proxy_ipam'
56
56
  ```
57
- 7. Copy `config/settings.d/external_ipam.yml.example` to `config/settings.d/external_ipam.yml` and replace values with your phpIPAM URL and credentials.
57
+ 7. Copy `config/settings.d/externalipam.yml.example` to `config/settings.d/externalipam.yml` and replace values with your phpIPAM URL and credentials.
58
58
  8. From Smart Proxy root directory run ...
59
59
  ```
60
60
  bundle install
@@ -62,8 +62,8 @@ bundle exec smart-proxy start
62
62
  ```
63
63
  9. Navigate to Foreman UI at http://localhost:5000
64
64
  10. Add a Local Smart Proxy in the Foreman UI(Infrastructure => Smart Proxies)
65
- 11. Ensure that the `external_ipam` feature is present on the proxy(http://localhost:8000/features)
66
- 12. Create a Subnet, and associate the subnet to the `external_ipam` proxy
65
+ 11. Ensure that the `External IPAM` feature is present on the proxy(http://localhost:8000/features)
66
+ 12. Create a Subnet, and associate the subnet to the `External IPAM` proxy
67
67
 
68
68
  ## Contributing
69
69
 
@@ -5,7 +5,7 @@ module Proxy::Ipam
5
5
 
6
6
  class << self
7
7
  def get_config
8
- Proxy::Ipam::Plugin.settings.external_ipam
8
+ Proxy::Ipam::Plugin.settings.externalipam
9
9
  end
10
10
  end
11
11
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Proxy
3
3
  module Ipam
4
- VERSION = '0.0.15'
4
+ VERSION = '0.0.16'
5
5
  end
6
6
  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.15
4
+ version: 0.0.16
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-18 00:00:00.000000000 Z
11
+ date: 2019-12-20 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