Create leases with lease duration instead of end date
Bug #1717290 reported by
Pierre Riteau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Confirmed
|
Wishlist
|
Pierre Riteau |
Bug Description
It would be useful to be able to run:
blazar lease-create --duration 2h
which would create a lease starting "now" and ending at now+2h. Currently only +24h is possible without giving any date argument.
It could be combined with a start date as well:
blazar lease-create --start-date "2050-01-01 00:00" --duration 2h
Changed in blazar: | |
importance: | Undecided → Wishlist |
Changed in blazar: | |
milestone: | stein-1 → stein-2 |
Changed in blazar: | |
milestone: | stein-2 → stein-3 |
Changed in blazar: | |
milestone: | stein-3 → train-1 |
To post a comment you must log in.
There was discussion at the Stein PTG about this approach: support in client vs support in API. Pierre will prepare a client-side patch and we will continue the discussion on Gerrit.