Re: Proposal for 3.5: Make adding custom translators easy

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

 



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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux