X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FVesEventHandler.cpp;h=18e45a75d1c9bc948cc9d2d307235e6fe41ecf19;hb=0a4589de6e89782d734930a2a7648d5921b176d8;hp=09339cfcd03c2b95469a10f9746555636ec806ff;hpb=c9ee9d5360e8cad2cb2f807f5ebfabe9304d88c4;p=o-du%2Fl2.git diff --git a/src/o1/ves/VesEventHandler.cpp b/src/o1/ves/VesEventHandler.cpp index 09339cfcd..18e45a75d 100644 --- a/src/o1/ves/VesEventHandler.cpp +++ b/src/o1/ves/VesEventHandler.cpp @@ -24,6 +24,8 @@ #include "PnfRegistrationEvent.hpp" #include "SliceMeasurementEvent.hpp" #include "Message.hpp" +#include "CellStateChange.hpp" +#include "CellStateChangeStdDef.hpp" /******************************************************************* * @@ -99,6 +101,17 @@ bool VesEventHandler::prepare(VesEventType evtType, const Message* msg) O1_LOG("\nO1 VesEventHandler : Preparing VES PM Slice"); break; } + case VesEventType::FAULT_NOTIFICATION: + { + #ifdef StdDef + O1_LOG("\nO1 VesEventHandler : Preparing Standard VES fault notification"); + mVesEvent = new CellStateChangeStdDef(); + #else + O1_LOG("\nO1 VesEventHandler : Preparing VES fault notification"); + mVesEvent = new CellStateChange(); + #endif + break; + } default: O1_LOG("\nO1 VesEventHandler : VES message type does not exist ");