Skip to content

Commit

Permalink
Merge pull request #262 from AvRajath/master
Browse files Browse the repository at this point in the history
Updating Objects with all supported object calls available in NIOS schema.
  • Loading branch information
AvRajath authored May 14, 2020
2 parents e7c2b79 + dffb92c commit 1ab91bb
Show file tree
Hide file tree
Showing 7 changed files with 18,115 additions and 515 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
History
-------

0.5.0 (2020-05-14)
------------------
* Majorly Updated objects with around 380+ NIOS object calls supported now.(Find the infoblox_client/objects.py file to list the supported objects and its descriptions)
* Bug Fixes
* python-six dependency set to >=1.11.0

0.4.25 (2020-03-12)
___________________
* Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion infoblox_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__author__ = 'John Belamaric'
__email__ = '[email protected]'
__version__ = '0.4.25'
__version__ = '0.5.0'
6 changes: 3 additions & 3 deletions infoblox_client/object_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ def create_network(self, net_view_name, cidr, nameservers=None,

options = []
if nameservers:
options.append(obj.DhcpOption(name='domain-name-servers',
options.append(obj.Dhcpoption(name='domain-name-servers',
value=",".join(nameservers)))
if ipv4 and gateway_ip:
options.append(obj.DhcpOption(name='routers',
options.append(obj.Dhcpoption(name='routers',
value=gateway_ip))
if ipv4 and dhcp_trel_ip:
options.append(obj.DhcpOption(name='dhcp-server-identifier',
options.append(obj.Dhcpoption(name='dhcp-server-identifier',
num=54,
value=dhcp_trel_ip))
return obj.Network.create(self.connector,
Expand Down
Loading

0 comments on commit 1ab91bb

Please sign in to comment.