1 tosca_definitions_version: tosca_simple_yaml_1_3
3 onap.datatypes.ToscaConceptIdentifier:
4 derived_from: tosca.datatypes.Root
12 onap.datatype.acm.Target:
13 derived_from: tosca.datatypes.Root
15 Definition for a entity in A&AI to perform an Automation Composition
20 description: Category for the target type
31 Map of values that identify the resource. If none are provided, it is
34 entity that generated the ONSET event will be the target.
37 clamp_possible_values: 'ClampExecution:CSAR_RESOURCES'
40 onap.datatype.acm.Actor:
41 derived_from: tosca.datatypes.Root
42 description: An actor/operation/target definition
46 description: The actor performing the operation.
49 clamp_possible_values: 'Dictionary:DefaultActors,ClampExecution:CDS/actor'
52 description: The operation the actor is performing.
54 clamp_possible_values: 'Dictionary:DefaultOperations,ClampExecution:CDS/operation'
57 type: onap.datatype.acm.Target
58 description: The resource the operation should be performed on.
62 description: Name/value pairs of payload information passed by Policy to the actor
65 clamp_possible_values: 'ClampExecution:CDS/payload'
68 onap.datatype.acm.Operation:
69 derived_from: tosca.datatypes.Root
70 description: An operation supported by an actor
74 description: Unique identifier for the operation
78 description: A user-friendly description of the intent for the operation
81 type: onap.datatype.acm.Actor
82 description: The definition of the operation to be performed.
86 description: The amount of time for the actor to perform the operation.
91 The number of retries the actor should attempt to perform the
98 Points to the operation to invoke on success. A value of
99 "final_success" indicates and end to the operation.
101 default: final_success
104 description: Points to the operation to invoke on Actor operation failure.
106 default: final_failure
110 Points to the operation to invoke when the time out for the operation
113 default: final_failure_timeout
117 Points to the operation to invoke when the current operation has
118 exceeded its max retries.
120 default: final_failure_retries
124 Points to the operation to invoke when the current operation causes an
127 default: final_failure_exception
131 Points to the operation to invoke when the current operation is
132 blocked due to guard policy enforcement.
134 default: final_failure_guard
135 onap.datatypes.monitoring.managedObjectDNsBasic:
142 description: Managed object distinguished name
146 name: onap.datatypes.monitoring.managedObjectDNsBasic
148 derived_from: tosca.datatypes.Root
150 onap.datatypes.monitoring.managedObjectDNsBasics:
153 managedObjectDNsBasic:
154 name: managedObjectDNsBasic
157 description: Managed object distinguished name object
161 type: onap.datatypes.monitoring.managedObjectDNsBasic
165 name: onap.datatypes.monitoring.managedObjectDNsBasics
167 derived_from: tosca.datatypes.Root
169 onap.datatypes.monitoring.measurementGroup:
173 name: measurementTypes
176 description: List of measurement types
180 type: onap.datatypes.monitoring.measurementTypes
184 managedObjectDNsBasic:
185 name: managedObjectDNsBasic
188 description: List of managed object distinguished names
192 type: onap.datatypes.monitoring.managedObjectDNsBasics
196 name: onap.datatypes.monitoring.measurementGroup
198 derived_from: tosca.datatypes.Root
200 onap.datatypes.monitoring.measurementGroups:
204 name: measurementGroup
207 description: Measurement Group
211 type: onap.datatypes.monitoring.measurementGroup
215 name: onap.datatypes.monitoring.measurementGroups
217 derived_from: tosca.datatypes.Root
219 onap.datatypes.monitoring.measurementType:
223 name: measurementType
226 description: Measurement type
230 name: onap.datatypes.monitoring.measurementType
232 derived_from: tosca.datatypes.Root
234 onap.datatypes.monitoring.measurementTypes:
238 name: measurementType
241 description: Measurement type object
245 type: onap.datatypes.monitoring.measurementType
249 name: onap.datatypes.monitoring.measurementTypes
251 derived_from: tosca.datatypes.Root
253 onap.datatypes.monitoring.nfFilter:
260 description: List of model names
269 name: modelInvariantIDs
272 description: List of model invariant IDs
281 name: modelVersionIDs
284 description: List of model version IDs
296 description: List of network functions
304 name: onap.datatypes.monitoring.nfFilter
306 derived_from: tosca.datatypes.Root
308 onap.datatypes.monitoring.subscription:
312 name: measurementGroups
315 description: Measurement Groups
319 type: onap.datatypes.monitoring.measurementGroups
327 description: File based granularity period
335 description: ROP file location
340 name: subscriptionName
343 description: Name of the subscription
348 name: administrativeState
351 description: State of the subscription
362 description: Network function filter
366 type: onap.datatypes.monitoring.nfFilter
370 name: onap.datatypes.monitoring.subscription
372 derived_from: tosca.datatypes.Root
374 org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest:
376 derived_from: tosca.datatypes.Root
379 type: onap.datatypes.ToscaConceptIdentifier
382 description: The name and version of a REST request to be sent to a REST endpoint
392 description: The REST method to use
396 description: The path of the REST request relative to the base URL
400 description: The body of the REST request for PUT and POST requests
405 description: THe expected HTTP status code for the REST request
406 org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity:
408 derived_from: tosca.datatypes.Root
410 configurationEntityId:
411 type: onap.datatypes.ToscaConceptIdentifier
415 The name and version of a Configuration Entity to be handled by the
416 HTTP Automation Composition Element
421 org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest
423 description: A sequence of REST commands to send to the REST endpoint
424 org.onap.datatypes.policy.clamp.acm.a1PmsAutomationCompositionElement.A1PolicyServiceEntity:
426 derived_from: tosca.datatypes.Root
428 a1PolicyServiceEntityId:
429 type: onap.datatypes.ToscaConceptIdentifier
432 description: The name and version of a Configuration Entity to be handled by the A1 PMS Automation Composition Element
436 description: Client Id to be created
440 description: The callback URL to get registered
441 keepAliveIntervalSeconds:
444 description: Keep alive interval time for the callback URL
446 onap.policies.Monitoring:
447 derived_from: tosca.policies.Root
448 description: a base policy type for all policies that govern monitoring provisioning
450 name: onap.policies.Monitoring
451 onap.policies.Sirisha:
452 derived_from: tosca.policies.Root
453 description: a base policy type for all policies that govern monitoring provisioning
455 name: onap.policies.Sirisha
456 onap.policies.monitoring.dcae-pm-subscription-handler:
460 type: onap.datatypes.monitoring.subscription
462 description: PMSH Policy JSON
466 name: onap.policies.monitoring.dcae-pm-subscription-handler
468 derived_from: onap.policies.Monitoring
470 onap.policies.acm.operational.Common:
471 derived_from: tosca.policies.Root
473 name: onap.policies.acm.operational.Common
475 Operational Policy for Automation Composition execution. Originated in
476 Frankfurt to support TOSCA Compliant
478 Policy Types. This does NOT support the legacy Policy YAML policy type.
482 description: The unique Automation Composition id.
487 Overall timeout for executing all the operations. This timeout should
488 equal or exceed the total
490 timeout for each operation listed.
495 Whether an abatement event message will be expected for the Automation
496 Composition from DCAE.
502 Initial operation to execute upon receiving an Onset event message for
503 the Automation Composition.
508 List of operations to be performed when Automation Composition is
512 type: onap.datatype.acm.Operation
513 onap.policies.acm.operational.common.Apex:
514 derived_from: onap.policies.acm.operational.Common
517 name: onap.policies.acm.operational.common.Apex
518 description: Operational policies for Apex PDP
520 engineServiceParameters:
523 The engine parameters like name, instanceCount, policy implementation,
526 eventInputParameters:
528 description: The event input parameters.
530 eventOutputParameters:
532 description: The event output parameters.
536 description: Name/value pairs of properties to be set for APEX if needed.
539 org.onap.policy.clamp.acm.Participant:
541 derived_from: tosca.nodetypes.Root
546 org.onap.policy.clamp.acm.AutomationCompositionElement:
548 derived_from: tosca.nodetypes.Root
556 Specifies the organization that provides the automation composition
559 type: onap.datatypes.ToscaConceptIdentifier
564 type: onap.datatypes.ToscaConceptIdentifier
569 The identity of the participant type that hosts this type of
570 Automation Composition Element
575 - greater_or_equal: 0
579 A value indicating the start phase in which this automation
580 composition element will be started, the first start phase is zero.
581 Automation Composition Elements are started in their start_phase order
582 and stopped in reverse start phase order. Automation Composition
583 Elements with the same start phase are started and stopped
585 uninitializedToPassiveTimeout:
589 - greater_or_equal: 0
594 The maximum time in seconds to wait for a state chage from
595 uninitialized to passive
596 passiveToRunningTimeout:
600 - greater_or_equal: 0
605 The maximum time in seconds to wait for a state chage from passive to
607 runningToPassiveTimeout:
611 - greater_or_equal: 0
616 The maximum time in seconds to wait for a state chage from running to
618 passiveToUninitializedTimeout:
622 - greater_or_equal: 0
627 The maximum time in seconds to wait for a state chage from passive to
629 org.onap.policy.clamp.acm.AutomationComposition:
631 derived_from: tosca.nodetypes.Root
639 Specifies the organization that provides the automation composition
647 type: onap.datatypes.ToscaConceptIdentifier
649 Specifies a list of automation composition element definitions that
650 make up this automation composition definition
651 org.onap.policy.clamp.acm.PolicyAutomationCompositionElement:
653 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
656 type: onap.datatypes.ToscaConceptIdentifier
659 type: onap.datatypes.ToscaConceptIdentifier
661 org.onap.policy.clamp.acm.CDSAutomationCompositionElement:
663 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
666 type: onap.datatypes.ToscaConceptIdentifier
668 org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
670 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
688 org.onap.policy.clamp.acm.HttpAutomationCompositionElement:
690 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
696 The base URL to be prepended to each path, identifies the host for the
703 description: HTTP headers to send on REST requests
704 configurationEntities:
709 org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity
712 The connfiguration entities the Automation Composition Element is
713 managing and their associated REST requests
714 org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement:
716 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
718 policyServiceEntities:
722 type: org.onap.datatypes.policy.clamp.acm.a1pmsAutomationCompositionElement.A1PolicyServiceEntity
724 description: The configuration entities of A1 PMS policy services
727 pmsh_monitoring_policy:
728 type: onap.datatypes.ToscaConceptIdentifier
729 description: The ID of the PMSH monitoring policy to use
732 MICROSERVICE_vLoadBalancerMS_v1_0_dcae-pm-subscription-handler_1_0_0test
734 pmsh_operational_policy:
735 type: onap.datatypes.ToscaConceptIdentifier
736 description: The ID of the PMSH operational policy to use
738 name: operational.apex.pmcontrol
741 org.onap.policy.clamp.acm.PolicyParticipant:
743 type: org.onap.policy.clamp.acm.Participant
745 description: Participant for DCAE microservices
748 org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement:
750 type: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
753 Automation composition element for the monitoring policy for Performance
754 Management Subscription Handling
758 name: org.onap.PM_Policy
761 name: org.onap.policy.clamp.acm.PolicyParticipant
764 name: onap.policies.monitoring.pm-subscription-handler
767 get_input: pmsh_monitoring_policy
768 org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement:
770 type: org.onap.policy.clamp.acm.PolicyAutomationCompositionElement
773 Automation composition element for the operational policy for
774 Performance Management Subscription Handling
778 name: org.onap.PM_Policy
781 name: org.onap.policy.clamp.acm.PolicyParticipant
784 name: onap.policies.operational.pm-subscription-handler
787 get_input: pmsh_operational_policy
788 org.onap.policy.clamp.acm.KubernetesParticipant:
790 type: org.onap.policy.clamp.acm.Participant
792 description: Participant for K8S
795 org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement:
797 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
799 description: Automation composition element for the K8S microservice for PMSH
803 name: K8sParticipant0
806 name: org.onap.policy.clamp.acm.KubernetesParticipant
813 releaseName: onap-dcae-pmsh
815 repoName: chartmuseum
816 address: 'http://chart-museum:80'
817 userName: onapinitializer
818 password: demo123456!
820 global.masterPassword: test
821 org.onap.policy.clamp.acm.HttpParticipant:
823 type: org.onap.policy.clamp.acm.Participant
825 description: Participant for Http requests
828 org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement:
830 type: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
833 Automation composition element for the http requests of PMSH
838 name: HttpParticipant0
841 name: org.onap.policy.clamp.acm.HttpParticipant
843 uninitializedToPassiveTimeout: 180
845 baseUrl: 'https://dcae-pmsh:8443'
847 Content-Type: application/json
848 configurationEntities:
849 - configurationEntityId:
859 { "subscription":{ "subscriptionName":"new_sub_01",
860 "operationalPolicyName":"pmsh-operational-policy",
861 "controlLoopName":"controlLoop-name", "nfFilter":{ "nfNames":[
862 "^pnf*" ], "modelInvariantIDs":[
863 "7129e420-d396-4efb-af02-6b83499b12f5" ], "modelVersionIDs":[
864 "e80a6ae3-cafd-4d24-850d-e14c084a5ca7" ], "modelNames":[
865 "pnf_134" ] }, "measurementGroups":[ { "measurementGroup":{
866 "measurementGroupName":"msgroup_01",
867 "administrativeState":"UNLOCKED", "fileBasedGP":15,
868 "fileLocation":"/pm/pm.xml", "measurementTypes":[ {
869 "measurementType":"EutranCell.*" }, {
870 "measurementType":"EutranCellRelation.pmCounter1" }, {
871 "measurementType":"EutranCellRelation.pmCounter2" } ],
872 "managedObjectDNsBasic":[ {
873 "DN":"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1"
875 "DN":"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1,
876 EUtranCellRelation=CityCenter2" }, {
877 "DN":"ManagedElement=1,ENodeBFunction=1,EUtranCell=CityCenter1,
878 EUtranCellRelation=CityCenter3" } ] } } ] } }
879 expectedResponse: 201
880 org.onap.k8s.acm.A1PMSAutomationCompositionParticipant:
882 type: org.onap.policy.clamp.acm.Participant
884 description: Participant for A1 PMS requests
887 org.onap.domain.database.PMSH_A1PMSAutomationCompositionElement:
889 type: org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement
891 description: Automation composition element for the A1 PMS Requests
895 name: org.onap.policy.clamp.acm.A1PMSParticipant
897 policyServiceEntities:
898 - a1PolicyServiceEntityId:
901 clientId: firstService
902 callbackUrl: http://localhost
903 keepAliveIntervalSeconds: 0
904 - a1PolicyServiceEntityId:
907 clientId: secondService
908 callbackUrl: http://127.0.0.1
909 keepAliveIntervalSeconds: 0
910 org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:
912 type: org.onap.policy.clamp.acm.AutomationComposition
914 description: Automation composition for Hello World
919 org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement
922 org.onap.domain.database.Http_PMSHMicroserviceAutomationCompositionElement
925 org.onap.domain.database.PMSH_A1PMSAutomationCompositionElement
928 org.onap.domain.pmsh.PMSH_MonitoringPolicyAutomationCompositionElement
931 org.onap.domain.pmsh.PMSH_OperationalPolicyAutomationCompositionElement