Commit c275d4ec authored by Steven Murray's avatar Steven Murray
Browse files

bug #101794: RFE: Add a CLIENTMACHINE column to the output of vdqmlistrequest

Fixed in the trunk.
parent fc9ae0ac
......@@ -60,7 +60,8 @@ def getVdqmRequests(rsCursor, verbose):
accessMode,
creationTime,
remoteCopyType,
volumePriority
volumePriority,
clientMachine
FROM
tapeRequestShowqueues_VIEW
......@@ -73,8 +74,8 @@ def getVdqmRequests(rsCursor, verbose):
rsCursor.execute(stmt)
rows = rsCursor.fetchall()
columns = ['REQID', 'DGN', 'VID', 'MODE', 'CREATED', 'REMOTECOPYTYPE', 'PRIORITY']
columnSize = [8,8,8,8,16,16,8]
columns = ['REQID', 'DGN', 'VID', 'MODE', 'CREATED', 'REMOTECOPYTYPE', 'PRIORITY', 'CLIENTMACHINE']
columnSize = [8,6,6,5,15,14,8,25]
result = ''
if verbose == 'true':
......@@ -105,6 +106,7 @@ def getVdqmRequests(rsCursor, verbose):
result += (str(timeStamp)).ljust(columnSize[4]) + ' '
result += ( str(row[5])).ljust(columnSize[5]) + ' '
result += ( str(row[6])).rjust(columnSize[6]) + ' '
result += ( str(row[7])).rjust(columnSize[7]) + ' '
result += '\n'
return result[:-1]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment