Skip to content

Commit 83295d9

Browse files
Add warm state to intrapartition
1 parent 626698b commit 83295d9

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

docs/source/modules/intrapartition.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ Parameters
8282

8383
\ :literal:`initial`\ will create the transient data intrapartition data set if it does not already exist.
8484

85+
\ :literal:`warm`\ will retain an existing transient data intrapartition data set in its current state.
86+
8587

8688

8789

plugins/module_utils/intrapartition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def _get_idcams_cmd_intra(dataset): # type: (Dict) -> Dict
3131
"PRIMARY_SPACE_VALUE_DEFAULT": 100,
3232
"SECONDARY_SPACE_VALUE_DEFAULT": 10,
3333
"SPACE_UNIT_DEFAULT": "REC",
34-
"TARGET_STATE_OPTIONS": ["absent", "initial"],
34+
"TARGET_STATE_OPTIONS": ["absent", "initial", "warm"],
3535
"RECORD_COUNT_DEFAULT": 1529,
3636
"RECORD_SIZE_DEFAULT": 1529,
3737
"CONTROL_INTERVAL_SIZE_DEFAULT": 1536,

plugins/modules/intrapartition.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@
9797
already exists.
9898
- V(initial) will create the transient data intrapartition data set if it does not
9999
already exist.
100+
- V(warm) will retain an existing transient data intrapartition data set in its current state.
100101
choices:
101102
- "initial"
102103
- "absent"
104+
- "warm"
103105
required: true
104106
type: str
105107
"""

0 commit comments

Comments
 (0)