From 71ec70431f162ea02b45e141f76b00efa06b3ab7 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Fri, 9 Aug 2019 02:09:41 +0300 Subject: [PATCH] [#810, !471] fixed sphinx docs --- doc/sphinx/api/lease6-bulk-apply.json | 42 +++++++++---------- doc/sphinx/api/remote-network4-del.json | 2 +- doc/sphinx/api/remote-network4-get.json | 2 +- doc/sphinx/api/remote-network6-del.json | 2 +- doc/sphinx/api/remote-network6-get.json | 2 +- doc/sphinx/api/remote-option-def4-del.json | 2 +- doc/sphinx/api/remote-option-def6-del.json | 2 +- doc/sphinx/api/remote-option4-global-del.json | 2 +- doc/sphinx/api/remote-option4-global-get.json | 1 + doc/sphinx/api/remote-option6-global-del.json | 2 +- doc/sphinx/api/remote-option6-global-get.json | 1 + doc/sphinx/api/remote-server4-get.json | 4 +- doc/sphinx/api/remote-server6-get.json | 4 +- doc/sphinx/api/reservation-add.json | 4 +- doc/sphinx/api/reservation-del.json | 4 +- doc/sphinx/api/reservation-get-all.json | 3 +- doc/sphinx/api/reservation-get.json | 4 +- doc/sphinx/api/stat-lease6-get.json | 2 +- doc/sphinx/api/subnet4-list.json | 23 +++++----- doc/sphinx/api/subnet6-list.json | 23 +++++----- 20 files changed, 67 insertions(+), 64 deletions(-) diff --git a/doc/sphinx/api/lease6-bulk-apply.json b/doc/sphinx/api/lease6-bulk-apply.json index b9d5363a33..0710fcae30 100644 --- a/doc/sphinx/api/lease6-bulk-apply.json +++ b/doc/sphinx/api/lease6-bulk-apply.json @@ -45,28 +45,26 @@ "The \"failed-deleted-leases\" holds the list of leases which failed to delete. This includes leases which were not found in the database. The \"failed-leases\" includes the list of leases which failed to create or update. For each lease for which there was an error during processing, inserting it into the database, etc., the result is set to 1. For each lease which was not deleted because the server did not find it in the database, the result of 3 is returned." ], "resp-syntax": [ - " {", - " {", - " \"result\": 0,", - " \"text\": \"IPv6 leases bulk apply completed.\",", - " \"arguments\": {", - " \"failed-deleted-leases\": [", - " {", - " \"ip-address\": \"2001:db8:abcd::\",", - " \"type\": \"IA_PD\",", - " \"result\": ,", - " \"error-message\": ", - " }", - " ],", - " \"failed-leases\": [", - " {", - " \"ip-address\": \"2001:db8:cafe::\",", - " \"type\": \"IA_PD\",", - " \"result\": ,", - " \"error-message\": ", - " }", - " ]", - " }", + "{", + " \"result\": 0,", + " \"text\": \"IPv6 leases bulk apply completed.\",", + " \"arguments\": {", + " \"failed-deleted-leases\": [", + " {", + " \"ip-address\": \"2001:db8:abcd::\",", + " \"type\": \"IA_PD\",", + " \"result\": ,", + " \"error-message\": ", + " }", + " ],", + " \"failed-leases\": [", + " {", + " \"ip-address\": \"2001:db8:cafe::\",", + " \"type\": \"IA_PD\",", + " \"result\": ,", + " \"error-message\": ", + " }", + " ]", " }", "}" ], diff --git a/doc/sphinx/api/remote-network4-del.json b/doc/sphinx/api/remote-network4-del.json index 5721162e80..6aee9e2dca 100644 --- a/doc/sphinx/api/remote-network4-del.json +++ b/doc/sphinx/api/remote-network4-del.json @@ -15,7 +15,7 @@ " \"name\": ", " }", " ],", - " \"subnets-action\": '<'keep' | 'delete'>',", + " \"subnets-action\": <'keep' | 'delete'>,", " \"remote\": {", " ", " }", diff --git a/doc/sphinx/api/remote-network4-get.json b/doc/sphinx/api/remote-network4-get.json index ece2780e08..6ae0e5bdd2 100644 --- a/doc/sphinx/api/remote-network4-get.json +++ b/doc/sphinx/api/remote-network4-get.json @@ -15,7 +15,7 @@ " \"name\": ", " }", " ],", - " \"subnets-include\": \"full\" | \"no\",", + " \"subnets-include\": <'full' | 'no'>,", " \"remote\": {", " ", " }", diff --git a/doc/sphinx/api/remote-network6-del.json b/doc/sphinx/api/remote-network6-del.json index db43e100d9..402911c59f 100644 --- a/doc/sphinx/api/remote-network6-del.json +++ b/doc/sphinx/api/remote-network6-del.json @@ -15,7 +15,7 @@ " \"name\": ", " }", " ],", - " \"subnets-action\": \"keep\" | \"delete\",", + " \"subnets-action\": <'keep' | 'delete'>,", " \"remote\": {", " ", " }", diff --git a/doc/sphinx/api/remote-network6-get.json b/doc/sphinx/api/remote-network6-get.json index 9264e8c687..eee9257cc5 100644 --- a/doc/sphinx/api/remote-network6-get.json +++ b/doc/sphinx/api/remote-network6-get.json @@ -15,7 +15,7 @@ " \"name\": ", " }", " ],", - " \"subnets-include\": \"full\" | \"no\",", + " \"subnets-include\": <'full' | 'no'>,", " \"remote\": {", " ", " }", diff --git a/doc/sphinx/api/remote-option-def4-del.json b/doc/sphinx/api/remote-option-def4-del.json index 6ac87975f2..fe704c9b84 100644 --- a/doc/sphinx/api/remote-option-def4-del.json +++ b/doc/sphinx/api/remote-option-def4-del.json @@ -12,7 +12,7 @@ " \"arguments\": {", " \"option-defs\": [ {", " \"code\":