1. 18 Jan, 2011 9 commits
  2. 12 Jan, 2011 1 commit
  3. 10 Jan, 2011 1 commit
  4. 05 Jan, 2011 2 commits
  5. 13 Dec, 2010 2 commits
  6. 08 Dec, 2010 2 commits
  7. 01 Dec, 2010 1 commit
  8. 29 Nov, 2010 1 commit
    • Michael Hanselmann's avatar
      RAPI: Implement OS parameters for instance reinstallation · c744425f
      Michael Hanselmann authored
      
      
      Dictionaries are hard to encode into query strings, therefore the
      “/2/instances/[instance_name]/reinstall” resource is changed to accept
      its parameters via the request body. The old query string parameters are
      still accepted for backwards compatibility.
      
      To allow clients to detect whether a server supports the new body
      parameters, a new feature string is added to the “/2/features” resource.
      Some people might not like this, but it reuses existing functionality.
      
      The RAPI client and its unittests are updated.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      c744425f
  9. 23 Nov, 2010 1 commit
  10. 22 Nov, 2010 1 commit
  11. 27 Oct, 2010 1 commit
  12. 13 Oct, 2010 1 commit
  13. 30 Sep, 2010 1 commit
    • Iustin Pop's avatar
      Change behaviour of OpDiagnoseOS w.r.t. 'valid' · d22dfef7
      Iustin Pop authored
      
      
      This patch changes the behaviour of OpDiagnoseOS with regards to the
      'valid' field to be similar to the one for the hidden/blacklisted
      fields: unless this field is requested, invalid OSes are filtered out.
      
      The rationale is that, except for the gnt-os info/diagnose, all other
      users of this opcode are requesting the valid field just to filter out
      invalid OSes, and not for any other use. Thus, changing this behaviour
      makes these callers simpler.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      d22dfef7
  14. 15 Sep, 2010 1 commit
  15. 18 Aug, 2010 1 commit
  16. 10 Aug, 2010 1 commit
  17. 29 Jul, 2010 1 commit
  18. 28 Jul, 2010 1 commit
  19. 23 Jul, 2010 1 commit
  20. 13 Jul, 2010 1 commit
  21. 08 Jul, 2010 1 commit
  22. 23 Jun, 2010 1 commit
  23. 18 May, 2010 1 commit
  24. 17 May, 2010 1 commit
  25. 13 May, 2010 2 commits
  26. 12 May, 2010 2 commits
    • Michael Hanselmann's avatar
      12eff9b9
    • Michael Hanselmann's avatar
      RAPI: Add initial support for instance creation request version · d975f482
      Michael Hanselmann authored
      The way the resource /2/instances expects its request data (e.g.
      instance name, disks, NICs) to be formatted in a dict is not
      very extensible. HV and BE parameters are interleaved with all
      other values. In commit 495cfdf0
      
       a new parameter “mode” was added
      which can be misunderstood as the instance creation mode, but is
      actually a mode for the network interface.
      
      Short of bumping the whole RAPI version (currently 2), which would
      involve many, many other changes and potentially break clients,
      we can not change the request format easily as it needs to stay
      backwards and future-compatible as far as possible. This is not an
      internal API, but one used by several external applications.
      
      By introducing a data format version per request, we can still
      support the old request format, and thereby not break existing users,
      while we can add a more flexible request format which will, for
      example, support multiple NICs and move HV/BE parameters to separate
      containers, avoiding conflicts.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      d975f482
  27. 11 May, 2010 1 commit