summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-12 16:49:54 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-03-13 09:31:17 -0400
commit1746f00c7134f0bba8cfd2b4a00030b07f231ed1 (patch)
treece12b643444f15fc8fc16d8c68dbc240d5b1330f /components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json
parent1a19d33abd1c6afda3b064da022bb77ddf13d5cf (diff)
Add intial test CBA
Change-Id: If7c18e8ad472cebc3e36858fcb0cdf4c7ef6d52d Issue-ID: CCSDK-1149 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json')
-rw-r--r--components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json b/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json
new file mode 100644
index 000000000..297a8ef87
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/test-dictionary/create_netbox_ip.json
@@ -0,0 +1,29 @@
+{
+ "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" ]
+ }
+ }
+ }
+ } \ No newline at end of file