本节介绍了如何配置 IPAM DNS 提供程序配置文件。
可以使用 configure ipamdnsproviderprofile <profile name>
命令创建 IPAM DNS 提供程序配置文件。
注:
用于配置文件配置的参数取决于环境。
[admin-cntrl1]: configure ipamdnsproviderprofile dns-profile [admin-cntrl1]: ipamdnsproviderprofile> allocate_ip_in_vrf If this flag is set, only allocate IP from networks in the Virtual Service VRF. Applicable for Avi Vantage IPAM only aws_profile (submode) azure_profile (submode) cancel Exit the current submode without saving custom_profile (submode) do Execute a show command gcp_profile (submode) infoblox_profile (submode) internal_profile (submode) name Name for the IPAM/DNS Provider profile new (Editor Mode) Create new object in editor mode no Remove field openstack_profile (submode) proxy_configuration (submode) save Save and exit the current submode show_schema show object schema tenant_ref Help string not found for argument type Provider Type for the IPAM/DNS Provider profile watch Watch a given show command where Display the in-progress object [admin-cntrl1]: ipamdnsproviderprofile>
提供所需的名称:dns-profile。
选择 IPAMDNS_TYPE_CUSTOM 以作为类型。
提供
custome-dns-profile
以作为custom_ipam_dns_profile_ref
值(在上一步中创建的自定义 DNS 配置文件的名称)。
以下额外参数将传递给脚本:
Name:
api_version
Value:2.2
[admin-cntrl1]: > show ipamdnsproviderprofile dns-profile +-------------------------------+------------------------------------------ | Field | Value -----------+-------------------------------------------------------------+ | uuid |ipamdnsproviderprofile-82ec8888-122e-4ca9-a1b3-0320c37e2d68 | name | dns-profile | type | IPAMDNS_TYPE_CUSTOM | custom_profile | | custom_ipam_dns_profile_ref | custom-dns-profile | dynamic_params[1] | | name | api_version | value | 2.2 | is_sensitive | False | is_dynamic | False | allocate_ip_in_vrf | False | tenant_ref | admin +-------------------------------+----------------------------------------+