The cloud-init automatically configures NetMRI and Sandbox virtual appliances with user-defined parameters. Currently, automatic configuration is possible for deployments of OpenStack , Proxmox, and AWS. YAML and XML formats are supported for cloud-init configurations, but only the most essential cloud-init configuration fields are supported. For details about the valid fields for each option, refer to the Configuring Network Interfaces section.
You When setting up a NetMRI instance in OpenStack, you can pass the configuration file to the NetMRI VM in different ways when setting up a NetMRI instance in OpenStackvarious methods. The file format depends is dependent on the way chosenmethod selected. These ways include methods consist of the following:
Using direct text input or upload of uploading the configuration file accessible via network . - The text or file must use the YAML format. This method is enabled by default cluster-wide in an OpenStack environment, although there may be some distributions that disable it.
Using the Configuration Drive (i.e., virtual CD-ROM) . You provide the - The configuration file is provided as described above and specify mentioned above, along with an additional Configuration Drive option. The file is automatically placed in an ISO image that appears to the VM as a CDROM drive.
Using the OVF transport method . - The configuration file must be an XML file of the OVF schema type, encoded in the Base 64 encoding. For more information, see Using OVF Transport Method of Passing Configuration File to NetMRI VM Instance.
YAML Format Examples
The following are examples of YAML-formatted configuration file content from the NetMRI and Sandbox configurations:
Configuring NetMRI with a Static IP Address for the MGMT Interface
#infoblox-config
default_admin_password:
"admin_password"
...
server_1:
time.local
timezone:
Etc/UTC
Configuring MGMT Interface IP for NetMRI using DHCP
#infoblox-config
default_admin_password:
"admin_password"
...
server_1:
time.local
timezone:Etc/UTC
Configuring Sandbox with a Static IP Address for the MGMT Interface
#infoblox-config
default_admin_password:
"admin_password"
...
server_1:
time.local
timezone:
Etc/UTC
Configuring DHCP IP for MGMT Interface in a Sandbox
#infoblox-config
default_admin_password:
"admin_password"
...
server_1:
time.local
timezone:Etc/UTC
XML Format Example
The following is an example of XML-formatted configuration file content:
...
Note |
---|
NoteThe value of the user-data key here is of the same format as the configuration above but encoded in the Base64 encoding. |