TFTP Interface
Added a TFTP.interface.yaml
To be used at /xyz/openbmc_project/software to
download software images.
Part of openbmc/openbmc#1331
Change-Id: I87905ffe45efc2d50c7f14b5649ecce2b00d566f
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/xyz/openbmc_project/Common/TFTP.interface.yaml b/xyz/openbmc_project/Common/TFTP.interface.yaml
new file mode 100644
index 0000000..0a4665a
--- /dev/null
+++ b/xyz/openbmc_project/Common/TFTP.interface.yaml
@@ -0,0 +1,15 @@
+description: >
+ Implement to provide TFTP (Trivial File Transfer Protocol).
+methods:
+ - name: DownloadViaTFTP
+ description: >
+ Download a file via TFTP.
+ parameters:
+ - name: FileName
+ type: string
+ description: >
+ The name of the file to transfer.
+ - name: ServerAddress
+ type: string
+ description: >
+ The TFTP Server IP Address.