{ "access": "read", "avail": "1.6.0", "brief": [ "This command fetches a list of all IPv6 shared networks from the configuration database." ], "cmd-comment": [ "The ``server-tags`` list is required for this command, and must not be empty. It may either contain one or multiple server tags as strings, or a single ``null`` value." ], "cmd-syntax": [ "{", " \"command\": \"remote-network6-list\",", " \"arguments\": {", " \"remote\": {", " ", " },", " \"server-tags\": [ , , ... ]", " }", "}" ], "hook": "cb_cmds", "name": "remote-network6-list", "resp-comment": [ "The returned response contains the list of maps. Each map contains the shared network name and the metadata, which provides database-specific information associated with the shared network. The returned list does not contain full definitions of the shared networks; use ``remote-network6-get`` to fetch the full information about the selected shared networks. If the command includes explicit server tags as strings (including the special server tag \"all\"), the list contains all shared networks which are associated with any of the specified tags. A network is returned even if it is associated with multiple servers and only one of the specified tags matches. If the command includes the ``null`` value in the ``server-tags`` list, the response contains all shared networks which are assigned to no servers (unassigned)." ], "resp-syntax": [ "{", " \"result\": 0,", " \"text\": \"2 IPv6 shared network(s) found.\",", " \"arguments\": {", " \"shared-networks\": [", " {", " \"name\": ,", " \"metadata\": {", " \"server-tags\": [ , , ... ]", " }", " },", " {", " \"name\": ,", " \"metadata\": {", " \"server-tags\": [ , ... ]", " }", " }", " ],", " \"count\": 2", " }", "}" ], "support": [ "kea-dhcp6" ] }