summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2018-04-19 15:28:05 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2018-07-27 15:53:45 +0530
commit9a2f902a9b941ebfc88f5e88c7f146f817dde033 (patch)
treea05a853bd467a389964e408b7c31c4bd55139b68
parente0c06d7cafe50b6198e102ae0554f1cb6df8cf0a (diff)
downloadphosphor-dbus-interfaces-9a2f902a9b941ebfc88f5e88c7f146f817dde033.tar.gz
phosphor-dbus-interfaces-9a2f902a9b941ebfc88f5e88c7f146f817dde033.zip
Create Network.Client interface
Provide an interface for configuring the network client/endpoint. D-Bus object which wants to keep the network endpoint info can extend this interface. e.g: Network endpoint could be SNMP mangers or LDAP servers etc. Resolves openbmc/openbmc#3004 Change-Id: Ieedfc6e1d02fc7321b050cc3f27e206d60ac6fb9 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
-rw-r--r--xyz/openbmc_project/Network/Client.interface.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Network/Client.interface.yaml b/xyz/openbmc_project/Network/Client.interface.yaml
new file mode 100644
index 0000000..ce8bc8b
--- /dev/null
+++ b/xyz/openbmc_project/Network/Client.interface.yaml
@@ -0,0 +1,14 @@
+description: >
+ This defines the network endpoint.
+ Application which wants to keep the network endpoint info
+ can use this interface.
+ e.g: Network endpoint could be SNMP mangers or LDAP servers etc.
+properties:
+ - name: Address
+ type: string
+ description: >
+ The value of this property can be IP/hostname of the network endpoint.
+ - name: Port
+ type: uint16
+ description: >
+ The value of this property is the network port number.
OpenPOWER on IntegriCloud