Unable to create a new uplink profile with Policy API on NSX for vShield Endpoint license environment.
search cancel

Unable to create a new uplink profile with Policy API on NSX for vShield Endpoint license environment.

book

Article ID: 383583

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Policy API "PUT /policy/api/v1/infra/host-switch-profiles/<host-switch-profile-id>" fails with the following error message on NSX 4.x.
{
  "details" : "This feature is not supported with the current applied license. Please upgrade your license in order to use this feature.",
  "httpStatus" : "FORBIDDEN",
  "error_code" : 505,
  "module_name" : "common-services",
  "error_message" : "This feature is not supported with the current applied license. Please upgrade your license in order to use this feature."
}

 

  • A new uplink profile creation also fails with the same error message on NSX 4.2.x UI. 

 

  • Only vShield Endpoint license is applied to the NSX Manager.

Environment

NSX 4.x with vShield Endpoint license.

Note that the environment in which the problem occurs varies depending on the version.

  • On NSX 4.2.x LE (Limited Export), this issue occurs on both UI and Policy API.
  • On NSX 4.2.x (non- LE), this issue does not occur on both UI and Policy API during the first 60 days.
    • Since the first 60 days will be in evaluation mode on NSX 4.2.x.
  • On NSX 4.1.x and 4.0.x, this issue occurs only on Policy API, not on UI.
    • Since Policy API is not used on UI on these versions. 

Cause

This issue is caused by a bug regarding policy API to create uplink profiles.

Resolution

To create a new uplink profile, use the MP API instead of UI or policy API.

POST api/v1/host-switch-profiles

Please refer to the following API guide for more detail about the MP API.

* Create a Hostswitch Profile
https://dp-downloads.broadcom.com/api-content/apis/API_NTDCRA_001/4.2/html/api_includes/method_CreateHostSwitchProfile.html