summaryrefslogtreecommitdiffstats
path: root/docs/datadictionary/create_netbox_ip_address.rst
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-08-26 17:35:13 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-26 17:35:13 +0000
commit29e15e0c9a0771d4e1734277bef58c1a2c416f1b (patch)
tree827081b80f85eb1052cf8b0f04fb0e2cf31d9dc9 /docs/datadictionary/create_netbox_ip_address.rst
parentc3ebcdbdf11ecd70778ee7efa63b6221579d1d51 (diff)
parent2b6cab52d322077662a625ebffc5eeec0718a82b (diff)
Merge "Formatted and fixed errors in DOC"
Diffstat (limited to 'docs/datadictionary/create_netbox_ip_address.rst')
-rw-r--r--docs/datadictionary/create_netbox_ip_address.rst61
1 files changed, 32 insertions, 29 deletions
diff --git a/docs/datadictionary/create_netbox_ip_address.rst b/docs/datadictionary/create_netbox_ip_address.rst
index 5d9a9be87..f17ddb407 100644
--- a/docs/datadictionary/create_netbox_ip_address.rst
+++ b/docs/datadictionary/create_netbox_ip_address.rst
@@ -5,32 +5,35 @@
create_netbox_ip_address code
=============================
-{
- "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" ]
- }
- }
- }
- } \ No newline at end of file
+.. 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" ]
+ }
+ }
+ }
+ } \ No newline at end of file