[Sheepdog] [PATCH 0/3] add vdi attributes support

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Feb 15 18:28:39 CET 2011


This patchset adds support for vdi attributes, which is based on the
discussion in
http://lists.wpkg.org/pipermail/sheepdog/2011-February/000867.html

Usage:
  $ collie vdi getattr KEY                      # get value
  $ collie vdi setattr KEY [-x] VALUE           # set value
  $ collie vdi setattr KEY [-x] < VALUEFILE     # set value from stdin
  $ collie vdi setattr KEY -d                   # delete attribute

If you set '-x' and the key already exists, the operation fails.


TODO: add subcommand help to the output of 'collie help'


MORITA Kazutaka (3):
  sheep: set error reason in read_object()
  set the number of copies in the response of vdi operations
  add vdi attributes support

 collie/collie.c               |  257 ++++++++++++++++++++++++++++++++++++++++-
 include/sheep.h               |    5 +-
 include/sheepdog_proto.h      |   21 +++-
 script/bash_completion_collie |   22 ++++-
 sheep/group.c                 |   23 +++-
 sheep/sdnet.c                 |   19 ++-
 sheep/sheep_priv.h            |   11 ++-
 sheep/store.c                 |   10 ++-
 sheep/vdi.c                   |   84 ++++++++++++--
 9 files changed, 419 insertions(+), 33 deletions(-)




More information about the sheepdog mailing list