Skip to content

Command Line tools for interfacing with InfoBlox appliances

Notifications You must be signed in to change notification settings

rtucker-mozilla/bloxtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bloxtool

Command Line tools for interfacing with InfoBlox appliances

installation

to install v0.36 pip install -e git+git://github.com/rtucker-mozilla/bloxtool.git@v0.36#egg=bloxtool

Configuration File

~/.bloxtool.cfg

[InfoBlox] host = https://localhost
username = user@domain.com
password = foo bar baz
ssl_verify = true

Help

bloxtool -h

Cookbook

Italicized denotes a user supplied argument

Host

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

Host dhcp option

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

Create Authoratative Zone

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

About

Command Line tools for interfacing with InfoBlox appliances

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages