smart_proxy_dhcp_remote_isc 0.0.1 → 0.0.2
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_dhcp_remote_isc/file_parser.rb +1 -1
- data/lib/smart_proxy_dhcp_remote_isc/plugin_configuration.rb +2 -2
- data/lib/smart_proxy_dhcp_remote_isc/subnet_service_initializer.rb +1 -1
- data/lib/smart_proxy_dhcp_remote_isc/version.rb +1 -1
- data/test/plugin_configuration_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 791ed53caa083fc063689c010c4cb947b7848f15
|
4
|
+
data.tar.gz: 7b07573e49911d84b203f37249f34228e085bc29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a3579fa011f5c5e6fc335e59f5f2eb918c185636d4b446092304f8814833c844c7a5c70cd521f7992edfca46d0c414587d22533b90c32985755d7c3e5edbbf8
|
7
|
+
data.tar.gz: 34e2fffd46cc104689fbe71a9987833f142d408615237da64c9fb1c89221e119d180e3cf0ea3c9ea42bbf4f05d3275645951dac819e2f5c6cfc0e688641e23bf
|
@@ -8,7 +8,7 @@ module Proxy::DHCP::RemoteISC
|
|
8
8
|
container.get_dependency(:memory_store), container.get_dependency(:memory_store))
|
9
9
|
end)
|
10
10
|
container.dependency :parser, lambda {::Proxy::DHCP::RemoteISC::IscFileParser.new}
|
11
|
-
container.dependency :config_file, lambda {::Proxy::DHCP::IscConfigurationFile.new(settings[:config], container.get_dependency(:parser))}
|
11
|
+
container.dependency :config_file, lambda {::Proxy::DHCP::CommonISC::IscConfigurationFile.new(settings[:config], container.get_dependency(:parser))}
|
12
12
|
container.dependency :subnet_service_initializer, (lambda do
|
13
13
|
::Proxy::DHCP::RemoteISC::SubnetServiceInitializer.new(container.get_dependency(:config_file), settings[:leases],
|
14
14
|
container.get_dependency(:parser), container.get_dependency(:subnet_service))
|
@@ -16,7 +16,7 @@ module Proxy::DHCP::RemoteISC
|
|
16
16
|
container.dependency :initialized_subnet_service, lambda {container.get_dependency(:subnet_service_initializer).initialized_subnet_service }
|
17
17
|
|
18
18
|
container.dependency :dhcp_provider, (lambda do
|
19
|
-
Proxy::DHCP::IscOmapiProvider.new(
|
19
|
+
Proxy::DHCP::CommonISC::IscOmapiProvider.new(
|
20
20
|
settings[:server], settings[:omapi_port], settings[:subnets], settings[:key_name], settings[:key_secret],
|
21
21
|
container.get_dependency(:initialized_subnet_service))
|
22
22
|
end)
|
@@ -2,7 +2,7 @@ require 'dhcp_common/isc/subnet_service_initialization'
|
|
2
2
|
|
3
3
|
module Proxy::DHCP::RemoteISC
|
4
4
|
class SubnetServiceInitializer
|
5
|
-
include ::Proxy::DHCP::IscSubnetServiceInitialization
|
5
|
+
include ::Proxy::DHCP::CommonISC::IscSubnetServiceInitialization
|
6
6
|
include Proxy::Log
|
7
7
|
|
8
8
|
attr_reader :config_file, :leases_path, :parser, :service
|
@@ -55,7 +55,7 @@ class ProductionDiWiringsTest < Test::Unit::TestCase
|
|
55
55
|
assert service_initializer
|
56
56
|
assert_equal ::Proxy::DHCP::SubnetService, service_initializer.service.class
|
57
57
|
assert_equal ::Proxy::DHCP::RemoteISC::IscFileParser, service_initializer.parser.class
|
58
|
-
assert_equal ::Proxy::DHCP::IscConfigurationFile, service_initializer.config_file.class
|
58
|
+
assert_equal ::Proxy::DHCP::CommonISC::IscConfigurationFile, service_initializer.config_file.class
|
59
59
|
assert_equal @settings[:leases], service_initializer.leases_path
|
60
60
|
end
|
61
61
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_dhcp_remote_isc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitri Dolguikh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Smart-Proxy dhcp module provider for NFS-accessible ISC dhcpd installations
|
14
14
|
email:
|