add cable connected & not-connected event

Add the event to be generated when an expected cable is connected and
not connected to a specific port.

Change-Id: I9991372c53a25e4480d1944cd91006ec8850fc33
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/yaml/xyz/openbmc_project/State/Cable.events.yaml b/yaml/xyz/openbmc_project/State/Cable.events.yaml
new file mode 100644
index 0000000..75f9a62
--- /dev/null
+++ b/yaml/xyz/openbmc_project/State/Cable.events.yaml
@@ -0,0 +1,26 @@
+version: 1.0.0
+
+errors:
+    - name: CableDisconnected
+      severity: warning
+      metadata:
+          - name: PortId
+            type: string
+            primary: true
+            description: The port where an expected cable is not connected.
+      en:
+          description: An expected cable is not connected.
+          message: An expected cable on port {PortId} is not connected.
+          resolution: Check and fix cable connections.
+      errno: ENODEV
+
+events:
+    - name: CableConnected
+      metadata:
+          - name: PortId
+            type: string
+            primary: true
+            description: The port where an expected cable is connected.
+      en:
+          description: An expected cable is connected.
+          message: An expected cable on port {PortId} is connected.