diff --git a/juniper_official/oam/ethernet-oam-lfm.rule b/juniper_official/oam/ethernet-oam-lfm.rule index 12d3f238..d117e2e2 100644 --- a/juniper_official/oam/ethernet-oam-lfm.rule +++ b/juniper_official/oam/ethernet-oam-lfm.rule @@ -27,10 +27,28 @@ healthbot { } type string; description "Discovery state for a given interface"; - enumerate "Passive Wait" as 0; - enumerate "Send Any" as 1; - enumerate "Send Local Remote" as 2; - enumerate "Send Local Remote Ok" as 3; + enumerate "Fault" as -1; + enumerate "Active Send Local" as 3; + enumerate "Passive Wait" as 4; + enumerate "Send Local Remote" as 5; + enumerate "Send Local Remote OK" as 6; + enumerate "Send Any" as 7; + enumerate "Lost Link Timer Expired" as -2; + enumerate "Link Down" as 0; + enumerate "Link Up Active" as 1; + enumerate "Link Up Passive" as 2; + enumerate "Info PDU Received" as 8; + enumerate "Info PDU Rcvd & Loc Sat" as 9; + enumerate "Info PDU Rcvd & Loc NotSat" as 10; + enumerate "Info PDU Rcvd & Rem Sat" as 11; + enumerate "Info PDU Rcvd & Rem NotSat" as 12; + enumerate "No Action" as 13; + enumerate "Restart Discovery" as 14; + enumerate "Active Send Local entry" as 15; + enumerate "Passive Wait entry" as 16; + enumerate "Send Local Remote entry" as 17; + enumerate "Send Local Remote OK entry" as 18; + enumerate "Send any entry" as 19; } field lfm-status { sensor link-fault-management-information { @@ -67,7 +85,7 @@ healthbot { then { status { color green; - message "$lfm-interface-name LFM discovery-state: $lfm-discovery-state; lfm-status: $lfm-status; lfm-peer-address: $lfm-peer-address"; + message "$lfm-interface-name LFM discovery-state: $lfm-discovery-state; lfm-status: $lfm-status"; } } } @@ -75,7 +93,7 @@ healthbot { then { status { color red; - message "$lfm-interface-name LFM discovery-state: $lfm-discovery-state; lfm-status: $lfm-status; lfm-peer-address: $lfm-peer-address"; + message "$lfm-interface-name LFM discovery-state: $lfm-discovery-state; lfm-status: $lfm-status"; } } }