Network: define the interface for IP protocol
Change-Id: I3a2014fb8bbee4d221a3174698209ecf6cd30df9
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/xyz/openbmc_project/Network/IPProtocol.interface.yaml b/xyz/openbmc_project/Network/IPProtocol.interface.yaml
new file mode 100644
index 0000000..c4f89ab
--- /dev/null
+++ b/xyz/openbmc_project/Network/IPProtocol.interface.yaml
@@ -0,0 +1,15 @@
+description: >
+ This defines IP protocol types.
+properties:
+ - name: Type
+ type: enum[self.Protocol]
+ description: >
+ protocol type can be IPv4 or IPv6 etc.
+
+enumerations:
+ - name: Protocol
+ description: >
+ Possible IP protocol types.
+ values:
+ - name: IPv4
+ - name: IPv6