gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Proposal for 3.5: Make adding custom translators eas


From: Justin Clift
Subject: Re: [Gluster-devel] Proposal for 3.5: Make adding custom translators easy
Date: Mon, 12 Aug 2013 20:57:06 +0100

On 12/08/2013, at 8:55 PM, Joe Julian wrote:
<snip>
> Or as json:
> {
>  "translator": {
>    "name": "features/marker",
>    "type": "server",
>    "graph": { "before": "debug/io-stats" },
>    "subvolume": { "count": 1 },
>    "cli": {
>      "target": "volume",
>      "options": {
>        "option": [
>          {
>            "name": "quota",
>            "type": "boolean",
>            "default": false
>          },
>          {
>            "name": "xtime",
>            "type": "boolean",
>            "default": false
>          },
>          {
>            "name": "timestamp-file",
>            "type": "string",
>            "default": "/var/lib/glusterd/vols/${vol}/marker.tstamp"
>          }
>        ]
>      }
>    }
>  }
> }

The JSON does seem a lot more readable.

+ Justin

--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift




reply via email to

[Prev in Thread] Current Thread [Next in Thread]