Skip to content

About

"network_create.py' python script automates the creation of network containers and networks in Infoblox based on user provided EA-State value. It uses the Infoblox REST API to communicate with the Infoblox Grid Master and create the required network objects. Please feel free to customize the code according to your use case by choosing any other EA

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Infoblox Network Container and networks Creator

This is a Python script that creates new network container(/23) based on provided Extensible Attribute value and three new networks(/24,/25 and /27) under this new network container

Getting Started

Prerequisites

  • Python 3.x
  • requests library

Usage

python create_networks.py [state]

  • The script takes a 2-letter state code as a positional argument. For example: "AR", "FL", "NY".

  • This script will create a new /23 network container under the parent container with EA-State value of the provided state.

  • Then it would create /24, /25, and /27 networks under the new /23 container.

Configuration

Before running the script, you must set the following variables in the script:

  • gm_url: URL of the Infoblox GM
  • gm_user: Infoblox GM username
  • gm_pwd: Infoblox GM password

Example

To create new network containers and networks for the state of Arkansas:

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

"network_create.py' python script automates the creation of network containers and networks in Infoblox based on user provided EA-State value. It uses the Infoblox REST API to communicate with the Infoblox Grid Master and create the required network objects. Please feel free to customize the code according to your use case by choosing any other EA

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages