Creating Extensible Attribute Definitions and Network View Associations
The Infoblox IPAM Driver for OpenStack Neutron uses a variety of Extensible Attributes (EAs) to manage its configuration. You can create the needed extensible attributes automatically by using the create_ea_defs.py
script. The script is available under the tools
directory. The location of the script and the command to run the script based on the OpenStack version, are as follows:
Location: /usr/local/lib/python3.x/dist-packages/networking_infoblox
$ python3 create_ea_defs.py
The script prompts you for the user name and password of an Infoblox NIOS admin user, which is needed to create the extensible attributes definitions.
The script also prompts you for the association or un-association of network views with OpenStack. This is an important step. You can use this script to select network views explicitly to use in OpenStack. An associated network view will have Cloud Adapter ID extensible attributes stored on that network view. The Cloud Adapter ID is equivalent to cloud_data_center_id
defined in neutron.conf.
If you use the IPAM driver with Cloud Platform (CP), you must run the create_ea_defs.py
script on the Grid Master as follows:
- Configure neutron.conf with the Grid Master details and administrator user.
- Run
create_ea_defs.py
. - Change neutron.conf config to point to the CP member. User details can be changed to the Cloud User. If you have multiple OpenStack deployments for the same Grid Master, then this is needed only for the first OpenStack deployment.
The list of extensible attributes is as follows:
Name | Type | Comment |
---|---|---|
Address Scope ID Mapping | String | Mapping |
Address Scope Name Mapping | String | Mapping |
Admin Network Deletion | List | Grid Configuration |
Allow Service Restart | List | Grid Configuration |
Allow Static Zone Deletion | List | Grid Configuration |
Cloud Adapter ID | String | Grid Configuration |
DHCP Support | List | Grid Configuration |
DNS Record Binding Types | String | Grid Configuration |
DNS Record Removable Types | String | Grid Configuration |
DNS Record Unbinding Types | String | Grid Configuration |
DNS Support | List | Grid Configuration |
DNS View | String | Grid Configuration |
Default Domain Name Pattern | String | Grid Configuration |
Default Host Name Pattern | String | Grid Configuration |
Default Network View Scope | List | Grid Configuration |
Default Network View | String | Grid Configuration |
External Domain Name Pattern | String | Grid Configuration |
External Host Name Pattern | String | Grid Configuration |
Grid Sync Maximum Wait Time | Integer | Grid Configuration |
Grid Sync Minimum Wait Time | Integer | Grid Configuration |
Grid Sync Support | List | Grid Configuration |
IP Allocation Strategy | List | Grid Configuration |
Is Cloud Member | List | Grid Membership |
Last Grid Sync Time | String | Grid Sync Report |
NS Group | String | Grid Configuration |
Network ID Mapping | String | Mapping |
Network Name Mapping | String | Mapping |
Network Template | String | Grid Configuration |
Relay Support | List | Grid Configuration |
Report Grid Sync Time | List | Grid Configuration |
Subnet CIDR Mapping | String | Mapping |
Subnet ID Mapping | String | Mapping |
Tenant ID Mapping | String | Mapping |
Tenant Name Mapping | String | Mapping |
Tenant Name Persistence | List | Grid Configuration |
Tenant Name | String | Tenant Name in OpenStack |
Use Grid Master for DHCP | List | Grid Configuration |
Zone Creation Strategy | List | Grid Configuration |