xfrin.spec.pre.in 1.22 KB
Newer Older
Likun Zhang's avatar
Likun Zhang committed
1
2
3
4
5
6
7
8
9
10
11
12
{
  "module_spec": {
    "module_name": "Xfrin",
    "config_data": [
      {
        "item_name": "transfers_in",
        "item_type": "integer",
        "item_optional": False,
        "item_default": 10
      }
    ],
    "commands": [
13
     {
Likun Zhang's avatar
Likun Zhang committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
        '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,
38
            "item_default": '@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3'
Likun Zhang's avatar
Likun Zhang committed
39
40
41
42
43
          }
        ]
      },
      {
        "command_name": "shutdown",
Likun Zhang's avatar
Likun Zhang committed
44
        "command_description": "Shut down xfrin module",
Likun Zhang's avatar
Likun Zhang committed
45
46
47
48
49
50
51
        "command_args": []
      }
    ]
  }
}