f6d83c500622d6d7867d0199bfb76e02f5c2fc6f
[ccsdk/cds.git] / docs / datadictionary / create_netbox_ip_address.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright (C) 2019 IBM.
4
5 create_netbox_ip_address code
6 =============================
7
8 {
9     "tags" : "oam-local-ipv4-address",
10     "name" : "create_netbox_ip",
11     "property" : {
12       "description" : "netbox ip",
13       "type" : "dt-netbox-ip"
14     },
15     "updated-by" : "adetalhouet",
16     "sources" : {
17       "config-data" : {
18         "type" : "source-rest",
19         "properties" : {
20           "type" : "JSON",
21           "verb" : "POST",
22           "endpoint-selector" : "ipam-1",
23           "url-path" : "/api/ipam/prefixes/$prefixId/available-ips/",
24           "path" : "",
25           "input-key-mapping" : {
26             "prefixId" : "prefix-id"
27           },
28           "output-key-mapping" : {
29             "address" : "address",
30             "id" : "id"
31           },
32           "key-dependencies" : [ "prefix-id" ]
33         }
34       }
35     }
36   }