Allow specifying a timestamp when creating a sample
Change-Id: Ic2947725edb5bf50ba9bfff14d4c0713e9aed3aa
This commit is contained in:
@@ -101,6 +101,8 @@ def do_sample_list(cc, args):
|
||||
help='The sample volume')
|
||||
@utils.arg('--resource-metadata', metavar='<RESOURCE_METADATA>',
|
||||
help='resource metadata')
|
||||
@utils.arg('--timestamp', metavar='<TIMESTAMP>',
|
||||
help='the sample timestamp')
|
||||
def do_sample_create(cc, args={}):
|
||||
'''Create a sample.'''
|
||||
arg_to_field_mapping = {'meter_name': 'counter_name',
|
||||
|
Reference in New Issue
Block a user