Network: Add protocol type property in IP Interface

Change-Id: I5ffa64b0f538c6ebe02ce2017094c86407d1c0e5
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/xyz/openbmc_project/Network/IP.interface.yaml b/xyz/openbmc_project/Network/IP.interface.yaml
index fcfb64c..565dcd6 100644
--- a/xyz/openbmc_project/Network/IP.interface.yaml
+++ b/xyz/openbmc_project/Network/IP.interface.yaml
@@ -22,8 +22,19 @@
       type: string
       description: >
           This is the IP gateway for this address.
+    - name: Type
+      type: enum[self.Protocol]
+      description: >
+          IP protocol type which can be IPv4 or IPv6 etc.
 
 enumerations:
+    - name: Protocol
+      description: >
+          Possible IP protocol types.
+      values:
+        - name: IPv4
+        - name: IPv6
+
     - name: AddressOrigin
       description: >
           Possible IP address origin types.