PermitANY

Automation · python · 103 copies

Infoblox VLAN / Network Provisioner

Provisions a new VLAN on an Infoblox NIOS grid as the five objects it really is -- the network, the DHCP range, the DHCP options, the reverse zone and the gateway records -- from one YAML template plus a list of VLANs, over WAPI v2.x. Creates them in topological order, because a range cannot exist before its network and a PTR cannot exist before its reverse zone, and reports what DID get created when a step fails. Refuses a DHCP pool that would hand out the gateway, computes the one reverse zone a /24 needs and the two a /23 needs, and detects the /25 case it cannot create at all because RFC 2317 delegation has to come from the parent. Dry run by default; writes only with --apply.

  • NIOS / WAPI v2.x
$pip install "requests>=2.28" "PyYAML>=6.0"
terminal

Tags

infobloxnioswapiipamdhcpdnsvlanprovisioningautomation