You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass an expiration date to create for SLICE, and that expiration date is later than apparently some internally-set expiration maximum in the CH (which we can't find out until we try to make one, I think), my date is ignored and the slice is created with a different date:
Instead of limiting slice expiration the clearinghouse could return an error indicating that the expiration date exceeds either the project expiration or the max expiration. That error message could also note the actual time that was exceeded so that the user could try again with an expiration that falls within the appropriate range. That would be in the create_slice method in SAv1PersistentImplementation.py.
Right, an error with metadata describing the max would be best (so a client could automatically back-off without human intervention if they wanted, thus regaining the same behaviour we have now just in client control). Given that you can't delete slices, any kind of "success" that isn't exactly what the user asks for leaves them in a possibly bad spot with a created slice that doesn't match their parameters.
We could probably also include the max slice expiration value in the get_version response so clients don't need to make a create_slice call in order to discover the value.
A new key _GENI_MAX_SLICE_EXPIRATION_DAYS has been added to the Slice Authority's response to get_version. The value of this key is the maximum number of days that can be requested in create_slice and renew_slice.
...at least to me.. :-)
If I pass an expiration date to
create
forSLICE
, and that expiration date is later than apparently some internally-set expiration maximum in the CH (which we can't find out until we try to make one, I think), my date is ignored and the slice is created with a different date:I would expect this request to fail, as it cannot be satisfied.
The text was updated successfully, but these errors were encountered: