aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/golden/Definitions/resources_definition_types.json
blob: 1169a8d58e638e39817683baa403185f3431a66a (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
{
  "create_netbox_ip" : {
    "tags" : "oam-local-ipv4-address",
    "name" : "create_netbox_ip",
    "property" : {
      "description" : "netbox ip",
      "type" : "dt-netbox-ip"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "primary-config-data" : {
        "type" : "source-rest",
        "properties" : {
          "type" : "JSON",
          "verb" : "POST",
          "endpoint-selector" : "ipam-1",
          "url-path" : "/api/ipam/prefixes/$prefix-id/available-ips/",
          "path" : "",
          "input-key-mapping" : {
            "prefix-id" : "prefix-id"
          },
          "output-key-mapping" : {
            "address" : "address",
            "id" : "id"
          },
          "key-dependencies" : [ "prefix-id" ]
        }
      }
    }
  },
  "hostname" : {
    "tags" : "hostname",
    "name" : "hostname",
    "property" : {
      "description" : "hostname",
      "type" : "string"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "input" : {
        "type" : "source-input"
      }
    }
  },
  "interface-description" : {
    "tags" : "interface-description",
    "name" : "interface-description",
    "property" : {
      "description" : "interface-description",
      "type" : "string"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "capability" : {
        "type" : "source-capability",
        "properties" : {
          "script-type" : "jython",
          "script-class-reference" : "Scripts/python/DescriptionExample.py",
          "instance-dependencies" : [ ]
        }
      }
    }
  },
  "interface-name" : {
    "tags" : "interface-name",
    "name" : "interface-name",
    "property" : {
      "description" : "interface-name",
      "type" : "string"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "input" : {
        "type" : "source-input",
        "properties" : { }
      }
    }
  },
  "prefix-id" : {
    "tags" : "prefix-id",
    "name" : "prefix-id",
    "property" : {
      "description" : "prefix-id",
      "type" : "integer"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "default" : {
        "type" : "source-default",
        "properties" : { }
      }
    }
  },
  "unit-number" : {
    "tags" : "unit-number",
    "name" : "unit-number",
    "property" : {
      "description" : "unit-number",
      "type" : "string"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "input" : {
        "type" : "source-input"
      }
    }
  },
  "vf-module-number" : {
    "tags" : "vf-module-number",
    "name" : "vf-module-number",
    "property" : {
      "description" : "vf-module-number",
      "type" : "string"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "default" : {
        "type" : "source-default",
        "properties" : { }
      }
    }
  },
  "vf-module-type" : {
    "tags" : "vf-module-type",
    "name" : "vf-module-type",
    "property" : {
      "description" : "vf-module-type",
      "type" : "string"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "processor-db" : {
        "type" : "source-processor-db",
        "properties" : {
          "type" : "SQL",
          "query" : "select sdnctl.demo.value as value from sdnctl.demo where sdnctl.demo.id=:vfmoduleid",
          "input-key-mapping" : {
            "vfmoduleid" : "vf-module-number"
          },
          "output-key-mapping" : {
            "vf-module-type" : "value"
          },
          "key-dependencies" : [ "vf-module-number" ]
        }
      }
    }
  }
}