xfrin.spec.pre.in 1.67 KB
Newer Older
Likun Zhang's avatar
Likun Zhang committed
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
{
  "module_spec": {
    "module_name": "Xfrin",
    "config_data": [
      {
        "item_name": "transfers_in",
        "item_type": "integer",
        "item_optional": False,
        "item_default": 10
      }
    ],
    "commands": [
      {
        "command_name": "print_message",
        "command_description": "Print the given message to stdout",
        "command_args": [ {
          "item_name": "message",
          "item_type": "string",
          "item_optional": False,
          "item_default": ""
        } ]
      },
      {
        "command_name": "print_settings",
        "command_description": "Print some_string and some_int to stdout",
        "command_args": []
      },
      {
        'command_name': 'retransfer',
        "command_description": 'retransfer a single zone without checking zone serial number',
        'command_args': [ {
            "item_name": "zone_name",
            "item_type": "string",
            "item_optional": False,
            "item_default": ""
          },
          {
            "item_name": "master",
            "item_type": "string",
            "item_optional": False,
            "item_default": ""
          },
          {
            "item_name": "port",
            "item_type": "integer",
            "item_optional": True,
            "item_default": 53
          },
          {
            "item_name": "db_file",
            "item_type": "string",
            "item_optional": True,
53
            "item_default": '@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3'
Likun Zhang's avatar
Likun Zhang committed
54
55
56
57
58
          }
        ]
      },
      {
        "command_name": "shutdown",
Likun Zhang's avatar
Likun Zhang committed
59
        "command_description": "Shut down xfrin module",
Likun Zhang's avatar
Likun Zhang committed
60
61
62
63
64
65
66
        "command_args": []
      }
    ]
  }
}