1. 07 Feb, 2014 1 commit
    • Hrvoje Ribicic's avatar
      Allow classic queries to use either names or UUIDs · 13ef1fa5
      Hrvoje Ribicic authored
      
      
      When UUIDs are used in CLI commands, such addressing of objects fails
      or succeeds inconsistently across object types. Worse yet, some calls
      do not fail, but simply return no result. This is due to the way the
      classical queries are handled in the Haskell code - a filter is built,
      checking if the names match. If the names do not match, but the object
      can still be retrieved through UUID, the query is successful, but there
      is nothing to return.
      
      This patch remedies the situation by extending the filter into an or
      clause checking for either name or uuid. For objects that have no uuid
      field, the name is reused, making the filter equivalent to the old one.
      
      Works towards resolving issue 703.
      Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      13ef1fa5
  2. 06 Feb, 2014 1 commit
  3. 05 Feb, 2014 2 commits
  4. 03 Feb, 2014 1 commit
  5. 30 Jan, 2014 5 commits
  6. 29 Jan, 2014 4 commits
  7. 28 Jan, 2014 1 commit
    • Ilias Tsitsimpis's avatar
      Assign unique filenames to filebased disks · 94e252a3
      Ilias Tsitsimpis authored
      
      
      With the new format for cmdline arguments, the user is able to add a
      disk to an instance at a specific index. But filebased disks' filenames
      have the form "{0}/disk{1}" where '{0}' is the file_storage_dir and
      '{1}' is the index of the disk. So if an instance has 3 disks and we
      try to create a new one at index 1, the operation will fail because the
      filename "{0}/disk1" already exists.
      
      This patch fixes the above problem and also makes the naming of file and
      shared disks uniform with other templates.
      Signed-off-by: default avatarIlias Tsitsimpis <iliastsi@grnet.gr>
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      94e252a3
  8. 27 Jan, 2014 2 commits
  9. 24 Jan, 2014 4 commits
  10. 23 Jan, 2014 4 commits
  11. 21 Jan, 2014 3 commits
  12. 20 Jan, 2014 9 commits
  13. 13 Jan, 2014 3 commits