aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS/templates/cba/Definitions/vFW_CDS.json
blob: 13bec84b17f58c29c415a0d0c559e437860ef527 (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
  "tosca_definitions_version" : "controller_blueprint_1_0_0",
  "metadata" : {
    "template_author" : "Abdelmuhaimen Seaudi",
    "author-email" : "abdelmuhaimen.seaudi@orange.com",
    "user-groups" : "ADMIN, OPERATION",
    "template_name" : "vFW_CDS",
    "template_version" : "1.0.0",
    "template_tags" : "vFW-CDS, vfw-CDS, SCALE-OUT"
  },
  "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"
  } ],
  "dsl_definitions" : {
    "ipam-1" : {
      "type" : "token-auth",
      "url" : "http://netbox-nginx:8080",
      "token" : "Token 0123456789abcdef0123456789abcdef01234567"
    },
    "config-deploy-properties" : {
      "resolution-key" : {
        "get_input" : "resolution-key"
      }
    },
    "dynamic-db-source" : {
      "type" : "maria-db",
      "url" : "jdbc:mysql://mariadb-galera:3306/sdnctl",
      "username" : "root",
      "password" : "secretpassword"
    }
  },
  "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" ]
            }
          }
        }
      },
      "config-deploy" : {
        "steps" : {
          "config-deploy" : {
            "description" : "Config Deploy Workflow",
            "target" : "config-deploy-process"
          }
        },
        "inputs" : {
          "config-deploy-properties" : {
            "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
            "required" : true,
            "type" : "dt-config-deploy-properties"
          }
        },
        "outputs" : {
          "dry-run" : {
            "type" : "json",
            "value" : {
              "get_attribute" : [ "config-deploy-process", "assignment-params" ]
            }
          }
        }
      }
    },
    "node_templates" : {
      "resource-assignment" : {
        "type" : "component-resource-resolution",
        "interfaces" : {
          "ResourceResolutionComponent" : {
            "operations" : {
              "process" : {
                "inputs" : {
                  "artifact-prefix-names" : {
                    "get_input" : "template-prefix"
                  }
                }
              }
            }
          }
        },
        "artifacts" : {
          "base_template-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/base_template-template.vtl"
          },
          "base_template-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/base_template-mapping.json"
          },
          "vpkg-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vpkg-template.vtl"
          },
          "vpkg-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vpkg-mapping.json"
          },
          "vfw-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vfw-template.vtl"
          },
          "vfw-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vfw-mapping.json"
          },
          "vnf-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vnf-template.vtl"
          },
          "vnf-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vnf-mapping.json"
          },
          "vsn-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/vsn-template.vtl"
          },
          "vsn-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/vsn-mapping.json"
          }
        }
      },
      "config-deploy-process" : {
        "type" : "component-resource-resolution",
        "interfaces" : {
          "ResourceResolutionComponent" : {
            "operations" : {
              "process" : {
                "inputs" : {
                  "artifact-prefix-names" : [ "nf-params" ]
                }
              }
            }
          }
        },
        "artifacts" : {
          "nf-params-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/nf-params-template.vtl"
          },
          "nf-params-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Templates/nf-params-mapping.json"
          }
        }
      }
    }
  }
}