Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

scottyob/infoblox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infoblox

An unofficial python library for interfacing with Infoblox NIOS. This library is not affiliated with _Infoblox, Inc. <http://www.infoblox.com> in any way.

PyPI version Downloads Build Status

Documentation

http://infoblox.readthedocs.org

Requirements

CLI Usage

usage: infoblox-host [-h] [--version] [--debug] [-u USERNAME] [-p PASSWORD]
          <Infoblox Address> {add,remove} <FQDN> [IPv4 Address] [COMMENT]

Add or remove a host from the Infoblox appliance

positional arguments:
  <Infoblox Address>    The Infoblox hostname
  {add,remove}          Specify if you are adding or removing a host
  <FQDN>                The FQDN for the host
  [IPv4 Address]        The IPv4 address for the host
  [COMMENT]             A comment set on the host when adding.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --debug               Enable debug output
  -u USERNAME, --username USERNAME
                        The username to perform the work as. Default: admin
  -p PASSWORD, --password PASSWORD
                        The password to authenticate with. Default: infoblox

Library Usage

import infoblox

session = infoblox.Session('127.0.0.1', 'admin', 'infoblox')
host = infoblox.Host(session)
host.name = 'foo.bar.net'
host.add_ipv4addr('10.0.0.1')
if host.save():
    print('Host saved')

About

A python library for interfacing with Infoblox NIOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 87.7%
  • Shell 12.3%