summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml')
-rw-r--r--xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml b/xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml
new file mode 100644
index 0000000..8e4fd8d
--- /dev/null
+++ b/xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml
@@ -0,0 +1,23 @@
+description: >
+ Implement to specify a restricted mode of operation.
+
+properties:
+ - name: RestrictionMode
+ type: enum[self.Modes]
+ description: >
+ The restriction mode.
+
+enumerations:
+ - name: Modes
+ description: >
+ Possible modes of restriction.
+ values:
+ - name: None
+ description: >
+ No restriction.
+ - name: Whitelist
+ description: >
+ Allow, only if in the whitelist.
+ - name: Blacklist
+ description: >
+ Prevent, if in the blacklist.
OpenPOWER on IntegriCloud