Versions Compared

Key

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

Introduction

...

  • 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

...

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'

Test result

The testing for vFW use case is successfully completed using the details mentioned above. The "active streams" was changed from 1 to 7 in the device. 

Code Block
BEFORE
root@sb01-nfs:~# 
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'

{"streams":{"active-streams":1}}

root@sb01-nfs:~#


AFTER
root@sb01-nfs:~# 
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'

{"streams":{"active-streams":7}}

root@sb01-nfs:~#