Add Create interface for IP address
Change-Id: I05a7100db500bf5d8ec87c24f4d6503a03eb3581
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/xyz/openbmc_project/Network/IP/Create.interface.yaml b/xyz/openbmc_project/Network/IP/Create.interface.yaml
new file mode 100644
index 0000000..a02e443
--- /dev/null
+++ b/xyz/openbmc_project/Network/IP/Create.interface.yaml
@@ -0,0 +1,22 @@
+description: >
+methods:
+ - name: IP
+ description: >
+ Create ipaddress object.
+ parameters:
+ - name: ProtocolType
+ type: enum[xyz.openbmc_project.Network.IP.Protocol]
+ description: >
+ protocol type can be IPv4 or IPv6 etc.
+ - name: Address
+ type: string
+ description: >
+ IP Address.
+ - name: PrefixLength
+ type: byte
+ description: >
+ Prefix Length.
+ - name: Gateway
+ type: string
+ description: >
+ Gateway Address.