1. 02 Nov, 2015 1 commit
  2. 30 Oct, 2015 4 commits
    • Stavros Sachtouris's avatar
      ad417dd6
    • Stavros Sachtouris's avatar
      07331695
    • Stavros Sachtouris's avatar
      Improve the blocking mechanism in kamaki clients · 80f20e72
      Stavros Sachtouris authored
      The "Waiter" class is now deprecated. A "wait" method is used
      instead. The new method is located at "kamaki.clients" and has
      this signature:
      wait(
          poll method, poll method params,
          stop method,
          delay=1, timeout=100,
          caller callback method=None)
      
      The poll method is provided by the caller and is typically the
      "get_details" method of each API client.
      
      The "poll method params" is a list of parameters for the polling
      method, typically just the item id (i.e., server_id, port_id,
      volume_id).
      
      The stop method returns a boolean, is called after each polling
      and decides whether the blocking should stop.
      
      The delay is the time between each call of the poll method
      
      The timeout is the total time after which the blocker stops
      
      The caller callback method is not a generator anymore, instead it
      is just a method that takes the results of the poll method as
      input and it is called at each iteration. It remains optional.
      Typically, the caller may use it to advance a progress bar.
      
      The CycladesComputeClient, CycladesNetworkClient and
      CycladesBlockStorageClient have been updated so that they make use
      of the new method, but they retain the ability to call the Waiter
      methods for two more versions, due to backwards compatibility
      policies.
      
      The CLI has been adjusted to use the new mechanism.
      80f20e72
    • Stavros Sachtouris's avatar
      Correct "create_server" docstring for "networks" · 552219f5
      Stavros Sachtouris authored
      The "create_server" method is located at "kamaki.clients.cyclades"
      as member of the "CycladesComputeClient" class.
      
      The docstring was incorrectly describing the effects passing None
      or [] to the "networks" argument.
      552219f5
  3. 04 Feb, 2015 1 commit
  4. 07 Nov, 2014 1 commit
    • Stavros Sachtouris's avatar
      Return volume metadata in "create_volume" · a26565ac
      Stavros Sachtouris authored
      The method used to return results in this format:
        {"volume": {"id": ..., "display_name" ..., ...}}
      It now returns the results in this form:
        {"id" ..., "display_name" ..., ...}
      as it is the case with every other creation command in kamaki library.
      a26565ac
  5. 29 Jul, 2014 2 commits
  6. 07 Jul, 2014 2 commits
  7. 05 Jun, 2014 1 commit
  8. 21 May, 2014 2 commits
    • Stavros Sachtouris's avatar
      Rename base_url,auth_base to endpoint_url,astakos · 998d7e25
      Stavros Sachtouris authored
      Refs #9
      
      This change affects both the kamaki.cli and kamaki.clients hierarchies
      It is of semantic significance only
      Backwards compatibility is preserved in kamaki.clients, so that
      old code using base_url instead of endpoint_url will still work.
      998d7e25
    • Stavros Sachtouris's avatar
      Change kamaki.clients.cyclades class names · a14586a8
      Stavros Sachtouris authored
      Names are changed for uniformity. Backwards compatibility is kept,
      (old names are not dismissed)
      
      Renames:
      CycladesRestClient --> CycladesComputeRestClient
      CycladesClient --> CycladesComputeClient
      
      Users can still import and user CycladesRestClient and CycladesClient
      a14586a8
  9. 17 Mar, 2014 3 commits
  10. 20 Feb, 2014 1 commit
  11. 19 Feb, 2014 1 commit
  12. 17 Feb, 2014 1 commit
  13. 11 Feb, 2014 1 commit
  14. 19 Dec, 2013 1 commit
  15. 13 Dec, 2013 2 commits
  16. 10 Dec, 2013 2 commits
  17. 09 Dec, 2013 3 commits
  18. 29 Nov, 2013 4 commits
  19. 28 Nov, 2013 2 commits
  20. 21 Nov, 2013 2 commits
  21. 20 Nov, 2013 1 commit
    • Stavros Sachtouris's avatar
      Apply naming scheme to network + cyclades/network · 264a13f7
      Stavros Sachtouris authored
      Refs: #4583, #4563
      
      Network connection has changed:
      server create <usuall stuff here>
          --network-id=NETWORK_ID --network-with-ip=NETWORK_ID,IP
      port create/delete are also used to connect/disconnect networks to servers
      
      deprecated:
      - all network-related commands at cli/commands/cyclades.py
      - ip attach/detach
      264a13f7
  22. 15 Nov, 2013 1 commit
  23. 08 Nov, 2013 1 commit