Skip to content

Commit 94ab48b

Browse files
Merge pull request #1418 from FernandoOjeda/ft/block_storage_iops
Add IOPs data to slcli block volume-list.
2 parents 056cb87 + e30066a commit 94ab48b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: SoftLayer/CLI/block/list.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
mask="storageType.keyName"),
2424
column_helper.Column('capacity_gb', ('capacityGb',), mask="capacityGb"),
2525
column_helper.Column('bytes_used', ('bytesUsed',), mask="bytesUsed"),
26-
column_helper.Column('iops', ('iops',), mask="iops"),
26+
column_helper.Column('IOPs', ('provisionedIops',), mask="provisionedIops"),
2727
column_helper.Column('ip_addr', ('serviceResourceBackendIpAddress',),
2828
mask="serviceResourceBackendIpAddress"),
2929
column_helper.Column('lunId', ('lunId',), mask="lunId"),
@@ -44,7 +44,7 @@
4444
'storage_type',
4545
'capacity_gb',
4646
'bytes_used',
47-
'iops',
47+
'IOPs',
4848
'ip_addr',
4949
'lunId',
5050
'active_transactions',

Diff for: tests/CLI/modules/block_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_volume_list(self):
130130
'capacity_gb': 20,
131131
'datacenter': 'dal05',
132132
'id': 100,
133-
'iops': None,
133+
'IOPs': None,
134134
'ip_addr': '10.1.2.3',
135135
'lunId': None,
136136
'notes': "{'status': 'availabl",

0 commit comments

Comments
 (0)