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>
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.