infoblox 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -2
- data/lib/infoblox/resource/srv.rb +8 -0
- data/lib/infoblox/resource/txt.rb +8 -0
- data/lib/infoblox/version.rb +1 -1
- metadata +6 -4
data/README.md
CHANGED
@@ -34,8 +34,9 @@ Once a connection is made, one can use the resource class methods to query recor
|
|
34
34
|
|
35
35
|
You can also search across the Infoblox cluster using the `Infoblox::Search` resource. The response will contain any number of `Infoblox::Resource` subclass instances.
|
36
36
|
|
37
|
-
result = Infoblox::Search.
|
38
|
-
|
37
|
+
result = Infoblox::Search.find(connection, "search_string~" => "webserver-")
|
38
|
+
# => [#<Infoblox::Host>, #<Infoblox::Ptr>, ...]
|
39
|
+
|
39
40
|
## Creating, updating, and deleting resources
|
40
41
|
The resource class instances support `get`, `post`, `put`, and `delete`. For example, creating a network is pretty straightforward:
|
41
42
|
|
data/lib/infoblox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infoblox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -134,6 +134,8 @@ files:
|
|
134
134
|
- lib/infoblox/resource/network_container.rb
|
135
135
|
- lib/infoblox/resource/ptr.rb
|
136
136
|
- lib/infoblox/resource/search.rb
|
137
|
+
- lib/infoblox/resource/srv.rb
|
138
|
+
- lib/infoblox/resource/txt.rb
|
137
139
|
- lib/infoblox/version.rb
|
138
140
|
- spec/connection_spec.rb
|
139
141
|
- spec/host_spec.rb
|
@@ -155,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
157
|
version: '0'
|
156
158
|
segments:
|
157
159
|
- 0
|
158
|
-
hash:
|
160
|
+
hash: -156332127227690039
|
159
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
162
|
none: false
|
161
163
|
requirements:
|
@@ -164,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
166
|
version: '0'
|
165
167
|
segments:
|
166
168
|
- 0
|
167
|
-
hash:
|
169
|
+
hash: -156332127227690039
|
168
170
|
requirements: []
|
169
171
|
rubyforge_project:
|
170
172
|
rubygems_version: 1.8.24
|