Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This operation allows the PDP groups and subgroups to be created and deployed together with their policies. A POST operation is used to create a new PDP group name. A POST operation is also used to update an existing PDP group. Many PDP groups can be created or updated in a single POST operation by specifying more than one PDP group in the POST operation body.

...

Code Block
languageyml
titlePOST body to deploy or update PDP groups
collapsetrue
pdp_groups:
  - name: onap.pdpgroup.Monitoring
    description: DCAE mS Configuration Policies
    pdp_subgroups:
      - pdp_type: xacml
          policies:
            - onap.scaleout.tca

Simple API for CLAMP to

...

deploy one or more policy-id's with optional policy-version

...

.

https:{url}:{port}/policy/pap/v1/pdps/policies POST

...


Description of the JSON Payload for the decision API Call

FieldR/OTypeDescription
ONAPNameRStringName of the ONAP Project that is making the request.
ONAPComponentOStringName of the ONAP Project component that is making the request.
ONAPInstanceOStringOptional instance identification for that ONAP component.
actionRString

The action that the ONAP component is performing on a resource.

eg. "configure" → DCAE uS onap.Monitoring policy Decisions to configure uS

"naming"

"placement"

"guard"

These sub metadata structures are used to refine which resource the ONAP component is performing an action upon.

At least one is required in order for Policy to return a Decision.

Multiple structures may be utilized to help refine a Decision.

policy-type-name


StringThe policy type name. This may be a regular expression.
policy-id
String

The policy id. This may be a regular expression or an exact value.














This example below shows the JSON body of a query for a specify policy-id

...