1. 11 May, 2018 1 commit
  2. 19 Apr, 2018 1 commit
    • Masahito Muroi's avatar
      Support hostname in show, update and delete host operations · 60e658d6
      Masahito Muroi authored
      The Blazar CLI doesn't support show, update and delete host operations
      with hostname. It only accepts id because host uses a key called
      hypervisor_hostname, rather one called name like for leases.
      This patch enables the Blazar CLI to support hostname as well.
      Change-Id: I3a7a3307099ed518d89de37039f9366770a21ce2
      Closes-Bug: #1702266
  3. 25 Jan, 2018 1 commit
  4. 15 Jan, 2018 1 commit
    • Hiroaki Kobayashi's avatar
      Align json indents · 34c711ea
      Hiroaki Kobayashi authored
      This patch aligns indents for showing json data.
      Change-Id: I042f50a5bb06a0e84b142f9cd8f32ae26a4eb7a7
  5. 21 Dec, 2017 1 commit
  6. 05 Dec, 2017 1 commit
  7. 27 Nov, 2017 1 commit
  8. 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
  9. 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
  10. 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
  11. 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
  12. 23 Aug, 2017 1 commit
  13. 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
  14. 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
  15. 07 Aug, 2017 1 commit
  16. 03 Aug, 2017 2 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()
      Partially implements: blueprint python-3
      Change-Id: I0934e546d0309ddc986fd48b0f13fa5631813dc8
    • 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
  17. 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
  18. 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
  19. 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
  20. 29 Mar, 2017 1 commit
    • Govardhan Chintha's avatar
      Validation for --physical-reservation argument · 48f6171e
      Govardhan Chintha authored
      There was no validation for min and max arguments, so the following
      is added:
      1. min and max values must be integers
      2. min value must be less than max value
      3. min and max values must be greater than 0
      4. min and max values must be provided by user
      Change-Id: Icef260826d84578875af1345c387395bc80cada6
      Closes-Bug: #1404190
  21. 21 Mar, 2017 1 commit
  22. 21 Feb, 2017 1 commit
    • Masahito Muroi's avatar
      Migrate Python namespace from climateclient to blazarclient · 581c1170
      Masahito Muroi authored
      The python-blazarclient repository has been using the climateclient
      This patch converts the climateclient namespace to the blazarclient
      namespace. Additionally, some classes, methods and variables that
      include 'climate' in their name are also changed to 'blazar'.
      Change-Id: Ibf900f9a8a7a7bfb0b6b213545b9cbf121ce0df7
      Closes-Bug: #1662735
      Closes-Bug: #1311746