...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
After the PDPs have registered with the PAP: http:{url}:{port}/pap/v1/pdps GET # # PAP - how it lists existing PDP Groups and Sub Groups and the models loaded # pdp_groups: - name: Control Loop runtime group description: ONAP Control Loop Operational and Guard policies subgroups: - pdp_type: drools instances: - instance: drools_1 # K8S identifier? IP?? models: - onap.controlloop.operational - instance: drools_2 models: - onap.controlloop.operational - instance: drools-3 models: - onap.controlloop.operational - pdp_type: apex instances: - instance: apex_1 models: - onap.controlloop.operational - instance: apex_2 models: - onap.controlloop.operational - instance: apex_3 models: - onap.controlloop.operational - pdp_type: xacml instances: - instance: xacml_1 models: - onap.controlloop.guard - onap.controlloop.coordination - instance: xacml_2 models: - onap.controlloop.guard - onap.controlloop.coordination - name: DCAE policy group description: DCAE mS Configuration Policies subgroups: - pdp_type: xacml instances: - instance: xacml_1 models: - onap.controlloop.monitoring - instance: xacml_2 models: - onap.controlloop.monitoring |
...
NOTE: Seems this is a reverse hierarchy of the PAP PDP Groups listing:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
http:{url}:{port}/api/v1/models GET { "policy_domains": [ { "domain": "onap.monitoring", "id": "dublin.monitoring.base", "description": "This is the base domain that is used to help generate monitoring\ndomains for specific DCAE microservice models.\n", "pdp_types": [ "xacml" ], "version": 1 }, { "domain": "onap.controlloop.operational", "id": "dublin.operational.drools", "description": "This is the operational policy domain that support action policies for\ncontrol loops that are supported by the Drools PDP engine.\n", "pdp_types": [ "drools" ], "version": 1 }, { "domain": "onap.controlloop.operational", "id": "dublin.operational.apex", "description": "This is the operational policy domain that support action policies for\ncontrol loops that are supported by the Apex PDP engine.\n", "pdp_types": [ "apex" ], "version": 1 }, { "domain": "onap.controlloop.guard", "id": "dublin.guard", "description": "This is the XACML based guard policy domain that supports frequency limiter, blacklist/whitelist and min/max guard policies.\n", "pdp_types": [ "xacml" ], "version": 1 }, { "domain": "onap.controlloop.coordination", "id": "dublin.coordination", "description": "This is the XACML based guard policy domain that supports frequency limiter, blacklist/whitelist and min/max guard policies.\n", "pdp_types": [ "xacml" ], "version": 1 } ] } models: - model: onap.Monitoring description: A base policy type for all policies that govern monitoring provision pdp_groups: - name: DCAE policy group description: DCAE mS Configuration Policies pdp_types: - XACML - model: onap.controlloop.Operational description: Operational Policy for Control Loops pdp_groups: - name: Control Loop runtime group description: ONAP Control Loop Operational and Guard policies pdp_types: - Drools - Apex - model: onap.policy.controlloop.guard.frequencylimiter description: Supports limiting the frequency of actions being taken by a Actor. pdp_groups: - name: Control Loop runtime group description: ONAP Control Loop Operational and Guard policies pdp_types: - XACML - model: onap.policy.controlloop.guard.blacklist description: Supports blacklist of VNF's from performing control loop actions on. pdp_groups: - name: Control Loop runtime group description: ONAP Control Loop Operational and Guard policies pdp_types: - XACML - model: onap.policy.controlloop.guard.minmax description: Supports Min/Max number of VF Modules pdp_groups: - name: Control Loop runtime group description: ONAP Control Loop Operational and Guard policies pdp_types: - XACML - model: onap.controlloop.Coordination.TBD description: CLC description TBD pdp_groups: - name: Control Loop runtime group description: ONAP Control Loop Operational and Guard policies pdp_types: - XACML |
4 Policy Lifecycle API - Adding new DCAE microservice component domains
...