X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetSlivers.py;h=9f866154e812dedddc2b3f8ca6ed316fff7870a5;hb=b3136dfd5c09b0b7e411df27458d731f726bea44;hp=ec1e83e68fc973572df83ec797ec1e3fbdbe8994;hpb=2a0cd82ae62a17d7c07e3b32611063a95993533d;p=plcapi.git diff --git a/PLC/Methods/GetSlivers.py b/PLC/Methods/GetSlivers.py index ec1e83e..9f86615 100644 --- a/PLC/Methods/GetSlivers.py +++ b/PLC/Methods/GetSlivers.py @@ -324,6 +324,7 @@ class GetSlivers(Method): 'clip': (timestamp, timestamp+24*Duration.HOUR), '-SORT': 't_from', }) ] + granularity=Lease.granularity return { 'timestamp': timestamp, @@ -339,4 +340,5 @@ class GetSlivers(Method): 'hrn':hrn, 'reservation_policy': reservation_policy, 'leases':leases, + 'lease_granularity': granularity, }