saltext.vmware.modules.nsxt_manager#
Salt Module to manage VMware NSX-T configuration
- saltext.vmware.modules.nsxt_manager.set_manager_config(hostname, publish_fqdns, revision, username, password, cert_common_name=None, verify_ssl=True, cert=None)[source]#
Set NSX-T Manager’s config
CLI Example:
salt vm_minion nsxt_manager.set_manager_config hostname=nsxt-manager.local username=admin ...
- hostname
The host name of NSX-T manager
- username
Username to connect to NSX-T manager
- password
Password to connect to NSX-T manager
- publish_fqdns
Boolean value to set as publish_fqdns
- verify_ssl
(Optional) Option to enable/disable SSL verification. Enabled by default. If set to False, the certificate validation is skipped.
- cert
(Optional) Path to the SSL client certificate file to connect to NSX-T manager. The certificate can be retrieved from browser.
- cert_common_name
(Optional) By default, the hostname parameter and the common name in certificate is compared for host name verification. If the client certificate common name and hostname do not match (in case of self-signed certificates), specify the certificate common name as part of this parameter. This value is then used to compare against certificate common name.
- saltext.vmware.modules.nsxt_manager.get_manager_config(hostname, username, password, cert_common_name=None, verify_ssl=True, cert=None)[source]#
Get NSX-T Manager’s config
CLI Example:
salt vm_minion nsxt_manager.get_manager_config hostname=nsxt-manager.local username=admin ...
- hostname
The host name of NSX-T manager
- username
Username to connect to NSX-T manager
- password
Password to connect to NSX-T manager
- publish_fqdns
Boolean value to set as publish_fqdns
- verify_ssl
(Optional) Option to enable/disable SSL verification. Enabled by default. If set to False, the certificate validation is skipped.
- cert
(Optional) Path to the SSL client certificate file to connect to NSX-T manager. The certificate can be retrieved from browser.
- cert_common_name
(Optional) By default, the hostname parameter and the common name in certificate is compared for host name verification. If the client certificate common name and hostname do not match (in case of self-signed certificates), specify the certificate common name as part of this parameter. This value is then used to compare against certificate common name.