Formatted and fixed errors in DOC
[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 .. code-block:: json
9    :linenos:
10    
11    {
12        "tags" : "oam-local-ipv4-address",
13        "name" : "create_netbox_ip",
14        "property" : {
15          "description" : "netbox ip",
16          "type" : "dt-netbox-ip"
17        },
18        "updated-by" : "adetalhouet",
19        "sources" : {
20          "primary-config-data" : {
21            "type" : "source-rest",
22            "properties" : {
23              "type" : "JSON",
24              "verb" : "POST",
25              "endpoint-selector" : "ipam-1",
26              "url-path" : "/api/ipam/prefixes/$prefixId/available-ips/",
27              "path" : "",
28              "input-key-mapping" : {
29                "prefixId" : "prefix-id"
30              },
31              "output-key-mapping" : {
32                "address" : "address",
33                "id" : "id"
34              },
35              "key-dependencies" : [ "prefix-id" ]
36            }
37          }
38        }
39    }