summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Control/Service/Attributes.interface.yaml
diff options
context:
space:
mode:
authorAppaRao Puli <apparao.puli@linux.intel.com>2018-09-25 15:18:17 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-12-06 13:56:34 +0000
commit99b5aaa499c2f1a71a031051136744ad1e7df869 (patch)
tree978ccdbca0450d453cd6553a526384f890b41674 /xyz/openbmc_project/Control/Service/Attributes.interface.yaml
parent51f9037c6f011aa8c4c71578692c826473720cf2 (diff)
downloadphosphor-dbus-interfaces-99b5aaa499c2f1a71a031051136744ad1e7df869.tar.gz
phosphor-dbus-interfaces-99b5aaa499c2f1a71a031051136744ad1e7df869.zip
D-Bus interface to configure service properties.
D-Bus interface exposing properties for service (RMCP+, web, SSH) like state, port to configure the same. Common interface to support both systemctl or iptables implementation. Service manager daemon (new daemon) will expose objects with these interfaces. Change-Id: I96941cf3c762fe069f13c1895fd840d7ab87e95c Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'xyz/openbmc_project/Control/Service/Attributes.interface.yaml')
-rw-r--r--xyz/openbmc_project/Control/Service/Attributes.interface.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/Service/Attributes.interface.yaml b/xyz/openbmc_project/Control/Service/Attributes.interface.yaml
new file mode 100644
index 0000000..e9bfc92
--- /dev/null
+++ b/xyz/openbmc_project/Control/Service/Attributes.interface.yaml
@@ -0,0 +1,36 @@
+description: >
+ This interface exposes properties for service objects like
+ SSH, web, RMCP+ etc. under the service configuration manager.
+ This interface can be used to get/set of service properties.
+
+properties:
+ - name: State
+ type: enum[self.SupportedStates]
+ description: >
+ Specifies the state of the service.
+ - name: Port
+ type: uint32
+ description: >
+ Specifies the listening port number of service.
+ This property is used to get or set the service
+ listening port number.
+ - name: Channel
+ type: array[string]
+ description: >
+ Specifies the channel on which service allows client
+ connections. This property is used to get or set the
+ allowed channel interfaces in array of strings. It accepts
+ the interface names, which are created as objects in
+ network service and returns error if not found.
+
+enumerations:
+ - name: SupportedStates
+ description: >
+ State values.
+ values:
+ - name: 'enabled'
+ description: >
+ Service is enabled.
+ - name: 'disabled'
+ description: >
+ Service is disabled.
OpenPOWER on IntegriCloud