Add initial version of code
[nonrtric/plt/rappmanager.git] / rapp-manager-application / src / main / resources / resource-csar / Definitions / asd.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_2\r
2 \r
3 description: First drop of free5gc and ueransim ASD\r
4 \r
5 imports:\r
6   - asd_types.yaml\r
7 \r
8 topology_template:\r
9   node_templates:\r
10    applicationServiceDescriptor:\r
11       type: tosca.nodes.asd\r
12       description: "Free5gc"\r
13       properties:\r
14         descriptor_id: 123e4567-e89b-12d3-a456-426614174000\r
15         descriptor_invariant_id: 123e4yyy-e89b-12d3-a456-426614174abc\r
16         descriptor_version: 1.0\r
17         schema_version: 2.0\r
18         function_description: free5gc description\r
19         provider: EST\r
20         application_name: free5gc-app\r
21         application_version: 2.3\r
22         ext_cpds:\r
23           - id: 1\r
24             description: webpage-service\r
25             virtual_link_requirement: endUser\r
26             network_interface_realization_requirements:\r
27               trunk_mode: false\r
28               ipam: orchestrated\r
29               interface_type: direct.userdriver\r
30               interface_option:\r
31                 - virtio\r
32                 - memif\r
33               interface_redundancy: actPassBond\r
34               nic_options:\r
35                 - nic id1\r
36                 - nic id2\r
37             input_param_mappings:\r
38               loadbalancer_IP: 1.2.3.4\r
39               external_IPs:\r
40                 - 5.6.7.8\r
41                 - 10.11.12.13\r
42               nad_names:\r
43                 - nad name 1\r
44                 - nad name 2\r
45               nad_namespace: myNamespace\r
46             resource_mapping: my resource manifest\r
47           - id: 2\r
48             description: transactionAPI\r
49             virtual_link_requirement: backhaul\r
50             network_interface_realization_requirements:\r
51               trunk_mode: true\r
52               ipam: orchestrated\r
53               interface_type: direct.userdriver\r
54               interface_option:\r
55                 - virtio\r
56               interface_redundancy: actPassBond\r
57               nic_options:\r
58                 - nic id3\r
59                 - nic id4\r
60             input_param_mappings:\r
61               loadbalancer_IP: 192.168.1.0\r
62               external_IPs:\r
63                 - 192.168.1.1\r
64                 - 192.168.1.2\r
65               nad_names:\r
66                 - nad name 3\r
67                 - nad name 4\r
68               nad_namespace: myNamespace2\r
69             resource_mapping: my resource manifest\r
70         enhanced_cluster_capabilities:\r
71           min_kernel_version: 1.2.3\r
72           required_kernel_modules:\r
73             - ip6_tables\r
74             - cryptd\r
75           conflicting_kernel_modules:\r
76             - nf_nat\r
77           required_custom_resources:\r
78             - kind: myKind\r
79               api_version: myVersion\r
80             - kind: mySecondKind\r
81               api_version: mySecondVersion\r
82           cluster_labels:\r
83             - label 1\r
84             - label 2\r
85           required_plugin:\r
86             - name: plugin1Name\r
87               version: 1.2.3\r
88             - name: plugin2Name\r
89               version: 4.5.6\r
90       artifacts:\r
91         free5gc:\r
92           type: tosca.artifacts.asd.deploymentItem\r
93           file: "Artifacts/Deployment/HELM/free5gc-1.1.3.tgz"\r
94           properties:\r
95             artifact_type: "helm_chart"\r
96             itemId: 1\r
97             deployment_order: 1\r
98             lifecycle_parameters:\r
99               - ".Values.global.n2network.masterIf"\r
100               - ".Values.global.n3network.masterIf"\r
101               - ".Values.global.n4network.masterIf"\r
102               - ".Values.global.n6network.masterIf"\r
103         ueransim-free5gc:\r
104           type: tosca.artifacts.asd.deploymentItem\r
105           file: "Artifacts/Deployment/HELM/ueransim-2.0.14.tgz"\r
106           properties:\r
107             artifact_type: "helm_chart"\r
108             itemId: 2\r
109             deployment_order: 2\r
110             lifecycle_parameters:\r
111               - ".Values.global.n2network.masterIf"\r
112               - ".Values.global.n3network.masterIf"\r