Browse Source

[1976] Include the cache options in spec

The cache-enable and cache-zones options are now in the datasrc spec
file.
Michal 'vorner' Vaner 13 years ago
parent
commit
4f90ffd6c7
1 changed files with 17 additions and 0 deletions
  1. 17 0
      src/bin/cfgmgr/plugins/datasrc.spec

+ 17 - 0
src/bin/cfgmgr/plugins/datasrc.spec

@@ -30,6 +30,23 @@
                                 "item_type": "any",
                                 "item_optional": false,
                                 "item_default": null
+                            },
+                            {
+                                "item_name": "cache-enable",
+                                "item_type": "boolean",
+                                "item_optional": false,
+                                "item_default": false
+                            },
+                            {
+                                "item_name": "cache-zones",
+                                "item_type": "list",
+                                "item_optional": true,
+                                "list_item_spec": {
+                                    "item_name": "zone",
+                                    "item_type": "string",
+                                    "item_optional": false,
+                                    "item_default": ""
+                                }
                             }
                         ]
                     }