How to Remove Trial Licenses from an Avi Controller
Licenses on an Avi Controller can be checked by navigating to Administration > Settings > Licensing on the Avi user interface. Trial license can not be removed using Avi user interface, or Avi CLI. Avi REST API is used to remove trial license.
Follow the instructions mentioned below to remove trial licenses from an Avi Controller.
Enable HTTP Basic authentication
Log in to Avi user interface, navigate to Administration > Settings > Access Settings, and click on the edit icon (the pencil icon).
Enable check-box for Allow Basic Authentication to enable HTTP basic authentication.
Use cURL command to delete the trial license
Run the following cURL command from a host which can reach the Avi Controller.
curl -k --user admin -X DELETE --header 'Accept: application/json' --header 'X-Avi-Version: <Controller-Version>' 'https://<controller-address>/api/license/Trial'
Example for the cURL command is shown below.
curl -k --user admin -X DELETE --header 'Accept: application/json' --header 'X-Avi-Version: 17.2.9' 'https://184.108.40.206/api/license/Trial'
Above command will prompt for the admin password. Enter the password for the admin account.
Verify the changes
To verify that the trial license is removed from the system successfully, navigate to Administration > Settings > Licensing in the Avi Controller UI.