Configuring the Unified API
This section describes how to configure the unified API through the PCF Ops Center.
PCF receive NAP requests to requery the LDAP and reevaluate policies after receiving notification about profile change from NAP, so the new policies are applied. PCF receives the NAP requests through the unified API ingress endpoint.
To configure the unified API, use the following configuration in the Policy Ops Center console:
config
api unified
engine-group engine_group_name
external-port external_ip
externalIPs external_ip
end
NOTES:
-
api unified – Enter the unified API configuration mode.
-
engine-group engine_group_name – Specifies the PCF engine's group name.
-
external-port port_number – This is an optional parameter, and is required when you want the service to be accessed using an external IP instead of an Ingress endpoint. Specifies the external port number to expose the unified API endpoint.
-
externalIPs external_ip – This is an optional parameter, and is required when you want the service to be accessed using an external IP instead of an Ingress endpoint. Specifies the IP address for the external endpoint.