aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/create_netbox_ip.json
blob: 09844e508f4edfb8deb96c414702f6c946d5f36b (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
{
    "tags" : "oam-local-ipv4-address",
    "name" : "create_netbox_ip",
    "group":"default",
    "property" : {
      "description" : "netbox ip",
      "type" : "dt-netbox-ip"
    },
    "updated-by" : "adetalhouet",
    "sources" : {
      "sdnc" : {
        "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" ]
        }
      }
    }
  }