Versions Compared

Key

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

...

Policy - CDS integration for VNF is tested with vFirewall use case. Drools-pdp is used for deploying operational policy & Xacml-pdp is used for deploying monitoring policy.

Brief Test flow:

  • Drools-PDP reads the ONSET event from unauthenticated.DCAE_CL_OUTPUT DMaaP topic
  • Based out of the event, a request is made to CDS using the CDS Actor by Drools-PDP, where the action is "modify-config"
  • Upon receiving the request, CDS fetches the VNF details from AAI and performs the modify config operation in VNF.
  • Drools-PDP receives corresponding response from CDS, the results are logged and also posted to POLICY-CL-MGT topic.

Setting up the test environment

ONAP Setup

ONAP Integration SB00 lab is used for the testing.

...

For CDS API to load the blueprint , please refer to the attached postman vFW CDS.postman_collection.json

SDC Service creation & distribution

...

DCAE Blueprint - dcae_blueprint.yaml

Policy creation & deployment

For policy creation, deployment and testing refer - vFW Policy.postman_collection.json

Use the below command to verify the configuration change in VNF

Code Block
curl -X GET http://10.0.101.34:8183/restconf/config/stream-count:stream-count/streams -H 'Accept: application/json' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json'