smart_proxy_ipam 0.0.15 → 0.0.16
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/README.md +6 -6
- data/lib/smart_proxy_ipam/ipam_main.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: 2aabee347a7edd212a629d75d24d812cbe772d16cc7626ee7691d550c28091d8
|
4
|
+
data.tar.gz: a516d9a3925ededc68b1a1738c9eb6d406e09e8769e042201fb28a86ba8071f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 `
|
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 '
|
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
|
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/
|
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 `
|
66
|
-
12. Create a Subnet, and associate the subnet to the `
|
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
|
|
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.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-
|
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
|