Interface and CLI application for Infoblox NIOS
Project description
An unofficial python library for interfacing with Infoblox NIOS. This library is not affiliated with Infoblox, Inc. <http://www.infoblox.com> in any way.
Documentation
Requirements
Python 2.6, 2.7, 3.2, 3.3
argparse <http://pypi.python.org/pypi/argparse> (Python 2.6 only)
requests <http://docs.python-requests.org/en/latest/>
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
infoblox-1.1.1.tar.gz
(10.0 kB
view details)
File details
Details for the file infoblox-1.1.1.tar.gz
.
File metadata
- Download URL: infoblox-1.1.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aebeb33663706fac51f4c831185dc89c044d9a45d82c6d3f7faa6394dc5cd889 |
|
MD5 | 591143bc7fc4b206a7f92e5c32e32c8f |
|
BLAKE2b-256 | b92de94afbbdc02b18b0ab50f6c2f56412031bc268cacff707bca976e7b697e6 |