<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">Hi All,</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">I am able to pull </span><span style="background-color: rgb(238, 238, 238); color: black; font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">pull_structured_event() as below, however
 support required to parse these events.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color: rgb(238, 238, 238); color: black; font-family: monospace; font-size: 11.6188px;"><br>
</span></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">Received event from nms</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">---------------------------------------------</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">CosNotification.StructuredEvent(header=CosNotification.EventHeader(fixed_header=CosNotification.FixedEventHeader(event_type=CosNotification.EventType(domain_name='tmf_mtnm',
 type_name='NT_ALARM'), event_name=''), variable_header=[]), filterable_data=[CosNotification.Property(name='notificationId', value=CORBA.Any(CORBA.TC_string, '2646127')), CosNotification.Property(name='objectName', value=CORBA.Any(CORBA.TypeCode("IDL:mtnm.tmforum.org/globaldefs/NVSList_T:1.0"),
 [globaldefs.NameAndStringValue_T(name='EMS', value='ECI/LightSoft_1'), globaldefs.NameAndStringValue_T(name='ManagedElement', value='ECI/EMS_STMS_40/9130'), globaldefs.NameAndStringValue_T(name='PTP', value='port-ub/0')])), CosNotification.Property(name='nativeEMSName',
 value=CORBA.Any(CORBA.TC_string, 'ge-ub/0.0')), CosNotification.Property(name='objectType', value=CORBA.Any(CORBA.TypeCode("IDL:mtnm.tmforum.org/notifications/ObjectType_T:1.0"), OT_PHYSICAL_TERMINATION_POINT)), CosNotification.Property(name='emsTime', value=CORBA.Any(CORBA.TC_string,
 '20200814132322.3')), CosNotification.Property(name='neTime', value=CORBA.Any(CORBA.TC_string, '20200814132319.470')), CosNotification.Property(name='isClearable', value=CORBA.Any(CORBA.TC_boolean, False)), CosNotification.Property(name='layerRate', value=CORBA.Any(CORBA.TC_short,
 87)), CosNotification.Property(name='perceivedSeverity', value=CORBA.Any(CORBA.TypeCode("IDL:mtnm.tmforum.org/notifications/PerceivedSeverity_T:1.0"), PS_INDETERMINATE)), CosNotification.Property(name='nativeProbableCause', value=CORBA.Any(CORBA.TC_string,
 'OSPF If Config Error')), CosNotification.Property(name='probableCause', value=CORBA.Any(CORBA.TC_string, 'UNIDENTIFIED')), CosNotification.Property(name='probableCauseQualifier', value=CORBA.Any(CORBA.TC_string, 'ospfIfConfigError@@ge-ub/0.0@@0')), CosNotification.Property(name='serviceAffecting',
 value=CORBA.Any(CORBA.TypeCode("IDL:mtnm.tmforum.org/notifications/ServiceAffecting_T:1.0"), SA_NON_SERVICE_AFFECTING)), CosNotification.Property(name='affectedTPList', value=CORBA.Any(CORBA.TypeCode("IDL:mtnm.tmforum.org/globaldefs/NamingAttributesList_T:1.0"),
 [])), CosNotification.Property(name='rcaiIndicator', value=CORBA.Any(CORBA.TC_boolean, False)), CosNotification.Property(name='additionalText', value=CORBA.Any(CORBA.TC_string, 'ospfIfConfigError: OSPF interface configuration error 7 received from ')), CosNotification.Property(name='additionalInfo',
 value=CORBA.Any(CORBA.TypeCode("IDL:mtnm.tmforum.org/globaldefs/NVSList_T:1.0"), [globaldefs.NameAndStringValue_T(name='LSNExt_NativeProbableCause', value='OSPF If Config Error'), globaldefs.NameAndStringValue_T(name='LSNExt_AckStatus', value='ALM_UNACKNOWLEDGED'),
 globaldefs.NameAndStringValue_T(name='LSNExt_MEName', value='Shapath_Bareja_8CH'), globaldefs.NameAndStringValue_T(name='LSNExt_GroupName', value='Apollo_Gujrat'), globaldefs.NameAndStringValue_T(name='LSNExt_ALCV', value='Unknown'), globaldefs.NameAndStringValue_T(name='LSNExt_AlarmUniqueString',
 value='EMS DN=ECI/EMS_STMS_40, EMS notifId=9183695, CAM ID=5')]))], remainder_of_body=CORBA.Any(CORBA.TC_null, None))</span><span style="font-size: 11.6188px; background-color: rgb(238, 238, 238);"><br>
</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">---------------------------------</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 11.6188px; background-color: rgb(238, 238, 238);"><br>
</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">would like to print like below</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">========== </span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 10pt; background-color: rgb(238, 238, 238); font-family: Tahoma, Geneva, sans-serif;">Sample taken from </span><span style="font-size: 11.6188px; background-color: rgb(238, 238, 238);"><a href="https://docs.oracle.com/cd/E51879_01/doc.724/e59309/tmfin_nms_list_ref.htm#BABHIEAF"><span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">https://docs.oracle.com/cd/E51879_01/doc.724/e59309/tmfin_nms_list_ref.htm#BABHIEAF</span></a></span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">this is done in java, how can I parse in Python.</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace">
<pre class="oac_no_warn" dir="ltr" style="font-size: 11.6188px; padding: 0.5ex 1ex; color: black; background-color: rgb(238, 238, 238); border-radius: 4px"><span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;"> name: notificationId value:29
           name: objectName value:
                           name: EMS value:ECI/LightSoft_1
                           name: ManagedElement value:LSN/EMS_XDM_121/1064
                           name: EquipmentHolder value:/rack=1/shelf=1/slot=1/sub_slot=4
           name: objectType value:OT_EQUIPMENT_HOLDER
           name: emsTime value:20140302141559.0
           name: neTime value:
           name: edgePointRelated value:FALSE
           name: remainder_of_body  value:
                   Name: attributeList value:
                           name: EMS value:ECI/LightSoft_1
 
                           name: ManagedElement value:LSN/EMS_XDM_121/1064
                           name: EquipmentHolder value:/rack=1/shelf=1/slot=1/sub_slot=4
 
                   name: userLabel value:I1 OTR1 4
                   name: nativeEMSName value:I1 OTR1 4
                   name: owner value:
                   name: alarmReportingIndicator value:TRUE
                   name: holderType value:sub_slot
                   name: expectedOrInstalledEquipment value:
                           name: EMS value:LSN/EMS_XDM_121
 
                           name: ManagedElement value:1064
                           name: EquipmentHolder value:/rack=1/shelf=1/slot=1/sub_slot=4
 
                           name: Equipment value:1
                   name: EquipmentObjectTypeList value:
                           NONE
                           ETR1
                           OTR1
                   name: holderState value:EXPECTED_AND_NOT_INSTALLED
                   name: additionalInfo value:
                           name: LSNExt_TimestampSignature value:20140302141559.8</span></pre>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><br>
</font></div>
<span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">regards</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-family: Tahoma, Geneva, sans-serif; font-size: 10pt;">Anna Patil </span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="monospace"><span style="font-size: 11.6188px; background-color: rgb(238, 238, 238);"><br>
</span></font></div>
</body>
</html>