summaryrefslogtreecommitdiffstats
path: root/docs/datadictionary/create_netbox_ip_address.rst
blob: f17ddb40752a6442c5920a131b4c56934e7c17d6 (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
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright (C) 2019 IBM.

create_netbox_ip_address code
=============================

.. code-block:: json
   :linenos:
   
   {
       "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/$prefixId/available-ips/",
             "path" : "",
             "input-key-mapping" : {
               "prefixId" : "prefix-id"
             },
             "output-key-mapping" : {
               "address" : "address",
               "id" : "id"
             },
             "key-dependencies" : [ "prefix-id" ]
           }
         }
       }
   }