summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_spinup.json
blob: 9ff4f3a1f3c5245e77771e6a724ab6440ce5db9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
  "tosca_definitions_version" : "controller_blueprint_1_0_0",
  "metadata" : {
    "template_author" : "Alexis de Talhouët",
    "author-email" : "adetalhouet89@gmail.com",
    "user-groups" : "ADMIN, OPERATION",
    "template_name" : "vFW_spinup",
    "template_version" : "1.0.0",
    "template_tags" : "vFW"
  },
  "imports" : [ {
    "file" : "Definitions/data_types.json"
  }, {
    "file" : "Definitions/relationship_types.json"
  }, {
    "file" : "Definitions/artifact_types.json"
  }, {
    "file" : "Definitions/node_types.json"
  }, {
    "file" : "Definitions/policy_types.json"
  } ],
  "topology_template" : {
    "workflows" : {
      "resource-assignment" : {
        "steps" : {
          "resource-assignment" : {
            "description" : "Resource Assign Workflow",
            "target" : "resource-assignment"
          }
        },
        "inputs" : {
          "template-prefix" : {
            "required" : true,
            "type" : "list",
            "entry_schema" : {
              "type" : "string"
            }
          },
          "resource-assignment-properties" : {
            "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
            "required" : true,
            "type" : "dt-resource-assignment-properties"
          }
        },
        "outputs" : {
          "meshed-template" : {
            "type" : "json",
            "value" : {
              "get_attribute" : [ "resource-assignment", "assignment-params" ]
            }
          }
        }
      }
    },
    "node_templates" : {
      "resource-assignment" : {
        "type" : "component-resource-resolution",
        "interfaces" : {
          "ResourceResolutionComponent" : {
            "operations" : {
              "process" : {
                "inputs" : {
                  "artifact-prefix-names" : {
                    "get_input" : "artifact-name"
                  }
                }
              }
            }
          }
        },
        "artifacts" : {
          "base-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/base-template.vtl"
          },
          "base-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/base-mapping.json"
          },
          "vfw-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vfw-template.vtl"
          },
          "vfw-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vfw-mapping.json"
          },
          "vfw-vnf-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vfw-vnf-template.vtl"
          },
          "vfw-vnf-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vfw-vnf-mapping.json"
          },
          "vpg-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vpg-template.vtl"
          },
          "vpg-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vpg-mapping.json"
          },
          "vsn-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vsn-template.vtl"
          },
          "vsn-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vsn-mapping.json"
          }
        }
      }
    }
  }
}