aboutsummaryrefslogtreecommitdiffstats
path: root/cloudify/types/onap.yaml
diff options
context:
space:
mode:
authorJun Hu <jh245g@att.com>2017-08-29 18:01:15 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-29 18:01:15 +0000
commitfddaaab3e256e1691d11dc6ec817217c484e762e (patch)
tree4fd121ceae5b9ec5d29c1d2664b98a237d7c3a94 /cloudify/types/onap.yaml
parentec8eda0552de47b71539244b8c0994aae862bbff (diff)
parent652bdc5eb7993af3d9841a4cf329ed63850f48d0 (diff)
Merge "Draft Cloudify blueprint for provisioning ONAP"
Diffstat (limited to 'cloudify/types/onap.yaml')
-rw-r--r--cloudify/types/onap.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/cloudify/types/onap.yaml b/cloudify/types/onap.yaml
new file mode 100644
index 0000000000..20ef33f2f3
--- /dev/null
+++ b/cloudify/types/onap.yaml
@@ -0,0 +1,34 @@
+node_types:
+ cloudify.onap.kubernetes.App:
+ derived_from: cloudify.nodes.Root
+ properties:
+ name:
+ type: string
+ description: >
+ Name of ONAP app
+ resources:
+ description: >
+ List of paths (relative, blueprint prespective)
+ to all kubernetes resources YAML files definition
+ default: []
+ services:
+ type: string
+ description: >
+ Path (relative, blueprint prespective)
+ to kubernetes app services YAML file definition
+ default: []
+ inputs:
+ description: >
+ Parameters required to create kubernetes resources for each app
+ default: {}
+ interfaces:
+ cloudify.interfaces.lifecycle:
+ create:
+ implementation: cloudify/scripts/onap/read_definitions.py
+ executor: central_deployment_agent
+ configure:
+ implementation: cloudify/scripts/onap/patch_definitions.py
+ executor: central_deployment_agent
+ start:
+ implementation: cloudify/scripts/onap/provision_definitions.py
+ executor: central_deployment_agent