1. 19 Dec, 2017 1 commit
  2. 05 Dec, 2017 3 commits
  3. 28 Nov, 2017 1 commit
  4. 27 Nov, 2017 1 commit
  5. 22 Nov, 2017 1 commit
  6. 20 Nov, 2017 2 commits
  7. 17 Nov, 2017 1 commit
    • Hiroki Ito's avatar
      Restore backward compatibility for init client · 2afa2903
      Hiroki Ito authored
      After merged the patch I08c8b753972c27b4e6bbe07a8aa51e0e72fbc56d,
      blazarclient can't be used with blazar_url and auth_token since this
      patch only allows sessions for the initiation of client.
      For backward compatibility, blazarclient should be initiated with
      blazar_url and auth_token as before.
      
      This patch enables using blazarclient with a set of blazar_url and
      auth_token or session by reviving BaseClientManager class with adding
      a logic to chose an auth method based on given params.
      
      Change-Id: I25a665145b0503cc04e49bc85c39e2f6dca36925
      Closes-Bug: #1724757
      2afa2903
  8. 16 Nov, 2017 1 commit
  9. 13 Nov, 2017 1 commit
  10. 17 Oct, 2017 1 commit
  11. 16 Oct, 2017 1 commit
  12. 15 Oct, 2017 1 commit
  13. 06 Oct, 2017 1 commit
    • Hiroki Ito's avatar
      Migrate to keystoneauth1 · a3448e55
      Hiroki Ito authored
      For authentication, the community recommends the use of keystoneauth1
      instead of python-keystoneclient. Therefore, Blazar should follow
      this trend and migrate to keystoneauth1.
      
      This patch enables blazarclient to use keystoneauth1 for authentications
      and REST API requests and also enables use of project_id, project_name,
      project_domain_id, project_domain_name, user_domain_id and user_domain_name
      for authentication.
      
      Change-Id: I08c8b753972c27b4e6bbe07a8aa51e0e72fbc56d
      Closes-Bug: #1661215
      a3448e55
  14. 19 Sep, 2017 1 commit
  15. 15 Sep, 2017 1 commit
    • chenghuiyu's avatar
      Stop using oslo_utils.timeutils.strtime() · 3a2fbabb
      chenghuiyu authored
      This patch stops using oslo_utils.timeutils.strtime(), as it was
      deprecated in version 1.6 and will be removed in a future version.
      
      Change-Id: I6690420c8ce001ed12f47f78e657b4ad26bec816
      3a2fbabb
  16. 11 Sep, 2017 1 commit
  17. 24 Aug, 2017 1 commit
    • rajat29's avatar
      Use fixtures instead of deprecated mockpatch module · 674dfb00
      rajat29 authored
      The mockpatch module of oslotest is deprecated since version 1.13
      and may be removed in version 2.0. Use fixtures.Mock* classes instead.
      
      Change-Id: I0ea834d41664efe84aa28ef2362467e2ad8b1928
      674dfb00
  18. 23 Aug, 2017 1 commit
  19. 18 Aug, 2017 1 commit
    • Hiroaki Kobayashi's avatar
      Add before_end_date and before_end parameters · 5cb6ad8c
      Hiroaki Kobayashi authored
      This patch adds a before_end_date option to the lease-create command. It
      also adds a before_end parameter to the physical_reservation option.
      
      Partially Implements: blueprint on-end-options
      Depends-On: I90fb90d9d53814791d863f4ce5dab28388d3688d
      Change-Id: I2a6f3477509f5b549edbdc25cb2c6ac457c7c100
      5cb6ad8c
  20. 15 Aug, 2017 1 commit
  21. 10 Aug, 2017 1 commit
  22. 09 Aug, 2017 1 commit
    • Hiroki Ito's avatar
      Accept multiple properties · c0556c71
      Hiroki Ito authored
      python-blazarclient does not accept multiple properties when
      creating leases. This is because of the wrong regular expression
      used for separating given options.
      
      This patch fixs the regular expression and enables the use of
      multiple properties in python-blazarclient.
      
      Change-Id: I35dc3cd213e70890abe20c6f17cd4fb90fcb3ea9
      Closes-Bug: #1699679
      c0556c71
  23. 07 Aug, 2017 1 commit
  24. 03 Aug, 2017 3 commits
    • Pierre Riteau's avatar
      Fix unicode issues with Python 3 · b25f60ff
      Pierre Riteau authored
      In Python 3, all strings are unicode and the unicode() function has been
      removed. For compatibility with both Python 2 and 3, use six.text_type()
      instead.
      
      Partially implements: blueprint python-3
      Change-Id: I0934e546d0309ddc986fd48b0f13fa5631813dc8
      b25f60ff
    • Jenkins's avatar
      e8e249e0
    • Masahito Muroi's avatar
      Convert integer style parameters to integer values · b2fa6bf5
      Masahito Muroi authored
      python-blazarclient sends all request parameters in the request body as
      strings even though the blazar service only accepts integer values for
      some parameters.
      
      For instance, the instance reservation feature accepts an integer for
      the 'vcpus' parameter, but the blazar client sends a string value for
      the parameter with the --reservation vcpus=1 option.
      
      This patch enables the --reservation option to convert integer style
      parameters to integer values.
      
      Closes-Bug: #1707552
      Change-Id: Ife1124e14adc0183fe5d4680031bc00ca3647ed5
      b2fa6bf5
  25. 28 Jul, 2017 1 commit
    • Hiroki Ito's avatar
      Output debug messages when using --debug option · 931ee4d6
      Hiroki Ito authored
      Even though using --debug option, Blazar client does not output
      debug level messages at the moment.
      
      This commit enables the CLI to output debug messages with
      --debug option.
      
      Change-Id: Ic78953128363868aa0aeb8ca55cf831a77d03dd3
      Closes-Bug: #1706288
      931ee4d6
  26. 24 Jul, 2017 2 commits
  27. 21 Jul, 2017 1 commit
  28. 05 Jul, 2017 1 commit
  29. 30 Jun, 2017 1 commit
    • Hiroki Ito's avatar
      Remove unnecessary output · 006d33e1
      Hiroki Ito authored
      Blazar CLI outputs unnecessary messages when creating,
      updating and deleting resources such like
      "<open file '<stdout>', mode 'w' at 0x7f7e3067f150>".
      This commit fixes these output messages.
      
      Change-Id: I87838dabe40039778908ad2d14426d5d2bfcfff7
      006d33e1
  30. 10 Jun, 2017 1 commit
  31. 07 Jun, 2017 1 commit
    • Masahito Muroi's avatar
      Enable lease-update to update start/end time with date · f5da632a
      Masahito Muroi authored
      lease-update CLI only accepts time delta to update start_time
      or end_time of leases. It's hard for users to specify a specific
      date as its argument since users need to caluclate the time delta
      between the previous start/end time and the new date.
      
      This patch enables users to update leases with date format
      like --end-date "2017-06-05 17:15".
      
      Change-Id: I5044213656a22ffa99d96f3d2f3f92752da1b6e9
      f5da632a
  32. 23 May, 2017 1 commit
  33. 22 May, 2017 1 commit
  34. 15 May, 2017 1 commit