Command Line tools for interfacing with InfoBlox appliances
to install v0.36 pip install -e git+git://github.com/rtucker-mozilla/bloxtool.git@v0.36#egg=bloxtool
~/.bloxtool.cfg
[InfoBlox]
host = https://localhost
username = user@domain.com
password = foo bar baz
ssl_verify = true
bloxtool -h
Italicized denotes a user supplied argument
bloxtool host get hostname foo.domain.com
bloxtool host get hostname foo.domain.com --options --extattrs # Returns the host's ipv4 DHCP options and InfoBlox extattrs
bloxtool host create mac "" ipv4addrs 10.48.75.6 name foo.domain.com
bloxtool host create mac "00:00:00:00:00:00" ipv4addrs nextavailableip name foo.domain.com
bloxtool host dhcpoption set host-name value different-foo.domain.com hostname foo.domain.com
bloxtool host dhcpoption delete host-name hostname foo.domain.com
bloxtool zoneauth create zone foo.bar.domain.com view 'View Name' --ns-group='Nameserver Group'
bloxtool network zoneassociation create zone foo.bar.domain.com view 'View Name' network 10.0.0.0/21