Segments, Traits, and Operators
Information about data set profile segments
dictionaries, traits
dictionaries, and operators
.
Segments
Segments that are NOT documented below are considered Experimental.
Note that just because a Segment is considered Stable that does not mean that all of the Traits in that Segment are considered Stable. See Traits for more detail.
The
base
segment is always included inDataSetAdmin.extract()
by default.
When using the DataSetAdmin.extract()
function, the following is the current list of additional segments that have been tested and validated. Feel free to experiment with any of the segments defined in pyracf/data_set/data_set_admin.py
in the pyRACF source code.
Segment | Description |
base | Describes a data set profile’s Base attributes. |
Traits
Traits that are NOT documented below are considered Experimental.
Some Traits can be set to
False
to delete their existing values.
When using the DataSetAdmin.add()
and DataSetAdmin.alter()
functions, the following are valid data set profile traits. Feel free to experiment with any of the other traits defined in pyracf/data_set/data_set_admin.py
in the pyRACF source code.
Traits use the following syntax: <segment>:<trait>
Trait | Description | Valid Types |
base:universal_access | Set a data set profile’s Universal Access level. | str |
Operators
Operators can be prepended to traits using the following syntax: <operator>:<segment>:<trait>
Valid Operators: add
, remove
, delete
Key-Value Pair Traits
Operators are generally not needed for key-value pair traits. For key-value pair traits, setting the value to a non-False
value with no operator will generally set or overwrite the trait and setting the value to False
will generally unset or disable the trait.
List Traits
Trait | Operator Usage |