/
Creating Extensible Attribute Definitions and Network View Associations

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:

  1. Configure neutron.conf with the Grid Master details and administrator user.
  2. Run create_ea_defs.py.
  3. 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:

NameTypeComment
Address Scope ID MappingStringMapping
Address Scope Name MappingStringMapping
Admin Network DeletionListGrid Configuration
Allow Service RestartListGrid Configuration
Allow Static Zone DeletionListGrid Configuration
Cloud Adapter IDStringGrid Configuration
DHCP SupportListGrid Configuration
DNS Record Binding TypesStringGrid Configuration
DNS Record Removable TypesStringGrid Configuration
DNS Record Unbinding TypesStringGrid Configuration
DNS SupportListGrid Configuration
DNS ViewStringGrid Configuration
Default Domain Name PatternStringGrid Configuration
Default Host Name PatternStringGrid Configuration
Default Network View ScopeListGrid Configuration
Default Network ViewStringGrid Configuration
External Domain Name PatternStringGrid Configuration
External Host Name PatternStringGrid Configuration
Grid Sync Maximum Wait TimeIntegerGrid Configuration
Grid Sync Minimum Wait TimeIntegerGrid Configuration
Grid Sync SupportListGrid Configuration
IP Allocation StrategyListGrid Configuration
Is Cloud MemberListGrid Membership
Last Grid Sync TimeStringGrid Sync Report
NS GroupStringGrid Configuration
Network ID MappingStringMapping
Network Name MappingStringMapping
Network TemplateStringGrid Configuration
Relay SupportListGrid Configuration
Report Grid Sync TimeListGrid Configuration
Subnet CIDR MappingStringMapping
Subnet ID MappingStringMapping
Tenant ID MappingStringMapping
Tenant Name MappingStringMapping
Tenant Name PersistenceListGrid Configuration
Tenant NameStringTenant Name in OpenStack
Use Grid Master for DHCPListGrid Configuration
Zone Creation StrategyListGrid Configuration

Related content