saltext.vmware.modules.nsxt_license#
Manage VMware NSX-T Data Center Licenses
- saltext.vmware.modules.nsxt_license.get_licenses(hostname, username, password, verify_ssl=True, cert=None, cert_common_name=None)[source]#
Retrieves license keys from Given NSX-T Manager
CLI Example:
salt vm_minion nsxt_license.get_licenses 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
- 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 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_license.apply_license(hostname, username, password, license_key, verify_ssl=True, cert=None, cert_common_name=None)[source]#
Applies given license key to NSX-T Manager
CLI Example:
salt vm_minion nsxt_license.apply_license 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
- license_key
The license key to be added to NSX-T Manager
- 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_license.delete_license(hostname, username, password, license_key, verify_ssl=True, cert=None, cert_common_name=None)[source]#
Deletes given license key in NSX-T Manager
CLI Example:
salt vm_minion nsxt_license.delete_license 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
- license_key
The license key to be deleted in NSX-T Manager
- 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.