Add NIC link up/down status
Add a boolean to permit retrieving the carrier state of the
NIC. Loss of carrier will cause this value to report false. Carrier
present reports true.
Change-Id: Ie6307147cd5e24b7a5a3bc5a02026319c7c76646
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
diff --git a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
index 48300d7..b18f6c7 100644
--- a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
+++ b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml
@@ -62,6 +62,15 @@
type: boolean
description: >
Boolean for to enabling or disabling the ethernet port
+ - name: LinkUp
+ type: boolean
+ flags:
+ - const
+ description: >
+ This property reports the link status for the NIC. The read-only
+ boolean value is TRUE when the network cable is inserted, or there
+ is a carrier signal. It is FALSE when the cable is unplugged, or the
+ carrier signal is missing.
enumerations:
- name: LinkLocalConf