Hi,

I am trying to setup closed loop for vFWCL. I have been following ONAP 
Amsterdam vFW Closed Loop 
Demo<https://wiki.onap.org/display/DW/ONAP+Amsterdam+vFW+Closed+Loop+Demo> to 
complete closed loop. For updating the policies, I supposed to run the script 
https://git.onap.org/demo/tree/vnfs/vFW/scripts/update-vfw-op-policy.sh?h=amsterdam.
 But after running the script I cannot see the rules that were added. below is 
the log from that script


Removing the vFW Policy from PDP..
* Trying 10.0.6.1...
* upload completely sent off: 133 out of 133 bytes
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Content-Type: text/plain;charset=ISO-8859-1
< Content-Length: 91
< Date: Thu, 15 Feb 2018 16:04:06 GMT
<
* Connection #0 to host 10.0.6.1 left intact
Transaction ID: f40e86ba-6e3c-4757-88d9-7e1786973a3d --The policy was 
successfully deleted.

Updating vFW Operational Policy ..

Transaction ID: f91e7b12-f248-441e-894a-f6fa3cbf2645 --Policy with the name 
com.Config_BRMS_Param_BRMSParamvFirewall.3.xml was successfully updated.

Pushing the vFW Policy ..


Transaction ID: dc5466f9-cfcf-4cee-bb4e-d1cd77ac1dd8 --Policy 
'com.Config_BRMS_Param_BRMSParamvFirewall.3.xml' was successfully pushed to the 
PDP group 'default'.

Restarting PDP-D ..

[email protected]<mailto:[email protected]>'s password:
[drools-pdp-controllers]
L []: Stopping Policy Management... Policy Management (pid=5795) is stopping... 
Policy Management has stopped.
[drools-pdp-controllers]
L []: Policy Management (pid 6046) is running

PDP-D amsterdam maven coordinates ..

* Trying 10.0.6.1...
* Connected to 10.0.6.1 (10.0.6.1) port 9696 (#0)
* Server auth using Basic with user '@1b3rt'
> GET /policy/pdp/engine/controllers/amsterdam/drools HTTP/1.1
> Host: 10.0.6.1:9696
> Authorization: Basic QDFiM3J0OjMxbnN0MzFu
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 15 Feb 2018 16:05:56 GMT
< Content-Type: application/json
< Content-Length: 231
< Server: Jetty(9.3.14.v20161028)
<
{ [231 bytes data]
* Connection #0 to host 10.0.6.1 left intact
{
"alive": false,
"artifactId": "NO-ARTIFACT-ID",
"brained": false,
"canonicalSessionNames": [],
"container": null,
"groupId": "NO-GROUP-ID",
"locked": false,
"recentSinkEvents": [],
"recentSourceEvents": [],
"sessionNames": [],
"version": "NO-VERSION"
}

PDP-D control loop updated ..

* Trying 10.0.6.1...
* Connected to 10.0.6.1 (10.0.6.1) port 9696 (#0)
* Server auth using Basic with user '@1b3rt'
> GET 
> /policy/pdp/engine/controllers/amsterdam/drools/facts/closedloop-amsterdam/org.onap.policy.controlloop.Params
>  HTTP/1.1
> Host: 10.0.6.1:9696
> Authorization: Basic QDFiM3J0OjMxbnN0MzFu
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 15 Feb 2018 16:05:56 GMT
< Content-Type: application/json
< Content-Length: 2
< Server: Jetty(9.3.14.v20161028)
<
{ [2 bytes data]
* Connection #0 to host 10.0.6.1 left intact
[]


Let me know if you need any additional logs


Best Regards

Bharath T
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to