else:
rst += ' {\n'
- rst += ' "result": <integer>,\n'
+ rst += ' "result": "<integer>",\n'
rst += ' "text": "<string>"\n'
rst += ' }'
rst += '\n\n'
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": <string with build details>",
+ " \"text\": \"<string with build details>\"",
"}"
],
"support": [
"{",
" \"result\": 0,",
" \"text\": \"2 entries returned.\",",
- " \"arguments\": <list of host reservations>",
+ " \"arguments\": \"<list of host reservations>\"",
"}"
],
"support": [
"{",
" \"result\": 0,",
" \"text\": \"123 entries returned.\",",
- " \"arguments\": <list of host reservations>",
+ " \"arguments\": \"<list of host reservations>\"",
"}"
],
"support": [
" \"boot-file-name\": \"bootfile.efi\",",
" \"host-id\": 0",
" }",
- "},",
+ "}",
+ "",
+ "Another example that adds IPv6 host reservation to cache is:",
"{",
" \"command\": \"cache-insert\",",
" \"arguments\": {",
" \"command\": \"class-add\",",
" \"arguments\": {",
" \"client-classes\": [ {",
- " \"name\": <name of the class>,",
- " \"test\": <test expression to be evaluated on incoming packets>,",
- " \"option-data\": [ <option values here> ],",
- " \"option-def\": [ <option definitions here> ],",
- " \"next-server\": <ipv4 address>,",
- " \"server-hostname\": <string>,",
- " \"boot-file-name\": <name of the boot file>",
+ " \"name\": \"<name of the class>\",",
+ " \"test\": \"<test expression to be evaluated on incoming packets>\",",
+ " \"option-data\": [ \"<option values here>\" ],",
+ " \"option-def\": [ \"<option definitions here>\" ],",
+ " \"next-server\": \"<ipv4 address>\",",
+ " \"server-hostname\": \"<string>\",",
+ " \"boot-file-name\": \"<name of the boot file>\"",
" } ]",
" }",
"}"
"{",
" \"command\": \"class-del\",",
" \"arguments\": {",
- " \"name\": <name of the class>",
+ " \"name\": \"<name of the class>\"",
" }",
"}"
],
"{",
" \"command\": \"class-get\",",
" \"arguments\": {",
- " \"name\": <name of the class>",
+ " \"name\": \"<name of the class>\"",
" }",
"}"
],
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <name of the class>,",
- " \"only-if-required\": <only if required boolean value>,",
- " \"test\": <test expression to be evaluated on incoming packets>,",
- " \"option-data\": [ <option values here> ],",
- " \"option-def\": [ <option definitions here> ],",
- " \"next-server\": <ipv4 address>,",
- " \"server-hostname\": <string>,",
- " \"boot-file-name\": <name of the boot file>",
+ " \"name\": \"<name of the class>\",",
+ " \"only-if-required\": \"<only if required boolean value>\",",
+ " \"test\": \"<test expression to be evaluated on incoming packets>\",",
+ " \"option-data\": [ \"<option values here>\" ],",
+ " \"option-def\": [ \"<option definitions here>\" ],",
+ " \"next-server\": \"<ipv4 address>\",",
+ " \"server-hostname\": \"<string>\",",
+ " \"boot-file-name\": \"<name of the boot file>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <first class name>",
+ " \"name\": \"<first class name>\"",
" },",
" {",
- " \"name\": <second class name>",
+ " \"name\": \"<second class name>\"",
" }",
" ]",
" }",
" \"command\": \"class-update\",",
" \"arguments\": {",
" \"client-classes\": [ {",
- " \"name\": <name of the class>,",
- " \"test\": <test expression to be evaluated on incoming packets>,",
- " \"option-data\": [ <option values here> ],",
- " \"option-def\": [ <option definitions here> ],",
- " \"next-server\": <ipv4 address>,",
- " \"server-hostname\": <string>,",
- " \"boot-file-name\": <name of the boot file>",
+ " \"name\": \"<name of the class>\",",
+ " \"test\": \"<test expression to be evaluated on incoming packets>\",",
+ " \"option-data\": [ \"<option values here>\" ],",
+ " \"option-def\": [ \"<option definitions here>\" ],",
+ " \"next-server\": \"<ipv4 address>\",",
+ " \"server-hostname\": \"<string>\",",
+ " \"boot-file-name\": \"<name of the boot file>\"",
" } ]",
" }",
"}"
"name": "config-get",
"resp-syntax": [
"{",
- " \"result\": <integer>,",
+ " \"result\": \"<integer>\",",
" \"arguments\": {",
- " <Dhcp4, Dhcp6, or Control-agent object>: <JSON configuration here> ",
+ " \"<Dhcp4, Dhcp6, or Control-agent object>\": \"<JSON configuration here>\" ",
" }",
"}"
],
"This command instructs the server to check whether the new configuration supplied in the command's arguments can be loaded."
],
"cmd-comment": [
- "In the example below, <server> is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\"."
+ "In the example below, \"<server>\" is the configuration element name for a given server such as \"Dhcp4\" or \"Dhcp6\"."
],
"cmd-syntax": [
"{",
" \"tkey-lifetime\": 3600,",
" \"tkey-protocol\": \"TCP\",",
" \"keys\": [",
- " \"{",
+ " {",
" \"name\": \"1234.sig-foo.com.\",",
" \"inception-date\": \"2021-09-05 12:23:36.281176\",",
" \"server-id\": \"foo\",",
" \"tkey-lifetime\": 3600,",
" \"tkey-protocol\": \"TCP\",",
" \"keys\": [",
- " \"{",
+ " {",
" \"name\": \"1234.sig-foo.com.\",",
" \"server-id\": \"foo\",",
" \"inception-date\": \"2021-09-05 12:23:36.281176\",",
" \"result\": 0,",
" \"text\": \"HA peer status returned.\",",
" \"arguments\": {",
- " \"state\": <server state>,",
- " \"date-time\": <server notion of time>,",
- " \"scopes\": [ <first scope>, <second scope>, ... ],",
- " \"unsent-update-count\": <total number of lease allocations in partner-down state>",
+ " \"state\": \"<server state>\",",
+ " \"date-time\": \"<server notion of time>\",",
+ " \"scopes\": [ \"<first scope>, <second scope>\" ],",
+ " \"unsent-update-count\": \"<total number of lease allocations in partner-down state>\"",
" }",
"}"
],
"{",
" \"command\": \"ha-maintenance-notify\",",
" \"arguments\": {",
- " \"cancel\": <boolean>",
+ " \"cancel\": \"<boolean>\"",
" }",
"}"
],
"cmd-syntax": [
"{",
" \"command\": \"ha-scopes\",",
- " \"service\": [ <service, typically 'dhcp4' or 'dhcp6'> ],",
+ " \"service\": [ \"<service, typically 'dhcp4' or 'dhcp6'>\" ],",
" \"arguments\": {",
" \"scopes\": [ \"HA_server1\", \"HA_server2\" ]",
" }",
"cmd-syntax": [
"{",
" \"command\": \"ha-sync\",",
- " \"service\": [ <service affected: 'dhcp4' or 'dhcp6'> ],",
+ " \"service\": [ \"<service affected: 'dhcp4' or 'dhcp6'>\" ],",
" \"arguments\": {",
- " \"server-name\": <name of the partner server>,",
- " \"max-period\": <integer, in seconds>",
+ " \"server-name\": \"<name of the partner server>\",",
+ " \"max-period\": \"<integer, in seconds>\"",
" }",
"}"
],
"{",
" \"command\": \"lease4-get-all\",",
" \"arguments\": {",
- " \"subnets\": [ 1, 2, 3, ... ]",
+ " \"subnets\": [ 1, 2, 3 ]",
" }",
"}"
],
"3 is returned if no leases are found with specified parameter."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" },",
" \"result\": 0,",
" \"text\": \"2 IPv4 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"support": [
"kea-dhcp4"
"3 is returned if no leases are found."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" \"state\": 0,",
" \"subnet-id\": 1,",
" \"valid-lft\": 4000",
- " },",
+ " }",
" ]",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv4 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"support": [
"kea-dhcp4"
"3 is returned if no leases are found."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" \"state\": 0,",
" \"subnet-id\": 1,",
" \"valid-lft\": 4000",
- " },",
+ " }",
" ]",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv4 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"support": [
"kea-dhcp4"
"3 is returned if no leases are found."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" \"state\": 0,",
" \"subnet-id\": 1,",
" \"valid-lft\": 4000",
- " },",
+ " }",
" ]",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv4 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"support": [
"{",
" \"command\": \"lease4-get-page\",",
" \"arguments\": {",
- " \"limit\": <integer>,",
- " \"from\": <IPv4 address or \"start\">",
+ " \"limit\": \"<integer>\",",
+ " \"from\": \"<IPv4 address or 'start'>\"",
" }",
"}"
],
"3 is returned if no leases are found with specified parameters."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" },",
" \"result\": 0,",
" \"text\": \"2 IPv4 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"description": "See <xref linkend=\"command-lease4-get-page\"/>",
"hook": "lease_cmds",
" {",
" \"ip-address\": \"2001:db8:abcd::\",",
" \"type\": \"IA_PD\",",
- " ...",
+ " \"<other\": \"properties>\"",
" },",
" {",
" \"ip-address\": \"2001:db8:abcd::234\",",
" \"type\": \"IA_NA\",",
- " ...",
+ " \"<other\": \"properties>\"",
" }",
" ],",
" \"leases\": [",
" \"subnet-id\": 66,",
" \"ip-address\": \"2001:db8:cafe::\",",
" \"type\": \"IA_PD\",",
- " ...",
+ " \"<other\": \"properties>\"",
" },",
" {",
" \"subnet-id\": 66,",
" \"ip-address\": \"2001:db8:abcd::333\",",
" \"type\": \"IA_NA\",",
- " ...",
+ " \"<other\": \"properties>\"",
" }",
" ]",
" }",
" {",
" \"ip-address\": \"2001:db8:abcd::\",",
" \"type\": \"IA_PD\",",
- " \"result\": <control result>,",
- " \"error-message\": <error message>",
+ " \"result\": \"<control result>\",",
+ " \"error-message\": \"<error message>\"",
" }",
" ],",
" \"failed-leases\": [",
" {",
" \"ip-address\": \"2001:db8:cafe::\",",
" \"type\": \"IA_PD\",",
- " \"result\": <control result>,",
- " \"error-message\": <error message>",
+ " \"result\": \"<control result>\",",
+ " \"error-message\": \"<error message>\"",
" }",
" ]",
" }",
"3 is returned if no leases are found with specified parameter."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv6 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"description": "See <xref linkend=\"command-lease6-get-by-duid\"/>",
"hook": "lease_cmds",
"3 is returned if no leases are found with specified parameter."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv6 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"support": [
"kea-dhcp6"
"{",
" \"command\": \"lease6-get-page\",",
" \"arguments\": {",
- " \"limit\": <integer>,",
- " \"from\": <IPv6 address or \"start\">",
+ " \"limit\": \"<integer>\",",
+ " \"from\": \"<IPv6 address or 'start'>\"",
" }",
"}"
],
"3 is returned if no leases are found."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" \"subnet-id\": 1,",
" \"type\": \"IA_NA\",",
" \"valid-lft\": 4000",
- " }",
+ " },",
" {",
" \"cltt\": 1600439570,",
" \"duid\": \"00:01:00:01:26:f7:81:88:00:0c:01:02:03:05\",",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv6 lease(s) found.\"",
- "}",
- "]"
+ "}"
],
"hook": "lease_cmds",
"name": "lease6-get-page",
"3 is returned if no leases are found with specified parameter."
],
"resp-syntax": [
- "[",
" {",
" \"arguments\": {",
" \"leases\": [",
" },",
" \"result\": 0,",
" \"text\": \"1 IPv6 lease(s) found.\"",
- " }",
- "]"
+ " }"
],
"description": "See <xref linkend=\"idp58\"/>",
"hook": "lease_cmds",
" {",
" \"subnet\": \"192.0.2.0/24\",",
" \"id\": 5,",
- " ...",
+ " \"<other\": \"properties>\"",
" },",
" {",
" \"subnet\": \"192.0.3.0/31\",",
" \"id\": 6,",
- " ...",
+ " \"<other\": \"properties>\"",
" }",
" ],",
" \"valid-lifetime\": 120",
" {",
" \"subnet\": \"2003:db8:1::/64\",",
" \"id\": 5,",
- " ...",
+ " \"<other\": \"properties>\"",
" },",
" {",
" \"subnet\": \"2003:db8:2::/71\",",
" \"id\": 6,",
- " ...",
+ " \"<other\": \"properties>\"",
" }",
" ],",
" \"valid-lifetime\": 120",
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <client class name>",
+ " \"name\": \"<client class name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"command\": \"remote-class4-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " <first client class specification>,",
+ " \"<first\": \"client class specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
" },",
" {",
- " <second client class specification>,",
+ " \"<second\": \"client class specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <client class name>",
+ " \"name\": \"<client class name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <client class name>,",
+ " \"name\": \"<client class name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the client class information>",
+ " \"<the\": \"rest of the client class information>\"",
" }",
" ],",
" \"count\": 1",
" \"arguments\": {",
" \"client-class\": [",
" {",
- " <client class specification>",
- " \"follow-class-name\": <existing class name>",
+ " \"<client\": \"class specification>\",",
+ " \"follow-class-name\": \"<existing class name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"DHCPv4 shared network successfully set.\"",
+ " \"text\": \"DHCPv4 shared network successfully set.\",",
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <set client class name>",
+ " \"name\": \"<set client class name>\"",
" }",
- " ]",
+ " ]",
+ " }",
"}"
],
"support": [
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <client class name>",
+ " \"name\": \"<client class name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"command\": \"remote-class6-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " <first client class specification>,",
+ " \"<first\": \"client class specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
" },",
" {",
- " <second client class specification>,",
+ " \"<second\": \"client class specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <client class name>",
+ " \"name\": \"<client class name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <client class name>,",
+ " \"name\": \"<client class name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the client class information>",
+ " \"<the\": \"rest of the client class information>\"",
" }",
" ],",
" \"count\": 1",
" \"arguments\": {",
" \"client-class\": [",
" {",
- " <client class specification>",
- " \"follow-class-name\": <existing class name>",
+ " \"<client\": \"class specification>\",",
+ " \"follow-class-name\": \"<existing class name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
"resp-syntax": [
"{",
" \"result\": 0,",
- " \"text\": \"DHCPv6 shared network successfully set.\"",
+ " \"text\": \"DHCPv6 shared network successfully set.\",",
" \"arguments\": {",
" \"client-classes\": [",
" {",
- " \"name\": <set client class name>",
+ " \"name\": \"<set client class name>\"",
" }",
- " ]",
+ " ]",
+ " }",
"}"
],
"support": [
"{",
" \"command\": \"remote-global-parameter4-del\",",
" \"arguments\": {",
- " \"parameters\": [ <parameter name as string> ],",
+ " \"parameters\": [ \"<parameter name as string>\" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-global-parameter4-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"parameters\": [",
" {",
- " <first parameter name>: <first parameter value>,",
+ " \"<first\": \"parameter name>: <first parameter value>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" {",
- " <second parameter name>: <second parameter value>,",
+ " \"<second\": \"parameter name>: <second parameter value>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
"{",
" \"command\": \"remote-global-parameter4-get\",",
" \"arguments\": {",
- " \"parameters\": [ <parameter name as string> ],",
+ " \"parameters\": [ \"<parameter name as string>\" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"text\": \"DHCPv4 global parameter found.\",",
" \"arguments\": {",
" \"parameters\": {",
- " <parameter name>: <parameter value>,",
+ " \"<parameter\" :\" name>: <parameter value>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" \"count\": 1",
" \"command\": \"remote-global-parameter4-set\",",
" \"arguments\": {",
" \"parameters\": {",
- " <first parameter name>: <first parameter value>,",
- " <second parameter name>: <second parameter value>",
+ " \"<first\": \"parameter name>: <first parameter value>\",",
+ " \"<second\": \"parameter name>: <second parameter value>\"",
" },",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"text\": \"DHCPv4 global parameter(s) successfully set.\",",
" \"arguments\": {",
" \"parameters\": {",
- " <first parameter name>: <first parameter value>,",
- " <second parameter name>: <second parameter value>",
+ " \"<first\": \"parameter name>: <first parameter value>\",",
+ " \"<second\": \"parameter name>: <second parameter value>\"",
" },",
" \"count\": 2",
" }",
"{",
" \"command\": \"remote-global-parameter6-del\",",
" \"arguments\": {",
- " \"parameters\": [ <parameter name as string> ],",
+ " \"parameters\": [ \"<parameter name as string>\" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-global-parameter6-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"parameters\": [",
" {",
- " <first parameter name>: <first parameter value>,",
+ " \"<first\": \"parameter name>: <first parameter value>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" {",
- " <second parameter name>: <second parameter value>,",
+ " \"<second\": \"parameter name>: <second parameter value>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
"{",
" \"command\": \"remote-global-parameter6-get\",",
" \"arguments\": {",
- " \"parameters\": [ <parameter name as string> ],",
+ " \"parameters\": [ \"<parameter name as string>\" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"text\": \"DHCPv6 global parameter found.\",",
" \"arguments\": {",
" \"parameters\": {",
- " <parameter name>: <parameter value>,",
+ " \"<parameter\": \"name>: <parameter value>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" \"count\": 1",
" \"command\": \"remote-global-parameter6-set\",",
" \"arguments\": {",
" \"parameters\": {",
- " <first parameter name>: <first parameter value>,",
- " <second parameter name>: <second parameter value>",
+ " \"<first\": \"parameter name>: <first parameter value>\",",
+ " \"<second\": \"parameter name>: <second parameter value>\"",
" },",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"text\": \"DHCPv6 global parameter(s) successfully set.\",",
" \"arguments\": {",
" \"parameters\": {",
- " <first parameter name>: <first parameter value>,",
- " <second parameter name>: <second parameter value>",
+ " \"<first\": \"parameter name>: <first parameter value>\",",
+ " \"<second\": \"parameter name>: <second parameter value>\"",
" },",
" \"count\": 2",
" }",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
- " \"subnets-action\": <'keep' | 'delete'>,",
+ " \"subnets-action\": \"<'keep' | 'delete'>\",",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
- " \"subnets-include\": <'full' | 'no'>,",
+ " \"subnets-include\": \"<'full' | 'no'>\",",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>,",
+ " \"name\": \"<shared network name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the shared network information, potentially including subnets>",
+ " \"<the\": \"rest of the shared network information, potentially including subnets>\"",
" }",
" ],",
" \"count\": 1",
" \"command\": \"remote-network4-list\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <first shared network name>,",
+ " \"name\": \"<first shared network name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
" },",
" {",
- " \"name\": <second shared network name>,",
+ " \"name\": \"<second shared network name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " <shared network specification excluding subnets list>",
+ " \"<shared\": \"network specification excluding subnets list>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
- " \"subnets-action\": <'keep' | 'delete'>,",
+ " \"subnets-action\": \"<'keep' | 'delete'>\",",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
- " \"subnets-include\": <'full' | 'no'>,",
+ " \"subnets-include\": \"<'full' | 'no'>\",",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>,",
+ " \"name\": \"<shared network name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the shared network information, potentially including subnets>",
+ " \"<the\": \"rest of the shared network information, potentially including subnets>\"",
" }",
" ],",
" \"count\": 1",
" \"command\": \"remote-network6-list\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <first shared network name>,",
+ " \"name\": \"<first shared network name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
" },",
" {",
- " \"name\": <second shared network name>,",
+ " \"name\": \"<second shared network name>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " <shared network specification excluding subnets list>",
+ " \"<shared\": \"network specification excluding subnets list>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"command\": \"remote-option-def4-del\",",
" \"arguments\": {",
" \"option-defs\": [ {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" } ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-option-def4-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " <first option definition>,",
+ " \"<first\": \"option definition>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" {",
- " <second option definition>,",
+ " \"<second\": \"option definition>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " <option definition>,",
+ " \"<option\": \"definition>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " <option definition specification>",
+ " \"<option\": \"definition specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-option-def6-del\",",
" \"arguments\": {",
" \"option-defs\": [ {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" } ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-option-def6-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " <first option definition>,",
+ " \"<first\": \"option definition>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" {",
- " <second option definition>,",
+ " \"<second\": \"option definition>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " <option definition>,",
+ " \"<option\": \"definition>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"option-defs\": [",
" {",
- " <option definition specification>",
+ " \"<option\": \"definition specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-option4-global-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " <first option specification>,",
+ " \"<first\": \"option specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" {",
- " <second option specification>,",
+ " \"<second\": \"option specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " <option information>,",
+ " \"<option\": \"information>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ]",
" \"arguments\": {",
" \"options\": [",
" {",
- " <global option specification>",
+ " \"<global\": \"option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <shared network option specification>",
+ " \"<shared\": \"network option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"pools\": [",
" {",
- " \"pool\": <pool range or prefix>",
+ " \"pool\": \"<pool range or prefix>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"pools\": [",
" {",
- " \"pool\": <pool range or prefix>",
+ " \"pool\": \"<pool range or prefix>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <address pool option specification>",
+ " \"<address\": \"pool option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <subnet option specification>",
+ " \"<subnet\": \"option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"command\": \"remote-option6-global-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " <first option specification>,",
+ " \"<first\": \"option specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" },",
" {",
- " <second option specification>,",
+ " \"<second\": \"option specification>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " <option information>,",
+ " \"<option\": \"information>\",",
" \"metadata\": {",
- " \"server-tags\": [ <server tag> ]",
+ " \"server-tags\": [ \"<server tag>\" ]",
" }",
" }",
" ]",
" \"arguments\": {",
" \"options\": [",
" {",
- " <global option specification>",
+ " \"<global\": \"option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <single server tag as string> ]",
+ " \"server-tags\": [ \"<single server tag as string>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"shared-networks\": [",
" {",
- " \"name\": <shared network name>",
+ " \"name\": \"<shared network name>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <shared network option specification>",
+ " \"<shared\": \"network option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"pd-pools\": [",
" {",
- " \"prefix\": <pool prefix (address part)>",
- " \"prefix-len\": <pool prefix (length part)>",
+ " \"prefix\": \"<pool prefix (address part)>\",",
+ " \"prefix-len\": \"<pool prefix (length part)>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"pd-pools\": [",
" {",
- " \"prefix\": <pool prefix (address part)>",
- " \"prefix-len\": <pool prefix (length part)>",
+ " \"prefix\": \"<pool prefix (address part)>\",",
+ " \"prefix-len\": \"<pool prefix (length part)>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <prefix delegation pool option specification>",
+ " \"<prefix\": \"delegation pool option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"pools\": [",
" {",
- " \"pool\": <pool range or prefix>",
+ " \"pool\": \"<pool range or prefix>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"pools\": [",
" {",
- " \"pool\": <pool range or prefix>",
+ " \"pool\": \"<pool range or prefix>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <address pool option specification>",
+ " \"<address\": \"pool option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"options\": [",
" {",
- " <subnet option specification>",
+ " \"<subnet\": \"option specification>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"options\": [",
" {",
- " \"code\": <option code>,",
- " \"space\": <option space>",
+ " \"code\": \"<option code>\",",
+ " \"space\": \"<option space>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server name>",
+ " \"server-tag\": \"<server name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"command\": \"remote-server4-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <first server tag>,",
- " \"description\": <first server description>",
+ " \"server-tag\": \"<first server tag>\",",
+ " \"description\": \"<first server description>\"",
" },",
" {",
- " \"server-tag\": <second server tag>,",
- " \"description\": <second server description>",
+ " \"server-tag\": \"<second server tag>\",",
+ " \"description\": \"<second server description>\"",
" }",
" ],",
" \"count\": 2",
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>",
+ " \"server-tag\": \"<server tag>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>,",
- " \"description\": <server description>",
+ " \"server-tag\": \"<server tag>\",",
+ " \"description\": \"<server description>\"",
" }",
" ],",
" \"count\": 1",
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>,",
- " \"description\": <server description>",
+ " \"server-tag\": \"<server tag>\",",
+ " \"description\": \"<server description>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>,",
- " \"description\": <server description>",
+ " \"server-tag\": \"<server tag>\",",
+ " \"description\": \"<server description>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server name>",
+ " \"server-tag\": \"<server name>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"command\": \"remote-server6-get-all\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <first server tag>,",
- " \"description\": <first server description>",
+ " \"server-tag\": \"<first server tag>\",",
+ " \"description\": \"<first server description>\"",
" },",
" {",
- " \"server-tag\": <second server tag>,",
- " \"description\": <second server description>",
+ " \"server-tag\": \"<second server tag>\",",
+ " \"description\": \"<second server description>\"",
" }",
" ],",
" \"count\": 2",
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>",
+ " \"server-tag\": \"<server tag>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>,",
- " \"description\": <server description>",
+ " \"server-tag\": \"<server tag>\",",
+ " \"description\": \"<server description>\"",
" }",
" ],",
" \"count\": 1",
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>,",
- " \"description\": <server description>",
+ " \"server-tag\": \"<server tag>\",",
+ " \"description\": \"<server description>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"servers\": [",
" {",
- " \"server-tag\": <server tag>,",
- " \"description\": <server description>",
+ " \"server-tag\": \"<server tag>\",",
+ " \"description\": \"<server description>\"",
" }",
" ]",
" }",
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"subnet\": <subnet prefix>",
+ " \"subnet\": \"<subnet prefix>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"command\": \"remote-subnet4-get-by-id\",",
" \"arguments\": {",
" \"subnets\": [ {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" } ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"text\": \"IPv4 subnet found.\",",
" \"arguments\": {",
" \"subnets\": [ {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the subnet specification here>",
+ " \"<the\": \"rest of the subnet specification here>\"",
" } ],",
" \"count\": 1",
" }",
" \"command\": \"remote-subnet4-get-by-prefix\",",
" \"arguments\": {",
" \"subnets\": [ {",
- " \"subnet\": <subnet prefix>",
+ " \"subnet\": \"<subnet prefix>\"",
" } ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the subnet specification here>",
+ " \"<the\": \"rest of the subnet specification here>\"",
" }",
" ],",
" \"count\": 1",
" \"command\": \"remote-subnet4-list\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <first subnet identifier>,",
- " \"subnet\": <first subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<first subnet identifier>\",",
+ " \"subnet\": \"<first subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
" },",
" {",
- " \"id\": <second subnet identifier>,",
- " \"subnet\": <second subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<second subnet identifier>\",",
+ " \"subnet\": \"<second subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
- " <the rest of the subnet specification here>",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
+ " \"<the\": \"rest of the subnet specification here>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"result\": 0,",
" \"text\": \"IPv4 subnet successfully set.\",",
" \"arguments\": {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\"",
" }",
"}"
],
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"subnet\": <subnet prefix>",
+ " \"subnet\": \"<subnet prefix>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>",
+ " \"id\": \"<subnet identifier>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the subnet specification here>",
+ " \"<the\": \"rest of the subnet specification here>\"",
" }",
" ],",
" \"count\": 1",
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"subnet\": <subnet prefix>",
+ " \"subnet\": \"<subnet prefix>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" }",
" }",
"}"
" \"text\": \"IPv6 subnet found.\",",
" \"arguments\": {",
" \"subnets\": [ {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" },",
- " <the rest of the subnet specification here>",
+ " \"<the\": \"rest of the subnet specification here>\"",
" } ],",
" \"count\": 1",
" }",
" \"command\": \"remote-subnet6-list\",",
" \"arguments\": {",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <first subnet identifier>,",
- " \"subnet\": <first subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<first subnet identifier>\",",
+ " \"subnet\": \"<first subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
" },",
" {",
- " \"id\": <second subnet identifier>,",
- " \"subnet\": <second subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
+ " \"id\": \"<second subnet identifier>\",",
+ " \"subnet\": \"<second subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
" \"metadata\": {",
- " \"server-tags\": [ <first server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>\" ]",
" }",
" }",
" ],",
" \"arguments\": {",
" \"subnets\": [",
" {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>,",
- " \"shared-network-name\": <shared network name> | null,",
- " <the rest of the subnet specification here>",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\",",
+ " \"shared-network-name\": \"<shared network name or null>\",",
+ " \"<the\": \"rest of the subnet specification here>\"",
" }",
" ],",
" \"remote\": {",
- " <specification of the database to connect to>",
+ " \"<specification\": \"of the database to connect to>\"",
" },",
- " \"server-tags\": [ <first server tag>, <second server tag>, ... ]",
+ " \"server-tags\": [ \"<first server tag>, <second server tag>\" ]",
" }",
"}"
],
" \"result\": 0,",
" \"text\": \"IPv6 subnet successfully set.\",",
" \"arguments\": {",
- " \"id\": <subnet identifier>,",
- " \"subnet\": <subnet prefix>",
+ " \"id\": \"<subnet identifier>\",",
+ " \"subnet\": \"<subnet prefix>\"",
" }",
"}"
],
" \"command\": \"reservation-add\",",
" \"arguments\": {",
" \"reservation\": {",
- " \"boot-file-name\": <string>,",
- " \"client-id\": <string>,",
- " \"circuit-id\": <string>,",
- " \"duid\": <string>,",
- " \"flex-id\": <string>,",
- " \"ip-address\": <string (IPv4 address)>,",
- " \"ip-addresses\": [ <comma-separated strings> ],",
- " \"hw-address\": <string>,",
- " \"hostname\": <string>,",
- " \"next-server\": <string (IPv4 address)>,",
- " \"option-data\": [ <comma-separated structures defining options> ],",
- " \"prefixes\": [ <comma-separated IPv6 prefixes> ],",
- " \"client-classes\": [ <comma-separated strings> ],",
- " \"server-hostname\": <string>,",
- " \"subnet-id\": <integer>,",
- " \"user-context\": <any valid JSON>",
+ " \"boot-file-name\": \"<string>\",",
+ " \"client-id\": \"<string>\",",
+ " \"circuit-id\": \"<string>\",",
+ " \"duid\": \"<string>\",",
+ " \"flex-id\": \"<string>\",",
+ " \"ip-address\": \"<string (IPv4 address)>\",",
+ " \"ip-addresses\": [ \"<comma-separated strings>\" ],",
+ " \"hw-address\": \"<string>\",",
+ " \"hostname\": \"<string>\",",
+ " \"next-server\": \"<string (IPv4 address)>\",",
+ " \"option-data\": [ \"<comma-separated structures defining options>\" ],",
+ " \"prefixes\": [ \"<comma-separated IPv6 prefixes>\" ],",
+ " \"client-classes\": [ \"<comma-separated strings>\" ],",
+ " \"server-hostname\": \"<string>\",",
+ " \"subnet-id\": \"<integer>\",",
+ " \"user-context\": \"<any valid JSON>\"",
" }",
" }",
"}"
"resp-syntax": [
"",
"{",
- " \"result\": <integer>,",
- " \"text\": <string>",
+ " \"result\": \"<integer>\",",
+ " \"text\": \"<string>\"",
"}"
],
"support": [
"{",
" \"command\": \"reservation-del\",",
" \"arguments\": {",
- " \"subnet-id\": <integer>,",
- " \"ip-address\": <string>,",
- " \"identifier-type\": <one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>,",
- " \"identifier\": <string>",
+ " \"subnet-id\": \"<integer>\",",
+ " \"ip-address\": \"<string>\",",
+ " \"identifier-type\": \"<one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>\",",
+ " \"identifier\": \"<string>\"",
" }",
"}"
],
"{",
" \"command\": \"reservation-get-all\",",
" \"arguments\": {",
- " \"subnet-id\": <integer>",
+ " \"subnet-id\": \"<integer>\"",
" }",
"}"
],
"{",
" \"command\": \"reservation-get-by-hostname\",",
" \"arguments\": {",
- " \"hostname\": <hostname>,",
- " \"subnet-id\": <integer>",
+ " \"hostname\": \"<hostname>\",",
+ " \"subnet-id\": \"<integer>\"",
" }",
"}"
],
"{",
" \"command\": \"reservation-get-by-id\",",
" \"arguments\": {",
- " \"identifier-type\": <one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>,",
- " \"identifier\": <string>",
+ " \"identifier-type\": \"<one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>\",",
+ " \"identifier\": \"<string>\"",
" }",
"}"
],
"{",
" \"command\": \"reservation-get-page\",",
" \"arguments\": {",
- " \"subnet-id\": <integer>,",
- " \"limit\": <integer>,",
- " \"source-index\": <integer>,",
- " \"from\": <integer>",
+ " \"subnet-id\": \"<integer>\",",
+ " \"limit\": \"<integer>\",",
+ " \"source-index\": \"<integer>\",",
+ " \"from\": \"<integer>\"",
" }",
"}"
],
"{",
" \"command\": \"reservation-get\",",
" \"arguments\": {",
- " \"subnet-id\": <integer>,",
- " \"identifier-type\": <one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>,",
- " \"identifier\": <string>",
+ " \"subnet-id\": \"<integer>\",",
+ " \"identifier-type\": \"<one of 'hw-address', 'duid', 'circuit-id', 'client-id' and 'flex-id'>\",",
+ " \"identifier\": \"<string>\"",
" }",
"}"
],
],
"resp-syntax": [
"{",
- " \"result\": <integer>,",
- " \"text\": <string>,",
+ " \"result\": \"<integer>\",",
+ " \"text\": \"<string>\",",
" \"arguments\": {",
- " \"boot-file-name\": <string>,",
- " \"comment\": <string>,",
- " \"client-id\": <string>,",
- " \"circuit-id\": <string>,",
- " \"duid\": <string>,",
- " \"flex-id\": <string>,",
- " \"ip-address\": <string (IPv4 address)>,",
- " \"ip-addresses\": [ <comma-separated strings> ],",
- " \"hw-address\": <string>,",
- " \"hostname\": <string>,",
- " \"next-server\": <string (IPv4 address)>,",
- " \"option-data\": [ <comma-separated structures defining options> ],",
- " \"prefixes\": [ <comma-separated IPv6 prefixes> ],",
- " \"client-classes\": [ <comma-separated strings> ],",
- " \"server-hostname\": <string>,",
- " \"subnet-id\": <integer>,",
- " \"user-context\": <any valid JSON>",
+ " \"boot-file-name\": \"<string>\",",
+ " \"comment\": \"<string>\",",
+ " \"client-id\": \"<string>\",",
+ " \"circuit-id\": \"<string>\",",
+ " \"duid\": \"<string>\",",
+ " \"flex-id\": \"<string>\",",
+ " \"ip-address\": \"<string (IPv4 address)>\",",
+ " \"ip-addresses\": [ \"<comma-separated strings>\" ],",
+ " \"hw-address\": \"<string>\",",
+ " \"hostname\": \"<string>\",",
+ " \"next-server\": \"<string (IPv4 address)>\",",
+ " \"option-data\": [ \"<comma-separated structures defining options>\" ],",
+ " \"prefixes\": [ \"<comma-separated IPv6 prefixes>\" ],",
+ " \"client-classes\": [ \"<comma-separated strings>\" ],",
+ " \"server-hostname\": \"<string>\",",
+ " \"subnet-id\": \"<integer>\",",
+ " \"user-context\": \"<any valid JSON>\"",
" }",
"}"
],
" \"command\": \"reservation-update\",",
" \"arguments\": {",
" \"reservation\": {",
- " \"boot-file-name\": <string>,",
- " \"client-id\": <string>,",
- " \"circuit-id\": <string>,",
- " \"duid\": <string>,",
- " \"flex-id\": <string>,",
- " \"ip-address\": <string (IPv4 address)>,",
- " \"ip-addresses\": [ <comma-separated strings> ],",
- " \"hw-address\": <string>,",
- " \"hostname\": <string>,",
- " \"next-server\": <string (IPv4 address)>,",
- " \"option-data\": [ <comma-separated structures defining options> ],",
- " \"prefixes\": [ <comma-separated IPv6 prefixes> ],",
- " \"client-classes\": [ <comma-separated strings> ],",
- " \"server-hostname\": <string>,",
- " \"subnet-id\": <integer>,",
- " \"user-context\": <any valid JSON>",
+ " \"boot-file-name\": \"<string>\",",
+ " \"client-id\": \"<string>\",",
+ " \"circuit-id\": \"<string>\",",
+ " \"duid\": \"<string>\",",
+ " \"flex-id\": \"<string>\",",
+ " \"ip-address\": \"<string (IPv4 address)>\",",
+ " \"ip-addresses\": [ \"<comma-separated strings>\" ],",
+ " \"hw-address\": \"<string>\",",
+ " \"hostname\": \"<string>\",",
+ " \"next-server\": \"<string (IPv4 address)>\",",
+ " \"option-data\": [ \"<comma-separated structures defining options>\" ],",
+ " \"prefixes\": [ \"<comma-separated IPv6 prefixes>\" ],",
+ " \"client-classes\": [ \"<comma-separated strings>\" ],",
+ " \"server-hostname\": \"<string>\",",
+ " \"subnet-id\": \"<integer>\",",
+ " \"user-context\": \"<any valid JSON>\"",
" }",
" }",
"}"
"resp-syntax": [
"",
"{",
- " \"result\": <integer>,",
- " \"text\": <string>",
+ " \"result\": \"<integer>\",",
+ " \"text\": \"<string>\"",
"}"
],
"support": [
],
"cmd-syntax": [
"{",
- " \"command\": \"shutdown\"",
+ " \"command\": \"shutdown\",",
" \"arguments\": {",
" \"exit-value\": 123",
" }",
" [ 10, 256, 200, 111, 0 ],",
" [ 20, 4098, 5000, 2034, 4 ]",
" ],",
- " \"timestamp\": \"2018-05-04 15:03:37.000000\"",
+ " \"timestamp\": \"2018-05-04 15:03:37.000000\"",
" }",
" }",
" }"
" [ 20, 0, 0, 0, 1048, 500, 233 ],",
" [ 30, 256, 300, 60, 0, 1048, 15, 15 ]",
" ],",
- " \"timestamp\": \"2018-05-04 15:03:37.000000\"",
+ " \"timestamp\": \"2018-05-04 15:03:37.000000\"",
" }",
" }",
" }"
" \"subnet[1].reclaimed-declined-addresses\": [ [ 0, \"2022-02-11 17:54:17.487595\" ] ],",
" \"subnet[1].reclaimed-leases\": [ [ 0, \"2022-02-11 17:54:17.487604\" ] ],",
" \"subnet[1].total-addresses\": [ [ 200, \"2022-02-11 17:54:17.487512\" ] ],",
- " \"subnet[1].v4-reservation-conflicts\": [ [ 0, \"2022-02-11 17:54:17.487520\" ] ]",
+ " \"subnet[1].v4-reservation-conflicts\": [ [ 0, \"2022-02-11 17:54:17.487520\" ] ],",
" \"v4-allocation-fail\": [ [ 0, \"2022-02-11 17:54:17.455302\" ] ],",
" \"v4-allocation-fail-classes\": [ [ 0, \"2022-02-11 17:54:17.455306\" ] ],",
" \"v4-allocation-fail-no-pools\": [ [ 0, \"2022-02-11 17:54:17.455310\" ] ],",
" \"v4-allocation-fail-shared-network\": [ [ 0, \"2022-02-11 17:54:17.455319\" ] ],",
- " \"v4-allocation-fail-subnet\": [ [ 0, \"2022-02-11 17:54:17.455323\" ] ]",
+ " \"v4-allocation-fail-subnet\": [ [ 0, \"2022-02-11 17:54:17.455323\" ] ],",
" \"v4-reservation-conflicts\": [ [ 0, \"2022-02-11 17:54:17.455330\" ] ]",
" }",
"}"
],
"resp-syntax": [
"{",
- " \"result\": <integer>,",
+ " \"result\": \"<integer>\",",
" \"arguments\": {",
- " \"pid\": <integer>,",
- " \"uptime\": <uptime in seconds>,",
- " \"reload\": <time since reload in seconds>,",
+ " \"pid\": \"<integer>\",",
+ " \"uptime\": \"<uptime in seconds>\",",
+ " \"reload\": \"<time since reload in seconds>\",",
" \"high-availability\": [",
" {",
- " \"ha-mode\": <HA mode configured for this relationship>",
+ " \"ha-mode\": \"<HA mode configured for this relationship>\",",
" \"ha-servers\": {",
" \"local\": {",
- " \"role\": <role of this server as in the configuration file>,",
- " \"scopes\": <list of scope names served by this server>,",
- " \"state\": <HA state name of the server receiving the command>,",
+ " \"role\": \"<role of this server as in the configuration file>\",",
+ " \"scopes\": \"<list of scope names served by this server>\",",
+ " \"state\": \"<HA state name of the server receiving the command>\"",
" },",
" \"remote\": {",
- " \"age\": <the age of the remote status in seconds>,",
- " \"in-touch\": <indicates if this server communicated with remote>,",
- " \"last-scopes\": <list of scopes served by partner>,",
- " \"last-state\": <HA state name of the partner>,",
- " \"role\": <partner role>",
+ " \"age\": \"<the age of the remote status in seconds>\",",
+ " \"in-touch\": \"<indicates if this server communicated with remote>\",",
+ " \"last-scopes\": \"<list of scopes served by partner>\",",
+ " \"last-state\": \"<HA state name of the partner>\",",
+ " \"role\": \"<partner role>\"",
" }",
" }",
" }",
" \"packet-queue-statistics\": [ 1.2, 2.3, 3.4 ],",
" \"sockets\": {",
" \"errors\": [",
- " <error received during the last attempt to open all sockets>",
- " ]",
- " \"status\": <ready, retrying, or failed>",
+ " \"<error received during the last attempt to open all sockets>\"",
+ " ],",
+ " \"status\": \"<ready, retrying, or failed>\"",
" }",
" }",
"}"
" \"subnet4\": [ {",
" \"id\": 123,",
" \"subnet\": \"10.20.30.0/24\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet4\": [ {",
" \"id\": 123,",
" \"subnet\": \"10.20.30.0/24\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet4\": [ {",
" \"id\": 123,",
" \"subnet\": \"10.20.30.0/24\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet\": \"10.0.0.0/8\",",
" \"id\": 1,",
" \"option-data\": [",
- " ...",
+ " \"<other properties>\"",
" ],",
- " ...",
+ " \"<other\": \"properties>\"",
" }",
" ]",
" }",
" \"subnet4\": [ {",
" \"id\": 123,",
" \"subnet\": \"10.20.30.0/24\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet6\": [ {",
" \"id\": 234,",
" \"subnet\": \"2001:db8:1::/64\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet6\": [ {",
" \"id\": 234,",
" \"subnet\": \"2001:db8:1::/64\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet6\": [ {",
" \"id\": 234,",
" \"subnet\": \"2001:db8:1::/64\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
" \"subnet\": \"2001:db8:1::/64\",",
" \"id\": 1,",
" \"option-data\": [",
- " ...",
+ " \"<other properties>\"",
" ],",
- " ...",
+ " \"<other\": \"properties>\"",
" }",
" ]",
" }",
" \"subnet6\": [ {",
" \"id\": 234,",
" \"subnet\": \"2001:db8:1::/64\",",
- " ...",
+ " \"<other\": \"properties>\"",
" } ]",
" }",
"}"
#!/bin/bash
work_file=`mktemp`
-for file in `find ./ | grep -v "\.git" | grep -v "_build" | grep -v "\/man\/" | grep "\.rst\|\.json" | grep -v "api\.rst" | sort`; do
+for file in `find ./ | grep -v "\.git" | grep -v "_build" | grep -v "\/man\/" | grep "\.rst\|\.json" | sort`; do
json=0
comment=0
line_num=0