net: Client.Create interface from SNMP project
This is a port of phosphor-snmp commits d84e327dc and 95201f15c. Moving
to PDI simplifies the phosphor-snmp project build process and improves
OpenBMC DBus interface documentation consolidation.
Change-Id: Ib6aee82e1c60e4ca1d6d9f50e9ad886daa4bc92b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml b/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml
new file mode 100644
index 0000000..77955d5
--- /dev/null
+++ b/yaml/xyz/openbmc_project/Network/Client/Create.interface.yaml
@@ -0,0 +1,21 @@
+description: >
+methods:
+ - name: Client
+ description: >
+ Create network client endpoint.
+ parameters:
+ - name: Address
+ type: string
+ description: >
+ IP Address/Hostname
+ - name: Port
+ type: uint16
+ description: >
+ Network port.
+ errors:
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+ returns:
+ - name: path
+ type: string
+ description: >
+ Path of the object which has been created.