Creating Extensible Attribute Definitions and Network View Associations
The Infoblox IPAM Driver for RHOSP uses a variety of Extensible Attributes (EAs) to manage its configuration. The needed extensible attributes may be created automatically using the create_ea_defs.py
script inside the IPAM agent container. To run the python scripts inside the Infoblox IPAM agent container, complete the following steps:
- Use the following command to enter the container:
$ docker exec -it infoblox_ipam_agent /bin/bash
- Enter the path of the networking_infoblox python package:
$ cd /usr/lib/python2.7/site-packages/networking_infoblox/tools
- Run the create_ea_defs.py file:
$ python 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 EA definitions.
The script also prompts you for association or un-association of network views to 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 EAs stored on that network view. The Cloud Adapter ID is equivalent to cloud_data_center_id
defined in neutron.conf.
To exit the IPAM agent container, press Ctrl+P and Ctrl+Q in your keyboard.
If you use the Driver with Cloud Platform (CP), you should run create_ea_defs.py
on the Grid Master:
- 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 RHOSP deployment.
The following are lists for Extensible Attributes:
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 |