Versions Compared

Key

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


Policy for Casablanca

/wiki/spaces/DW/pages/16286803?

kubectl exec -it dev-pap-8587696769-vwj6k -c pap -n onap -- bash -c "export PRELOAD_POLICIES=true; /tmp/policy-install/config/push-policies.sh"?

end a PUT request on the session object found using the Start / End / Elapsed: 20181024 16:32:52.111 / 20181024 16:32:52.448 / 00:00:00.337 16:32:52.111 TRACE Arguments: [ 'policy' | '/pdp/api/updatePolicy' | data={'attributes': {'MATCHING': {'controller': 'amsterdam'}, 'RULE': {'closedLoopControlName': 'ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a', 'controlLoopYaml': 'controlLoop%3A%0D%0A++version%3A+2.0.0%0D%0A++controlLoopName%3A+ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a%0D%0A++trigger_policy%3A+unique-policy-id-1-modifyConfig%0D%0A++timeout%3A+1200%0D%0A++abatement%3A+false%0D%0A+%0D%0Apolicies%3A%0D%0A++-+id%3A+unique-policy-id-1-modifyConfig%0D%0A++++name%3A+modify+packet+gen+config%0D%0A++++description%3A%0D%0A++++actor%3A+APPC%0D%0A++++recipe%3A+ModifyConfig%0D%0A++++target%3A%0D%0A++++++%23+TBD+-+Cannot+be+known+until+instantiation+is+done%0D%0A++++++resourceID%3A+7e2811c3-71d4-4b95-a596-d5710c24541d%0D%0A++++++type%3A+VNF%0D

Wiki Resource from Policy Project

https://wikilf-onap.onapatlassian.orgnet/wiki/display/DW/Policy+R1+Amsterdam+Functional+Test+Cases

/wiki/spaces/DW/pages/16252309

Policy interface CSIT

Workaround from /wiki/spaces/DW/pages/16252309 to fix Policy failure on health check, see 

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyPOLICY-365

...

Drools dcoker configuraion file. You can set VFC MSB service url in it and then restart the constainer

...

Drools logs directory. Event message can be seen in network.log. network.log has moved to a different directory on Drools container, search for it. 

languagepolicy@drools:/opt/app/policy/logs$
Code Block
bashtitleDrools Logs
collapsetrue
network.log
policy@dev-policy-drools-0:/tmp/policy-install$ ls -l total 1280
-rw-r--r-- 1 policy policy 1183256 Oct 23 17:24 debug/var/log/onap/policy/pdpd/network.log
-rw-r--r-- 1 policy policy 5086528 Feb 84048 Oct 23 17:23 error.log
-rw-r--r-- 1 policy policy   24670 Oct 23 17:15 network.log
-rw-r--r-- 1 policy policy       0 Oct 23 15:37 policy-management.err
-rw-r--r-- 1 policy policy       0 Oct 23 15:37 policy-management.out4 05:13 /var/log/onap/policy/pdpd/network.log