[sheepdog] [sheepdog/sheepdog] c7d4db: dog: Refine output of "dog vdi lock list"

Hitoshi Mitake mitake.hitoshi at gmail.com
Thu Sep 8 07:13:08 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: c7d4db3a7b5909dac99d7a9b523af2fe51a4c92f
      https://github.com/sheepdog/sheepdog/commit/c7d4db3a7b5909dac99d7a9b523af2fe51a4c92f
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M dog/vdi.c

  Log Message:
  -----------
  dog: Refine output of "dog vdi lock list"

Previously, "dog vdi lock list" outputs only VDIs' name and owner node(s).
However, this is not enough because not only working VDIs but also snapshot
ones can be locked.

This commit adds VDIs' snapid, id and tag columns to output of "dog vdi
lock list," like "dog vdi list." After this, its output is like below:

    Name         Id  VDI id  Tag            Owner node(s)
  s foovdi        1  270cf4  foo1           [..]
    foovdi        0  270cf5                 [..]
  c hoge          0  8c7d08                 [..]

Note that raw output mode is not supported yet.

Fix #126.

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>


  Commit: f18a66e0ab17699c6f16a6ac8b182f94883e753b
      https://github.com/sheepdog/sheepdog/commit/f18a66e0ab17699c6f16a6ac8b182f94883e753b
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2016-09-07 (Wed, 07 Sep 2016)

  Changed paths:
    M tests/functional/097.out

  Log Message:
  -----------
  tests: Fix functional 097 to fit refined output of "dog node lock list"

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>


  Commit: 988e12c30e6662a0a24d8c989b754a9300622ce0
      https://github.com/sheepdog/sheepdog/commit/988e12c30e6662a0a24d8c989b754a9300622ce0
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M dog/vdi.c
    M tests/functional/097.out

  Log Message:
  -----------
  Merge pull request #307 from tmenjo/dog-vdi-lock

dog: Refine output of "dog vdi lock list"


Compare: https://github.com/sheepdog/sheepdog/compare/3373df269e9a...988e12c30e66


More information about the sheepdog mailing list