summaryrefslogtreecommitdiffstats
path: root/src/bin/ddns/ddns.spec
blob: 3061cdc18d68855b8012b0943d4f5963ede81967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "module_spec": {
    "module_name": "DDNS",
    "config_data": [
      {
        "item_name": "zones",
        "item_type": "list",
        "item_optional": false,
        "item_default": [],
        "list_item_spec": {
          "item_name": "entry",
          "item_type": "map",
          "item_optional": true,
          "item_default": {
          "origin": "",
          "class": "IN",
            "update_acl": []
          },
          "map_item_spec": [
            {
              "item_name": "origin",
              "item_type": "string",
              "item_optional": false,
              "item_default": ""
            },
            {
              "item_name": "class",
              "item_type": "string",
              "item_optional": false,
              "item_default": "IN"
            },
            {
              "item_name": "update_acl",
              "item_type": "list",
              "item_optional": false,
              "item_default": [],
              "list_item_spec": {
                "item_name": "acl_element",
                "item_type": "any",
                "item_optional": true,
                "item_default": {"action": "REJECT"}
              }
            }
          ]
        }
      }
    ],
    "commands": [
      {
        "command_name": "shutdown",
        "command_description": "Shut down DDNS",
        "command_args": [
          {
            "item_name": "pid",
            "item_type": "integer",
            "item_optional": true
          }
        ]
      }
    ]
  }
}