Table Of Contents
Database Schema Views
2.1 Active_Alarm_View_With_Ack
2.2 Admin_Job_View
2.3 Alarm_Count_View
2.4 Alarm_Log_View
2.5 Audit_Log_View
2.6 BLSR_Table_View
2.7 CAT65XX_Inventory_View
2.8 Children_View
2.9 Circuit_Node_GUI_Old_View
2.10 Circuit_Node_GUI_View
2.11 Circuit_Node_View
2.12 Circuit_Span_Old_View
2.13 Circuit_Span_View
2.14 Circuit_View
2.15 Circuit_VLAN_View
2.16 Ckt_Span_Dest_MT_View
2.17 Ckt_Span_Src_MT_View
2.18 Client_User_View
2.19 CTC_User_Profiles_View
2.20 Data_Card_View
2.21 Domain_NE_Inventory_View
2.22 DSP_Circuit_View
2.23 DSP_Eqpt_View
2.24 GSRIOX_Inventory_View
2.25 HFR_BGP_Peer_PM_View
2.26 HFR_Interface_DRC_PM_View
2.27 HFR_Interface_GC_PM_View
2.28 HFR_Inventory_View
2.29 HFR_MPLS_Interface_PM_View
2.30 HFR_MPLS_LDP_PM_View
2.31 HFR_MPLS_TE_Link_PM_View
2.32 HFR_MPLS_TE_Tunnel_PM_View
2.33 HFR_Node_CPU_PM_View
2.34 HFR_Node_Memory_PM_View
2.35 HFR_Node_Process_PM_View
2.36 INTF_Sub_INTF_View
2.37 Inventory_Table_View
2.38 IOS_Active_Cards
2.39 IOS_Users_View
2.40 Link_Utilization_View
2.41 Link_View
2.42 MCard_L2Topology_Map_View
2.43 MLL_Inv_View
2.44 NE_Alarm_View
2.45 NE_Audit_Trail_View
2.46 NE_Circuit_NodeID_View
2.47 NE_Circuit_VLAN_View
2.48 NE_Info_NP_View
2.49 NE_Inventory_View
2.50 NE_Swimage_View
2.51 ONS15200_Inventory_View
2.52 ONS15216_Active_User_View
2.53 ONS15216_Inventory_View
2.54 ONS15216_User_View
2.55 ONS1530x_DCC_PM_View
2.56 ONS1530x_HO_FE_PM_View
2.57 ONS1530x_HO_PM_View
2.58 ONS1530x_Inventory_View
2.59 ONS1530x_LAN_PM_View
2.60 ONS1530x_LO_FE_PM_View
2.61 ONS1530x_LO_PM_View
2.62 ONS1530x_MS_FE_PM_View
2.63 ONS1530x_MS_PM_View
2.64 ONS1530x_RS_PM_View
2.65 ONS1530x_WAN_PM_View
2.66 ONS15454_8B10B_PM_View
2.67 ONS15454_Active_User_View
2.68 ONS15454_BLSR_Config_View
2.69 ONS15454_BLSR_Squelch_View
2.70 ONS15454_Class_QoS_PM_View
2.71 ONS15454_CMS_Storage_View
2.72 ONS15454_COS_PM_View
2.73 ONS15454_DS1_PM_FE_View
2.74 ONS15454_DS1_PM_View
2.75 ONS15454_DS3_PM_FE_View
2.76 ONS15454_DS3_PM_View
2.77 ONS15454_DWDM_Ring_View
2.78 ONS15454_Enet_PM_View
2.79 ONS15454_FC_PM_View
2.80 ONS15454_IfX_PM_View
2.81 ONS15454_Inventory_View
2.82 ONS15454_MatchStmt_QoS_PM_View
2.83 ONS15454_Optics_PM_View
2.84 ONS15454_OSPF_Area_Range_View
2.85 ONS15454_OTN_FEC_PM_View
2.86 ONS15454_OTN_Path_PM_FE_View
2.87 ONS15454_OTN_Path_PM_View
2.88 ONS15454_OTN_Sec_PM_FE_View
2.89 ONS15454_OTN_Sec_PM_View
2.90 ONS15454_Phy_Layer_PM_VIEW
2.91 ONS15454_Policy_QoS_PM_View
2.92 ONS15454_POS_PM_View
2.93 ONS15454_Ring_Map_View
2.94 ONS15454_Security_View
2.95 ONS15454_SNMP_Trap_Dest_View
2.96 ONS15454_SONET_Line_PM_FE_View
2.97 ONS15454_SONET_Line_PM_View
2.98 ONS15454_SONET_Path_PM_FE_View
2.99 ONS15454_SONET_Path_PM_View
2.100 ONS15454_SONET_Section_PM_View
2.101 ONS15454_SONET_VT_PM_FE_View
2.102 ONS15454_SONET_VT_PM_View
2.103 ONS15454_Spanning_Trees_View
2.104 ONS15454_Static_Route_View
2.105 ONS15454_Threshold_View
2.106 ONS15454_User_View
2.107 ONS15454_Virtual_Link_View
2.108 ONS15454SDH_E1_PM_FE_View
2.109 ONS15454SDH_E1_PM_View
2.110 ONS15454SDH_E3_PM_View
2.111 ONS15454SDH_E4_PM_View
2.112 ONS15454SDH_HO_PM_FE_View
2.113 ONS15454SDH_HO_PM_View
2.114 ONS15454SDH_LO_VC3_PM_FE_View
2.115 ONS15454SDH_LO_VC3_PM_View
2.116 ONS15454SDH_LO_VC12_PM_FE_View
2.117 ONS15454SDH_LO_VC12_PM_View
2.118 ONS15454SDH_MS_PM_FE_View
2.119 ONS15454SDH_MS_PM_View
2.120 ONS15454SDH_RS_PM_View
2.121 ONS15501_Opt_Power_PM_View
2.122 ONS155xx_CDL_Flow_Config_View
2.123 ONS155xx_CDL_PM_View
2.124 ONS155xx_Circuit_CC_View
2.125 ONS155xx_Circuit_Dest_View
2.126 ONS155xx_Circuit_Final_View
2.127 ONS155xx_Circuit_Path_View
2.128 ONS155xx_Circuit_Segment_View
2.129 ONS155xx_Circuit_Span_View
2.130 ONS155xx_Circuit_SRCDEST_View
2.131 ONS155xx_Circuit_Stack_View
2.132 ONS155xx_Circuit_View
2.133 ONS155xx_Ckt_CC_Dest_MT_View
2.134 ONS155xx_Ckt_CC_Detailed_View
2.135 ONS155xx_Ckt_CC_Link_View
2.136 ONS155xx_Ckt_CC_Path_View
2.137 ONS155xx_Ckt_CC_Src_Dest_View
2.138 ONS155xx_Ckt_CC_Src_MT_View
2.139 ONS155xx_Ckt_Endpoint_View
2.140 ONS155xx_Ckt_Link_Final_View
2.141 ONS155xx_Ckt_Link_View
2.142 ONS155xx_Ckt_NE_Final_View
2.143 ONS155xx_Ckt_Opt_Pwr_View
2.144 ONS155xx_Ckt_Path_Final_View
2.145 ONS155xx_Ckt_Path_Join_View
2.146 ONS155xx_Ckt_Path_Stack_View
2.147 ONS155xx_Ckt_Seg_Detailed_View
2.148 ONS155xx_Ckt_Segment_Path_View
2.149 ONS155xx_Ckt_Span_Dest_MT_View
2.150 ONS155xx_Ckt_Span_Det_View
2.151 ONS155xx_Ckt_Span_Join_View
2.152 ONS155xx_Ckt_Span_MT_View
2.153 ONS155xx_Ckt_Span_Src_MT_View
2.154 ONS155xx_Ckt_Span_View
2.155 ONS155xx_Ckt_Src_CDL_View
2.156 ONS155xx_Ckt_SRCDEST_MT_View
2.157 ONS155xx_Ckt_Stack_Final_View
2.158 ONS155xx_DCRP_View
2.159 ONS155xx_Discovery_Info_View
2.160 ONS155xx_Ether_Hist_PM_View
2.161 ONS155xx_FCM_PE_PM_View
2.162 ONS155xx_Flash_Part_View
2.163 ONS155xx_Inventory_View
2.164 ONS155xx_Module_Type_View
2.165 ONS155xx_Opt_Power_PM_View
2.166 ONS155xx_Path_Ckt_Final_View
2.167 ONS155xx_Path_Dest_Pwr_View
2.168 ONS155xx_Path_Link_Final_View
2.169 ONS155xx_Path_Link_View
2.170 ONS155xx_Path_Pwr_Monitor_View
2.171 ONS155xx_Path_Pwr_No_Ava_View
2.172 ONS155xx_Path_Pwr_No_Mon_View
2.173 ONS155xx_Path_Stack_Final_View
2.174 ONS155xx_Phy_PM_View
2.175 ONS155xx_SONET_Section_PM_View
2.176 ONS155xx_TCA_PM_View
2.177 ONS15600_ENET_PM_View
2.178 ONS15600_POS_PM_View
2.179 ONS15600_SONET_Line_FE_PM_View
2.180 ONS15600_SONET_Line_PM_View
2.181 ONS15600_SONET_Path_FE_PM_View
2.182 ONS15600_SONET_Path_PM_View
2.183 ONS15600_SONET_Sec_PM_View
2.184 ONS15600SDH_HO_PM_FE_View
2.185 ONS15600SDH_HO_PM_View
2.186 ONS15600SDH_MS_PM_FE_View
2.187 ONS15600SDH_MS_PM_View
2.188 ONS15600SDH_RS_PM_View
2.189 ONS158xx_ADA_24h_PM_View
2.190 ONS158xx_ADA_PM_View
2.191 ONS158xx_AIU_24h_PM_View
2.192 ONS158xx_AIU_PM_View
2.193 ONS158xx_All_Ampl_24h_PM_View
2.194 ONS158xx_All_Ampl_ELH_PM_View
2.195 ONS158xx_All_Ampl_PM_View
2.196 ONS158xx_All_Mux_24h_PM_View
2.197 ONS158xx_All_Mux_PM_View
2.198 ONS158xx_All_Tran_24h_PM_View
2.199 ONS158xx_All_Tran_PM_View
2.200 ONS158xx_All_WD_24h_PM_View
2.201 ONS158xx_All_WD_PM_View
2.202 ONS158xx_Ampl_ELH_24h_PM_View
2.203 ONS158xx_Amplifier_24h_PM_View
2.204 ONS158xx_Amplifier_PM_View
2.205 ONS158xx_B1_24h_PM_View
2.206 ONS158xx_B1_FEC_24h_PM_View
2.207 ONS158xx_B1_FEC_PM_View
2.208 ONS158xx_B1_PM_View
2.209 ONS158xx_BBA_24h_PM_View
2.210 ONS158xx_BBA_PM_View
2.211 ONS158xx_BCS_24h_PM_View
2.212 ONS158xx_BCS_PM_View
2.213 ONS158xx_BT_24h_PM_View
2.214 ONS158xx_BT_PM_View
2.215 ONS158xx_CMP_24h_PM_View
2.216 ONS158xx_CMP_PM_View
2.217 ONS158xx_Demux_24h_PM_View
2.218 ONS158xx_Demux_PM_View
2.219 ONS158xx_Eth_24h_PM_View
2.220 ONS158xx_Eth_PM_View
2.221 ONS158xx_FEC_24h_PM_View
2.222 ONS158xx_FEC_PM_View
2.223 ONS158xx_Inventory_View
2.224 ONS158xx_IOC_Card_24h_PM_View
2.225 ONS158xx_IOC_Card_PM_View
2.226 ONS158xx_IRBA_24h_PM_View
2.227 ONS158xx_IRBA_PM_View
2.228 ONS158xx_LAC_Active_Users_View
2.229 ONS158xx_LAC_Log_Status_View
2.230 ONS158xx_LAC_Log_View
2.231 ONS158xx_LAC_Profile_View
2.232 ONS158xx_LAC_Users_View
2.233 ONS158xx_LEM_24h_PM_View
2.234 ONS158xx_LEM_B1_24h_PM_View
2.235 ONS158xx_LEM_B1_PM_View
2.236 ONS158xx_LEM_FEC_24h_PM_View
2.237 ONS158xx_LEM_FEC_PM_View
2.238 ONS158xx_LEM_PM_View
2.239 ONS158xx_LSM_24h_PM_View
2.240 ONS158xx_LSM_PM_View
2.241 ONS158xx_LT_24h_PM_View
2.242 ONS158xx_LT_PM_View
2.243 ONS158xx_Mux_24h_PM_View
2.244 ONS158xx_Mux_PM_View
2.245 ONS158xx_OA_ELH_24h_PM_View
2.246 ONS158xx_OA_ELH_PM_View
2.247 ONS158xx_OAD_24h_PM_View
2.248 ONS158xx_OAD_PM_View
2.249 ONS158xx_OADM_24h_PM_View
2.250 ONS158xx_OADM_PM_View
2.251 ONS158xx_OBA_C_24h_PM_View
2.252 ONS158xx_OBA_C_PM_View
2.253 ONS158xx_OCP_24h_PM_View
2.254 ONS158xx_OCP_PM_View
2.255 ONS158xx_OECP_24h_PM_View
2.256 ONS158xx_OECP_PM_View
2.257 ONS158xx_OEP_C_24h_PM_View
2.258 ONS158xx_OEP_C_PM_View
2.259 ONS158xx_OP_ELH_24h_PM_View
2.260 ONS158xx_OP_ELH_PM_View
2.261 ONS158xx_OPA_C_24h_PM_View
2.262 ONS158xx_OPA_C_PM_View
2.263 ONS158xx_ORP_ELH_24h_PM_View
2.264 ONS158xx_ORP_ELH_PM_View
2.265 ONS158xx_OSCM_24h_PM_View
2.266 ONS158xx_OSCM_PM_View
2.267 ONS158xx_OSU_24h_PM_View
2.268 ONS158xx_OSU_PM_View
2.269 ONS158xx_PM_Module_View
2.270 ONS158xx_PRE_L_IR_24h_PM_View
2.271 ONS158xx_PRE_L_IR_PM_View
2.272 ONS158xx_PREL_24h_PM_View
2.273 ONS158xx_PREL_PM_View
2.274 ONS158xx_RBA_24h_PM_View
2.275 ONS158xx_RBA_PM_View
2.276 ONS158xx_RT_24h_PM_View
2.277 ONS158xx_RT_PM_View
2.278 ONS158xx_RXT_24h_PM_View
2.279 ONS158xx_RXT_B1_24h_PM_View
2.280 ONS158xx_RXT_B1_PM_View
2.281 ONS158xx_RXT_FEC_24h_PM_View
2.282 ONS158xx_RXT_FEC_PM_View
2.283 ONS158xx_RXT_PM_View
2.284 ONS158xx_SCF_24h_PM_View
2.285 ONS158xx_SCF_PM_View
2.286 ONS158xx_SCU_24h_PM_View
2.287 ONS158xx_SCU_PM_View
2.288 ONS158xx_Simple_24h_PM_View
2.289 ONS158xx_Simple_PM_View
2.290 ONS158xx_TPA_24h_PM_View
2.291 ONS158xx_TPA_PM_View
2.292 ONS158xx_Trans_B1_24h_PM_View
2.293 ONS158xx_Trans_B1_PM_View
2.294 ONS158xx_Trans_FEC_24h_PM_View
2.295 ONS158xx_Transp_24h_PM_View
2.296 ONS158xx_Transp_FEC_PM_View
2.297 ONS158xx_Transponder_PM_View
2.298 ONS158xx_TT_24h_PM_View
2.299 ONS158xx_TT_PM_View
2.300 ONS158xx_WCM_24h_PM_View
2.301 ONS158xx_WCM_B1_24h_PM_View
2.302 ONS158xx_WCM_B1_PM_View
2.303 ONS158xx_WCM_FEC_24h_PM_View
2.304 ONS158xx_WCM_FEC_PM_View
2.305 ONS158xx_WCM_PM_View
2.306 ONS158xx_WD_24h_PM_View
2.307 ONS158xx_WD_PM_View
2.308 ONS158xx_WD_Rx_24h_PM_View
2.309 ONS158xx_WD_Rx_PM_View
2.310 OSS_Alarm_Fltr_AidDeny_View
2.311 OSS_Alarm_Fltr_TidDeny_View
2.312 OSS_CORBA_User_View
2.313 OSS_User_View
2.314 Pirelli_Inventory_View
2.315 PM_Metadata_View
2.316 QOS_View
2.317 QoSTemplate_General_View
2.318 Roll_View
2.319 SDH_HO_FarEnd_PM_View
2.320 SDH_HO_NearEnd_PM_View
2.321 SDH_MS_FarEnd_PM_View
2.322 SDH_MS_NearEnd_PM_View
2.323 SDH_RS_NearEnd_PM_View
2.324 Self_Monitoring_View
2.325 SONET_ENET_PM_View
2.326 SONET_Line_FarEnd_PM_View
2.327 SONET_Line_NearEnd_PM_View
2.328 SONET_Physical_PM_View
2.329 SONET_POS_PM_View
2.330 SONET_Section_NearEnd_PM_View
2.331 SONET_STSPath_FarEnd_PM_View
2.332 SONET_STSPath_NearEnd_PM_View
2.333 SW_Active_Alarm_View
2.334 Sway_User_Topo_E1_View
2.335 TL1_Active_Alarm_View
2.336 TL1_NE_View
2.337 Topology_Circuit_View
2.338 Topology_GUI_View
2.339 Trace_VLAN_View
2.340 Unmanaged_NE_Inventory_View
2.341 User_NE_View
2.342 User_View
2.343 VLAN_Drop_Ports_View
2.344 VLAN_Drop_Ports_QoS_View
2.345 VLAN_Service_View
Database Schema Views
This chapter describes the database views that CTM creates and uses. The following CTM views are listed in alphabetical order.
2.1 Active_Alarm_View_With_Ack
CREATE OR REPLACE VIEW active_alarm_view_with_ack AS
aa.ActiveAlarmSeverity AS severityIcon,
aa.ActiveAlarmComment AS noteIcon,
aa.ActiveAlarmIndex AS ID,
ni.NESysID AS NetworkElement,
getModuleName(aa.NEDBAccessID, aa.ModuleType, en.EventType) AS ModuleType,
getInterfaceId(aa.nedbaccessid,aa.ModuleOrIfIndex,aa.ObjectType,en.EnumString) AS
InterfaceID,
aa.ActiveAlarmSeverity AS Severity,
aa.ActiveAlarmTimeStamp AS RaisedTimeStamp,
aa.ClearAlarmTimeStamp AS ClearTimeStamp,
aa.ActiveAlarmAdditionalInfo AS Description,
ack.AckUserName AS AckUser,
decode(to_char(ack.AckTimeStamp,'DD-MON-YYYY'),'01-JAN-0001',aa.ClearAlarmTimeStamp
, '','', ack.acktimestamp) AS AckTimeStamp,
aa.ActiveAlarmComment AS NoteDescription, aa.NEDBAccessID,
aa.nealarmtimestamp, ack.IsAutoAck, aa.AlarmStatus,
aa.NeAlarmClearTimestamp, aa.AlarmSeqNum,
GetPortName(aa.nedbaccessid, aa.physicalloc, aa.ModuleorIfindex, aa.moduletype) as
PortName,
aa.ModuleOrIfIndex as IntegerInterfaceid,
alarm_event_type_enum_table en,
aa.NEDBAccessID = ni.NEDBAccessID AND
aa.ActiveAlarmType = en.EnumIndex AND
aa.AckIndex = ack.AckIndex AND
((aa.alarmstatus=1 and aa.ackindex=0) or
aa.ActiveAlarmSeverity AS severityIcon,
aa.ActiveAlarmComment AS noteIcon,
aa.ActiveAlarmIndex AS ID,/
getModuleName(aa.NEDBAccessID, aa.ModuleType, en.EventType) AS ModuleType,
getInterfaceId(aa.nedbaccessid,aa.ModuleOrIfIndex,aa.ObjectType,en.EnumString) AS
InterfaceID,
aa.ActiveAlarmSeverity AS Severity,
aa.ActiveAlarmTimeStamp AS RaisedTimeStamp,
aa.ClearAlarmTimeStamp AS ClearTimeStamp,
aa.ActiveAlarmAdditionalInfo AS Description,
ack.AckUserName AS AckUser,
decode(to_char(ack.AckTimeStamp,'DD-MON-YYYY'),'01-JAN-0001',aa.ClearAlarmTimeStamp
, '','',
ack.acktimestamp) AS AckTimeStamp,
aa.ActiveAlarmComment AS NoteDescription,
aa.NEDBAccessID, to_date('') AS NEAlarmTimestamp,
ack.IsAutoAck, aa.AlarmStatus,
aa.NEAlarmClearTimestamp,
aa.ModuleOrIfIndex as IntegerInterfaceId,
alarm_event_type_enum_table en,
Where aa.ActiveAlarmType = en.EnumIndex AND
aa.AckIndex = ack.AckIndex AND
((aa.alarmstatus=1 and aa.ackindex=0) or
2.2 Admin_Job_View
CREATE OR REPLACE VIEW Admin_Job_View as
ajt.nedbaccessid = ni.nedbaccessid;
2.3 Alarm_Count_View
CREATE OR REPLACE VIEW alarm_count_view as
(SELECT nedbaccessid, totalalarmcount as majoralarmcount
where alarmcounttype=6) mj,
(SELECT nedbaccessid, totalalarmcount as minoralarmcount
where alarmcounttype=5) mn,
(SELECT nedbaccessid, totalalarmcount as criticalalarmcount
where alarmcounttype=7) cr,
(SELECT nedbaccessid, totalalarmcount as warningalarmcount
where alarmcounttype=4) wr,
(SELECT nedbaccessid, totalalarmcount as clearedalarmcount
where alarmcounttype=-1) cl,
(SELECT nedbaccessid, totalalarmcount as ackalarmcount
where alarmcounttype=-2) ack
mj.nedbaccessid=mn.nedbaccessid
and mj.nedbaccessid=cr.nedbaccessid
and mj.nedbaccessid=wr.nedbaccessid
and mj.nedbaccessid=cl.nedbaccessid
and mj.nedbaccessid=ack.nedbaccessid;
2.4 Alarm_Log_View
CREATE OR REPLACE VIEW alarm_log_view AS
ae.AlarmEventSeverity AS severityIcon,
0 as AckIcon, '' as NoteIcon,
nvl(ni.NESysID,'CTM') AS NetworkElement,
ae.PhysicalLoc as Physicalloc,
GetModuleName(ae.nedbaccessid, ae.moduletype, en.EventType) AS ModuleType,
GetInterfaceId(ae.nedbaccessid, ae.ModuleOrIfIndex, ae.ObjectType, en.EnumString)
AS InterfaceID,
ae.AlarmEventSeverity AS severity,
ae.AlarmEventTimeStamp AS RaisedTimeStamp,
to_date('') as ClearTimestamp,
ae.OtherInfo AS Description,
to_date('') as AckTimestamp,
ae.Nedbaccessid as Nedbaccessid,
decode(ae.nedbaccessid,0,to_date(''),
ae.NEEventtimestamp) as NeAlarmTimestamp,
to_char('Event') as EventOrAlarm,
to_date('') as NEAlarmClearTimestamp,
GetPortName(ae.nedbaccessid, ae.physicalloc, ae.ModuleOrIfindex, ae.Moduletype) as
PortName,
ae.ModuleOrIfIndex as IntegerInterfaceId,
alarm_event_type_enum_table en,
alarm_event_cause_table ec
ae.NEDBAccessID = ni.NEDBAccessID(+) AND
ae.AlarmEventType = en.EnumIndex AND
ae.AlarmEventCause = ec.EnumIndex
aa.ActiveAlarmSeverity as SeverityIcon,
aa.ActiveAlarmComment as NoteIcon,
aa.ActiveAlarmServeff as ServiceEffecting,
aa.ActiveAlarmIndex as ID,
nvl(ni.NESysID,'CTM') as NetworkElement,
aa.Physicalloc as Physicalloc,
GetModulename(aa.nedbaccessid, aa.moduletype, en.EventType) as ModuleType,
GetInterfaceId(aa.nedbaccessid, aa.ModuleOrIfIndex, aa.ObjectType, en.EnumString)
as InterfaceId,
en.EnumString as Type, '' as Cause,
aa.ActiveAlarmSeverity as Severity,
aa.ActiveAlarmTimeStamp as RaisedTimestamp,
aa.ClearAlarmTimeStamp as ClearTimestamp,
aa.ActiveAlarmAdditionalInfo as Description,
ack.AckUserName as AckUser,
decode(to_char(ack.AckTimeStamp,'DD-MON-YYYY'),'01-JAN-0001',aa.ClearAlarmTimeStamp,
ack.acktimestamp) AS AckTimeStamp,
aa.ActiveAlarmComment as NoteDescription,
aa.NEDBAccessID as Nedbaccessid,
decode(aa.nedbaccessid,0,to_date(''),
aa.NeAlarmTimestamp) as NeAlarmtimestamp,
aa.AlarmStatus as AlarmStatus,
ack.IsAutoAck as IsAutoAck,
to_char('Alarm') as EventOrAlarm,
aa.NEAlarmClearTimestamp as NEAlarmClearTimestamp,
ctmduration(aa.ClearAlarmTimeStamp-aa.ActiveAlarmTimeStamp) as CTMDuration,
GetPortName(aa.nedbaccessid, aa.physicalloc, aa.ModuleOrIfindex, aa.moduletype) as
PortName,
aa.ModuleOrIfIndex as IntegerInterfaceId,
alarm_event_type_enum_table en,
aa.NEDBAccessID = ni.NEDBAccessID(+) AND
aa.ActiveAlarmType = en.EnumIndex AND
aa.AckIndex = ack.AckIndex AND
2.5 Audit_Log_View
CREATE OR REPLACE VIEW audit_log_view AS
SELECT nvl(n.NESYSID,'CTM') as NESYSID, nvl(t.username, 'Internal') as username
(t.actionname || t.logmessage) as LogMessage,
nvl(t.nedbaccessid,0) as nedbaccessid,
t.nedbaccessid=n.nedbaccessid(+);
2.6 BLSR_Table_View
CREATE OR REPLACE BLSR_Table_View AS
SELECT
blsr.RINGTYPE as RINGTYPE,
blsr.LINERATE as LINERATE,
blsr.RINGREVERSION as RINGREVERSION,
blsr.SPANREVERSION as SPANREVERSION,
blsr.BLSRID = node.BLSRID;
2.7 CAT65XX_Inventory_View
CREATE OR REPLACE VIEW CAT65XX_inventory_view AS
ne.NESysId as NEID, /* *@INDEX A 0
*/
eit.PhysicalLoc as PhysicalLoc, /* *@INDEX A 1 */
eit.Col3 as PhysicalName,
eit.Col8 as SerialNumber,
ne.NEDBAccessId as NEDBACCESSID,
ne.NEDBAccessId = eit.NEDBAccessId AND
2.8 Children_View
CREATE OR REPLACE VIEW children_view AS
eit.ObjectIndex = mm.ObjectIndex AND eit.ModelType = mm.ModelType;
2.9 Circuit_Node_GUI_Old_View
CREATE OR REPLACE VIEW circuit_node_gui_old_view as
c.CktDirection as Direction,
(select nesysid from ne_info_table where nenodeid=c.cktsrcnodeid and
c.cktsrcnodeid !=0 ) as SrcNodeid,
nvl(getModulename1(c.cktsrcnodeid, c.CktSrcModuleType),'SYSTEM') as
SrcModuleType,
c.CktSrcPhysicalLoc as SrcPhysicalLoc,
c.CktSrcModelType as SrcModelType,
c.CktSrcIfIndex as SrcInterfaceId,
c.CktSrcObjectType as SrcObjectType,
nvl(getModulename1(c.cktsecsrcnodeid, c.CktSecSrcModuleType),'SYSTEM') as
SecSrcModuleType,
c.CktSecSrcPhysicalLoc as SecSrcPhysicalLoc,
c.CktSecSrcModelType as CktSecSrcModelType,
c.CktSecSrcIfIndex as SecSrcInterfaceId,
c.CktSecSrcObjectType as SecSrcObjectType,
c.cktDestNodename as destnodename,
c.CktDestPhysicalLoc as DestPhysicalLoc,
c.CktDestModelType as DestModelType,
c.CktDestIfIndex as DestInterfaceId,
c.CktDestObjectType as DestObjectType,
c.CktIsMonitor as Ismonitor,
c.CktSrcDropProt as SrcDropProt,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
c.CustomerId as CustomerId,
c.ServiceId as ServiceId,
dest.cktdestnodeid as DestNodeId,
spantbl.CktSpanSrcNodeId,
spantbl.CktSpanDestNodeId,
dest.CktDestPathProt as DestPathProtection,
c.cktComment as CircuitNote,
(select nesysid from ne_info_table where nenodeid=c.cktsecsrcnodeid and
c.cktsecsrcnodeid !=0 ) as SecSrcNodeid,
c.cktSrcPortName as CktSrcPortName,
c.cktSecSrcPortName as CktSecSrcPortName,
c.cktDestPortName as CktDestPortName,
(select count(*) from circuit_vlan_tbl where cktnodeid=c.cktnodeid and
cktuniqueid=c.cktuniqueid) as NoOfVlans,
vcg.VCGDirection as VCGDirection,
vcg.ParentCktNodeId as ParentCktNodeId,
vcg.ParentCktUniqueId as ParentCktUniqueId,
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
c.CktNodeId = spantbl.CktNodeId(+) and
c.CktUniqueId = spantbl.CktUniqueId(+) and
c.CktNodeId = vcg.CktNodeId(+) and
c.CktUniqueId = vcg.CktUniqueId(+) and
2.10 Circuit_Node_GUI_View
CREATE OR REPLACE VIEW circuit_node_gui_view AS
c.CktDirection as Direction,
(select nesysid from ne_info_table where nenodeid=c.cktsrcnodeid and
c.cktsrcnodeid !=0 ) as SrcNodeid,
nvl(getSlotModuleName(c.cktsrcnodeid, c.CktSrcModuleType),'SYSTEM') as
SrcModuleType,
c.CktSrcPhysicalLoc as SrcPhysicalLoc,
c.CktSrcIfIndex as SrcInterfaceId,
nvl(getSlotModuleName(c.cktsecsrcnodeid, c.CktSecSrcModuleType),'SYSTEM') as
SecSrcModuleType,
c.CktSecSrcPhysicalLoc as SecSrcPhysicalLoc,
c.CktSecSrcIfIndex as SecSrcInterfaceId,
collapseddestnodename(c.CKTNODEID,c.CKTUNIQUEID) as destnodename,
collapsedmodulename(c.CKTNODEID,c.CKTUNIQUEID)as cktdestModuleName,
collapsedphy(c.CKTNODEID,c.CKTUNIQUEID) as DestPhysicalLoc,
collapsedifindex(c.CKTNODEID,c.CKTUNIQUEID) as DestInterfaceId,
c.CktIsMonitor as Ismonitor,
c.CktSrcDropProt as SrcDropProt,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
c.CustomerId as CustomerId,
c.ServiceId as ServiceId,
dest.cktdestnodeid as DestNodeId,
spantbl.CktSpanSrcNodeId,
spantbl.CktSpanDestNodeId,
dest.CktDestPathProt as DestPathProtection,
c.cktComment as CircuitNote,
(select nesysid from ne_info_table where nenodeid=c.cktsecsrcnodeid and
c.cktsecsrcnodeid !=0 ) as SecSrcNodeid,
eqptinfoport(getNEDBACCESSID(c.CKTSRCNODEID),c.CKTSRCPHYSICALLOC,0,c.CKTSRCMODULET
YPE ) as CktSrcPortName,
eqptinfoport(getNEDBACCESSID(c.CKTSECSRCNODEID),c.CKTSECSRCPHYSICALLOC,0,c.CKTSECS
RCMODULETYPE ) as CktSecSrcPortName,
collapsedeqptportname(c.CKTNODEID,c.CKTUNIQUEID) as CktDestPortName,
(select count(*) from circuit_vlan_tbl where cktnodeid=c.cktnodeid and
cktuniqueid=c.cktuniqueid) as NoOfVlans,
nvl(vcg.VCGDirection,-1) as VCGDirection,
nvl(vcg.ParentCktNodeId,-1) as ParentCktNodeId,
nvl(vcg.ParentCktUniqueId,-1) as ParentCktUniqueId,
c.CktSrcModelType as SrcModelType,
c.CktSrcObjectType as SrcObjectType,
c.CktSecSrcModelType as CktSecSrcModelType,
c.CktSecSrcObjectType as SecSrcObjectType,
collapsedmodeltype(c.CKTNODEID,c.CKTUNIQUEID) as DestModelType,
collapsedobjectindex(c.CKTNODEID,c.CKTUNIQUEID) as DestObjectType,
nvl(getPortModuleName(c.cktsrcnodeid, c.CktSrcModuleType),'SYSTEM') as
SrcPortModuleType,
nvl(getPortModuleName(c.cktsecsrcnodeid, c.CktSecSrcModuleType),'SYSTEM') as
SecSrcPortModuleType,
collapsedportmodulename(c.CKTNODEID,c.CKTUNIQUEID)as cktdestPortModuleName,
dest.cktdestphysicalloc as CktDestPhysicalLoc,
nvl(getPortModuleName(dest.cktdestnodeid, dest.CktDestModuleType),'SYSTEM') as
DestPortModuleType,
spantbl.CktSpanSrcPhysicalLoc,
spantbl.CktSpanDestPhysicalLoc
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
c.CktNodeId = spantbl.CktNodeId(+) and
c.CktUniqueId = spantbl.CktUniqueId(+) and
c.CktNodeId = vcg.CktNodeId(+) and
2.11 Circuit_Node_View
CREATE OR REPLACE VIEW circuit_node_view AS
c.CktDirection as Direction,
(select nesysid from ne_info_table where nenodeid=c.cktsrcnodeid and
c.cktsrcnodeid !=0) as SrcNodeid,
nvl(getModulename1(c.cktsrcnodeid, c.CktSrcModuleType),'SYSTEM') as
SrcModuleType,
c.CktSrcPhysicalLoc as SrcPhysicalLoc,
c.CktSrcModelType as SrcModelType,
c.CktSrcIfIndex as SrcInterfaceId,
c.CktSrcObjectType as SrcObjectType,
nvl(getModulename1(c.cktsecsrcnodeid, c.CktSecSrcModuleType),'SYSTEM') as
SecSrcModuleType,
c.CktSecSrcPhysicalLoc as SecSrcPhysicalLoc,
c.CktSecSrcModelType as SecSrcModelType,
c.CktSecSrcIfIndex as SecSrcInterfaceId,
c.CktSecSrcObjectType as SecSrcObjectType,
(select nesysid from ne_info_table where nenodeid=dest.cktdestnodeid and
dest.cktdestnodeid != 0) as destnodeid,
nvl(getModulename1(dest.cktdestnodeid, dest.CktDestModuleType),'SYSTEM') as
DestModuleType,
dest.CktDestPhysicalLoc as DestPhysicalLoc,
dest.CktDestIfIndex as DestInterfaceId,
dest.CktDestObjectType as DestObjectType,
c.CktIsMonitor as Ismonitor,
c.CktSrcDropProt as SrcDropProt,
dest.CktDestDropProt as DestDropProt,
dest.CktDestPathProt as DestPathProt,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
c.CustomerId as CustomerId,
c.ServiceId as ServiceId,
spantbl.CktSpanSrcNodeId,
spantbl.CktSpanDestNodeId,
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
c.CktNodeId = spantbl.CktNodeId(+) and
c.CktUniqueId = spantbl.CktUniqueId(+) and
2.12 Circuit_Span_Old_View
CREATE OR REPLACE VIEW Circuit_Span_Old_View as
circuit.CktSize as CktSize,
neInfo1.NESysID as SrcNodeId,
nvl(getModulename1(spancircuit.cktspansrcnodeid,
spancircuit.CktspanSrcModuleType),'SYSTEM') as SrcModuleType,
spancircuit.CktSpanSrcPhysicalLoc as SrcPhysicalLoc,
spancircuit.CktSpanSrcIfIndex as SrcInterfaceId,
neInfo2.NESysID as DestNodeId,
nvl(getModulename1(spancircuit.cktspandestnodeid,
spancircuit.CktspandestModuleType),'SYSTEM') as DestModuleType,
spancircuit.CktSpanDestPhysicalLoc as DestPhysicalLoc,
spancircuit.CktSpanDestIfIndex as InterfaceId,
spancircuit.CktSpanSrcState as SrcState,
spancircuit.CktSpanDestState as DestState,
spancircuit.IsCktForwarding as Forwarding,
spancircuit.IsCktSpanInUPSR as InUpsr,
spancircuit.IsCktSpanActive as active,
spancircuit.CktSpanProtOp as ProtOp,
spancircuit.CktNodeId as NodeId,
spancircuit.CktUniqueId as UniqueId,
neinfo2.NEDBAccessid as DestNEDBAccessid,
spancircuit.CktLinkId as linkid,
spancircuit.CktSpanSrcNodeId as SrcNENodeId,
spancircuit.CktSpanDestNodeId as DestNENodeID,
spancircuit.CktspanSrcModuleType as SrcNEModuleType,
spancircuit.CktspandestModuleType as DestNEModuleType,
spancircuit.CktSpanSrcPortName as SrcPortName,
spancircuit.CktSpanDestPortName as DestPortName,
spancircuit.CktSpanSrcModelType as SrcModelType,
spancircuit.CktSpanSrcObjectType as SrcObjectType,
spancircuit.CktSpanDestModelType as DestModelType,
spancircuit.CktSpanDestObjectType as DestObjectType,
spancircuit.rowid as myrow
FROM
circuit_span_tbl spancircuit
WHERE
spancircuit.CktNodeId = circuit.CktNodeId and
spancircuit.CktUniqueId = circuit.CktUniqueId and
spancircuit.CktSpanSrcNodeID = neInfo1.NENodeID and
spancircuit.CktSpanDestNodeId = neInfo2.NENodeID;
2.13 Circuit_Span_View
CREATE OR REPLACE VIEW Circuit_Span_View as
circuit.CktSize as CktSize,
neInfo1.NESysID as SrcNodeId,
nvl(getSlotModuleName(spancircuit.cktspansrcnodeid,
spancircuit.CktspanSrcModuleType),'SYSTEM') as SrcModuleType,
spancircuit.CktSpanSrcPhysicalLoc as SrcPhysicalLoc,
spancircuit.CktSpanSrcIfIndex as SrcInterfaceId,
neInfo2.NESysID as DestNodeId,
nvl(getSlotModuleName(spancircuit.cktspandestnodeid,
spancircuit.CktspandestModuleType),'SYSTEM') as DestModuleType,
spancircuit.CktSpanDestPhysicalLoc as DestPhysicalLoc,
spancircuit.CktSpanDestIfIndex as InterfaceId,
spancircuit.CktSpanSrcState as SrcState,
spancircuit.CktSpanDestState as DestState,
spancircuit.IsCktForwarding as Forwarding,
spancircuit.IsCktSpanInUPSR as InUpsr,
spancircuit.IsCktSpanActive as active,
spancircuit.CktSpanProtOp as ProtOp,
spancircuit.CktNodeId as NodeId,
spancircuit.CktUniqueId as UniqueId,
neinfo2.NEDBAccessid as DestNEDBAccessid,
spancircuit.CktLinkId as linkid,
spancircuit.CktSpanSrcNodeId as SrcNENodeId,
spancircuit.CktSpanDestNodeId as DestNENodeID,
spancircuit.CktspanSrcModuleType as SrcNEModuleType,
spancircuit.CktspandestModuleType as DestNEModuleType,
eqptinfoport(getNEDBACCESSID(spancircuit.CKTSPANSRCNODEID),spancircuit.CKTSPANSRCP
HYSICALLOC,0,spancircuit.CKTSPANSRCMODULETYPE) as SrcPortName,
eqptinfoport(getNEDBACCESSID(spancircuit.CKTSPANDESTNODEID),spancircuit.CKTSPANDES
TPHYSICALLOC,0,spancircuit.CKTSPANDESTMODULETYPE) as DestPortName,
spancircuit.CktSpanSrcModelType as SrcModelType,
spancircuit.CktSpanSrcObjectType as SrcObjectType,
spancircuit.CktSpanDestModelType as DestModelType,
spancircuit.CktSpanDestObjectType as DestObjectType,
nvl(getPortModuleName(spancircuit.cktspansrcnodeid,
spancircuit.CktspanSrcModuleType),'SYSTEM') as SrcPortModuleType,
nvl(getPortModuleName(spancircuit.cktspandestnodeid,
spancircuit.CktspandestModuleType),'SYSTEM') as DestPortModuleType,
spancircuit.rowid as myrow
circuit_span_tbl spancircuit
spancircuit.CktNodeId = circuit.CktNodeId and
spancircuit.CktUniqueId = circuit.CktUniqueId and
spancircuit.CktSpanSrcNodeID = neInfo1.NENodeID and
spancircuit.CktSpanDestNodeId = neInfo2.NENodeID;
2.14 Circuit_View
CREATE OR REPLACE VIEW Circuit_View AS
c.CktDirection as Direction,
(select nesysid from ne_info_table where nenodeid=c.cktsrcnodeid and
c.cktsrcnodeid !=0) as SrcNodeid,
nvl(getModulename1(c.cktsrcnodeid, c.CktSrcModuleType),'SYSTEM') as
SrcModuleType,
c.CktSrcPhysicalLoc as SrcPhysicalLoc,
c.CktSrcIfIndex as SrcInterfaceId,
nvl(getModulename1(c.cktsecsrcnodeid, c.CktSecSrcModuleType),'SYSTEM') as
SecSrcModuleType,
c.CktSecSrcPhysicalLoc as SecSrcPhysicalLoc,
c.CktSecSrcIfIndex as SecSrcInterfaceId,
(select nesysid from ne_info_table where nenodeid=dest.cktdestnodeid and
dest.cktdestnodeid !=0 ) as destnodeid,
nvl(getModulename1(dest.cktdestnodeid, dest.CktDestModuleType),'SYSTEM') as
DestModuleType,
dest.CktDestPhysicalLoc as DestPhysicalLoc,
dest.CktDestIfIndex as DestInterfaceId,
c.CktIsMonitor as Ismonitor,
c.CktSrcDropProt as SrcDropProt,
dest.CktDestDropProt as DestDropProt,
dest.CktDestPathProt as DestPathProt,
vlan.Cktvlanid as Vlanid,
vlan.cktvlanname as Vlanname,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
c.CustomerId as CustomerId,
c.ServiceId as ServiceId,
dest.CKTDESTNODEID as DESTNENODEID,
c.CKTSRCNODEID as SRCNENODEID,
c.CKTSECSRCNODEID as SECSRCNENODEID,
c.CktSrcModelType as SrcModelType,
c.CktSrcObjectType as SrcObjectType,
c.CktSecSrcModelType as CktSecSrcModelType,
c.CktSecSrcObjectType as SecSrcObjectType,
dest.CktDestModelType as CktDestModelType,
dest.CktDestObjectType as CktDestObjectType,
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
c.CktNodeId = vlan.CktNodeid and
c.CktUniquei = vlan.CktUniqueid;
2.15 Circuit_VLAN_View
CREATE OR REPLACE VIEW circuit_vlan_view as
a.CktNodeId = b.CktNodeId AND a.CktUniqueId = b.CktUniqueId
(SELECT a.rowid FROM circuit_tbl a, circuit_vlan_tbl b
WHERE a.CktNodeId = b.CktNodeId AND a.CktUniqueId = b.CktUniqueId) ;
2.16 Ckt_Span_Dest_MT_View
CREATE OR REPLACE VIEW ckt_span_dest_mt_view AS
cst.cktspandestnodeid as cktspandestnodeid,
nvl(spandest.modulename,'System') as Modulename,
cst.cktspandestphysicalloc,
spandest.moduletype as ModuleType
mtt.modulename as modulename,
mtt.moduletype as moduletype,
cstbl.cktspandestphysicalloc as cktspandestphysicalloc,
cstbl.cktspandestnodeid as cktspandestnodeid
from module_type_table mtt,
ons15454_ne_inventory_table cni,
where mtt.moduletype= cni.equipmenttype
and
cni.physicalloc=round(cstbl.cktspandestphysicalloc/power(2,16))*(power(2,16))
and ne.nenodeid = cstbl.cktspandestnodeid
and cni.nedbaccessid=ne.nedbaccessid
and ne.nemodeltype=mtt.modeltype
and (mtt.modeltype=3 or mtt.modeltype=5 or mtt.modeltype=14 or mtt.modeltype=18)
cst.cktspandestnodeid = spandest.cktspandestnodeid(+)
AND cst.cktspandestphysicalloc = spandest.cktspandestphysicalloc(+);
2.17 Ckt_Span_Src_MT_View
CREATE OR REPLACE VIEW ckt_span_src_mt_view AS
cst.cktspansrcnodeid as cktspansrcnodeid,
nvl(spansrc.modulename,'System') as Modulename,
cst.cktspansrcphysicalloc,
spansrc.moduletype as ModuleType
mtt.modulename as modulename,
mtt.moduletype as moduletype,
cstbl.cktspansrcnodeid as cktspansrcnodeid,
cstbl.cktspansrcphysicalloc as cktspansrcphysicalloc
from module_type_table mtt,
ons15454_ne_inventory_table cni,
where mtt.moduletype= cni.equipmenttype
and cni.physicalloc=round(cstbl.cktspansrcphysicalloc/power(2,16))*(power(2,16))
and ne.nenodeid=cstbl.cktspansrcnodeid
and cni.nedbaccessid=ne.nedbaccessid
and ne.nemodeltype=mtt.modeltype
and (mtt.modeltype=3 or mtt.modeltype=5 or mtt.modeltype=14 or mtt.modeltype=18)
WHERE cst.cktspansrcnodeid=spansrc.cktspansrcnodeid(+)
AND cst.cktspansrcphysicalloc=spansrc.cktspansrcphysicalloc(+) ;
2.18 Client_User_View
CREATE OR REPLACE VIEW client_user_view as
2.19 CTC_User_Profiles_View
CREATE OR REPLACE VIEW CTC_User_Profiles_VIEW AS
b.privilege as Privilege,
a.userdesc as UserDescription,
a.userpassword as Password
ons15454_privilege_table b
a.privilegeid = b.privilegeid;
2.20 Data_Card_View
CREATE OR REPLACE VIEW DATA_CARD_VIEW AS
A.NEID(+) = B.NEID and A.SLOT(+) = B.SLOT and A.PORTNUM(+) = B.PORTNUM and
2.21 Domain_NE_Inventory_View
CREATE OR REPLACE VIEW domain_ne_inventory_view as
network_partition_table np,
ne.NeSubNetworkid=sub.subnetid
and ne.NEMODELTYPE=mod.MODELTYPE
and ne.GNEID=gne.GNEID(+);
2.22 DSP_Circuit_View
CREATE OR REPLACE VIEW DSP_Circuit_View AS
c.CKTSRCNODEID as SRCNENODEID,
c.CktSrcPhysicalLoc as SrcPhysicalLoc,
c.CKTSRCMODULETYPE as SRCMODULETYPE,
dest.CKTDESTNODEID as DESTNENODEID,
dest.CktDestPhysicalLoc as DestPhysicalLoc,
dest.CKTDESTMODULETYPE as DESTMODULETYPE
c.CKTNODEID = dest.CKTNODEID(+) and
c.CKTUNIQUEID = dest.CKTUNIQUEID(+) and
( c.CKTSRCMODULETYPE = 6684672 or c.CKTSRCMODULETYPE = 6750208 or
c.CKTSRCMODULETYPE = 10747904 or dest.CKTDESTMODULETYPE = 6684672 or
dest.CKTDESTMODULETYPE = 6750208 or dest.CKTDESTMODULETYPE = 10747904) and
2.23 DSP_Eqpt_View
CREATE OR REPLACE VIEW DSP_Eqpt_View AS
e.NEDBACCESSID as NEDBACCESSID,
e.PHYSICALLOC as PHYSICALLOC,
e.EQUIPMENTTYPE as MODULETYPE
ONS15454_NE_INVENTORY_TABLE e,
e.NEDBACCESSID = n.NEDBACCESSID(+) and
( e.EQUIPMENTTYPE = 102 or e.EQUIPMENTTYPE = 103 or e.EQUIPMENTTYPE = 164 ) and
( n.NEMODELINDEX = 47 or n.NEMODELINDEX = 49 or n.NEMODELINDEX = 55 or
n.NEMODELINDEX = 57 or n.NEMODELINDEX = 61 or n.NEMODELINDEX = 62 or
n.NEMODELINDEX = 65 );
2.24 GSRIOX_Inventory_View
CREATE OR REPLACE VIEW GSRIOX_inventory_view AS
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
eit.Col3 as PhysicalName,
eit.Col8 as SerialNumber,
ne.NEDBAccessId as NEDBACCESSID,
eit.OBJECTINDEX as ObjectIndex
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
ott.objectIndex = eit.objectIndex AND
(eit.objectIndex > 17999 AND eit.objectIndex < 18200) AND
2.25 HFR_BGP_Peer_PM_View
CREATE OR REPLACE VIEW HFR_BGP_PEER_PM_VIEW AS
bgp.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_BGP_PEER_PM_Table bgp,
bgp.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
bgp.NEDBAccessID = ni.NEDBAccessID;
2.26 HFR_Interface_DRC_PM_View
CREATE OR REPLACE VIEW HFR_INTERFACE_DRC_PM_VIEW AS
interface.InterfaceDRCTimeStamp,
interface.INPUTPACKETRATE,
interface.OUTPUTDATARATE,
interface.OUTPUTPACKETRATE,
interface.OUTPUTPEAKRATE,
interface.OUTPUTPEAKPKTS,
interface.fifteenMinThresholdMask as FifteenMinThreshold,
interface.StrObjInstance,
HFR_INTERFACE_DRC_PM_Table interface,
interface.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
interface.NEDBAccessID = ni.NEDBAccessID;
2.27 HFR_Interface_GC_PM_View
CREATE OR REPLACE VIEW HFR_INTERFACE_GC_PM_VIEW AS
interface.InterfaceGCTimeStamp,
interface.INUCASTPACKETS,
interface.INMULTICASTPACKETS,
interface.INBROADCASTPACKETS,
interface.OUTUCASTPACKETS,
interface.OUTMULTICASTPACKETS,
interface.OUTBROADCASTPACKETS,
interface.OUTPUTTOTALDROPS,
interface.INPUTTOTALDROPS,
interface.INPUTQUEUEDDROPS,
interface.INPUTUNKNOWNPROTO,
interface.OUTPUTTOTALERRORS,
interface.OUTPUTUNDERRUN,
interface.INPUTTOTALERRORS,
interface.fifteenMinThresholdMask as FifteenMinThreshold,
interface.StrObjInstance,
HFR_INTERFACE_GC_PM_Table interface,
interface.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
interface.NEDBAccessID = ni.NEDBAccessID;
2.28 HFR_Inventory_View
CREATE OR REPLACE VIEW HFR_inventory_view AS
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
eit.Col3 as PhysicalName,
eit.Col8 as SerialNumber,
ne.NEDBAccessId as NEDBACCESSID,
eit.OBJECTINDEX as ObjectIndex
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
ott.objectIndex = eit.objectIndex AND
(eit.objectIndex > 17999 AND eit.objectIndex < 18200) AND
2.29 HFR_MPLS_Interface_PM_View
CREATE OR REPLACE VIEW HFR_MPLS_INTERFACE_PM_VIEW AS
node.MPLSInterfaceTimeStamp,
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_MPLS_INTERFACE_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.30 HFR_MPLS_LDP_PM_View
CREATE OR REPLACE VIEW HFR_MPLS_LDP_PM_VIEW AS
node.ADDRESSWITHDRAWMSGSSENT,
node.ADDRESSWITHDRAWMSGSRCVD,
node.LABELMAPPINGMSGSSENT,
node.LABELMAPPINGMSGSRCVD,
node.LABELWITHDRAWMSGSSENT,
node.LABELWITHDRAWMSGSRCVD,
node.LABELRELEASEMSGSSENT,
node.LABELRELEASEMSGSRCVD,
node.NOTIFICATIONMSGSSENT,
node.NOTIFICATIONMSGSRCVD,
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_MPLS_LDP_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.31 HFR_MPLS_TE_Link_PM_View
CREATE OR REPLACE VIEW HFR_MPLS_TE_LINK_PM_VIEW AS
node.MPLSTELinkTimeStamp,
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_MPLS_TE_LINK_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.32 HFR_MPLS_TE_Tunnel_PM_View
CREATE OR REPLACE VIEW HFR_MPLS_TE_TUNNEL_PM_VIEW AS
node.MPLSTETunnelTimeStamp,
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_MPLS_TE_TUNNEL_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.33 HFR_Node_CPU_PM_View
CREATE OR REPLACE VIEW HFR_NODE_CPU_PM_VIEW AS
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_NODE_CPU_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.34 HFR_Node_Memory_PM_View
CREATE OR REPLACE VIEW HFR_NODE_MEMORY_PM_VIEW AS
node.NodeMemoryTimeStamp,
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_NODE_MEMORY_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.35 HFR_Node_Process_PM_View
CREATE OR REPLACE VIEW HFR_NODE_PROCESS_PM_VIEW AS
node.NodeProcessTimeStamp,
node.fifteenMinThresholdMask as FifteenMinThreshold,
HFR_NODE_PROCESS_PM_Table node,
node.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
node.NEDBAccessID = ni.NEDBAccessID;
2.36 INTF_Sub_INTF_View
CREATE OR REPLACE VIEW INTF_SUB_INTF_VIEW AS
ert.NEDBACCESSID as NEID,
getSlot(ert.RELATEDPHYSICALLOC) as SLOT,
getPort(ert.RELATEDPHYSICALLOC) as PORTNUM,
getBGFromBGObj(ert.SELFIFINDEX) as BG,
getSubIf(ert.RELATEDIFINDEX) as SUBIF
Eqpt_RelationShip_Table ert
eqpt.NEDBACCESSID = ert.NEDBACCESSID AND eqpt.PHYSICALLOC = ert.RELATEDPHYSICALLOC
AND eqpt.IFINDEX = ert.RELATEDIFINDEX AND ert.SELFOBJECTINDEX = 165
AND (eqpt.OBJECTINDEX = 172 OR eqpt.OBJECTINDEX = 173 OR eqpt.OBJECTINDEX = 175
OR eqpt.OBJECTINDEX = 176);
2.37 Inventory_Table_View
CREATE OR REPLACE VIEW Inventory_Table_View as
ni.NEDBAccessID = inv.NEDBAccessID ;
2.38 IOS_Active_Cards
CREATE OR REPLACE view IOS_ACTIVE_CARDS AS
a.NEDBACCESSID as NEDBACCESSID,
a.PHYSICALLOC as PHYSICALLOC,
a.EQUIPMENTTYPE as MODULETYPE,
b.NEMODELTYPE as NEMODELTYPE,
from ONS15454_NE_INVENTORY_TABLE a, NE_INFO_TABLE b
where EQUIPMENTTYPE in ( 102,103,164 ) and
a.NEDBACCESSID = b.NEDBACCESSID;
2.39 IOS_Users_View
CREATE OR REPLACE VIEW IOS_USERS_VIEW AS
c.NEDBACCESSID as NEDBACCESSID,
c.MODULETYPE as MODULETYPE,
c.PHYSICALLOC as PHYSICALLOC,
a.MODULENAME as MODULENAME,
c.MODELTYPE as NEMODELTYPE,
EQPT_INFO_TABLE c,NE_INFO_TABLE b,MODULE_TYPE_TABLE a
c.NEDBACCESSID = b.NEDBACCESSID and
c.MODELTYPE = a.MODELTYPE and
c.MODULETYPE = a.MODULETYPE;
2.40 Link_Utilization_View
CREATE OR REPLACE VIEW LINK_UTILIZATION_VIEW AS
SELECT a.FIELD1_NUM as CKTMODULETYPE,
a.FIELD2_NUM as CKTPHYSICALLOC,
a.FIELD3_NUM as CKTIFINDEX,
b.CKTPROTECTIONTYPE as CKTPROTECTIONTYPE,
a.CUSTOMER_ID_STR as CKTCUSTOMERID,
a.SERVICE_ID_STR as CKTSERVICEID,
a.field3_num as STRIPPED_IFINDEX,
a.NEDBACCESSID as NEDBACCESSID,
b.CKTUSELAP as CKTUSELAP,
b.CKTSRCIFINDEX as STRIPPED_CKTSRC_IFINDEX,
collapsedifindex(b.CKTNODEID,b.CKTUNIQUEID) as CKTDEST_IFINDEX,
b.CKTUNIQUEID as CKTUNIQUEID,
b.CKTNODEID as CKTNODEID,
a.FIELD4_NUM as CKTOBJECTTYPE,
collapsedobjectindex(b.CKTNODEID,b.CKTUNIQUEID) as cktDestObjectType,
b.CKTSRCMODELTYPE as modelType,
MANAGED_ET_TAB a, CIRCUIT_TBL b
a.MNG_ENTITY_ID2_NUM = b.CKTUNIQUEID AND
a.MNG_ENTITY_ID_NUM = b.CKTNODEID AND
( b.CKTTYPE != 5 AND b.CKTTYPE != 6 AND b.CKTTYPE != 21 AND b.CKTTYPE != 22 );
2.41 Link_View
CREATE OR REPLACE VIEW Link_View as
link.LinkSrcNode as LinkSrcNode,
link.LinkSrcModuleType as LinkSrcModuleType,
link.LinkSrcPhysicalLoc as LinkSrcPhysicalLoc,
link.LinkSrcIfIndex as LinkSrcIfIndex,
eqptinfoport(link.LinkSrcNode,link.LinkSrcPhysicalLoc,link.LinkSrcIfIndex,link.Lin
kSrcModuleType) as LinkSrcPortName,
link.LinkDstNode as LinkDstNode,
link.LinkDstModuleType as LinkDstModuleType,
link.LinkDstPhysicalLoc as LinkDstPhysicalLoc,
link.LinkDstIfIndex as LinkDstIfIndex,
eqptinfoport(link.LinkDstNode,link.LinkDstPhysicalLoc,link.LinkDstIfIndex,link.Lin
kDstModuleType) as LinkDstPortName,
link.LinkSize as LinkSize,
link.LinkDirection as LinkDirection,
link.LinkProvType as LinkProvType,
link.LinkConnectionType as LinkConnectionType,
link.LinkType as LinkType,
link.LinkProtType as LinkProtType,
link.LinkProtRole as LinkProtRole,
link.LinkState as LinkState,
link.useForRouting as useForRouting,
link.LinkName as LinkName,
link.LinkDescription as LinkDescription,
link.NumCriticalAlarms as NumCriticalAlarms,
link.NumMajorAlarms as NumMajorAlarms,
link.NumMinorAlarms as NumMinorAlarms,
link.NumWarningAlarms as NumWarningAlarms,
link.LinkSrcPhyLocUnmanaged as LinkSrcPhyLocUnmanaged,
link.LinkDestPhyLocUnmanaged as LinkDestPhyLocUnmanaged,
link.LinkUnmanaged as LinkUnmanaged,
neinfo1.nesysid as SrcNesysid,
neinfo2.nesysid as DstNesysid,
(select neSubnetworkId from ne_info_table where nedbaccessid = link.LinkSrcNode
AND neSubnetworkId = (select neSubnetworkId from ne_info_table where nedbaccessid
= link.LinkDstNode)) as SubnetworkId,
link.LinkLayer as LinkLayer,
link.LinkValid as LinkValid,
link.CableGroupId as GroupId,
d.phyloc as LinkDstPhysicalLoc2,
d.phyloc as LinkDstIfIndex2,
link.LinkCost as LinkCost,
link.LinkSrcModelType as LinkSrcModelType,
link.LinkSrcObjectType as LinkSrcObjectType,
link.LinkDstModelType as LinkDstModelType,
link.LinkDstObjectType as LinkDstObjectType,
link.LinkSrlgList as LinkSrlgList
link.LinkSrcNode = neinfo1.nedbaccessid AND
link.LinkDstNode = neinfo2.nedbaccessid AND
link.LinkSrcNode as LinkSrcNode,
link.LinkSrcModuleType as LinkSrcModuleType,
link.LinkSrcPhysicalLoc as LinkSrcPhysicalLoc,
link.LinkSrcIfIndex as LinkSrcIfIndex,
eqptinfoport(link.LinkSrcNode,link.LinkSrcPhysicalLoc,link.LinkSrcIfIndex,link.Lin
kSrcModuleType) as LinkSrcPortName,
link.LinkDstNode as LinkDstNode,
link.LinkDstModuleType as LinkDstModuleType,
link.LinkDstPhysicalLoc as LinkDstPhysicalLoc,
link.LinkDstIfIndex as LinkDstIfIndex,
eqptinfoport(link.LinkDstNode,link.LinkDstPhysicalLoc,link.LinkDstIfIndex,link.Lin
kDstModuleType) as LinkDstPortName,
link.LinkSize as LinkSize,
link.LinkDirection as LinkDirection,
link.LinkProvType as LinkProvType,
link.LinkConnectionType as LinkConnectionType,
link.LinkType as LinkType,
link.LinkProtType as LinkProtType,
link.LinkProtRole as LinkProtRole,
link.LinkState as LinkState,
link.useForRouting as useForRouting,
link.LinkName as LinkName,
link.LinkDescription as LinkDescription,
link.NumCriticalAlarms+link1.NumCriticalAlarms as NumCriticalAlarms,
link.NumMajorAlarms+link1.NumMajorAlarms as NumMajorAlarms,
link.NumMinorAlarms+link1.NumMinorAlarms as NumMinorAlarms,
link.NumWarningAlarms+link1.NumWarningAlarms as NumWarningAlarms,
link.LinkSrcPhyLocUnmanaged as LinkSrcPhyLocUnmanaged,
link.LinkDestPhyLocUnmanaged as LinkDestPhyLocUnmanaged,
link.LinkUnmanaged as LinkUnmanaged,
neinfo1.nesysid as SrcNesysid,
neinfo2.nesysid as DstNesysid,
(select neSubnetworkId from ne_info_table where nedbaccessid = link.LinkSrcNode
AND neSubnetworkId = (select neSubnetworkId from ne_info_table where nedbaccessid
= link.LinkDstNode)) as SubnetworkId,
link.LinkLayer as LinkLayer,
link.LinkValid as LinkValid,
link.CableGroupId as GroupId,
link1.LinkDstNode as LinkDstNode2,
link1.LinkDstModuleType as LinkDstModuleType2,
link1.LinkDstPhysicalLoc as LinkDstPhysicalLoc2,
link1.LinkDstIfIndex as LinkDstIfIndex2,
eqptinfoport(link.LinkDstNode,link1.LinkDstPhysicalLoc,link1.LinkDstIfIndex,link1.
LinkDstModuleType) as LinkDstPortName2,1 as ycable,
link.LinkCost as LinkCost,
link.LinkSrcModelType as LinkSrcModelType,
link.LinkSrcObjectType as LinkSrcObjectType,
link.LinkDstModelType as LinkDstModelType,
link.LinkDstObjectType as LinkDstObjectType,
link1.LinkDstModelType as LinkDstModelType2,
link1.LinkDstObjectType as LinkDstObjectType2,
link.LinkSrlgList as LinkSrlgList
link.LinkSrcNode = neinfo1.nedbaccessid AND
link.LinkDstNode = neinfo2.nedbaccessid AND
link.cableGroupId=link1.cableGroupId and
link.legIndex < link1.legIndex and
2.42 MCard_L2Topology_Map_View
CREATE OR REPLACE VIEW MCard_L2Topology_Map_View AS
l2tct.Toponodeid as Toponodeid,
l2tct.Topouniqueid as Topouniqueid,
nit.NeDbAccessId as NeDbId,
cst.CktSrcPhysicalLoc as PhysicalLoc,
cst.CktSrcModuleType as ModuleType
L2topology_Circuits_Table l2tct,
WHERE cst.CktNodeId = l2tct.NodeId AND
cst.CktUniqueId = l2tct.UniqueId AND
cst.CktSrcNodeId = nit.NeNodeId AND
cst.CktSrcModuleType IN (6684672,6750208,10747904)
l2tct.Toponodeid as Toponodeid,
l2tct.Topouniqueid as Topouniqueid,
nit.NeDbAccessId as NeDbId,
cdt.cktDestPhysicalLoc as PhysicalLoc,
cdt.cktDestModuleType as ModuleType
FROM Circuit_Dest_Tbl cdt,
L2topology_Circuits_Table l2tct,
WHERE cdt.CktNodeId = l2tct.NodeId AND
cdt.CktUniqueId = l2tct.UniqueId AND
cdt.CktDestNodeId = nit.NeNodeId AND
cdt.cktDestModuleType IN (6684672,6750208,10747904);
2.43 MLL_Inv_View
CREATE OR REPLACE VIEW MLL_INV_VIEW AS
info.NEDBACCESSID as NEDBACCESSID,
ONS15454_ne_inventory_table inv
info.NEDBAccessID = inv.NEDBAccessID AND
info.NEModelType = m.ModelType AND
inv.EquipmentType = m.ModuleType
ne.NEDBACCESSID as NEDBACCESSID,
ne.NEDBACCESSID = eit.NEDBACCESSID AND
ne.NEModelType = m.ModelType AND
eit.ModuleType = m.ModuleType AND
ne.NEModelType in (4,6,10) AND
t1.NEDBACCESSID as NEDBACCESSID,
ONS15216_NE_INVENTORY_TABLE t2
t1.NEDBACCESSID = t2.NEDBACCESSID AND
t1.NEModelType = m.MODELTYPE
n.NEDBACCESSID as NEDBACCESSID,
n.NEDBACCESSID as NEDBACCESSID,
n.NEDBACCESSID = eqpt.NEDBACCESSID and
m.MODELTYPE = n.NEMODELTYPE and
m.MODULETYPE = eqpt.MODULETYPE and
((n.NEMODELTYPE = 9) or (n.NEMODELTYPE<14 and n.NEMODELTYPE>10))
neInfo.NEDBACCESSID as NEDBACCESSID,
mll.LAYERRATE as LAYERRATE
MODULE_TYPE_MLL_INFO mll,
ONS1530x_NE_INVENTORY_TABLE neInv
neInfo.NEDBACCESSID = neInv.NEDBACCESSID and
neInfo.NEModelType = mll.ModelType and
neInv.Type = mll.ModuleType and
neInfo.NEModelType in (21,22);
rem ( union rows for other models )
2.44 NE_Alarm_View
CREATE OR REPLACE VIEW NE_Alarm_View as
aat.NEDBAccessID = nit.NEDBAccessID ;
2.45 NE_Audit_Trail_View
CREATE OR REPLACE VIEW NE_Audit_Trail_view as
c.sequencenumber as SequenceNumber,
c.timestamp as TimeStamp,
c.operationdescription as OperationDescription,
c.operationstatus as OperationStatus,
a.nedbaccessid = c.nedbaccessid;
2.46 NE_Circuit_NodeID_View
CREATE OR REPLACE VIEW NE_Circuit_NodeID_View as
a.nedbaccessid, b.cktname
ne_info_table a, circuit_tbl b
a.NENodeID = b.CktNodeId; and b.cktstate !=12;
2.47 NE_Circuit_VLAN_View
CREATE OR REPLACE VIEW NE_Circuit_Vlan_View as
a.NEDBACCESSID, c.CKTVLANID
a, CIRCUIT_TBL b, CIRCUIT_VLAN_TBL c
b.CKTUNIQUEID = c.CKTUNIQUEID AND
b.CKTNODEID = c.CKTNODEID AND
b.CKTNODEID = a.NENODEID;
2.48 NE_Info_NP_View
CREATE OR REPLACE VIEW NE_Info_NP_VIEW As
decode(ne.GNEID,-1,'Not Applicable',gne.GNESysID ) as GneName,
decode(ne.nesubnetworkID,-1,'Not Applicable',sub.SubnetName) as SubnetworkName,
ne.NENumActiveCriticalErrors,
ne.NENumActiveMajorErrors,
ne.NENumActiveMinorErrors,
ne.NEInventoryLastChanged,
ne.NENumUnActiveCriticalErrors,
ne.NENumUnActiveMajorErrors,
ne.NENumUnActiveMinorErrors,
network_partition_table np
ne.NESubNetworkID=sub.subnetID AND
2.49 NE_Inventory_View
CREATE OR REPLACE VIEW NE_Inventory_View as
ninvt.ModuleSerialNumber,
NE_INVENTORY_TABLE ninvt,
ninvt.NEDBAccessID = nit.NEDBAccessID ;
2.50 NE_Swimage_View
CREATE OR REPLACE VIEW NE_SWIMAGE_VIEW as
mtt.modelTypeName AS ModelName,
sw.nedbaccessid = ne.nedbaccessid AND
mtt.ModelType = ne.NEModelType;
2.51 ONS15200_Inventory_View
CREATE OR REPLACE VIEW ONS15200_inventory_view AS
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
to_number(eit.Col1) as SERVICESTATE,
nvl(eit.Col8, 'N/A') as ITUCHNO,
to_number(eit.Col9) as DATARATE,
to_number(eit.Col11) as APPLICATIONCODE,
nvl(eit.Col15, 'N/A') as NCBSWVERSION,
nvl(eit.Col16, 'N/A') as NCBBOARDREVNO,
nvl(eit.Col26, 'N/A') as CONTAINERNAME,
to_number(eit.Col44) as POWERSPLIT,
nvl(eit.Col91, 'N/A') as NAME,
nvl(eit.Col92, 'N/A') as PRIMARYNCBID,
nvl(eit.Col93, 'N/A') as SECONDARYNCBID,
to_number(eit.Col250) as CONFLICTINGCLIP,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType > 7002 AND
2.52 ONS15216_Active_User_View
CREATE OR REPLACE view ONS15216_Active_User_view AS
ons15216_active_user_table b,
b.nedbaccessid = a.nedbaccessid;
2.53 ONS15216_Inventory_View
CREATE OR REPLACE VIEW ONS15216_INVENTORY_VIEW as
ONS15216_NE_INVENTORY_TABLE t2
t1.NEDBACCESSID = t2.NEDBACCESSID;
2.54 ONS15216_User_View
CREATE OR REPLACE view ONS15216_User_view AS
c.privilege as Privilege,
b.lastlogintime as LastLoginTime,
ons15216_privilege_table c
b.nedbaccessid = a.nedbaccessid AND
b.privilegeid = c.privilegeid;
2.55 ONS1530x_DCC_PM_View
CREATE OR REPLACE VIEW ONS1530x_DCC_PM_View AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.56 ONS1530x_HO_FE_PM_View
CREATE OR REPLACE VIEW ONS1530x_HO_FE_PM_View
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.57 ONS1530x_HO_PM_View
CREATE OR REPLACE VIEW ONS1530x_HO_PM_View AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.58 ONS1530x_Inventory_View
CREATE OR REPLACE VIEW ONS1530x_inventory_view AS
nvl(mtt2.ModuleName,'EMPTY SLOT') as ModuleName,
inv.PhysicalLoc as PhysicalLoc,
inv.InstallState as InstallState,
mtt1.ModuleName as ExpectedModule,
nvl(inv.ServiceState,'N/A') as ServiceState,
nvl(inv.SoftwareVersion,'N/A') as SoftwareVersion,
nvl(inv.SerialNumber,'N/A') as SerialNumber,
nvl(inv.HardwareVersion,'N/A') as HardwareVersion,
ONS1530x_ne_inventory_table inv,
info.NEDBAccessID = inv.NEDBAccessID AND
info.NEModelType = mtt1.ModelType AND
info.NEModelType = mtt2.ModelType AND
mtt1.moduleType = inv.ExpectedModule AND
mtt2.moduleType = inv.ModuleName;
2.59 ONS1530x_LAN_PM_View
CREATE OR REPLACE VIEW ONS1530x_LAN_PM_View AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.60 ONS1530x_LO_FE_PM_View
CREATE OR REPLACE VIEW ONS1530x_LO_FE_PM_View AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.61 ONS1530x_LO_PM_View
CREATE OR REPLACE VIEW ONS1530x_LO_PM_View AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.62 ONS1530x_MS_FE_PM_View
CREATE OR REPLACE VIEW ONS1530x_MS_FE_PM_View
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.63 ONS1530x_MS_PM_View
CREATE OR REPLACE VIEW ONS1530x_MS_PM_View
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.64 ONS1530x_RS_PM_View
CREATE OR REPLACE VIEW ONS1530x_RS_PM_View
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.65 ONS1530x_WAN_PM_View
CREATE OR REPLACE VIEW ONS1530x_WAN_PM_View
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.66 ONS15454_8B10B_PM_View
CREATE OR REPLACE VIEW ONS15454_8B10B_PM_VIEW AS
fc.statsEncodingDispErrors,
ons15454_8B10B_pm_table fc,
fc.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
fc.NEDBAccessID = ni.NEDBAccessID;
2.67 ONS15454_Active_User_View
CREATE OR REPLACE VIEW ONS15454_Active_User_view as
ons15454_active_user_table b,
b.nedbaccessid = a.nedbaccessid;
2.68 ONS15454_BLSR_Config_View
CREATE OR REPLACE VIEW ONS15454_BLSR_CONFIG_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col8 as RingReversion,
eit.col9 as SpanReversion,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.69 ONS15454_BLSR_Squelch_View
CREATE OR REPLACE VIEW ONS15454_BLSR_SQUELCH_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.70 ONS15454_Class_QoS_PM_View
CREATE OR REPLACE VIEW ONS15454_class_qos_pm_view AS
cmQos.CBQosCMPrePolicyPkt64,
cmQos.CBQosCMPrePolicyByte64,
cmQos.CBQosCMPostPolicyByte64,
cmQos.CBQosCMNoBufDropPkt64,
ONS15454_classmap_pm_table cmQos,
cmQos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cmQos.NEDBAccessID = ni.NEDBAccessID;
2.71 ONS15454_CMS_Storage_View
CREATE OR REPLACE VIEW ONS15454_CMS_Storage_View as
storage.FileName as Name,
storage.JarTime as TimeStamp,
storage.UserName as UserName,
ONS15454_CMS_Storage_Table storage;
2.72 ONS15454_COS_PM_View
CREATE OR REPLACE VIEW ONS15454_COS_pm_view AS
portCOS.InterfaceDirection,
portCOS.ClassOfServiceLevel,
portCOS.PostPolicyPackets,
ONS15454_COS_pm_table portCOS,
portCOS.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
portCOS.NEDBAccessID = ni.NEDBAccessID;
2.73 ONS15454_DS1_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_DS1_PM_FE_VIEW AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.FeDS1FDLPathCV as FDLCodeViolations,
csonet.FeDS1FDLPathES as FDLErrSecs,
csonet.FeDS1FDLPathESA as FDLErrSecsTypeA,
csonet.FeDS1FDLPathESB as FDLErrSecsTypeB,
csonet.FeDS1FDLPathSES as FDLSevErrSecs,
csonet.FeDS1FDLPathSEFS as FDLSevErrFrameSecs,
csonet.FeDS1FDLPathCSS as FDLControlledSlipSecs,
csonet.FeDS1FDLPathUAS as FDLUnavailableSecs,
csonet.FeDS1FDLPathFC as FDLFailureCount,
csonet.FeDS1FDLLineES as FDLLineErrSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_ds1_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.74 ONS15454_DS1_PM_View
CREATE OR REPLACE VIEW ONS15454_ds1_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.DS1LineCodeViolations as LineCodeViolations,
csonet.DS1LineErrSecs as LineErrSecs,
csonet.DS1LineSevErrSecs as LineSevErrSecs,
csonet.DS1RxPathAIS as RxAis,
csonet.DS1RxPathErrSecs as RxErrSecs,
csonet.DS1RxPathSAS as RxSas,
csonet.DS1RxPAthSevErrSecs as RxSevErrSecs,
csonet.DS1RxPathUnavailableSecs as RxUnavailSecs,
csonet.DS1RxpathCodeViolations as RxCodeViolations,
csonet.DS1TxPathAis as TxAis,
csonet.DS1TxPathErrSecs as TxErrSecs,
csonet.DS1TxPathSAS as TxSas,
csonet.DS1TxPathSevErrSecs as TxSevErrSecs,
csonet.DS1TxPathUnavailableSecs as TxUnavailSecs,
csonet.DS1TxPathCodeViolations as TxCodeViolations,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_ds1_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.75 ONS15454_DS3_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_ds3_pm_fe_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.FeDS3CpBitCodeViolations as CPBitCodeViolations,
csonet.FeDS3CpBitErrSecs as CPBitErrSecs,
csonet.FeDS3CpBitSAS as CPBitSAS,
csonet.FeDS3CpBitSevErrSecs as CPBitSevErrSecs,
csonet.FeDS3CpBitUnavailableSecs as CPBitUnavailableSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_ds3_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.76 ONS15454_DS3_PM_View
CREATE OR REPLACE VIEW ONS15454_ds3_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.DS3LineCodeViolations as LineCodeViolations,
csonet.DS3LineErrSecs as LineErrSecs,
csonet.DS3LineSevErrSecs as LineSevErrSecs,
csonet.DS3LineLoss as LineLoss,
csonet.DS3PBitAis as PbitAis,
csonet.DS3PBitCodeViolations as PbitCodeViolations,
csonet.DS3PBitErrSecs as PbitErrSecs,
csonet.DS3PbitSas as PbitSas,
csonet.DS3PbitSevErrSecs as PbitSevErrSecs,
csonet.DS3PBitUnavailableSecs as PbitUnavailableSecs,
csonet.DS3cpBitCodeViolations as CpbitCodeViolations,
csonet.DS3cpBitErrSecs as CpbitErrSecs,
csonet.DS3cpbitSas as CpbitSas,
csonet.DS3cpBitSevErrSecs as CpbitSevErrSecs,
csonet.DS3CpBitUnavailableSecs as CpbitUnavailableSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_ds3_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.77 ONS15454_DWDM_Ring_View
CREATE OR REPLACE VIEW ONS15454_DWDM_RING_VIEW as
eit.col3 as WestDirection,
eit.col5 as EastDirection,
ne.NEDbaccessid = eit.NEDbaccessid AND
2.78 ONS15454_Enet_PM_View
CREATE OR REPLACE VIEW ONS15454_enet_pm_view AS
decode(en.Moduletype,102,to_char(enet.TxPackets), 103,to_char(enet.TxPackets),
118,to_char(enet.TxPackets), 119,to_char(enet.TxPackets),
181,to_char(enet.TxPackets), 182,to_char(enet.TxPackets),
183,to_char(enet.TxPackets), 184,to_char(enet.TxPackets),
get_enet_value2(enet.IfOutUcastPkts,enet.IfOutMulticastPkts,enet.IfOutBroadc
astPkts) ) as TxPackets,
enet.Dot3StatsAlignmentErrors,
enet.Dot3StatsSingleCollisionFrames,
enet.Dot3StatsMultiCollisionFrames,
enet.Dot3StatsDeferredTransmissions,
enet.Dot3StatsLateCollisions,
enet.Dot3StatsExcessiveCollisions,
enet.EtherStatsUndersizePkts,
enet.EtherStatsFragments,
enet.EtherStatsOversizePkts,
decode(en.Moduletype,102, to_char(enet.RxTotalErrors), 103,
to_char(enet.RxTotalErrors), 118, to_char(enet.RxTotalErrors), 119,
to_char(enet.RxTotalErrors), 62, to_char(enet.RxTotalErrors),
get_enet_value2(enet.Dot3StatsFCSErrors,enet.Dot3StatsAlignmentErrors,enet.EtherSta
tsUnderSizePKTS,
enet.ETHERSTATSOVERSIZEPKTS,enet.ETHERSTATSFRAGMENTS,enet.ETHERSTATSJABBERS)) as
Rx_TOTAL_ERRORS,
decode(en.Moduletype, 102, enet.RxRunts, 103, enet.RxRunts, 118, enet.RxRunts, 119,
enet.RxRunts, 62, enet.RxRunts, enet.ETHERSTATSFRAGMENTS) as Rx_RUNTS,
enet.RxGIANTS as rx_giants,
decode(en.Moduletype, 102, enet.TxCollisions, 103, enet.TxCollisions, 118,
enet.TxCollisions, 119, enet.TxCollisions,
get_enet_value(enet.Dot3StatsSingleCollisionFrames,enet.Dot3StatsMultiCollisionFram
es) ) as Tx_Collisions,
enet.RxPktsDropInternalCongestion,
enet.TxPktsDropInternalCongestion,
enet.EtherUtilizationStats,
enet.RxThresholdOversizes,
enet.RXUnknownOpCodeFrames,
enet.IfInFramingErrorPkts,
enet.Dot3StatsFrameTooLong,
enet.Dot3StatsCarrierSenseErrors,
enet.Dot3StatsSQETestErrors,
enet.EtherStatsPkts64Octets,
enet.EtherStatsPkts65to127Octets,
enet.EtherStatsPkts128to255Octets,
enet.EtherStatsPkts256to511Octets,
enet.EtherStatsPkts512to1023Octets,
enet.EtherStatsPkts1024to1518Octets,
enet.EtherStatsBroadcastPkts,
enet.EtherStatsMulticastPkts,
enet.EtherStatsCollisions,
enet.EtherStatsCollisionFrames,
enet.EtherStatsCRCAlignErrors,
enet.MediaIndStatsRxFramesTruncated,
enet.MediaIndStatsRxFramesTooLong,
enet.MediaIndStatsRxFramesBadCRC,
enet.MediaIndStatsTxFramesBadCRC,
enet.MediaIndStatsRxShortPkts,
enet.MediaIndStatsOversizeDropped,
enet.Dot3StatsInternalMacTxErrors,
enet.Dot3StatsInternalMacRxErrors,
enet.Dot3StatsSymbolErrors,
enet.RxEtherUtilizationStats,
enet.TxEtherUtilizationStats,
enet.StatsLineLastClearedTime,
enet.MEDIAINDSTATSTXFRAMESTOOLONG,
ons15454_enet_pm_table enet,
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID;
2.79 ONS15454_FC_PM_View
CREATE OR REPLACE VIEW ONS15454_FC_PM_VIEW AS
fc.fibreStatsInvalidOrderedSets,
fc.fibreStatsEncodingDispErrors,
fc.fibreStatsRxTotalErrors,
fc.fibreStatsRxFramesTruncated,
fc.fibreStatsRxFramesTooLong,
fc.fibreStatsRxFramesBadCRC,
fc.fibreStatsTxFramesBadCRC,
fc.gfpStatsRxTypeInvalid,
fc.gfpStatsRxSblkCRCErrors,
fc.StatsLineLastClearedTime,
fc.gfpStatsRoundTripLatency,
fc.FibreStatsLinkRecoveries,
fc.FCIngressRxDistanceExtBuffers,
fc.FCEgressTxDistanceExtBuffers,
fc.FibreStatsZeroTxCredits,
fc.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
fc.NEDBAccessID = ni.NEDBAccessID;
2.80 ONS15454_IfX_PM_View
CREATE OR REPLACE VIEW ONS15454_ifX_pm_view AS
ifX.IfHCOutMulticastPkts,
ifX.IfHCOutBroadcastPkts,
ons15454_ifX_pm_table ifX,
ifX.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
ifX.NEDBAccessID = ni.NEDBAccessID;
2.81 ONS15454_Inventory_View
CREATE OR REPLACE VIEW ONS15454_inventory_view AS
inv.HWPartNumber as HdrPartNum,
inv.CleiCode as CleiCode,
inv.HardwareRevision as HardRevision,
inv.SerialNumber as SerialNum,
inv.PhysicalLoc as PhysicalLoc,
module.ModuleName as EquipType,
inv.AdminState as AdminState,
inv.ServiceState as ServiceState,
inv.Name as ActualEquipType,
inv.EquipmentState as EquipState,
inv.FirmwareVersion as FirmwareVersion,
inv.ApplicationFileName as ApplicationFileName,
inv.EntityID as EntityId,
inv.ExtraInfo as ExtraInfo,
ONS15454_ne_inventory_table inv,
info.NEDBAccessID = inv.NEDBAccessID AND
info.NEModelType = module.ModelType AND
inv.EquipmentType = module.ModuleType;
2.82 ONS15454_MatchStmt_QoS_PM_View
CREATE OR REPLACE ONS15454_matchstmt_qos_pm_view AS
mtQos.CBQosMatchPrePolicyPkt64,
mtQos.CBQosMatchPrePolicyByte64,
ONS15454_match_stmt_pm_table mtQos,
mtQos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
mtQos.NEDBAccessID = ni.NEDBAccessID;
2.83 ONS15454_Optics_PM_View
CREATE OR REPLACE VIEW ONS15454_OPTICS_PM_VIEW AS
en.ModuleName as MODULENAME,
phy.PhysicalLoc as PHYSICALLOC,
phy.NEIfIndex as NEIFINDEX,
phy.TimeStamp as TIMESTAMP,
phy.NEIfPMStatus as NEIFPMSTATUS,
phy.inMaintenance as INMAINTENANCE,
phy.MinLaserBias as MINLASERBIAS,
phy.AvgLaserBias as AVGLASERBIAS,
phy.MaxLaserBias as MAXLASERBIAS,
phy.MinLaserTemp as MINLASERTEMP,
phy.AvgLaserTemp as AVGLASERTEMP,
phy.MaxLaserTemp as MAXLASERTEMP,
phy.MinReceivedLaserTemp as MINRECEIVEDLASERTEMP,
phy.AvgReceivedLaserTemp as AVGRECEIVEDLASERTEMP,
phy.MaxReceivedLaserTemp as MAXRECEIVEDLASERTEMP,
phy.MinTransReceiverVoltage as MINTRANSRECEIVERVOLTAGE,
phy.AvgTransReceiverVoltage as AVGTRANSRECEIVERVOLTAGE,
phy.MaxTransReceiverVoltage as MAXTRANSRECEIVERVOLTAGE,
phy.MinTransmittedPower as MINTRANSMITTEDPOWER,
phy.AvgTransmittedPower as AVGTRANSMITTEDPOWER,
phy.MaxTransmittedPower as MAXTRANSMITTEDPOWER,
phy.MinReceivedPower as MINRECEIVEDPOWER,
phy.AvgReceivedPower as AVGRECEIVEDPOWER,
phy.MaxReceivedPower as MAXRECEIVEDPOWER,
phy.MinPassThroughPower as MINPASSTHROUGHPOWER,
phy.AvgPassThroughPower as AVGPASSTHROUGHPOWER,
phy.MaxPassThroughPower as MAXPASSTHROUGHPOWER,
ni.NEDbaccessid as NEDBACCESSID,
phy.thresholdList as ThresholdList,
en.ModuleType as MODULETYPE,
ONS15454_PHY_LAYER_PM_Table phy,
phy.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
phy.NEDBAccessID = ni.NEDBAccessID;
2.84 ONS15454_OSPF_Area_Range_View
CREATE OR REPLACE VIEW ONS15454_OSPF_AREA_RANGE_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col4 as RangeAddress,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.85 ONS15454_OTN_FEC_PM_View
CREATE OR REPLACE VIEW ONS15454_OTN_fec_pm_view AS
en.ModuleName as ModuleName,
cotn.NEIfIndex as NEIfIndex,
cotn.TimeStamp as TimeStamp,
cotn.NEIfPmStatus as NEIfPmStatus,
cotn.InMaintenance as InMaintenance,
cotn.BitErrsCorrected as BitErrsCorrected,
cotn.ByteErrsCorrected as ByteErrsCorrected,
cotn.ZeroBitErrsDetected as ZeroBitErrsDetected,
cotn.OneBitErrsDetected as OneBitErrsDetected,
cotn.UnCorrectableWord as UnCorrectableWord,
cotn.NEDBAccessID as NEDBAccessID,
cotn.thresholdList as ThresholdList,
ONS15454_OTN_FEC_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.86 ONS15454_OTN_Path_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_otn_path_pm_fe_view AS
en.ModuleName as ModuleName,
cotn.NEIfIndex as NEIfIndex,
cotn.TimeStamp as TimeStamp,
cotn.NEIfPmStatus as NEIfPmStatus,
cotn.InMaintenance InMaintenance,
cotn.NEDBAccessID as NEDBAccessId,
cotn.thresholdList as ThresholdList,
cotn.FeErrSecs as FeErrSecs,
cotn.FeSevErrSecs as FeSevErrSecs,
cotn.FeUnavailableSecs as FeUnavailableSecs,
cotn.FeBackGroundBlockErrs as FeBackGroundBlockErrs,
cotn.FeFailureCount as FeFailureCount,
cotn.FeErrSecsRatio as FeErrSecsRatio,
cotn.FeSevErrSecsRatio as FeSevErrSecsRatio,
cotn.FeBackGroundBlockErrRatio as FeBackGroundBlockErrRatio,
ONS15454_OTN_PATH_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.87 ONS15454_OTN_Path_PM_View
CREATE OR REPLACE VIEW ONS15454_OTN_path_pm_view AS
en.ModuleName as ModuleName,
cotn.NEIfIndex as NEIfIndex,
cotn.TimeStamp as TimeStamp,
cotn.NEIfPmStatus as NEIfPmStatus,
cotn.InMaintenance as InMaintenance,
cotn.SevErrSecs as SevErrSecs,
cotn.UnavailableSecs as UnAvailableSecs,
cotn.BackGroundBlockErr as BackGroundBlockErr,
cotn.FailureCount as FailureCount,
cotn.ErrSecsRatio as ErrSecsRatio,
cotn.SevErrSecsRatio as SevErrSecsRatio,
cotn.BackGroundBlockErrRatio as BackGroundBlockErrRatio,
cotn.NEDBAccessID as NEDBAccessID,
cotn.thresholdList as ThresholdList,
ONS15454_OTN_PATH_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.88 ONS15454_OTN_Sec_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_otn_sec_pm_fe_view AS
en.ModuleName as ModuleName,
cotn.NEIfIndex as NEIfIndex,
cotn.TimeStamp as TimeStamp,
cotn.NEIfPmStatus as NEIfPmStatus,
cotn.InMaintenance InMaintenance,
cotn.NEDBAccessID as NEDBAccessId,
cotn.thresholdList as ThresholdList,
cotn.FeErrSecs as FeErrSecs,
cotn.FeSevErrSecs as FeSevErrSecs,
cotn.FeUnavailableSecs as FeUnavailableSecs,
cotn.FeBackGroundBlockErrs as FeBackGroundBlockErrs,
cotn.FeFailureCount as FeFailureCount,
cotn.FeErrSecsRatio as FeErrSecsRatio,
cotn.FeSevErrSecsRatio as FeSevErrSecsRatio,
cotn.FeBackGroundBlockErrRatio as FeBackGroundBlockErrRatio,
ONS15454_OTN_SEC_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.89 ONS15454_OTN_Sec_PM_View
CREATE OR REPLACE VIEW ONS15454_OTN_sec_pm_view AS
en.ModuleName as ModuleName,
cotn.NEIfIndex as NEIfIndex,
cotn.TimeStamp as TimeStamp,
cotn.NEIfPmStatus as NEIfPmStatus,
cotn.InMaintenance as InMaintenance,
cotn.SevErrSecs as SevErrSecs,
cotn.UnavailableSecs as UnAvailableSecs,
cotn.BackGroundBlockErr as BackGroundBlockErr,
cotn.FailureCount as FailureCount,
cotn.ErrSecsRatio as ErrSecsRatio,
cotn.SevErrSecsRatio as SevErrSecsRatio,
cotn.BackGroundBlockErrRatio as BackGroundBlockErrRatio,
cotn.NEDBAccessID as NEDBAccessID,
cotn.thresholdList as ThresholdList,
ONS15454_OTN_SEC_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.90 ONS15454_Phy_Layer_PM_VIEW
CREATE OR REPLACE VIEW ONS15454_PHY_LAYER_PM_VIEW AS
phy.OpticalPowerTransmitted,
phy.OpticalPowerReceived,
phy.thresholdList as ThresholdList,
ONS15454_PHY_LAYER_PM_Table phy,
phy.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
phy.NEDBAccessID = ni.NEDBAccessID;
2.91 ONS15454_Policy_QoS_PM_View
CREATE OR REPLACE VIEW ONS15454_policy_qos_pm_view AS
plQos.CBQosPoliceConformedPkt64,
plQos.CBQosPoliceConformedByte64,
plQos.CBQosPoliceExceededPkt64,
plQos.CBQosPoliceExceededByte64,
plQos.CBQosPoliceViolatedPkt64,
plQos.CBQosPoliceViolatedByte64,
ONS15454_police_pm_table plQos,
plQos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
plQos.NEDBAccessID = ni.NEDBAccessID;
2.92 ONS15454_POS_PM_View
CREATE OR REPLACE VIEW ONS15454_pos_pm_view AS
pos.PosStatsRxPreHdlcBytes,
pos.PosStatsRxPostHdlcBytes,
pos.PosStatsRxNormalPackets,
pos.PosStatsRxTotalErrors,
pos.PosStatsRxInputDropPackets,
pos.PosStatsRxInputAbortPackets,
pos.PosStatsTxPreHdlcBytes,
pos.PosStatsTxPostHdlcBytes,
pos.EtherStatsDropEvents,
pos.GfpStatsRxSBitErrors,
pos.GfpStatsRxMBitErrors,
pos.GfpStatsRxTypeInvalid,
pos.GfpStatsRxCIDInvalid,
pos.MediaIndStatsRxFramesTruncated,
pos.MediaIndStatsRxFramesTooLong,
pos.MediaIndStatsRxFramesBadCRC,
pos.MediaIndStatsRxShortPkts,
pos.rxPktsDropInternalCongestion,
pos.RxEtherUtilizationStats as Rx_Utilization_Stats,
pos.TxEtherUtilizationStats as Tx_Utilization_Stats,
pos.StatsLineLastClearedTime,
pos.thresholdList as ThresholdList,
ons15454_pos_pm_table pos,
pos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pos.NEDBAccessID = ni.NEDBAccessID;
2.93 ONS15454_Ring_Map_View
CREATE OR REPLACE VIEW ONS15454_RING_MAP_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.94 ONS15454_Security_View
CREATE OR REPLACE VIEW ONS15454_SECURITY_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col7 as SecurityLevel,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.95 ONS15454_SNMP_Trap_Dest_View
CREATE OR REPLACE VIEW ONS15454_SNMP_TRAP_DEST_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col5 as CommunityName,
eit.col8 as MaxTrapsPerSecond,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.96 ONS15454_SONET_Line_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_sonet_line_pm_fe_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance InMaintenance,
csonet.NEDBAccessID as NEDBAccessId,
csonet.thresholdList as ThresholdList,
csonet.FeCodeViolations as FeCodeViolations,
csonet.FeErrSecs as FeErrSecs,
csonet.FeSevErrSecs as FeSevErrSecs,
csonet.FeUnavailableSecs as FeUnavailableSecs,
ONS15454_sonet_line_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.97 ONS15454_SONET_Line_PM_View
CREATE OR REPLACE VIEW ONS15454_sonet_line_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance InMaintenance,
csonet.CodeViolations as CodeViolations,
csonet.ErrSecs as ErrSecs,
csonet.SevErrSecs as SevErrSecs,
csonet.UnavailableSecs as UnavailSecs,
csonet.PpjcPdet as PpjcPdet,
csonet.NpjcPdet as NpjcPdet,
csonet.PpjcPgen as PpjcPgen,
csonet.NpjcPgen as NpjcPgen,
csonet.NEDBAccessID as NEDBAccessId,
csonet.thresholdList as ThresholdList,
ONS15454_sonet_line_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.98 ONS15454_SONET_Path_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_sonet_path_pm_fe_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
csonet.FeSonetPathCodeViolations as FePathCodeViolations,
csonet.FeSonetPathErrSecs as FePathErrSecs,
csonet.FeSonetPathSevErrSecs as FePathSevErrSecs,
csonet.FeSonetPathUnavailableSecs as FePathUnavailableSecs,
csonet.FeSonetPathFC as FePathFC,
ONS15454_sonet_path_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.99 ONS15454_SONET_Path_PM_View
CREATE OR REPLACE VIEW ONS15454_sonet_path_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.SonetPathCodeViolations as CodeViolations,
csonet.SonetPathErrSecs as ErrSecs,
csonet.SonetPathSevErrSecs SevErrSecs,
csonet.SonetPathUnavailableSecs as LineUnavailSecs,
csonet.SonetPathFC as SonetPathFC,
csonet.PpjcPdet as PpjcPdet,
csonet.NpjcPdet as NpjcPdet,
csonet.PpjcPgen as PpjcPgen,
csonet.NpjcPgen as NpjcPgen,
csonet.StsPathWidth as StsPathWidth,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_sonet_path_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.100 ONS15454_SONET_Section_PM_View
CREATE OR REPLACE VIEW ONS15454_sonet_section_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.SevErrFrameSecs as ErrFrameSecs,
csonet.CodeViolations as CodeViolations,
csonet.ErrSecs as ErrSecs,
csonet.SevErrSecs as SevErrSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_sonet_sec_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.101 ONS15454_SONET_VT_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_sonet_vt_pm_fe_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
csonet.FeSonetVTCodeViolations as FeVTCodeViolations,
csonet.FeSonetVTErrSecs as FeVTErrSecs,
csonet.FeSonetVTSevErrSecs as FeVTSevErrSecs,
csonet.FeSonetLineUnavailableSecs as FeLineUnavailableSecs,
ONS15454_sonet_vt_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.102 ONS15454_SONET_VT_PM_View
CREATE OR REPLACE VIEW ONS15454_sonet_vt_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.InMaintenance as InMaintenance,
csonet.SonetVTCodeViolations as CodeViolations,
csonet.SonetVTErrSecs as VtErrSecs,
csonet.SonetVTSevErrSecs as LineSevErrSecs,
csonet.SonetLineUnavailableSecs as LineUnavailSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15454_sonet_vt_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.103 ONS15454_Spanning_Trees_View
CREATE OR REPLACE VIEW ONS15454_SPANING_TREES_VIEW as
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col7 as BridgeMaxAge,
eit.col8 as BridgeHelloTime,
eit.col8 as BridgeForwardDelay,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.104 ONS15454_Static_Route_View
CREATE OR REPLACE VIEW ons15454_static_route_view AS
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.105 ONS15454_Threshold_View
CREATE OR REPLACE VIEW ONS15454_THRESHOLD_VIEW AS
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col9 as SamplePeriod,
eit.col10 as RisingThreshold,
eit.col11 as FallingThreshold,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.106 ONS15454_User_View
CREATE OR REPLACE VIEW ONS15454_User_view AS
c.privilege as Privilege,
b.lastlogintime as LastLoginTime,
b. failedlogincount as FailedLoginCount,
b.ChangePwdNxtLogin as ChangePasswordOnNextLogin,
ons15454_privilege_table c
b.nedbaccessid = a.nedbaccessid AND
b.privilegeid = c.privilegeid;
2.107 ONS15454_Virtual_Link_View
CREATE OR REPLACE VIEW ONS15454_VIRTUAL_LINK_VIEW AS
mtt.modulename as ModuleName,
eit.Physicalloc as Physicalloc,
eit.col5 as TransitDelay,
eit.col6 as RetransmitInt,
eit.NEDbaccessid as NEDbaccessid,
eit.ModuleType as ModuleType,
ne.NEDbaccessid = eit.NEDbaccessid AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
2.108 ONS15454SDH_E1_PM_FE_View
CREATE OR REPLACE VIEW ONS15454sdh_E1_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ons15454sdh_e1_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.109 ONS15454SDH_E1_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_E1_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ons15454sdh_e1_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.110 ONS15454SDH_E3_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_E3_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ons15454sdh_e3_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.111 ONS15454SDH_E4_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_E4_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance InMaintenance,
csdh.CodeViolations as CV,
csdh.UnavailableSecs as UAS,
csdh.BackGroundBlockErrors as BBE,
csdh.NEDBAccessID as NEDBAccessId,
csdh.thresholdList as ThresholdList,
ONS15454sdh_E4_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.112 ONS15454SDH_HO_PM_FE_View
CREATE OR REPLACE VIEW ONS15454sdh_ho_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.FeHpSesr as FeHpSesr,
csdh.FeHpBber as FeHpBberas,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_ho_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.113 ONS15454SDH_HO_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_ho_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.HpPpjcPdet as HpPpjcPdet,
csdh.HpNpjcPdet as HpNpjcPdet,
csdh.HpPpjcPGen as HpPpjcPGen,
csdh.HpNpjcPGen as HpNpjcPGen,
csdh.HpPjDiff as HpPjDiff,
csdh. HpPjpSec as HpPjpSec,
csdh.StsPathWidth as StsPathWidth,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_ho_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.114 ONS15454SDH_LO_VC3_PM_FE_View
CREATE OR REPLACE VIEW ONS15454sdh_lo_vc3_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.FeLoEb as vc3FeLoEb,
csdh.FeLoBbe as vc3FeLoBbe,
csdh.FeLoEs as vc3FeLoEs,
csdh.FeLoSes as vc3FeLoSes,
csdh.FeLoUas as vc3FeLoUas,
csdh.FeLoEsr as vc3FeLoEsr,
csdh.FeLoSesr as vc3FeLoSesr,
csdh.FeLoBber as vc3FeLoBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.115 ONS15454SDH_LO_VC3_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_lo_vc3_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.LoSesr as vc3LoSesr,
csdh.LoBber as vc3LoBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.116 ONS15454SDH_LO_VC12_PM_FE_View
CREATE OR REPLACE VIEW ONS15454sdh_lo_vc12_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.FeLoEb as vc12FeLoEb,
csdh.FeLoBbe as vc12FeLoBbe,
csdh.FeLoEs as vc12FeLoEs,
csdh.FeLoSes as vc12FeLoSes,
csdh.FeLoUas as vc12FeLoUas,
csdh.FeLoEsr as vc12FeLoEsr,
csdh.FeLoSesr as vc12FeLoSesr,
csdh.FeLoBber as vc12FeLoBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.117 ONS15454SDH_LO_VC12_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_lo_vc12_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.LoSesr as vc12LoSesr,
csdh.LoBber as vc12LoBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.118 ONS15454SDH_MS_PM_FE_View
CREATE OR REPLACE VIEW ONS15454sdh_ms_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.FeMsSesr as FeMsSesr,
csdh.FeMsBber as FeMsBber,
csdh.NEDBAccessID as NEDBAccessId,
csdh.thresholdList as ThresholdList,
ONS15454sdh_ms_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.119 ONS15454SDH_MS_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_ms_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance InMaintenance,
csdh.MsPpjcPdet as MsPpjcPdet,
csdh.MsNpjcPdet as MsNpjcPdet,
csdh.MsPpjcPGen as MsPpjcPGen,
csdh.MsNpjcPGen as MsNpjcPGen,
csdh.MSPscmsPsd as MSPscmsPsd,
csdh.NEDBAccessID as NEDBAccessId,
csdh.thresholdList as ThresholdList,
ONS15454sdh_ms_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.120 ONS15454SDH_RS_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_rs_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15454sdh_rs_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.121 ONS15501_Opt_Power_PM_View
CREATE OR REPLACE VIEW ONS15501_opt_power_pm_view AS
pm.OutputOpticalSignalPower,
ONS15501_opt_power_pm_table pm,
pm.NEDBAccessID = ni.NEDBAccessID AND
2.122 ONS155xx_CDL_Flow_Config_View
CREATE OR REPLACE VIEW ONS155xx_CDL_FLOW_CONFIG_VIEW AS
neInfo.NESysID as NESYSID,
ifTable.NEIFINDEX as IFINDEX,
ONS155xx_CDL_FLOW_CONFIG cdl,
MIB2_INTERFACE_TABLE ifTable
cdl.ifdbaccessid = ifTable.ifdbaccessid and
cdl.NEDBACCESSID = neInfo.NEDBACCESSID;
2.123 ONS155xx_CDL_PM_View
CREATE OR REPLACE VIEW ONS155xx_CDL_pm_view AS
ONS155xx_cdl_pm_table pm,
pm.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pm.NEDBAccessID = ni.NEDBAccessID AND
2.124 ONS155xx_Circuit_CC_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_CC_View AS
circuit.CktSize as CktSize,
neInfo1.NESysID as SrcNodeId,
ccSrcDestModuleType.srcmoduleName as SrcModuleType,
cccircuit.CktCCSrcPhysicalLoc as SrcPhysicalLoc,
cccircuit.CktCCSrcIfIndex as SrcInterfaceId,
neInfo1.NESysID as DestNodeId,
ccSrcDestModuleType.destmoduleName DestModuleType,
cccircuit.CktCCDestPhysicalLoc as DestPhysicalLoc,
cccircuit.CktCCDestIfIndex as DestInterfaceId,
cccircuit.CktCCSrcWavelength as SrcWavelength,
cccircuit.CktCCDestWavelength as DestWavelength,
cccircuit.CktCCSrcState as SrcState,
cccircuit.CktCCDestState as DestState,
cccircuit.IsCktCCWorking as working,
cccircuit.IsCktCCActive as active,
cccircuit.CktNodeId as NodeId,
cccircuit.CktUniqueId as UniqueId,
ccLink.CktCCLinkId as LinkId,
cccircuit.rowid as myrow,
cccircuit.CktCCSrcModelType as SrcModelType,
cccircuit.CktCCSrcObjectType as SrcObjectType,
cccircuit.CktCCDestModelType as DestModelType,
cccircuit.CktCCDestObjectType as DestObjectType
ONS155xx_circuit_cc_tbl cccircuit,
ONS155xx_CKT_CC_LINK_View ccLink,
ONS155xx_CKT_CC_SRC_DEST_VIEW ccSrcDestModuleType
cccircuit.CktNodeId = circuit.CktNodeId and
cccircuit.CktUniqueId = circuit.CktUniqueId and
cccircuit.CktCCNodeID = neInfo1.NEDBAccessID and
cccircuit.CktCCDBID = ccSrcDestModuleType.cktccdbid and
cccircuit.CKTCCDBID = ccLink.CktCCDBId(+) ;
2.125 ONS155xx_Circuit_Dest_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_Dest_View AS
circuit.CktDescription as Description,
circuit.CktSize as CktSize,
circuit.CktDirection as Direction,
circuit.CktState as State,
neinfo1.NESYSID as SrcNodeId,
circuit.CktSrcModuleType as SrcModuleType,
circuit.CktSrcPhysicalLoc as SrcPhysicalLoc,
circuit.CktSrcIfIndex as SrcInterfaceId,
circuit.CktSecSrcModuleType as SecSrcModuleType,
circuit.CktSecSrcPhysicalLoc as SecSrcPhysicalLoc,
circuit.CktSecSrcIfIndex as SecSrcInterfaceId,
neinfo2.NESYSID as DestNodeId,
circuit.CktDestModuleType as DestModuleType,
circuit.CktDestPhysicalLoc as DestPhysicalLoc,
circuit.CktDestIfIndex as DestInterfaceId,
circuit.CktSrcDropProtType as SrcDropProtType,
circuit.CktDestDropProtType as DestDropProtType,
circuit.wavelength as AdditionalInfo,
circuit.CktNodeId as NodeId,
circuit.CktUniqueId as UniqueId,
circuit.CircuitNote as CircuitNote,
circuit.CktSrcModelType as SrcModelType,
circuit.CktSrcObjectType as SrcObjectType,
circuit.CktSecSrcModelType as SecSrcModelType,
circuit.CktSecSrcObjectType as SecSrcObjectType,
circuit.CktDestModelType as DestModelType,
circuit.CktDestObjectType as DestObjectType
ONS155xx_CIRCUIT_SRCDEST_VIEW circuit,
circuit.CktSrcNodeID = neinfo1.NEDBACCESSID and
circuit.CktDestNodeID = neinfo2.NEDBACCESSID;
2.126 ONS155xx_Circuit_Final_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_Final_View AS
circuit.SecSrcModuleType,
circuit.SecSrcPhysicalLoc,
circuit.SecSrcInterfaceId,
circuit.DestDropProtType,
cktLink.LinkId as SpanLinkId,
cdl.CDLXMITFLOWID as CdlTxFlowId,
cdl.CDLRCVFLOWID as CdlRxFlowId,
circuit.SecSrcObjectType,
ONS155xx_CIRCUIT_SPAN_VIEW circuit,
ONS155xx_CKT_LINK_View cktLink,
ONS155xx_CDL_FLOW_CONFIG_VIEW cdl
circuit.NodeId = cktLink.CktNodeId(+) and
circuit.UniqueId = cktLink.CktUniqueId(+) and
circuit.SrcNodeId = cdl.NESYSID (+) and
circuit.SrcModuleType = cdl.MODULETYPE (+) and
circuit.SrcPhysicalLoc = cdl.PHYSICALLOC (+) and
circuit.SrcModelType = cdl.MODELTYPE (+) and
circuit.SrcObjectType = cdl.OBJECTTYPE (+) and
circuit.SrcInterfaceId = cdl.IFINDEX (+) ;
2.127 ONS155xx_Circuit_Path_View
CREATE OR REPLACE VIEW ONS155xx_CIRCUIT_PATH_VIEW AS
circuitpath.SrcModuleType,
circuitpath.SrcPhysicalLoc,
circuitpath.SrcInterfaceId,
circuitpath.DestModuleType,
circuitpath.DestPhysicalLoc,
circuitpath.DestInterfaceId,
circuitpath.DownInterfaces,
circuitpath.DestOpticalPower,
circuitpath.PathDestPwrMonNodeID,
circuitpath.PathDestPwrMonPhysicalLoc,
circuitpath.PathDestPwrMonIfIndex,
circuitpath.PathDestPwrMonModuleType,
cktstack.LLCktPathDBID as LLPathDBID,
circuitpath.PathDBID as myrow,
circuitpath.SrcModelType,
circuitpath.SrcObjectType,
circuitpath.DestModelType,
circuitpath.DestObjectType,
circuitpath.PathDestPwrMonModelType,
circuitpath.PathDestPwrMonObjectType
ONS155xx_CKT_PATH_STACK_VIEW cktstack,
ONS155xx_CKT_PATH_FINAL_VIEW circuitpath
circuitpath.CktNodeId=cktstack.HLCktNodeId(+) and
circuitpath.CktUniqueId=cktstack.HLCktUniqueId(+) and
circuitpath.PathDBID=cktstack.HLCktPathDBID(+) ;
2.128 ONS155xx_Circuit_Segment_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_Segment_View AS
spancircuit.CktName as Name,
spancircuit.CktType as Type,
spancircuit.CktSize as CktSize,
spancircuit.CktSpanSrcNodeId as SrcNodeId,
spanModuleType.srcmoduleName as SrcModuleType,
spancircuit.CktSpanSrcPhysicalLoc as SrcPhysicalLoc,
spancircuit.CktSpanSrcIfIndex as SrcInterfaceId,
spancircuit.CktSpanDestNodeId as DestNodeId,
spanModuleType.destmoduleName DestModuleType,
spancircuit.CktSpanDestPhysicalLoc as DestPhysicalLoc,
spancircuit.CktSpanDestIfIndex as DestInterfaceId,
spancircuit.CktSpanAdditionalInfo as SrcWavelength,
spancircuit.CktSpanAdditionalInfo as DestWavelength,
spancircuit.CktSpanSrcState as SrcState,
spancircuit.CktSpanDestState as DestState,
spancircuit.IsCktSpanWorking as working,
spancircuit.IsCktSpanActive as active,
spancircuit.CktNodeId as NodeId,
spancircuit.CktUniqueId as UniqueId,
spancircuit.rowid as myrow,
spancircuit.CktSpanSrcModelType as SrcModelType,
spancircuit.CktSpanSrcObjectType as SrcObjectType,
spancircuit.CktSpanDestModelType as DestModelType,
spancircuit.CktSpanDestObjectType as DestObjectType
ONS155xx_CKT_SPAN_JOIN_View spancircuit,
ONS155xx_CKT_SPAN_MT_VIEW spanModuleType
spancircuit.cktspanid = spanModuleType.cktspanid ;
2.129 ONS155xx_Circuit_Span_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_Span_View AS
circuit.SecSrcModuleType,
circuit.SecSrcPhysicalLoc,
circuit.SecSrcInterfaceId,
circuit.DestDropProtType,
span.CktSpanSrcNodeId as SpanSrcNodeId,
span.CktSpanDestNodeId as SpanDestNodeId,
span.CktLinkId as SpanLinkId,
circuit.CircuitNote as CircuitNote,
circuit.SecSrcObjectType,
ONS155xx_CIRCUIT_DEST_VIEW circuit,
circuit.NodeId = span.CKTNODEID(+) and
circuit.UniqueId = span.CKTUNIQUEID(+) ;
2.130 ONS155xx_Circuit_SRCDEST_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_SRCDEST_VIEW AS
circuit.CktSrcModuleType,
circuit.CktSrcPhysicalLoc,
circuit.CktSecSrcModuleType,
circuit.CktSecSrcPhysicalLoc,
circuit.CktSecSrcIfIndex,
destcircuit.CktDestNodeId,
destcircuit.CktDestModuleType,
destcircuit.CktDestPhysicalLoc,
destcircuit.CktDestIfIndex,
circuit.CktSrcDropProtType,
destcircuit.CktDestDropProt,
destcircuit.CktDestDropProtType,
destcircuit.CktDestPathProt,
circuit.CktAdditionalInfo as Wavelength,
circuit.cktComment as CircuitNote,
circuit.CktSrcObjectType,
circuit.CktSecSrcModelType,
circuit.CktSecSrcObjectType,
destcircuit.CktDestModelType,
destcircuit.CktDestObjectType
circuit_dest_tbl destcircuit
circuit.CktNodeId = destcircuit.CktNodeId and
circuit.CktUniqueId = destcircuit.CktUniqueId;
2.131 ONS155xx_Circuit_Stack_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_Stack_View AS
hlcircuit.CktName as HLCktName,
hlcircuit.CktDescription as HLCktDescription,
hlcircuit.CktType as HLCktType,
hlcircuit.CktSize as HLCktSize,
llcircuit.CktName as LLCktName,
llcircuit.CktDescription as LLCktDescription,
llcircuit.CktType as LLCktType,
llcircuit.CktSize as LLCktSize,
cktstack.LLToHLCktAssocType as AssocType,
ONS155xx_CIRCUIT_STACK_TBL cktstack
cktstack.LLCKTNODEID = llcircuit.CktNodeId and
cktstack.LLCKTUNIQUEID = llcircuit.CktUniqueId and
cktstack.HLCKTNODEID = hlcircuit.CktNodeId and
cktstack.HLCKTUNIQUEID = hlcircuit.CktUniqueId ;
2.132 ONS155xx_Circuit_View
CREATE OR REPLACE VIEW ONS155xx_Circuit_View AS
circuit.SecSrcModuleType,
circuit.SecSrcPhysicalLoc,
circuit.SecSrcInterfaceId,
circuit.DestDropProtType,
cktstack.LLCktDescription,
cktstack.LLCktNodeId as LLNodeId,
cktstack.LLCktUniqueId as LLUniqueId,
circuit.UniqueId as myrow,
circuit.SecSrcObjectType,
ONS155xx_CIRCUIT_FINAL_VIEW circuit,
ONS155xx_CIRCUIT_STACK_VIEW cktstack
circuit.NodeId = cktstack.HLCKTNODEID(+) and
circuit.UniqueId = cktstack.HLCKTUNIQUEID(+) ;
2.133 ONS155xx_Ckt_CC_Dest_MT_View
CREATE OR REPLACE VIEW ONS155xx_ckt_cc_dest_mt_view AS
cct.cktccdbid as cktccdbid,
nvl(ccsrc.modulename,'System') as Modulename
mtt.modulename as modulename,
cctbl.cktccdbid as cktccdbid
from module_type_table mtt,
ONS155xx_circuit_cc_tbl cctbl,
where mtt.moduletype=cctbl.cktccdestmoduletype
and ne.nemodeltype = mtt.modeltype
and ne.nedbaccessid = cctbl.CKTCCNODEID
ONS155xx_circuit_cc_tbl cct
cct.cktccdbid=ccsrc.cktccdbid(+) ;
2.134 ONS155xx_Ckt_CC_Detailed_View
CREATE OR REPLACE VIEW ONS155xx_CKT_CC_DETAILED_View AS
gccToCktCC.GranularCCSeqNum as SeqNumber,
gcc.GccDescr as SeqDescr,
ONS155xx_CKT_CC_PATH_View ccview,
ONS155xx_GRA_CC_TO_CKT_CC_TBL gccToCktcc,
ONS155xx_GRANULAR_CC_TBL gcc
ccview.cktccdbid = gccToCktCC.CKTCROSSCONNECTDBID and
gccToCktCC.GRANULARCCDBID = gcc.GCCDBID;
2.135 ONS155xx_Ckt_CC_Link_View
CREATE OR REPLACE VIEW ONS155xx_CKT_CC_LINK_View AS
gcc.GCCAssocLinkDBID as CktCCLinkId
ONS155xx_GRA_CC_TO_CKT_CC_TBL gccToCktCC,
ONS155xx_circuit_cc_tbl cccircuit,
ONS155xx_GRANULAR_CC_TBL gcc
cccircuit.CktCCDBId = gccToCktCC.CktCrossConnectDBId and
gcc.GCCDBId = gccToCktCC.GranularCCDBId and
gcc.GCCAssocLinkType = 3;
2.136 ONS155xx_Ckt_CC_Path_View
CREATE OR REPLACE VIEW ONS155xx_CKT_CC_Path_View AS
circuit.CktSize as CktSize,
circuit.PATHNUMBER as PathNumber,
pathhop.PathHopID as PathHopNumber,
neInfo1.NESysID as SrcNodeId,
cccircuit.CktCCSrcModuleType as SrcModuleType,
cccircuit.CktCCSrcPhysicalLoc as SrcPhysicalLoc,
cccircuit.CktCCSrcIfIndex as SrcInterfaceId,
neInfo1.NESysID as DestNodeId,
cccircuit.CktCCDestModuleType as DestModuleType,
cccircuit.CktCCDestPhysicalLoc as DestPhysicalLoc,
cccircuit.CktCCDestIfIndex as DestInterfaceId,
cccircuit.CktCCSrcWavelength as SrcWavelength,
cccircuit.CktCCDestWavelength as DestWavelength,
cccircuit.CktCCSrcState as SrcState,
cccircuit.CktCCDestState as DestState,
cccircuit.IsCktCCWorking as working,
cccircuit.IsCktCCActive as active,
cccircuit.CktNodeId as NodeId,
cccircuit.CktUniqueId as UniqueId,
circuit.PathDBID as PathDBID,
ccLink.CktCCLinkID as LinkID,
cccircuit.CktCCDBID as CktCCDBID,
cccircuit.rowid as myrow,
cccircuit.CktCCSrcModelType as SrcModelType,
cccircuit.CktCCSrcObjectType as SrcObjectType,
cccircuit.CktCCDestModelType as DestModelType,
cccircuit.CktCCDestObjectType as DestObjectType
ONS155xx_CKT_PATH_JOIN_VIEW circuit,
ONS155xx_PATH_HOP_TBL pathhop,
ONS155xx_circuit_cc_tbl cccircuit,
ONS155xx_CKT_CC_LINK_View ccLink
cccircuit.CktNodeId = circuit.CktNodeId and
cccircuit.CktUniqueId = circuit.CktUniqueId and
cccircuit.CktCCNodeID = neInfo1.NEDBAccessID and
circuit.PATHDBID = pathhop.PATHDBID and
pathhop.PathHopType = 1 and
pathhop.PathHopDBID = cccircuit.CKTCCDBID and
cccircuit.CktCCDBID = ccLink.CktCCDBID(+) ;
2.137 ONS155xx_Ckt_CC_Src_Dest_View
CREATE OR REPLACE VIEW ONS155XX_CKT_CC_SRC_DEST_VIEW AS
srcview.cktccdbid as cktccdbid,
nvl(srcview.modulename,'System') as SrcModulename,
nvl(destview.modulename, 'System') as DestModulename
ONS155XX_CKT_CC_SRC_MT_VIEW srcview,
ONS155XX_CKT_CC_DEST_MT_VIEW destview
WHERE srcview.cktccdbid=destview.cktccdbid ;
2.138 ONS155xx_Ckt_CC_Src_MT_View
CREATE OR REPLACE VIEW ONS155xx_ckt_cc_src_mt_view AS
cct.cktccdbid as cktccdbid,
nvl(ccsrc.modulename,'System') as Modulename
mtt.modulename as modulename,
cctbl.cktccdbid as cktccdbid
from module_type_table mtt,
ONS155xx_circuit_cc_tbl cctbl,
where mtt.moduletype=cctbl.cktccsrcmoduletype
and ne.nemodeltype = mtt.modeltype
and ne.nedbaccessid = cctbl.CKTCCNODEID
ONS155xx_circuit_cc_tbl cct
cct.cktccdbid=ccsrc.cktccdbid(+) ;
2.139 ONS155xx_Ckt_Endpoint_View
CREATE OR REPLACE VIEW ONS155xx_CKT_ENDPOINT_VIEW AS
dest.CKTDESTNODEID as NODEID,
dest.CKTDESTPHYSICALLOC as PHYSICALLOC,
dest.CKTDESTIFINDEX as IFINDEX,
dest.CKTDESTMODULETYPE as MODULETYPE,
dest.CktDESTDROPPROTTYPE as PROTTYPE,
dest.CKTDESTMODELTYPE as MODELTYPE,
dest.CKTDESTOBJECTTYPE as OBJECTTYPE
ckt.CKTSRCNODEID as NODEID,
ckt.CKTSRCPHYSICALLOC as PHYSICALLOC,
ckt.CKTSRCIFINDEX as IFINDEX,
ckt.CKTSRCMODULETYPE as MODULETYPE,
ckt.CktSRCDROPPROTTYPE as PROTTYPE,
ckt.CKTSRCMODELTYPE as MODELTYPE,
ckt.CKTSRCOBJECTTYPE as OBJECTTYPE
ckt.CKTSRCNODEID as NODEID,
ckt.CKTSECSRCPHYSICALLOC as PHYSICALLOC,
ckt.CKTSECSRCIFINDEX as IFINDEX,
ckt.CKTSECSRCMODULETYPE as MODULETYPE,
ckt.CktSRCDROPPROTTYPE as PROTTYPE,
ckt.CKTSECSRCMODELTYPE as MODELTYPE,
ckt.CKTSECSRCOBJECTTYPE as OBJECTTYPE
ckt.CktSecSrcPhysicalLoc > 0;
2.140 ONS155xx_Ckt_Link_Final_View
CREATE OR REPLACE VIEW ONS155XX_CKT_LINK_FINAL_VIEW AS
circuit.SecSrcModuleType,
circuit.SecSrcPhysicalLoc,
circuit.SecSrcInterfaceId,
circuit.DestDropProtType,
cdl.CDLXMITFLOWID as CdlTxFlowId,
cdl.CDLRCVFLOWID as CdlRxFlowId,
cktLink.LinkId as SpanLinkId,
circuit.CircuitNote as CircuitNote,
circuit.SecSrcObjectType,
ONS155xx_CIRCUIT_DEST_VIEW circuit,
ONS155xx_CDL_FLOW_CONFIG_VIEW cdl,
ONS155xx_CKT_LINK_View cktLink
circuit.NodeId = cktLink.CktNodeId and
circuit.UniqueId = cktLink.CktUniqueId and
circuit.SrcNodeId = cdl.NESYSID (+) and
circuit.SrcModuleType = cdl.MODULETYPE (+) and
circuit.SrcPhysicalLoc = cdl.PHYSICALLOC (+) and
circuit.SrcModelType = cdl.MODELTYPE (+) and
circuit.SrcObjectType = cdl.OBJECTTYPE (+) and
circuit.SrcInterfaceId = cdl.IFINDEX (+) ;
2.141 ONS155xx_Ckt_Link_View
CREATE OR REPLACE VIEW ONS155xx_CKT_LINK_View AS
ccLink.CktCCLinkId as LinkId
ONS155xx_CKT_CC_LINK_View ccLink
2.142 ONS155xx_Ckt_NE_Final_View
CREATE OR REPLACE VIEW ONS155XX_CKT_NE_FINAL_VIEW AS
circuit.SecSrcModuleType,
circuit.SecSrcPhysicalLoc,
circuit.SecSrcInterfaceId,
circuit.DestDropProtType,
cdl.CDLXMITFLOWID as CdlTxFlowId,
cdl.CDLRCVFLOWID as CdlRxFlowId,
circuit.CircuitNote as CircuitNote,
circuit.SecSrcObjectType,
ONS155xx_CIRCUIT_SPAN_VIEW circuit,
ONS155xx_CDL_FLOW_CONFIG_VIEW cdl
circuit.SrcNodeId = cdl.NESYSID (+) and
circuit.SrcModuleType = cdl.MODULETYPE (+) and
circuit.SrcPhysicalLoc = cdl.PHYSICALLOC (+) and
circuit.SrcModelType = cdl.MODELTYPE (+) and
circuit.SrcObjectType = cdl.OBJECTTYPE (+) and
circuit.SrcInterfaceId = cdl.IFINDEX (+) ;
2.143 ONS155xx_Ckt_Opt_Pwr_View
CREATE OR REPLACE VIEW ONS155xx_CKT_OPT_PWR_VIEW AS
ONS155XX_IF_OPTICAL_POWER pwr
pwr.PwrMonDirection = 1 and
2.144 ONS155xx_Ckt_Path_Final_View
CREATE OR REPLACE VIEW ONS155xx_CKT_PATH_FINAL_VIEW AS
neinfo1.NESYSID as SrcNodeId,
neinfo2.NESYSID as DestNodeId,
pathDestPwr.PathDestOpticalPower as DestOpticalPower,
pathLink.LinkId as LinkId,
pathDestPwr.PathDestPwrMonNodeID,
pathDestPwr.PathDestPwrMonPhysicalLoc,
pathDestPwr.PathDestPwrMonIfIndex,
pathDestPwr.PathDestPwrMonModuleType,
pathDestPwr.PathDestPwrMonModelType,
pathDestPwr.PathDestPwrMonObjectType
ONS155xx_CKT_PATH_JOIN_VIEW circuit,
ONS155xx_PATH_DEST_PWR_VIEW pathDestPwr,
ONS155xx_Path_Link_View pathLink,
circuit.SrcNodeID = neinfo1.NEDBACCESSID and
circuit.DestNodeID = neinfo2.NEDBACCESSID and
circuit.PATHDBID = pathDestPwr.PATHDBID and
circuit.PATHDBID = pathLink.PATHDBID (+) ;
2.145 ONS155xx_Ckt_Path_Join_View
CREATE OR REPLACE VIEW ONS155xx_CKT_PATH_JOIN_VIEW AS
circuit.CktSize as CktSize,
cktpath.PathSeqNum as PathNumber,
path.PathSrcNodeID as SrcNodeId,
path.PathSrcModuleType as SrcModuleType,
path.PathSrcPhysicalLoc as SrcPhysicalLoc,
path.PathSrcIfIndex as SrcInterfaceId,
path.PathDestNodeID as DestNodeId,
path.PathDestModuleType as DestModuleType,
path.PathDestPhysicalLoc as DestPhysicalLoc,
path.PathDestIfIndex as DestInterfaceId,
path.PathStatus as PathStatus,
path.IsWorking as IsWorking,
path.IsActive as IsActive,
path.DownInterfaces as DownInterfaces,
circuit.CktNodeId as CktNodeId,
circuit.CktUniqueId as CktUniqueId,
path.PATHDBID as PathDBID,
path.PathSrcModelType as SrcModelType,
path.PathSrcObjectType as SrcObjectType,
path.PathDestModelType as DestModelType,
path.PathDestObjectType as DestObjectType
ONS155xx_CIRCUIT_PATH_TBL cktpath,
circuit.CktNodeId = cktpath.CktNodeId and
circuit.CktUniqueId = cktpath.CktUniqueId and
cktpath.PathDBID = path.PATHDBID ;
2.146 ONS155xx_Ckt_Path_Stack_View
CREATE OR REPLACE VIEW ONS155xx_Ckt_Path_Stack_View AS
hlcircuit.Name as HLCktName,
hlcircuit.Type as HLCktType,
hlcircuit.CktSize as HLCktSize,
hlcircuit.PathDescr as HLCktPathDescr,
llcircuit.Name as LLCktName,
llcircuit.Type as LLCktType,
llcircuit.CktSize as LLCktSize,
llcircuit.PathDescr as LLCktPathDescr,
cktstack.LLToHLCktAssocType as AssocType,
ONS155xx_CKT_PATH_JOIN_VIEW llcircuit,
ONS155xx_CKT_PATH_JOIN_VIEW hlcircuit,
ONS155xx_CIRCUIT_STACK_TBL cktstack
cktstack.LLCKTNODEID = llcircuit.CktNodeId and
cktstack.LLCKTUNIQUEID = llcircuit.CktUniqueId and
cktstack.LLCKTPATHDBID = llcircuit.PATHDBID and
cktstack.HLCKTNODEID = hlcircuit.CktNodeId and
cktstack.HLCKTUNIQUEID = hlcircuit.CktUniqueId and
cktstack.HLCKTPATHDBID = hlcircuit.PATHDBID ;
2.147 ONS155xx_Ckt_Seg_Detailed_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SEG_DETAILED_View as
segmentview.PathHopNumber,
link.LinkName as SeqDescr,
segmentview.SrcModuleType,
segmentview.SrcPhysicalLoc,
segmentview.SrcInterfaceId,
segmentview.DestModuleType,
segmentview.DestPhysicalLoc,
segmentview.DestInterfaceId,
segmentview.SrcModelType,
segmentview.SrcObjectType,
segmentview.DestModelType,
segmentview.DestObjectType
ONS155xx_CKT_Segment_PATH_View segmentview,
segmentview.LinkId = link.LinkId ;
2.148 ONS155xx_Ckt_Segment_Path_View
CREATE OR REPLACE VIEW ONS155xx_CKT_Segment_Path_View as
circuit.CktSize as CktSize,
circuit.PathNumber as PathNumber,
pathhop.PathHopId as PathHopNumber,
neinfo1.NESysID as SrcNodeId,
spancircuit.CktSpanSrcModuleType as SrcModuleType,
spancircuit.CktSpanSrcPhysicalLoc as SrcPhysicalLoc,
spancircuit.CktSpanSrcIfIndex as SrcInterfaceId,
neinfo2.NESysID as DestNodeId,
spancircuit.CktSpanDestModuleType as DestModuleType,
spancircuit.CktSpanDestPhysicalLoc as DestPhysicalLoc,
spancircuit.CktSpanDestIfIndex as DestInterfaceId,
spancircuit.CktSpanAdditionalInfo as SrcWavelength,
spancircuit.CktSpanAdditionalInfo as DestWavelength,
spancircuit.CktSpanSrcState as SrcState,
spancircuit.CktSpanDestState as DestState,
spancircuit.IsCktSpanWorking as working,
spancircuit.IsCktSpanActive as active,
spancircuit.CktNodeId as NodeId,
spancircuit.CktUniqueId as UniqueId,
circuit.PathDBID as PathDBID,
spancircuit.CktLinkId as LinkId,
spancircuit.CktSpanID as CktSpanDBID,
spancircuit.rowid as myrow,
spancircuit.CktSpanSrcModelType as SrcModelType,
spancircuit.CktSpanSrcObjectType as SrcObjectType,
spancircuit.CktSpanDestModelType as DestModelType,
spancircuit.CktSpanDestObjectType as DestObjectType
ONS155xx_CKT_PATH_JOIN_VIEW circuit,
circuit_span_tbl spancircuit,
ONS155xx_PATH_HOP_TBL pathhop
spancircuit.CktNodeId = circuit.CktNodeId and
spancircuit.CktUniqueId = circuit.CktUniqueId and
spancircuit.CktSpanSrcNodeID = neInfo1.NEDBAccessID and
spancircuit.CktSpanDestNodeId = neInfo2.NEDBAccessID and
circuit.PathDBID = pathhop.PathDBID and
pathhop.PathHopType = 2 and
pathhop.PathHopDBID = spancircuit.CktSpanID ;
2.149 ONS155xx_Ckt_Span_Dest_MT_View
CREATE OR REPLACE VIEW ONS155xx_ckt_span_dest_mt_view AS
cst.cktspandestnodeid as cktspandestnodeid,
nvl(spandest.modulename,'System') as Modulename,
cst.cktspandestphysicalloc,
cst.cktspandestmodeltype,
cst.cktspandestobjecttype
mtt.modulename as modulename,
cstbl.cktspandestphysicalloc as cktspandestphysicalloc,
cstbl.cktspandestnodeid as cktspandestnodeid,
cstbl.cktspandestmodeltype as cktspandestmodeltype,
cstbl.cktspandestobjecttype as cktspandestobjecttype
from module_type_table mtt,
where mtt.moduletype=cstbl.cktspandestmoduletype
and ne.nemodeltype = mtt.modeltype
and ne.nedbaccessid = cstbl.cktspandestnodeid
WHERE cst.cktspandestnodeid = spandest.cktspandestnodeid(+)
AND cst.cktspandestphysicalloc = spandest.cktspandestphysicalloc(+)
AND cst.cktspandestmodeltype = spandest.cktspandestmodeltype(+)
AND cst.cktspandestobjecttype = spandest.cktspandestobjecttype(+);
2.150 ONS155xx_Ckt_Span_Det_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SPAN_DET_VIEW as
ONS155xx_CKT_CC_DETAILED_View ccview
segmentview.PathHopNumber,
segmentview.SrcModuleType,
segmentview.SrcPhysicalLoc,
segmentview.SrcInterfaceId,
segmentview.DestModuleType,
segmentview.DestPhysicalLoc,
segmentview.DestInterfaceId,
segmentview.SrcModelType,
segmentview.SrcObjectType,
segmentview.DestModelType,
segmentview.DestObjectType
ONS155xx_CKT_SEG_DETAILED_View segmentview ;
2.151 ONS155xx_Ckt_Span_Join_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SPAN_JOIN_View as
neInfo1.NESysID as CktSpanSrcNodeId,
spancircuit.CktSpanSrcModuleType,
spancircuit.CktSpanSrcPhysicalLoc,
spancircuit.CktSpanSrcIfIndex,
neInfo2.NESysID as CktSpanDestNodeId,
spancircuit.CktSpanDestModuleType,
spancircuit.CktSpanDestPhysicalLoc,
spancircuit.CktSpanDestIfIndex,
spancircuit.CktSpanAdditionalInfo,
spancircuit.CktSpanSrcState,
spancircuit.CktSpanDestState,
spancircuit.IsCktSpanWorking,
spancircuit.IsCktSpanActive,
spancircuit.rowid as myrow,
spancircuit.CktSpanSrcModelType,
spancircuit.CktSpanSrcObjectType,
spancircuit.CktSpanDestModelType,
spancircuit.CktSpanDestObjectType
circuit_span_tbl spancircuit
spancircuit.CktNodeId = circuit.CktNodeId and
spancircuit.CktUniqueId = circuit.CktUniqueId and
spancircuit.CktSpanSrcNodeID = neInfo1.NEDBAccessID and
spancircuit.CktSpanDestNodeId = neInfo2.NEDBAccessID ;
2.152 ONS155xx_Ckt_Span_MT_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SPAN_MT_VIEW AS
cktspan.cktnodeid as cktnodeid,
cktspan.cktuniqueid as cktuniqueid,
cktspan.cktspanid as cktspanid,
cktspan.cktspansrcphysicalloc as srcPhysicalLoc,
nvl(srcmt.modulename,'System') as SrcModulename,
cktspan.cktspandestphysicalloc as DestPhysicalLoc,
nvl(destmt.modulename, 'System') as DestModuleName,
cktspan.cktspansrcmodeltype as srcModelType,
cktspan.cktspansrcobjecttype as srcObjectType,
cktspan.cktspandestmodeltype as DestModelType,
cktspan.cktspandestobjecttype as DestObjectType
ckttbl.cktnodeid as cktnodeid,
ckttbl.cktuniqueid as cktuniqueid,
ckttbl.cktspansrcobjecttype as objecttype,
mtt.modulename as modulename,
ckttbl.cktspansrcphysicalloc as physicalloc,
ckttbl.cktspansrcmodeltype as modeltype
from ONS155xx_module_type_view mtt,
where mtt.moduletype=ckttbl.cktspansrcmoduletype
ckttbl.cktnodeid as cktnodeid,
ckttbl.cktuniqueid as cktuniqueid,
ckttbl.cktspandestphysicalloc as physicalloc,
mtt.modulename as modulename,
ckttbl.cktspandestmodeltype as modeltype,
ckttbl.cktspandestobjecttype as objecttype
from ONS155xx_module_type_view mtt,
where mtt.moduletype=ckttbl.cktspandestmoduletype
WHERE cktspan.cktnodeid = srcmt.cktnodeid(+)
AND cktspan.cktuniqueid = srcmt.cktuniqueid(+)
AND cktspan.cktspansrcphysicalloc = srcmt.physicalloc(+)
AND cktspan.cktnodeid = destmt.cktnodeid(+)
AND cktspan.cktuniqueid = destmt.cktuniqueid (+)
AND cktspan.cktspandestphysicalloc = destmt.physicalloc(+)
AND cktspan.cktspandestmodeltype = destmt.modeltype(+)
AND cktspan.cktspandestobjecttype = destmt.objecttype(+);
2.153 ONS155xx_Ckt_Span_Src_MT_View
CREATE OR REPLACE VIEW ONS155xx_ckt_span_src_mt_view AS
cst.cktspansrcnodeid as cktspansrcnodeid,
nvl(spansrc.modulename,'System') as Modulename,
cst.cktspansrcphysicalloc,
mtt.modulename as modulename,
cstbl.cktspansrcnodeid as cktspansrcnodeid,
cstbl.cktspansrcphysicalloc as cktspansrcphysicalloc,
cstbl.cktspansrcmodeltype as cktspansrcmodeltype,
cstbl.cktspansrcobjecttype as cktspansrcobjecttype
from module_type_table mtt,
where mtt.moduletype=cstbl.cktspansrcmoduletype
and ne.nemodeltype = mtt.modeltype
and ne.nedbaccessid=cstbl.cktspansrcnodeid
WHERE cst.cktspansrcnodeid=spansrc.cktspansrcnodeid(+)
AND cst.cktspansrcphysicalloc=spansrc.cktspansrcphysicalloc(+)
AND cst.cktspansrcmodeltype=spansrc.cktspansrcmodeltype(+)
AND cst.cktspansrcobjecttype=spansrc.cktspansrcobjecttype(+) ;
2.154 ONS155xx_Ckt_Span_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SPAN_VIEW as
ONS155xx_CKT_CC_PATH_View ccview
segmentview.PathHopNumber,
segmentview.SrcModuleType,
segmentview.SrcPhysicalLoc,
segmentview.SrcInterfaceId,
segmentview.DestModuleType,
segmentview.DestPhysicalLoc,
segmentview.DestInterfaceId,
segmentview.SrcModelType,
segmentview.SrcObjectType,
segmentview.DestModelType,
segmentview.DestObjectType
ONS155xx_CKT_Segment_PATH_View segmentview ;
2.155 ONS155xx_Ckt_Src_CDL_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SRC_CDL_VIEW AS
ONS155xx_CDL_FLOW_CONFIG_VIEW cdl
circuit.CKTSRCNODEID = cdl.NEDBACCESSID and
circuit.CKTSRCMODULETYPE = cdl.MODULETYPE and
circuit.CKTSRCPHYSICALLOC = cdl.PHYSICALLOC and
circuit.CKTSRCMODELTYPE = cdl.MODELTYPE and
circuit.CKTSRCOBJECTTYPE = cdl.OBJECTTYPE and
circuit.CKTSRCIFINDEX= cdl.IFINDEX ;
2.156 ONS155xx_Ckt_SRCDEST_MT_View
CREATE OR REPLACE VIEW ONS155xx_CKT_SRCDEST_MT_VIEW AS
cktsrcdest.cktnodeid as cktnodeid,
cktsrcdest.cktuniqueid as cktuniqueid,
cktsrcdest.cktsrcphysicalloc as srcPhysicalLoc,
nvl(srcmt.modulename,'System') as SrcModulename,
cktsrcdest.cktsecsrcphysicalloc as secsrcphysicalloc,
nvl(secsrcmt.modulename, 'System') as SecSrcModuleName,
cktsrcdest.cktdestphysicalloc as DestPhysicalLoc,
nvl(destmt.modulename, 'System') as DestModuleName,
cktsrcdest.cktsrcmodeltype as srcModelType,
cktsrcdest.cktsrcobjecttype as srcObjectType,
cktsrcdest.cktsecsrcmodeltype as secsrcmodeltype,
cktsrcdest.cktsecsrcobjecttype as secsrcobjecttype,
cktsrcdest.cktdestmodeltype as DestModelType,
cktsrcdest.cktdestobjecttype as DestObjectType
ckttbl.cktnodeid as cktnodeid,
ckttbl.cktuniqueid as cktuniqueid,
ckttbl.cktsrcphysicalloc as physicalloc,
mtt.modulename as modulename,
ckttbl.cktsrcmodeltype as modeltype,
ckttbl.cktsrcobjecttype as objecttype
from ONS155xx_module_type_view mtt,
where mtt.moduletype=ckttbl.cktsrcmoduletype
ckttbl.cktnodeid as cktnodeid,
ckttbl.cktuniqueid as cktuniqueid,
ckttbl.cktsecsrcphysicalloc as physicalloc,
mtt.modulename as modulename,
ckttbl.cktsecsrcmodeltype as modeltype,
ckttbl.cktsecsrcobjecttype as objecttype
from ONS155xx_module_type_view mtt,
where mtt.moduletype=ckttbl.cktsecsrcmoduletype
ckttbl.cktnodeid as cktnodeid,
ckttbl.cktuniqueid as cktuniqueid,
ckttbl.cktdestphysicalloc as physicalloc,
mtt.modulename as modulename,
ckttbl.cktdestmodeltype as modeltype,
ckttbl.cktdestobjecttype as objecttype
from ONS155xx_module_type_view mtt,
where mtt.moduletype=ckttbl.cktdestmoduletype
ONS155xx_Circuit_SRCDEST_VIEW cktsrcdest
WHERE cktsrcdest.cktnodeid = srcmt.cktnodeid(+)
AND cktsrcdest.cktuniqueid = srcmt.cktuniqueid(+)
AND cktsrcdest.cktsrcphysicalloc = srcmt.physicalloc(+)
AND cktsrcdest.cktsrcmodeltype = srcmt.modeltype(+)
AND cktsrcdest.cktsrcmodeltype = srcmt.objecttype(+)
AND cktsrcdest.cktnodeid = secsrcmt.cktnodeid(+)
AND cktsrcdest.cktuniqueid = secsrcmt.cktuniqueid(+)
AND cktsrcdest.cktsecsrcphysicalloc = secsrcmt.physicalloc(+)
AND cktsrcdest.cktsecsrcmodeltype = secsrcmt.modeltype(+)
AND cktsrcdest.cktsecsrcobjecttype = secsrcmt.objecttype(+)
AND cktsrcdest.cktnodeid = destmt.cktnodeid(+)
AND cktsrcdest.cktuniqueid = destmt.cktuniqueid (+)
AND cktsrcdest.cktdestphysicalloc = destmt.physicalloc(+)
AND cktsrcdest.cktdestmodeltype = destmt.modeltype(+)
AND cktsrcdest.cktdestobjecttype = destmt.objecttype(+);
2.157 ONS155xx_Ckt_Stack_Final_View
CREATE OR REPLACE VIEW ONS155XX_CKT_STACK_FINAL_VIEW AS
circuit.SecSrcModuleType,
circuit.SecSrcPhysicalLoc,
circuit.SecSrcInterfaceId,
circuit.DestDropProtType,
cdl.CDLXMITFLOWID as CdlTxFlowId,
cdl.CDLRCVFLOWID as CdlRxFlowId,
cktstack.LLCktDescription,
cktstack.LLCktNodeId as LLNodeId,
cktstack.LLCktUniqueId as LLUniqueId,
circuit.CircuitNote as CircuitNote,
circuit.SecSrcObjectType,
ONS155xx_CIRCUIT_DEST_VIEW circuit,
ONS155xx_CDL_FLOW_CONFIG_VIEW cdl,
ONS155xx_CIRCUIT_STACK_VIEW cktstack
circuit.NodeId = cktstack.HLCKTNODEID and
circuit.UniqueId = cktstack.HLCKTUNIQUEID and
circuit.SrcNodeId = cdl.NESYSID (+) and
circuit.SrcModuleType = cdl.MODULETYPE (+) and
circuit.SrcPhysicalLoc = cdl.PHYSICALLOC (+) and
circuit.SrcModelType = cdl.MODELTYPE (+) and
circuit.SrcObjectType = cdl.OBJECTTYPE (+) and
circuit.SrcInterfaceId = cdl.IFINDEX (+) ;
2.158 ONS155xx_DCRP_View
CREATE OR REPLACE VIEW Ons155xx_Dcrp_View as
neInfo1.NESysId as NodeId1,
neInfo2.NESysId as NodeId2,
Ons155xx_Dcrp_Definition_Table ddt,
dt.dcrptypedbid= ddt.dcrptypedbid AND
dt.nedbaccessid1 = neInfo1.nedbaccessid (+) AND
dt.nedbaccessid2 = neInfo2.nedbaccessid (+);
2.159 ONS155xx_Discovery_Info_View
CREATE OR REPLACE VIEW ONS155xx_Discovery_Info_View AS
ONS155xx_Discovery_Info_Table disc,
ONS155xx_Discovery_Info_Table disc,
disc.NEDBAccessID = ni.NEDBAccessID ;
2.160 ONS155xx_Ether_Hist_PM_View
CREATE OR REPLACE VIEW ONS155xx_Ether_Hist_pm_view AS
ONS155xx_ETHER_HIST_pm_table pm,
pm.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pm.NEDBAccessID = ni.NEDBAccessID AND
2.161 ONS155xx_FCM_PE_PM_View
CREATE OR REPLACE VIEW ONS155xx_FCM_PE_pm_view AS
pm.PrimSeqProtocolErrors,
pm.EncodingDisparityErrors,
ONS155xx_FCM_PE_pm_table pm,
pm.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pm.NEDBAccessID = ni.NEDBAccessID AND
2.162 ONS155xx_Flash_Part_View
CREATE OR REPLACE VIEW Ons155xx_Flash_Part_View as
fpt.flashpartfilenamelen,
Ons155xx_Flash_Partition_Table fpt,
Ons155xx_Flash_Device_Table fdt,
fdt.nedbaccessid = ni.nedbaccessid AND
fpt.flashdevDbid = fdt.flashdevdbid;
2.163 ONS155xx_Inventory_View
CREATE OR REPLACE VIEW ONS155xx_INVENTORY_VIEW AS
mtbl.ModuleName as ModuleName,
eqpt.ModuleType as ModuleType,
info.NEDBAccessID = eqpt.NEDBACCESSID and info.NEModelType = mtbl.modeltype and
eqpt.moduletype = mtbl.ModuleType AND (eqpt.COL16 = 'true(1)' OR mtbl.ModuleType IN (102,
2020));
2.164 ONS155xx_Module_Type_View
CREATE OR REPLACE VIEW ONS155xx_Module_Type_view AS
mtt.moduleType as ModuleType,
mtt.moduleName as ModuleName
neinfo.nemodeltype = mtt.modeltype and
neinfo.nemodeltype in (9, 11, 12, 13);
2.165 ONS155xx_Opt_Power_PM_View
CREATE OR REPLACE VIEW ONS155xx_opt_power_pm_view AS
ONS155xx_opt_power_pm_table pm,
pm.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pm.NEDBAccessID = ni.NEDBAccessID AND
2.166 ONS155xx_Path_Ckt_Final_View
CREATE OR REPLACE VIEW ONS155XX_PATH_CKT_FINAL_VIEW AS
neinfo1.NESYSID as SrcNodeId,
neinfo2.NESYSID as DestNodeId,
pathDestPwr.PathDestOpticalPower as DestOpticalPower,
pathDestPwr.PathDestPwrMonNodeID,
pathDestPwr.PathDestPwrMonPhysicalLoc,
pathDestPwr.PathDestPwrMonIfIndex,
pathDestPwr.PathDestPwrMonModuleType,
pathDestPwr.PathDestPwrMonModelType,
pathDestPwr.PathDestPwrMonObjectType
ONS155xx_CKT_PATH_JOIN_VIEW circuit,
ONS155xx_PATH_DEST_PWR_VIEW pathDestPwr,
circuit.SrcNodeID = neinfo1.NEDBACCESSID and
circuit.DestNodeID = neinfo2.NEDBACCESSID and
circuit.PATHDBID = pathDestPwr.PATHDBID ;
2.167 ONS155xx_Path_Dest_Pwr_View
CREATE OR REPLACE VIEW ONS155xx_PATH_DEST_PWR_VIEW AS
path1.PathDestOpticalPower,
path1.PathDestPwrMonNodeID,
path1.PathDestPwrMonPhysicalLoc,
path1.PathDestPwrMonIfIndex,
path1.PathDestPwrMonModuleType,
path1.PathDestPwrMonModelType,
path1.PathDestPwrMonObjectType
ONS155xx_PATH_PWR_NO_MON_VIEW path1
path2.PathDestOpticalPower,
path2.PathDestPwrMonNodeID,
path2.PathDestPwrMonPhysicalLoc,
path2.PathDestPwrMonIfIndex,
path2.PathDestPwrMonModuleType,
path2.PathDestPwrMonModelType,
path2.PathDestPwrMonObjectType
ONS155xx_PATH_PWR_NO_AVA_VIEW path2
path3.PathDestOpticalPower,
path3.PathDestPwrMonNodeID,
path3.PathDestPwrMonPhysicalLoc,
path3.PathDestPwrMonIfIndex,
path3.PathDestPwrMonModuleType,
path3.PathDestPwrMonModelType,
path3.PathDestPwrMonObjectType
ONS155xx_PATH_PWR_MONITOR_VIEW path3 ;
2.168 ONS155xx_Path_Link_Final_View
CREATE OR REPLACE VIEW ONS155XX_PATH_LINK_FINAL_VIEW AS
neinfo1.NESYSID as SrcNodeId,
neinfo2.NESYSID as DestNodeId,
pathDestPwr.PathDestOpticalPower as DestOpticalPower,
pathLink.LinkId as LinkId,
pathDestPwr.PathDestPwrMonNodeID,
pathDestPwr.PathDestPwrMonPhysicalLoc,
pathDestPwr.PathDestPwrMonIfIndex,
pathDestPwr.PathDestPwrMonModuleType,
pathDestPwr.PathDestPwrMonModelType,
pathDestPwr.PathDestPwrMonObjectType
ONS155xx_CKT_PATH_JOIN_VIEW circuit,
ONS155xx_PATH_DEST_PWR_VIEW pathDestPwr,
ONS155xx_Path_Link_View pathLink,
circuit.SrcNodeID = neinfo1.NEDBACCESSID and
circuit.DestNodeID = neinfo2.NEDBACCESSID and
circuit.PATHDBID = pathDestPwr.PATHDBID and
circuit.PATHDBID = pathLink.PATHDBID ;
2.169 ONS155xx_Path_Link_View
CREATE OR REPLACE VIEW ONS155xx_Path_Link_View as
ccLink.CktCCLinkId as LinkId
ONS155xx_PATH_HOP_TBL pathhop,
ONS155xx_CKT_CC_LINK_View ccLink
pathhop.PathHopType = 1 and
pathhop.PathHopDBID = ccLink.CKTCCDBID
ONS155xx_PATH_HOP_TBL pathhop
pathhop.PathHopType = 2 and
pathhop.PathHopDBID = span.CktSpanID ;
2.170 ONS155xx_Path_Pwr_Monitor_View
CREATE OR REPLACE VIEW ONS155xx_PATH_PWR_MONITOR_VIEW AS
path.PathDestPhysicalLoc,
nvl(pwr.OpticalPower, 'NotAvailable') as PathDestOpticalPower,
path.PathDestPwrMonNodeID,
path.PathDestPwrMonPhysicalLoc,
path.PathDestPwrMonIfIndex,
path.PathDestPwrMonModuleType,
path.PathDestPwrMonModelType,
path.PathDestPwrMonObjectType
ONS155xx_CKT_OPT_PWR_VIEW pwr
path.PathDestPwrMonNodeID != -1 and
path.PathDestPwrMonNodeID = pwr.NEDBACCESSID(+) and
path.PathDestPwrMonPhysicalLoc = pwr.PwrSrcPhysicalLoc(+) and
path.PathDestPwrMonModelType = pwr.PwrSrcModelType(+) and
path.PathDestPwrMonObjectType = pwr.PwrSrcObjectType(+) and
path.PathDestPwrMonIfIndex = pwr.PwrSrcIfIndex(+) and
path.PathDestPwrMonModuleType = pwr.PwrSrcModuleType(+) ;
2.171 ONS155xx_Path_Pwr_No_Ava_View
CREATE OR REPLACE VIEW ONS155xx_PATH_PWR_NO_AVA_VIEW AS
'NotAvailable' as PathDestOpticalPower,
path.PathDestPwrMonNodeID,
path.PathDestPwrMonPhysicalLoc,
path.PathDestPwrMonIfIndex,
path.PathDestPwrMonModuleType,
path.PathDestPwrMonModelType,
path.PathDestPwrMonObjectType
path.PathDestPwrMonNodeID = -1;
2.172 ONS155xx_Path_Pwr_No_Mon_View
CREATE OR REPLACE VIEW ONS155xx_PATH_PWR_NO_MON_VIEW AS
'NotMonitored' as PathDestOpticalPower,
path.PathDestPwrMonNodeID,
path.PathDestPwrMonPhysicalLoc,
path.PathDestPwrMonIfIndex,
path.PathDestPwrMonModuleType,
path.PathDestPwrMonModelType,
path.PathDestPwrMonObjectType
path.PathStatus in (1,2) and
path.PathDestPwrMonNodeID = -1;
2.173 ONS155xx_Path_Stack_Final_View
CREATE OR REPLACE VIEW ONS155xx_PATH_STACK_FINAL_VIEW AS
circuitpath.SrcModuleType,
circuitpath.SrcPhysicalLoc,
circuitpath.SrcInterfaceId,
circuitpath.DestModuleType,
circuitpath.DestPhysicalLoc,
circuitpath.DestInterfaceId,
circuitpath.DownInterfaces,
circuitpath.DestOpticalPower,
circuitpath.PathDestPwrMonNodeID,
circuitpath.PathDestPwrMonPhysicalLoc,
circuitpath.PathDestPwrMonIfIndex,
circuitpath.PathDestPwrMonModuleType,
cktstack.LLCktPathDBID as LLPathDBID,
circuitpath.PathDBID as myrow,
circuitpath.SrcModelType,
circuitpath.SrcObjectType,
circuitpath.DestModelType,
circuitpath.DestObjectType,
circuitpath.PathDestPwrMonModelType,
circuitpath.PathDestPwrMonObjectType
ONS155xx_CKT_PATH_STACK_VIEW cktstack,
ONS155XX_PATH_CKT_FINAL_VIEW circuitpath
circuitpath.CktNodeId=cktstack.HLCktNodeId and
circuitpath.CktUniqueId=cktstack.HLCktUniqueId and
circuitpath.PathDBID=cktstack.HLCktPathDBID ;
2.174 ONS155xx_Phy_PM_View
CREATE OR REPLACE VIEW ONS155xx_phy_pm_view AS
pm.TxEncapFarEndPktErrors,
ONS155xx_phy_pm_table pm,
pm.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pm.NEDBAccessID = ni.NEDBAccessID AND
2.175 ONS155xx_SONET_Section_PM_View
CREATE OR REPLACE VIEW ONS155xx_sonet_section_pm_view AS
ONS155xx_sonet_sec_pm_table pm,
pm.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pm.NEDBAccessID = ni.NEDBAccessID AND
2.176 ONS155xx_TCA_PM_View
CREATE OR REPLACE VIEW ONS155xx_tca_pm_view AS
aa.NEDBAccessID = ni.NEDBAccessID AND
( aa.ActiveAlarmType BETWEEN 9975 AND 9999 OR
aa.ActiveAlarmType BETWEEN 14500 AND 14610 OR
aa.ActiveAlarmType BETWEEN 14701 AND 15000) ;
2.177 ONS15600_ENET_PM_View
CREATE OR REPLACE VIEW ONS15600_enet_pm_view AS
enet.Dot3StatsAlignmentErrors,
enet.Dot3StatsFrameTooLong,
enet.EtherStatsUndersizePkts,
enet.EtherStatsFragments,
enet.EtherStatsPkts64Octets,
enet.EtherStatsPkts65to127Octets,
enet.EtherStatsPkts128to255Octets,
enet.EtherStatsPkts256to511Octets,
enet.EtherStatsPkts512to1023Octets,
enet.EtherStatsPkts1024to1518Octets,
enet.EtherStatsBroadcastPkts,
enet.EtherStatsMulticastPkts,
enet.EtherStatsOversizePkts,
enet.EtherStatsDropEvents,
enet.Dot3StatsInternalMacRxErrors,
enet.Dot3StatsInternalMacTxErrors,
enet.Dot3StatsSymbolErrors,
enet.RxEtherUtilizationStats,
enet.TxEtherUtilizationStats,
enet.thresholdList as ThresholdList,
ons15600_enet_pm_table enet,
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID;
2.178 ONS15600_POS_PM_View
CREATE OR REPLACE VIEW ONS15600_pos_pm_view AS
GETPMPARAMETERVALUE(pos.hdlcInOctets,pos.GfpStatsRxOctets) as Rx_Octets,
GETPMPARAMETERVALUE(pos.hdlcOutOctets,pos.GfpStatsTxOctets) as Tx_Octets,
GETPMPARAMETERVALUE(pos.rxTotalPackets,pos.GfpStatsRxFrame) as Rx_Packets,
GETPMPARAMETERVALUE(pos.txTotalPackets,pos.GfpStatsTxFrame) as Tx_Packets,
GETPMPARAMETERVALUE(pos.MediaIndStatsRxFramesBadCRC, pos.GfpStatsRxCRCErrors) as
Rx_CRC_Errors,
pos.hdlcRxAborts as Rx_Input_Abort_Packets,
pos.GfpStatsRxMbitErrors as Rx_Multi_Bit_Errors,
pos.GfpStatsRxSBitErrors as Rx_Single_Bit_Errors,
pos.GfpStatsRxTypeInvalid as Rx_Type_Invalid,
pos.RxPktsDroppedInernalCongestion as Rx_Input_Drop_Packets,
pos.MediaIndStatsRxShortPkts as Rx_Shorts,
pos.MediaIndStatsRxFramesTruncated as Rx_Runts,
pos.MediaIndStatsRxFramesTooLong as Rx_Longs,
pos.RxEtherUtilizationStats as Rx_Utilization_Stats,
pos.TxEtherUtilizationStats as Tx_Utilization_Stats,
pos.thresholdList as ThresholdList,
ons15600_pos_pm_table pos,
pos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pos.NEDBAccessID = ni.NEDBAccessID;
2.179 ONS15600_SONET_Line_FE_PM_View
CREATE OR REPLACE VIEW ons15600_sonet_line_fe_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPMStatus as NEIfPMStatus,
csonet.inMaintenance as InMaintenance,
csonet.CodeViolationsFE as CodeViolationsFE,
csonet.ErrSecsFE as ErrSecsFE,
csonet.SevErrSecsFE as SevErrSecsFE,
csonet.UnavailableSecsFE as UnavailableSecsFE,
csonet.NEDBAccessID as NEDBAccessId,
csonet.thresholdList as ThresholdList,
ONS15600_Sonet_Line_PM_Table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.180 ONS15600_SONET_Line_PM_View
CREATE OR REPLACE VIEW ons15600_sonet_line_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPMStatus as NEIfPMStatus,
csonet.inMaintenance as InMaintenance,
csonet.CodeViolations as CodeViolations,
csonet.ErrSecs as ErrSecs,
csonet.SevErrSecs as SevErrSecs,
csonet.UnavailableSecs as UnavailSecs,
csonet.PpjcPdet as PpjcPdet,
csonet.NpjcPdet as NpjcPdet,
csonet.PpjcPgen as PpjcPgen,
csonet.NpjcPgen as NpjcPgen,
csonet.NEDBAccessID as NEDBAccessId,
csonet.thresholdList as ThresholdList,
ONS15600_Sonet_Line_PM_Table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.181 ONS15600_SONET_Path_FE_PM_View
CREATE OR REPLACE VIEW ons15600_sonet_path_fe_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPmStatus as NEIfPmStatus,
csonet.inMaintenance as InMaintenance,
csonet.SonetPathCodeViolationsFE as SonetPathCodeViolationsFE,
csonet.SonetPathErrSecsFE as SonetPathErrSecsFE,
csonet.SonetPathSevErrSecsFE as SonetPathSevErrSecsFE,
csonet.SonetPathUnavailableSecsFE as SonetPathUnavailableSecsFE,
csonet.SonetPathFCFE as SonetPathFCFE,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15600_Sonet_Path_PM_Table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.182 ONS15600_SONET_Path_PM_View
CREATE OR REPLACE VIEW ons15600_sonet_path_pm_view AS
en.ModuleName as ModuleName,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPMStatus as NEIfPmStatus,
csonet.inMaintenance as InMaintenance,
csonet.SonetPathCodeViolations as CodeViolations,
csonet.SonetPathErrSecs as ErrSecs,
csonet.SonetPathSevErrSecs SevErrSecs,
csonet.SonetPathUnavailableSecs as LineUnavailSecs,
csonet.SonetPathFC as SonetPathFC,
csonet.PpjcPdet as PpjcPdet,
csonet.NpjcPdet as NpjcPdet,
csonet.PpjcPgen as PpjcPgen,
csonet.NpjcPgen as NpjcPgen,
csonet.StsPathWidth as StsPathWidth,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15600_Sonet_Path_PM_Table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID
2.183 ONS15600_SONET_Sec_PM_View
CREATE OR REPLACE VIEW ons15600_sonet_sec_pm_view AS
en.ModuleName as ModuleName,
csonet.PhysicalLoc as PhysicalLoc,
csonet.NEIfIndex as NEIfIndex,
csonet.TimeStamp as TimeStamp,
csonet.NEIfPMStatus as NEIfPMStatus,
csonet.inMaintenance as InMaintenance,
csonet.SevErrFrameSecs as ErrFrameSecs,
csonet.CodeViolations as CodeViolations,
csonet.ErrSecs as ErrSecs,
csonet.SevErrSecs as SevErrSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ONS15600_Sonet_Sec_PM_Table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.184 ONS15600SDH_HO_PM_FE_View
CREATE OR REPLACE VIEW ONS15600sdh_ho_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.FeHpSesr as FeHpSesr,
csdh.FeHpBber as FeHpBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15600sdh_ho_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.185 ONS15600SDH_HO_PM_View
CREATE OR REPLACE VIEW ONS15600sdh_ho_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.HpPjpOut as HpPjpOut,
csdh.HpPjnOut as HpPjnOut,
csdh.StsPathWidth as StsPathWidth,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15600sdh_ho_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.186 ONS15600SDH_MS_PM_FE_View
CREATE OR REPLACE VIEW ONS15600sdh_ms_pm_fe_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.NEDBAccessID as NEDBAccessId,
csdh.thresholdList as ThresholdList,
ONS15600sdh_ms_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.187 ONS15600SDH_MS_PM_View
CREATE OR REPLACE VIEW ONS15600sdh_ms_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance InMaintenance,
csdh.NEDBAccessID as NEDBAccessId,
csdh.thresholdList as ThresholdList,
ONS15600sdh_ms_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.188 ONS15600SDH_RS_PM_View
CREATE OR REPLACE VIEW ONS15600sdh_rs_pm_view AS
en.ModuleName as ModuleName,
csdh.NEIfIndex as NEIfIndex,
csdh.TimeStamp as TimeStamp,
csdh.NEIfPmStatus as NEIfPmStatus,
csdh.InMaintenance as InMaintenance,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ONS15600sdh_rs_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.189 ONS158xx_ADA_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_ada_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.190 ONS158xx_ADA_PM_View
CREATE OR REPLACE VIEW ons158xx_ada_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.191 ONS158xx_AIU_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_aiu_24h_pm_view AS
ons158xx_ioc_w_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.192 ONS158xx_AIU_PM_View
CREATE OR REPLACE VIEW ons158xx_aiu_pm_view AS
ons158xx_ioc_w_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.193 ONS158xx_All_Ampl_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_all_ampl_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.194 ONS158xx_All_Ampl_ELH_PM_View
CREATE OR REPLACE VIEW ons158xx_all_ampl_elh_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.195 ONS158xx_All_Ampl_PM_View
CREATE OR REPLACE VIEW ons158xx_all_ampl_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.196 ONS158xx_All_Mux_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_all_mux_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.197 ONS158xx_All_Mux_PM_View
CREATE OR REPLACE VIEW ons158xx_all_mux_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.198 ONS158xx_All_Tran_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_all_tran_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.199 ONS158xx_All_Tran_PM_View
CREATE OR REPLACE VIEW ons158xx_all_tran_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.200 ONS158xx_All_WD_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_all_wd_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.201 ONS158xx_All_WD_PM_View
CREATE OR REPLACE VIEW ons158xx_all_wd_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.202 ONS158xx_Ampl_ELH_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_ampl_elh_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.203 ONS158xx_Amplifier_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_amplifier_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.204 ONS158xx_Amplifier_PM_View
CREATE OR REPLACE VIEW ons158xx_amplifier_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.205 ONS158xx_B1_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_b1_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.206 ONS158xx_B1_FEC_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_b1_fec_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.207 ONS158xx_B1_FEC_PM_View
CREATE OR REPLACE VIEW ons158xx_b1_fec_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.208 ONS158xx_B1_PM_View
CREATE OR REPLACE VIEW ons158xx_b1_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.209 ONS158xx_BBA_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_bba_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.210 ONS158xx_BBA_PM_View
CREATE OR REPLACE VIEW ons158xx_bba_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.211 ONS158xx_BCS_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_bcs_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.212 ONS158xx_BCS_PM_View
CREATE OR REPLACE VIEW ons158xx_bcs_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.213 ONS158xx_BT_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_bt_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.214 ONS158xx_BT_PM_View
CREATE OR REPLACE VIEW ons158xx_bt_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.215 ONS158xx_CMP_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_cmp_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.216 ONS158xx_CMP_PM_View
CREATE OR REPLACE VIEW ons158xx_cmp_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.217 ONS158xx_Demux_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_demux_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.218 ONS158xx_Demux_PM_View
CREATE OR REPLACE VIEW ons158xx_demux_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.219 ONS158xx_Eth_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_eth_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.220 ONS158xx_Eth_PM_View
CREATE OR REPLACE VIEW ons158xx_eth_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.221 ONS158xx_FEC_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_fec_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.222 ONS158xx_FEC_PM_View
CREATE OR REPLACE VIEW ons158xx_fec_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.223 ONS158xx_Inventory_View
CREATE OR REPLACE VIEW ONS158XX_inventory_view as
eit.Col22 as AlarmLogSize,
eit.Col23 as AlarmLogStatus,
ne.NEDbaccessid=np.NEDBAccessID;
2.224 ONS158xx_IOC_Card_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_ioc_card_24h_pm_view AS
ons158xx_ioc_w_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.225 ONS158xx_IOC_Card_PM_View
CREATE OR REPLACE VIEW ons158xx_ioc_card_pm_view AS
ons158xx_ioc_w_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.226 ONS158xx_IRBA_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_irba_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.227 ONS158xx_IRBA_PM_View
CREATE OR REPLACE VIEW ons158xx_irba_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.228 ONS158xx_LAC_Active_Users_View
CREATE OR REPLACE VIEW ONS158xx_LAC_ACTIVE_USERS_VIEW AS
ONS158XX_LAC_ACTIVE_USER_Table pi,
ONS158XX_LAC_PROFILE_Table pc
pl.NEDBAccessID = pi.NEDBAccessId and
pi.UserProfile = pc.Profile;
2.229 ONS158xx_LAC_Log_Status_View
CREATE OR REPLACE VIEW ONS158xx_LAC_LOG_STATUS_VIEW AS
ONS158XX_LAC_LOG_STATUS_Table pi
pl.NEDBAccessID = pi.NEDBACCESSID;
2.230 ONS158xx_LAC_Log_View
CREATE OR REPLACE VIEW ONS158xx_LAC_LOG_VIEW AS
ONS158XX_LAC_LOG_Table pi,
ONS158xx_LAC_PROFILE_Table pc
pl.NEDBAccessID = pi.NEDBAccessId and
pi.UserProfile = pc.Profile;
2.231 ONS158xx_LAC_Profile_View
CREATE OR REPLACE VIEW ONS158xx_LAC_PROFILE_VIEW AS
ONS158XX_LAC_PROFILE_Table pi;
2.232 ONS158xx_LAC_Users_View
CREATE OR REPLACE VIEW ONS158xx_LAC_USERS_VIEW AS
ONS158XX_LAC_USER_Table pi,
ONS158XX_LAC_PROFILE_Table pc
pl.NEDBAccessID = pi.NEDBAccessId and
pi.UserProfile = pc.Profile;
2.233 ONS158xx_LEM_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_lem_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.234 ONS158xx_LEM_B1_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_lem_b1_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.235 ONS158xx_LEM_B1_PM_View
CREATE OR REPLACE VIEW ons158xx_lem_b1_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.236 ONS158xx_LEM_FEC_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_lem_fec_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.237 ONS158xx_LEM_FEC_PM_View
CREATE OR REPLACE VIEW ons158xx_lem_fec_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.238 ONS158xx_LEM_PM_View
CREATE OR REPLACE VIEW ons158xx_lem_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.239 ONS158xx_LSM_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_lsm_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.240 ONS158xx_LSM_PM_View
CREATE OR REPLACE VIEW ons158xx_lsm_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.241 ONS158xx_LT_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_lt_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.242 ONS158xx_LT_PM_View
CREATE OR REPLACE VIEW ons158xx_lt_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.243 ONS158xx_Mux_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_mux_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.244 ONS158xx_Mux_PM_View
CREATE OR REPLACE VIEW ons158xx_mux_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.245 ONS158xx_OA_ELH_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oa_elh_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.246 ONS158xx_OA_ELH_PM_View
CREATE OR REPLACE VIEW ons158xx_oa_elh_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.247 ONS158xx_OAD_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oad_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.248 ONS158xx_OAD_PM_View
CREATE OR REPLACE VIEW ons158xx_oad_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.249 ONS158xx_OADM_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oadm_24h_pm_view AS
ons158xx_oadm_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.250 ONS158xx_OADM_PM_View
CREATE OR REPLACE VIEW ons158xx_oadm_pm_view AS
ons158xx_oadm_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.251 ONS158xx_OBA_C_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oba_c_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.252 ONS158xx_OBA_C_PM_View
CREATE OR REPLACE VIEW ons158xx_oba_c_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.253 ONS158xx_OCP_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_ocp_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.254 ONS158xx_OCP_PM_View
CREATE OR REPLACE VIEW ons158xx_ocp_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.255 ONS158xx_OECP_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oecp_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.256 ONS158xx_OECP_PM_View
CREATE OR REPLACE VIEW ons158xx_oecp_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.257 ONS158xx_OEP_C_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oep_c_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.258 ONS158xx_OEP_C_PM_View
CREATE OR REPLACE VIEW ons158xx_oep_c_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.259 ONS158xx_OP_ELH_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_op_elh_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.260 ONS158xx_OP_ELH_PM_View
CREATE OR REPLACE VIEW ons158xx_op_elh_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.261 ONS158xx_OPA_C_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_opa_c_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.262 ONS158xx_OPA_C_PM_View
CREATE OR REPLACE VIEW ons158xx_opa_c_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.263 ONS158xx_ORP_ELH_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_orp_elh_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.264 ONS158xx_ORP_ELH_PM_View
CREATE OR REPLACE VIEW ons158xx_orp_elh_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.265 ONS158xx_OSCM_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_oscm_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.266 ONS158xx_OSCM_PM_View
CREATE OR REPLACE VIEW ons158xx_oscm_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.267 ONS158xx_OSU_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_osu_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.268 ONS158xx_OSU_PM_View
CREATE OR REPLACE VIEW ons158xx_osu_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.269 ONS158xx_PM_Module_View
CREATE OR REPLACE VIEW ons158xx_pm_module_view AS
mtt.ModuleName as ModuleName,
eit.PhysicalLoc as PhysicalLoc,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
eit.col5 not like 'OOS_MT_MTCE%' AND
2.270 ONS158xx_PRE_L_IR_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_pre_l_ir_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.271 ONS158xx_PRE_L_IR_PM_View
CREATE OR REPLACE VIEW ons158xx_pre_l_ir_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.272 ONS158xx_PREL_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_prel_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.273 ONS158xx_PREL_PM_View
CREATE OR REPLACE VIEW ons158xx_prel_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.274 ONS158xx_RBA_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_rba_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.275 ONS158xx_RBA_PM_View
CREATE OR REPLACE VIEW ons158xx_rba_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.276 ONS158xx_RT_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_rt_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.277 ONS158xx_RT_PM_View
CREATE OR REPLACE VIEW ons158xx_rt_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.278 ONS158xx_RXT_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_rxt_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.279 ONS158xx_RXT_B1_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_rxt_b1_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.280 ONS158xx_RXT_B1_PM_View
CREATE OR REPLACE VIEW ons158xx_rxt_b1_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.281 ONS158xx_RXT_FEC_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_rxt_fec_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.282 ONS158xx_RXT_FEC_PM_View
CREATE OR REPLACE VIEW ons158xx_rxt_fec_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.283 ONS158xx_RXT_PM_View
CREATE OR REPLACE VIEW ons158xx_rxt_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.284 ONS158xx_SCF_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_scf_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.285 ONS158xx_SCF_PM_View
CREATE OR REPLACE VIEW ons158xx_scf_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.286 ONS158xx_SCU_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_scu_24h_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.287 ONS158xx_SCU_PM_View
CREATE OR REPLACE VIEW ons158xx_scu_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.288 ONS158xx_Simple_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_simple_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.289 ONS158xx_Simple_PM_View
CREATE OR REPLACE VIEW ons158xx_simple_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.290 ONS158xx_TPA_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_tpa_24h_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.291 ONS158xx_TPA_PM_View
CREATE OR REPLACE VIEW ons158xx_tpa_pm_view AS
ons158xx_amplifier_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.292 ONS158xx_Trans_B1_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_trans_b1_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.293 ONS158xx_Trans_B1_PM_View
CREATE OR REPLACE VIEW ons158xx_trans_b1_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.294 ONS158xx_Trans_FEC_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_trans_fec_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.295 ONS158xx_Transp_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_transp_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.296 ONS158xx_Transp_FEC_PM_View
CREATE OR REPLACE VIEW ons158xx_transp_fec_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.297 ONS158xx_Transponder_PM_View
CREATE OR REPLACE VIEW ons158xx_transponder_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.298 ONS158xx_TT_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_tt_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.299 ONS158xx_TT_PM_View
CREATE OR REPLACE VIEW ons158xx_tt_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.300 ONS158xx_WCM_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_wcm_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.301 ONS158xx_WCM_B1_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_wcm_b1_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.302 ONS158xx_WCM_B1_PM_View
CREATE OR REPLACE VIEW ons158xx_wcm_b1_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.303 ONS158xx_WCM_FEC_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_wcm_fec_24h_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.304 ONS158xx_WCM_FEC_PM_View
CREATE OR REPLACE VIEW ons158xx_wcm_fec_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.305 ONS158xx_WCM_PM_View
CREATE OR REPLACE VIEW ons158xx_wcm_pm_view AS
ons158xx_transponder_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.306 ONS158xx_WD_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_wd_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.307 ONS158xx_WD_PM_View
CREATE OR REPLACE VIEW ons158xx_wd_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.308 ONS158xx_WD_Rx_24h_PM_View
CREATE OR REPLACE VIEW ons158xx_wd_rx_24h_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.309 ONS158xx_WD_Rx_PM_View
CREATE OR REPLACE VIEW ons158xx_wd_rx_pm_view AS
ons158xx_wd_rx_pm_table pi
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.310 OSS_Alarm_Fltr_AidDeny_View
CREATE OR REPLACE VIEW OSS_Alarm_Fltr_AidDeny_VIEW as
alarmfltrtbl.AlarmFilterId,
alarmfltrtbl.RowId AS myrow
OSS_Alarm_Fltr_AID_Deny_Tbl alarmfltrtbl,
OSS_AID_ENUM_TABLE alarmenum
alarmfltrtbl.AidId = alarmenum.AIDId;
2.311 OSS_Alarm_Fltr_TidDeny_View
CREATE OR REPLACE VIEW OSS_Alarm_Fltr_TidDeny_VIEW as
alarmfltrtbl.AlarmFilterId,
alarmfltrtbl.ROWID AS MYROW
OSS_Alarm_Fltr_TID_Deny_Tbl alarmfltrtbl,
alarmfltrtbl.NEDBAccessID = neInfo.NEDBAccessID;
2.312 OSS_CORBA_User_View
CREATE OR REPLACE VIEW OSS_Corba_User_View as
corbaUserTable.IPAddress,
corbaUserTable.OSSPasswd,
corbaUserTable.ROWID AS MYROW
OSS_CORBA_USER_TABLE corbaUserTable;
2.313 OSS_User_View
CREATE OR REPLACE VIEW OSS_User_View as
userTable.ListenerModeFlag,
userTable.ActUserDenyFlag,
userTable.AlarmFilterFlag,
OSS_ALARM_FILTER_TABLE filterTable,
filterTable.AlarmFilterId = userTable.AlarmFilterId;
2.314 Pirelli_Inventory_View
CREATE OR REPLACE VIEW pirelli_inventory_view AS
mtt.ModuleName as ModuleName,
eit.PhysicalLoc as PhysicalLoc.
eit.Col1 as SoftwareVersion,
eit.Col3 as BoardSerialNo,
eit.Col247 as ProductOption,
eit.Col248 as HardwareVersion,
eit.Col249 as LineDirection,
mtt.ModuleType as ModuleType,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
ne.NEModelType in (4,6,10) AND
2.315 PM_Metadata_View
CREATE OR REPLACE VIEW PM_METADATA_VIEW AS
2.316 QOS_View
CREATE OR REPLACE VIEW QOS_VIEW AS
eqpt.NEDBACCESSID as NEID,
getSlot(eqpt.PHYSICALLOC) as SLOT,
getPort(eqpt.PHYSICALLOC) as PORTNUM,
getBGFromQoSObj(eqpt.IFINDEX) as BG,
eqpt.COL11 as CCOSTRANSMIT
eqpt.OBJECTINDEX = 180 AND (getPolicyMapType(eqpt.IFINDEX) = 3 OR
getPolicyMapType(eqpt.IFINDEX) = 5);
2.317 QoSTemplate_General_View
CREATE OR REPLACE VIEW QOSTEMPLATE_GENERAL_VIEW AS
QOSTEMPLATENAME as TNAME,
QOSTEMPLATETYPE as TTYPE,
QOSTEMPLATEDESCRIPTION as TDESC
2.318 Roll_View
CREATE OR REPLACE VIEW Roll_View AS
(select CktName from circuit_tbl where cktnodeid = r.rollfromcktnodeid and
cktuniqueid=r.rollfromcktuniqueid) as rollFromCkt,
(select CktName from circuit_tbl where cktnodeid = r.rolltocktnodeid and
cktuniqueid=r.rolltocktuniqueid) as rollToCkt,
r.rollstate as rollState,
r.rollvalidsignal as rollValidSignal,
(select nesysid from ne_info_table where nenodeid=r.rollpathnodeid and
r.rollpathnodeid !=0 ) as PathNodeId,
nvl(getSlotModuleName(r.rollpathnodeid, r.rollpathmoduletype),'SYSTEM') as
rollPathModuleType,
r.rollpathphysicalloc as rollPathPhySicalLoc,
r.rollpathifindex as rollPathIfIndex,
(select nesysid from ne_info_table where nenodeid=r.rollfromnodeid and
r.rollfromnodeid !=0 ) as FromNodeId,
nvl(getSlotModuleName(r.rollfromnodeid, r.rollfrommoduletype),'SYSTEM') as
rollFromModuleType,
r.rollfromphysicalloc as rollFromPhySicalLoc,
r.rollfromifindex as rollFromIfIndex,
(select nesysid from ne_info_table where nenodeid=r.rolltonodeid and
r.rolltonodeid !=0 ) as ToNodeId,
nvl(getSlotModuleName(r.rolltonodeid, r.rolltomoduletype),'SYSTEM') as
rollToModuleType,
r.rollTophysicalloc as rollToPhySicalLoc,
r.rollToifindex as rollToIfIndex,
r.Connectionindex as connectionIndex,
r.canBeCompleted as canBeCompleted,
r.canBeFinished as canBeFinished,
r.canBeCancelled as canBeCancelled,
r.rollPathModelType as rollPathModelType,
r.rollpathobjectindex as rollPathObjectIndex,
r.rollFromModelType as rollFromModelType,
r.rollfromobjectindex as rollfromobjectindex,
r.rollToModelType as rollToModelType,
r.rolltoobjectindex as rollToObjectindex,
nvl(getPortModuleName(r.rollpathnodeid, r.rollpathmoduletype),'SYSTEM') as
rollPathPortModuleType,
nvl(getPortModuleName(r.rollfromnodeid, r.rollfrommoduletype),'SYSTEM') as
rollFromPortModuleType,
nvl(getPortModuleName(r.rolltonodeid, r.rolltomoduletype),'SYSTEM') as
rollToPortModuleType,
2.319 SDH_HO_FarEnd_PM_View
CREATE OR REPLACE VIEW Sdh_Ho_FarEnd_pm_view AS
ho454sdh.fehpeb as FEHPEB,
ho454sdh.fehpes as FEHPES,
ho454sdh.fehpses as FEHPSES,
ho454sdh.fehpuas as FEHPUAS,
to_number('-1') as FEHPFC,
ho454sdh.fehpbbe as FEHPBBE,
ho454sdh.fehpesr as FEHPESR,
ho454sdh.fehpsesr as FEHPSESR,
ho454sdh.fehpbber as FEHPBBER,
ho454sdh.thresholdList as ThresholdList,
FROM ONS15454SDH_HO_PM_TABLE ho454sdh,
ho454sdh.Nedbaccessid = ne.nedbaccessid AND
ho454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
ho600sdh.fehpeb as FEHPEB,
ho600sdh.fehpes as FEHPES,
ho600sdh.fehpses as FEHPSES,
ho600sdh.fehpuas as FEHPUAS,
ho600sdh.fehpfc as FEHPFC,
ho600sdh.fehpbbe as FEHPBBE,
ho600sdh.fehpesr as FEHPESR,
ho600sdh.fehpsesr as FEHPSESR,
ho600sdh.fehpbber as FEHPBBER,
ho600sdh.thresholdList as ThresholdList,
ONS15600SDH_HO_PM_TABLE ho600sdh,
ho600sdh.Nedbaccessid = ne.nedbaccessid AND
ho600sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.320 SDH_HO_NearEnd_PM_View
CREATE OR REPLACE VIEW Sdh_Ho_NearEnd_pm_view AS
decode(ho454sdh.ModuleType,'',ms454sdh.ModuleType,ho454sdh.ModuleType) as
ModuleType,
decode(ho454sdh.TimeStamp,'',ms454sdh.timestamp,ho454sdh.Timestamp) as Timestamp,
GETPMPARAMETERVALUE(ho454sdh.hpppjcpdet,ms454sdh.msppjcpdet) as PPJC_PDET,
GETPMPARAMETERVALUE(ho454sdh.hpnpjcpdet,ms454sdh.msnpjcpdet) as NPJC_PDET,
GETPMPARAMETERVALUE(ho454sdh.hpppjcpgen,ms454sdh.msppjcpgen) as PPJC_PGEN,
GETPMPARAMETERVALUE(ho454sdh.hpnpjcpgen,ms454sdh.msnpjcpgen) as NPJC_PGEN,
ho454sdh.hppjdiff as PJ_DIFF,
ho454sdh.hppjpsec as PJP_SEC,
ho454sdh.hppjnsec as PJN_SEC,
ho454sdh.hpsesr as HPSESR,
ho454sdh.hpbber as HPBBER,
ho454sdh.thresholdList as ThresholdList,
ONS15454SDH_HO_PM_TABLE ho454sdh,
ONS15454SDH_MS_PM_TABLE ms454sdh,
(ho454sdh.Nedbaccessid = ne.nedbaccessid and ho454sdh.ModuleType = en.ModuleType )
and (ms454sdh.Nedbaccessid(+) = ho454sdh.nedbaccessid and
ms454sdh.moduletype(+) = ho454sdh.ModuleType and
ms454sdh.timestamp(+) = ho454sdh.Timestamp and
ms454sdh.physicalloc(+) = ho454sdh.physicalloc and
ms454sdh.IS24H(+) = ho454sdh.IS24H ) and
ne.nemodeltype = en.modeltype
ho600sdh.hppjpin as PPJC_PDET,
ho600sdh.hppjnin as NPJC_PDET,
ho600sdh.hppjpout as PPJC_PGEN,
ho600sdh.hppjnout as NPJC_PGEN,
to_number('-1') as PJ_DIFF,
to_number('-1') as PJP_SEC,
to_number('-1') as PJN_SEC,
ho600sdh.hpsesr as HPSESR,
ho600sdh.hpbber as HPBBER,
ho600sdh.thresholdList as ThresholdList,
FROM ONS15600SDH_HO_PM_TABLE ho600sdh,
ho600sdh.Nedbaccessid = ne.nedbaccessid AND
ho600sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.321 SDH_MS_FarEnd_PM_View
CREATE OR REPLACE VIEW Sdh_Ms_FarEnd_pm_view AS
ms454sdh.femseb as FEMSEB,
ms454sdh.femses as FEMSES,
ms454sdh.femsses as FEMSSES,
ms454sdh.femsuas as FEMSUAS,
to_number('-1') as FEMSFC,
ms454sdh.femsbbe as FEMSBBE,
ms454sdh.femsesr as FEMSESR,
ms454sdh.femssesr as FEMSSESR,
ms454sdh.femsbber as FEMSBBER,
ms454sdh.thresholdList as ThresholdList,
FROM ONS15454SDH_MS_PM_TABLE ms454sdh,
ms454sdh.Nedbaccessid = ne.nedbaccessid AND
ms454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
ms600sdh.femseb as FEMSEB,
ms600sdh.femses as FEMSES,
ms600sdh.femsses as FEMSSES,
ms600sdh.femsuas as FEMSUAS,
ms600sdh.femsfc as FEMSFC,
ms600sdh.femsbbe as FEMSBBE,
to_number('-1') as FEMSESR,
to_number('-1') as FEMSSESR,
to_number('-1') as FEMSBBER,
ms600sdh.thresholdList as ThresholdList,
FROM ONS15600SDH_MS_PM_TABLE ms600sdh,
ms600sdh.Nedbaccessid = ne.nedbaccessid AND
ms600sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.322 SDH_MS_NearEnd_PM_View
CREATE OR REPLACE VIEW Sdh_Ms_NearEnd_pm_view AS
ms454sdh.mspscw as MSPSCW,
ms454sdh.mspsdw as MSPSDW,
ms454sdh.mspscs as MSPSCS,
ms454sdh.mspsds as MSPSDS,
ms454sdh.mspscr as MSPSCR,
ms454sdh.mspsdr as MSPSDR,
ms454sdh.mssesr as MSSESR,
ms454sdh.msbber as MSBBER,
ms454sdh.thresholdList as ThresholdList,
FROM ONS15454SDH_MS_PM_TABLE ms454sdh,
ms454sdh.Nedbaccessid = ne.nedbaccessid AND
ms454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
ms600sdh.mspscw as MSPSCW,
ms600sdh.mspsdw as MSPSDW,
ms600sdh.mspscs as MSPSCS,
ms600sdh.mspsds as MSPSDS,
ms600sdh.mspscr as MSPSCR,
ms600sdh.mspsdr as MSPSDR,
to_number('-1') as MSESR,
to_number('-1') as MSSESR,
to_number('-1') as MSBBER,
ms600sdh.thresholdList as ThresholdList,
FROM ONS15600SDH_MS_PM_TABLE ms600sdh,
ms600sdh.Nedbaccessid = ne.nedbaccessid AND
ms600sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.323 SDH_RS_NearEnd_PM_View
CREATE OR REPLACE VIEW Sdh_Rs_NearEnd_pm_view AS
rs454sdh.rssefs as RSSEFS,
rs454sdh.rssesr as RSSESR,
rs454sdh.rsbber as RSBBER,
rs454sdh.thresholdList as ThresholdList,
FROM ONS15454SDH_RS_PM_TABLE rs454sdh,
rs454sdh.Nedbaccessid = ne.nedbaccessid AND
rs454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
rs600sdh.rssefs as RSSEFS,
to_number('-1') as RSESR,
to_number('-1') as RSSESR,
to_number('-1') as RSBBER,
rs600sdh.thresholdList as ThresholdList,
FROM ONS15600SDH_RS_PM_TABLE rs600sdh,
rs600sdh.Nedbaccessid = ne.nedbaccessid AND
rs600sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.324 Self_Monitoring_View
CREATE OR REPLACE VIEW Self_Monitoring_view AS
SERVER_PARAMETER_TABLE sp,
sp.ParameterIndex=sm.ParameterIndex
and sm.nedbaccessid=ne.nedbaccessid
SERVER_PARAMETER_TABLE sp,
sp.ParameterIndex=sm.ParameterIndex and sm.nedbaccessid=pn.nedbaccessid
SERVER_PARAMETER_TABLE sp
sp.ParameterIndex=sm.ParameterIndex and sm.nedbaccessid=0;
2.325 SONET_ENET_PM_View
CREATE OR REPLACE VIEW SONET_ENET_PM_VIEW AS
decode(en.Moduletype,102,to_char(enet.TxPackets), 103,to_char(enet.TxPackets),
118,to_char(enet.TxPackets), 119,to_char(enet.TxPackets),
181,to_char(enet.TxPackets), 182,to_char(enet.TxPackets),
183,to_char(enet.TxPackets), 184,to_char(enet.TxPackets),
get_enet_value2(enet.IfOutUcastPkts,enet.IfOutMulticastPkts,enet.IfOutBroadcastPkts)
enet.Dot3StatsAlignmentErrors,
enet.Dot3StatsSingleCollisionFrames,
enet.Dot3StatsMultiCollisionFrames,
enet.Dot3StatsDeferredTransmissions,
enet.Dot3StatsLateCollisions,
enet.Dot3StatsExcessiveCollisions,
enet.EtherStatsUndersizePkts,
enet.EtherStatsFragments,
enet.EtherStatsOversizePkts,
decode(en.Moduletype,102, to_char(enet.RxTotalErrors),
103, to_char(enet.RxTotalErrors),
118, to_char(enet.RxTotalErrors),
119, to_char(enet.RxTotalErrors),
62, to_char(enet.RxTotalErrors),
get_enet_value2(enet.Dot3StatsFCSErrors,enet.Dot3StatsAlignmentErrors,enet.EtherStatsUnder
SizePKTS, enet.ETHERSTATSOVERSIZEPKTS,enet.ETHERSTATSFRAGMENTS,enet.ETHERSTATSJABBERS)
decode(en.Moduletype, 102, enet.RxRunts, 103, enet.RxRunts,
118, enet.RxRunts, 119, enet.RxRunts, 62, enet.RxRunts,
enet.RxGIANTS as rx_giants,
decode(en.Moduletype, 102, enet.TxCollisions, 103, enet.TxCollisions,
118, enet.TxCollisions, 119, enet.TxCollisions,
get_enet_value(enet.Dot3StatsSingleCollisionFrames,enet.Dot3StatsMultiCollisionFrames)
enet.RxPktsDropInternalCongestion,
enet.TxPktsDropInternalCongestion,
enet.EtherUtilizationStats,
enet.RxThresholdOversizes,
enet.RXUnknownOpCodeFrames,
enet.IfInFramingErrorPkts,
enet.Dot3StatsFrameTooLong,
enet.Dot3StatsCarrierSenseErrors,
enet.Dot3StatsSQETestErrors,
enet.EtherStatsPkts64Octets,
enet.EtherStatsPkts65to127Octets,
enet.EtherStatsPkts128to255Octets,
enet.EtherStatsPkts256to511Octets,
enet.EtherStatsPkts512to1023Octets,
enet.EtherStatsPkts1024to1518Octets,
enet.EtherStatsBroadcastPkts,
enet.EtherStatsMulticastPkts,
enet.EtherStatsCollisions,
enet.EtherStatsCollisionFrames,
enet.EtherStatsCRCAlignErrors,
enet.MediaIndStatsRxFramesTruncated,
enet.MediaIndStatsRxFramesTooLong,
enet.MediaIndStatsRxFramesBadCRC,
enet.MediaIndStatsTxFramesBadCRC,
enet.MediaIndStatsRxShortPkts,
enet.MediaIndStatsOversizeDropped,
enet.Dot3StatsInternalMacTxErrors,
enet.Dot3StatsInternalMacRxErrors,
enet.Dot3StatsSymbolErrors,
enet.RxEtherUtilizationStats,
enet.TxEtherUtilizationStats,
enet.StatsLineLastClearedTime,
enet.MEDIAINDSTATSTXFRAMESTOOLONG,
ons15454_enet_pm_table enet,
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID
enet.thresholdList as ThresholdList,
to_number('-1') as RXPACKETS,
to_char(-1) as TXPACKETS,
enet.Dot3StatsAlignmentErrors,
to_number('-1') as DOT3STATSSINGLECOLLISIONFRAMES,
to_number('-1') as DOT3STATSMULTICOLLISIONFRAMES,
to_number('-1') as DOT3STATSDEFERREDTRANSMISSIONS,
to_number('-1') as DOT3STATSLATECOLLISIONS,
to_number('-1') as DOT3STATSEXCESSIVECOLLISIONS,
enet.EtherStatsUndersizePkts,
enet.EtherStatsFragments,
enet.EtherStatsOversizePkts,
to_char(-1) as RX_TOTAL_ERRORS,
to_number('-1') as RX_RUNTS,
to_number('-1') as RX_GIANTS,
to_number('-1') as TX_COLLISIONS,
to_number('-1') as RXPKTSDROPINTERNALCONGESTION,
to_number('-1') as TXPKTSDROPINTERNALCONGESTION,
to_number('-1') as ETHERUTILIZATIONSTATS,
to_number('-1') as RXGMACDROPCOUNTS,
to_number('-1') as RXTHRESHOLDOVERSIZES,
enet.EtherStatsDropEvents,
to_number('-1') as TXGIANTS,
to_number('-1') as HDLCPKTDROPS,
to_number('-1') as RXCONTROLFRAMES,
to_number('-1') as RXUNKNOWNOPCODEFRAMES,
to_number('-1') as IFINERRORBYTEPKTS,
to_number('-1') as IFINFRAMINGERRORPKTS,
to_number('-1') as IFINJUNKINTERPKTS,
enet.Dot3StatsFrameTooLong,
to_number('-1') as DOT3STATSCARRIERSENSEERRORS,
to_number('-1') as DOT3STATSSQETESTERRORS,
enet.EtherStatsPkts64Octets,
enet.EtherStatsPkts65to127Octets,
enet.EtherStatsPkts128to255Octets,
enet.EtherStatsPkts256to511Octets,
enet.EtherStatsPkts512to1023Octets,
enet.EtherStatsPkts1024to1518Octets,
enet.EtherStatsBroadcastPkts,
enet.EtherStatsMulticastPkts,
to_number('-1') as ETHERSTATSCOLLISIONS,
to_number('-1') as ETHERSTATSCOLLISIONFRAMES,
to_number('-1') as ETHERSTATSCRCALIGNERRORS,
to_number('-1') as MEDIAINDSTATSRXFRAMESTRUNCATED,
to_number('-1') as MEDIAINDSTATSRXFRAMESTOOLONG,
to_number('-1') as MEDIAINDSTATSRXFRAMESBADCRC,
to_number('-1') as MEDIAINDSTATSTXFRAMESBADCRC,
to_number('-1') as MEDIAINDSTATSRXSHORTPKTS,
to_number('-1') as MEDIAINDSTATSOVERSIZEDROPPED,
enet.Dot3StatsInternalMacTxErrors,
enet.Dot3StatsInternalMacRxErrors,
enet.Dot3StatsSymbolErrors,
enet.RxEtherUtilizationStats,
enet.TxEtherUtilizationStats,
to_Date('') as STATSLINELASTCLEAREDTIME,
to_number('-1') as MEDIAINDSTATSTXFRAMESTOOLONG,
ons15600_enet_pm_table enet,
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID;
2.326 SONET_Line_FarEnd_PM_View
CREATE OR REPLACE VIEW Sonet_Line_FarEnd_pm_view AS
line454.fecodeviolations as CV_LFE,
line454.feerrsecs as ES_LFE,
line454.feseverrsecs as SES_LFE,
line454.feunavailablesecs as UAS_LFE,
line454.thresholdList as ThresholdList,
line454.InvalidityList as InvalidityList,
FROM ONS15454_SONET_LINE_PM_TABLE line454,
line454.Nedbaccessid = ne.nedbaccessid AND
line454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
line600.codeviolationsfe as CV_LFE,
line600.errsecsfe as ES_LFE,
line600.severrsecsfe as SES_LFE,
line600.unavailablesecsfe as UAS_LFE,
line600.thresholdList as ThresholdList,
line600.InvalidityList as InvalidityList,
FROM ONS15600_SONET_LINE_PM_TABLE line600,
line600.Nedbaccessid = ne.nedbaccessid AND
line600.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.327 SONET_Line_NearEnd_PM_View
CREATE OR REPLACE VIEW Sonet_Line_NearEnd_pm_view AS
line454.codeviolations as CV_L,
line454.severrsecs as SES_L,
line454.unavailablesecs as UAS_L,
line454.PpjcPdet as PpjcPdet,
line454.NpjcPdet as NpjcPdet,
line454.PpjcPgen as PpjcPgen,
line454.NpjcPgen as NpjcPgen,
line454.PjDiff as PjDiff,
line454.PjpSec as PjpSec,
line454.PjnSec as PjnSec,
line454.thresholdList as ThresholdList,
line454.InvalidityList as InvalidityList,
FROM ONS15454_SONET_LINE_PM_TABLE line454,
line454.Nedbaccessid = ne.nedbaccessid AND
line454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
line600.codeviolations as CV_L,
line600.severrsecs as SES_L,
line600.unavailablesecs as UAS_L,
line600.PpjcPdet as PpjcPdet,
line600.NpjcPdet as NpjcPdet,
line600.PpjcPgen as PpjcPgen,
line600.NpjcPgen as NpjcPgen,
line600.PjDiff as PjDiff,
line600.PjpSec as PjpSec,
line600.PjnSec as PjnSec,
line600.thresholdList as ThresholdList,
line600.InvalidityList as InvalidityList,
FROM ONS15600_SONET_LINE_PM_TABLE line600,
line600.Nedbaccessid = ne.nedbaccessid AND
line600.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.328 SONET_Physical_PM_View
CREATE OR REPLACE VIEW SONET_PHYSICAL_PM_VIEW AS
en.ModuleName as MODULENAME,
phy.PhysicalLoc as PHYSICALLOC,
phy.NEIfIndex as NEIFINDEX,
phy.TimeStamp as TIMESTAMP,
phy.NEIfPMStatus as NEIFPMSTATUS,
phy.inMaintenance as INMAINTENANCE,
phy.OpticalPowerTransmitted,
phy.OpticalPowerReceived,
phy.MinLaserBias as MINLASERBIAS,
phy.AvgLaserBias as AVGLASERBIAS,
phy.MaxLaserBias as MAXLASERBIAS,
phy.MinLaserTemp as MINLASERTEMP,
phy.AvgLaserTemp as AVGLASERTEMP,
phy.MaxLaserTemp as MAXLASERTEMP,
phy.MinReceivedLaserTemp as MINRECEIVEDLASERTEMP,
phy.AvgReceivedLaserTemp as AVGRECEIVEDLASERTEMP,
phy.MaxReceivedLaserTemp as MAXRECEIVEDLASERTEMP,
phy.MinTransReceiverVoltage as MINTRANSRECEIVERVOLTAGE,
phy.AvgTransReceiverVoltage as AVGTRANSRECEIVERVOLTAGE,
phy.MaxTransReceiverVoltage as MAXTRANSRECEIVERVOLTAGE,
phy.MinTransmittedPower as MINTRANSMITTEDPOWER,
phy.AvgTransmittedPower as AVGTRANSMITTEDPOWER,
phy.MaxTransmittedPower as MAXTRANSMITTEDPOWER,
phy.MinReceivedPower as MINRECEIVEDPOWER,
phy.AvgReceivedPower as AVGRECEIVEDPOWER,
phy.MaxReceivedPower as MAXRECEIVEDPOWER,
phy.MinPassThroughPower as MINPASSTHROUGHPOWER,
phy.AvgPassThroughPower as AVGPASSTHROUGHPOWER,
phy.MaxPassThroughPower as MAXPASSTHROUGHPOWER,
ni.NEDbaccessid as NEDBACCESSID,
phy.thresholdList as ThresholdList,
en.ModuleType as MODULETYPE,
phy.InvalidityList as InvalidityList,
ONS15454_PHY_LAYER_PM_Table phy,
phy.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
phy.NEDBAccessID = ni.NEDBAccessID;
2.329 SONET_POS_PM_View
CREATE OR REPLACE VIEW SONET_POS_PM_VIEW AS
pos.PosStatsRxPreHdlcBytes,
pos.PosStatsRxPostHdlcBytes,
pos.PosStatsRxNormalPackets,
pos.PosStatsRxTotalErrors,
pos.PosStatsRxInputDropPackets,
pos.PosStatsRxInputAbortPackets,
pos.PosStatsTxPreHdlcBytes,
pos.PosStatsTxPostHdlcBytes,
pos.EtherStatsDropEvents,
pos.GfpStatsRxSBitErrors,
pos.GfpStatsRxMBitErrors,
pos.GfpStatsRxTypeInvalid,
pos.GfpStatsRxCIDInvalid,
pos.MediaIndStatsRxFramesTruncated,
pos.MediaIndStatsRxFramesTooLong,
pos.MediaIndStatsRxFramesBadCRC,
pos.MediaIndStatsRxShortPkts,
pos.rxPktsDropInternalCongestion,
pos.RxEtherUtilizationStats as Rx_Utilization_Stats,
pos.TxEtherUtilizationStats as Tx_Utilization_Stats,
pos.StatsLineLastClearedTime,
ons15454_pos_pm_table pos,
pos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pos.NEDBAccessID = ni.NEDBAccessID
to_number('-1') as PosStatsRxPreHdlcBytes,
to_number('-1') as PosStatsRxPostHdlcBytes,
to_number('-1') as PosStatsRxNormalPackets,
to_number('-1') as PosStatsRxShorts,
to_number('-1') as PosStatsRxRunts,
to_number('-1') as PosStatsRxLongs,
to_number('-1') as PosStatsRxTotalErrors,
to_number('-1') as PosStatsRxCrcErrors,
to_number('-1') as PosStatsRxInputDropPackets,
to_number('-1') as PosStatsRxInputAbortPackets,
to_number('-1') as PosStatsTxPreHdlcBytes,
to_number('-1') as PosStatsTxPostHdlcBytes,
to_number('-1') as PosStatsDropCounts,
to_number('-1') as EtherStatsDropEvents,
pos.GfpStatsRxSBitErrors,
pos.GfpStatsRxMBitErrors,
pos.GfpStatsRxTypeInvalid,
to_number('-1') as GfpStatsRxCIDInvalid,
to_number('-1') as GfpStatsCSFRaised,
to_number('-1') as GfpStatsLFDRaised,
pos.MediaIndStatsRxFramesTruncated,
pos.MediaIndStatsRxFramesTooLong,
pos.MediaIndStatsRxFramesBadCRC,
pos.MediaIndStatsRxShortPkts,
to_number('-1') as ifInOctets,
to_number('-1') as ifOutOctets,
pos.RXPKTSDROPPEDINERNALCONGESTION,
pos.RxEtherUtilizationStats as Rx_Utilization_Stats,
pos.TxEtherUtilizationStats as Tx_Utilization_Stats,
to_number('-1') as ifInDiscards,
to_Date('') as StatsLineLastClearedTime,
pos.thresholdList as ThresholdList,
ons15600_pos_pm_table pos,
pos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pos.NEDBAccessID = ni.NEDBAccessID;
2.330 SONET_Section_NearEnd_PM_View
CREATE OR REPLACE VIEW Sonet_Section_NearEnd_pm_view AS
sec454.severrframesecs as SEFS_S,
sec454.codeviolations as CV_S,
sec454.severrsecs as SES_S,
sec454.thresholdList as ThresholdList,
sec454.InvalidityList as InvalidityList,
FROM ONS15454_SONET_SEC_PM_TABLE sec454,
sec454.Nedbaccessid = ne.nedbaccessid AND
sec454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
sec600.severrframesecs as SEFS_S,
sec600.codeviolations as CV_S,
sec600.severrsecs as SES_S,
sec600.thresholdList as ThresholdList,
sec600.InvalidityList as InvalidityList,
FROM ONS15600_SONET_SEC_PM_TABLE sec600,
sec600.Nedbaccessid = ne.nedbaccessid AND
sec600.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.331 SONET_STSPath_FarEnd_PM_View
CREATE OR REPLACE VIEW Sonet_STSPATH_FarEnd_pm_view AS
path454.fesonetpathcodeviolations as CV_PFE,
path454.fesonetpatherrsecs as ES_PFE,
path454.fesonetpathseverrsecs as SES_PFE,
path454.fesonetpathunavailablesecs as UAS_PFE,
path454.fesonetpathfc as FC_PFE,
path454.thresholdList as ThresholdList,
path454.InvalidityList as InvalidityList,
FROM ONS15454_SONET_PATH_PM_TABLE path454,
path454.Nedbaccessid = ne.nedbaccessid AND
path454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype
path600.sonetpathcodeviolationsfe as CV_PFE,
path600.sonetpatherrsecsfe as ES_PFE,
path600.sonetpathseverrsecsfe as SES_PFE,
path600.sonetpathunavailablesecsfe as UAS_PFE,
path600.sonetpathfcfe as FC_PFE,
path600.thresholdList as ThresholdList,
path600.InvalidityList as InvalidityList,
FROM ONS15600_SONET_PATH_PM_TABLE path600,
path600.Nedbaccessid = ne.nedbaccessid AND
path600.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.332 SONET_STSPath_NearEnd_PM_View
CREATE OR REPLACE VIEW Sonet_STSPATH_NearEnd_pm_view AS
decode(path454.ModuleType,'',line454.ModuleType, path454.ModuleType) as ModuleType,
path454.Physicalloc, path454.NEIfIndex,
decode(path454.TimeStamp,'',line454.timestamp, path454.Timestamp) as Timestamp,
path454.sonetpathcodeviolations as CV_P,
path454.sonetpatherrsecs as ES_P,
path454.sonetpathseverrsecs as SES_P,
path454.sonetpathunavailablesecs as UAS_P,
path454.sonetpathfc as FC_P,
GETPMPARAMETERVALUE(path454.ppjcpdet,line454.ppjcpdet) as PPJC_PDET,
GETPMPARAMETERVALUE(path454.npjcpdet,line454.npjcpdet) as NPJC_PDET,
GETPMPARAMETERVALUE(path454.ppjcpgen,line454.ppjcpgen) as PPJC_PGEN,
GETPMPARAMETERVALUE(path454.npjcpgen,line454.npjcpgen) as NPJC_PGEN,
GETPMPARAMETERVALUE(path454.pjdiff,line454.pjdiff) as PJ_DIFF,
GETPMPARAMETERVALUE(path454.pjpsec,line454.pjpsec) as PJP_SEC,
GETPMPARAMETERVALUE(path454.pjnsec,line454.pjnsec) as PJN_SEC,
mergedinvaliditylist(line454.pjnsec,line454.ThresholdList,path454.ThresholdList) as
ThresholdList,
mergedinvaliditylist(line454.pjnsec,line454.invaliditylist,path454.invaliditylist)
as InvalidityList,
FROM ONS15454_SONET_PATH_PM_TABLE path454,
ONS15454_SONET_LINE_PM_TABLE line454,
(path454.Nedbaccessid = ne.nedbaccessid and
path454.ModuleType = en.ModuleType ) and
(line454.Nedbaccessid(+) = path454.nedbaccessid and
line454.moduletype(+) =path454.ModuleType and
line454.timestamp(+) = path454.Timestamp and
line454.physicalloc(+) = path454.physicalloc and
line454.IS24H(+) = path454.IS24H ) and
ne.nemodeltype = en.modeltype
path600.sonetpathcodeviolations as CV_P,
path600.sonetpatherrsecs as ES_P,
path600.sonetpathseverrsecs as SES_P,
path600.sonetpathunavailablesecs as UAS_P,
path600.sonetpathfc as FC_P,
path600.ppjcpdet as PPJC_PDET,
path600.npjcpdet as NPJC_PDET,
path600.ppjcpgen as PPJC_PGEN,
path600.npjcpgen as NPJC_PGEN,
path600.pjdiff as PJ_DIFF,
path600.pjpsec as PJP_SEC,
path600.pjnsec as PJN_SEC,
path600.StsPathWidth as StsPathWidth,
path600.thresholdList as ThresholdList,
path600.InvalidityList as InvalidityList,
FROM ONS15600_SONET_PATH_PM_TABLE path600,
path600.Nedbaccessid = ne.nedbaccessid AND
path600.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.333 SW_Active_Alarm_View
CREATE OR REPLACE VIEW SW_Active_Alarm_View as
aa.ActiveAlarmAdditionalInfo,
ALARM_EVENT_TYPE_ENUM_TABLE en
aa.NEDBAccessID = ni.NEDBAccessID AND
aa.ModuleOrIfIndex= if.ifStaticIndex AND
aa.ActiveAlarmType = en.EnumIndex ;
2.334 Sway_User_Topo_E1_View
CREATE OR REPLACE VIEW sway_user_topo_e1_view as
n.NECLLICode as NELocation,
n.NEDBAccessID as NEDBAccessID,
es.SdhConfigE1AdminState as AdminState,
and p.NEPortIfIndex = i.ifstaticindex
and n.NEDBAccessID = p.NEDBAccessID
and p.NEPortIfIndex = es.SdhConfigE1Index
and p.NEDBAccessID = es.NEDBAccessID
and es.NEConfigGeneration = 0;
2.335 TL1_Active_Alarm_View
CREATE OR REPLACE VIEW tl1_active_alarm_view AS
TO_CHAR(aa.ActiveAlarmTimeStamp, 'MM/DD/YYYY HH24:MI:SS') AS ActiveAlarmTimeStamp,
TO_CHAR(aa.PhysicalLoc) AS PhysicalLoc,
alarm_event_type_enum_table en,
aa.ActiveAlarmSeverity > 4 AND
aa.ModuleType = eq.ModuleType AND
ni.NEModelType = eq.ModelType AND
aa.NEDBAccessID = ni.NEDBAccessID AND
aa.ActiveAlarmType = en.EnumIndex AND
2.336 TL1_NE_View
CREATE OR REPLACE VIEW TL1_NE_View as
(select GNESysID from GNE_Table where GNEID=ni.GNEID) as GNESysID,
ni.NESubnetworkID = si.SubnetID;
2.337 Topology_Circuit_View
CREATE OR REPLACE VIEW Topology_Circuit_View AS
c.CktDirection as Direction,
(select nesysid from ne_info_table where nenodeid=c.cktsrcnodeid and
c.cktsrcnodeid !=0 ) as SrcNodeid,
nvl(getModulename1(c.cktsrcnodeid, c.CktSrcModuleType),'SYSTEM') as
SrcModuleType,
c.CktSrcPhysicalLoc as SrcPhysicalLoc,
c.CktSrcModelType as SrcModelType,
c.CktSrcIfIndex as SrcInterfaceId,
nvl(getModulename1(c.cktsecsrcnodeid, c.CktSecSrcModuleType),'SYSTEM') as
SecSrcModuleType,
c.CktSecSrcPhysicalLoc as SecSrcPhysicalLoc,
c.CktSecSrcModelType as CktSecSrcModelType,
c.CktSecSrcIfIndex as SecSrcInterfaceId,
c.cktDestNodename as destnodename,
c.CktDestPhysicalLoc as DestPhysicalLoc,
c.CktDestModelType as CktDestModelType,
c.CktDestIfIndex as DestInterfaceId,
c.CktIsMonitor as Ismonitor,
c.CktSrcDropProt as SrcDropProt,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
dest.cktdestnodeid as DestNodeId,
spantbl.CktSpanSrcNodeId,
spantbl.CktSpanDestNodeId,
dest.CktDestPathProt as DestPathProtection,
c.cktSrcPortName as CktSrcPortName,
c.cktSecSrcPortName as CktSecSrcPortName,
c.cktDestPortName as CktDestPortName,
c.cktSecSrcNodeId as CktSecSrcNodeId,
c.customerId as CktCusiomerId,
c.serviceId as CktServiceId,
l2topo.TopoDescription as TopoDescription,
l2topo.AlarmSeverity as TopoAlarmSeverity,
l2topo.TopoStatus as TopoStatus,
l2topo.TopoProtection as TopoProtection,
l2topo.TopoOperStatus as TopoOprStatus,
l2topo.TOPORESYNCSTATUS as TopoResyncStatus,
l2topo.COS_SP_MANAGEMENT,
l2topo.COS_AVVID_VOICEVIDEO,
L2Topology_Circuits_Table l2circuits,
l2topo.TopoNodeID = l2circuits.TopoNodeID(+) AND
l2topo.TopoUniqueId = l2circuits.TopoUniqueId(+) AND
l2circuits.NodeId = c.CktNodeId AND
l2circuits.UniqueId = c.CktUniqueId and
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
c.CktNodeId = spantbl.CktNodeId(+) and
c.CktUniqueId = spantbl.CktUniqueId(+) and
2.338 Topology_GUI_View
CREATE OR REPLACE VIEW Topology_GUI_View AS
l2Topology.Topology_Name as Name,
l2Topology.TopoNodeID as TopoNodeID,
l2Topology.TopoUniqueId as TopoUniqueID,
l2Topology.TopoType as TopoType,
l2Topology.TopoSize as TopoSize,
l2Topology.TopoDescription as Description,
l2Topology.AlarmSeverity as Severity,
l2Topology.TopoStatus as TopoStatus,
l2Topology.TopoProtection as Protection,
l2Topology.TopoOperStatus as OprStatus,
l2Topology.TOPORESYNCSTATUS as ResyncStatus,
l2Topology.rowId as myrow,
l2Topology.BW_SP_Management,
l2Topology.BW_Best_Effort
l2Topology.BW_AVVID_CONTROL,
l2Topology.COS_SP_MANAGEMENT,
l2Topology.COS_COMMITTED,
l2Topology.COS_AVVID_VOICEVIDEO,
l2Topology.COS_AVVID_CONTROL
L2Topology_Table l2Topology,
L2Topology_Circuits_Table l2circuits,
l2Topology.TopoNodeID = l2circuits.TopoNodeID AND
l2Topology.TopoUniqueId = l2circuits.TopoUniqueId AND
l2circuits.NodeId = c.CktNodeId AND
l2circuits.UniqueId = c.CktUniqueId AND
l2Topology.TopoStatus != 2;
2.339 Trace_VLAN_View
CREATE OR REPLACE VIEW trace_vlan_view AS
eit2.COL13 as DESIGNATEDROOT,
ni.CONFIGSYNCSTATUS as NODEMANAGERSTATE,
eit2.COL7 as BRIDGEMAXAGE,
eit2.COL8 as BRIDGEHELLOTIME,
eit1.COL11 as STPENABLED,
ni.NEDBACCESSID = eit1.NEDBACCESSID AND
ni.NEDBACCESSID = eit2.NEDBACCESSID(+) AND
ni.NEDBACCESSID = eit3.NEDBACCESSID(+) AND
(eit1.OBJECTINDEX=105 OR eit1.OBJECTINDEX=205) AND
11=eit2.OBJECTINDEX(+) AND
104=eit3.OBJECTINDEX(+) AND eit3.COL12!='LINEAR_NO_SWITCH' AND
ni.CONFIGSYNCSTATUS=3 AND
(ni.NESTATE=1 OR ni.NESTATE=4) AND
st.SUBNETID = ni.NESUBNETWORKID;
2.340 Unmanaged_NE_Inventory_View
CREATE OR REPLACE VIEW Unmanaged_NE_Inventory_View
UNMANAGED_NE_INVENTORY_TABLE t2,
t1.NEDBACCESSID = t2.NEDBACCESSID
t1.NEMODELINDEX = t3.NEMODELINDEX;
2.341 User_NE_View
CREATE OR REPLACE VIEW User_NE_View as
grouporneid as GROUPORNEID,
2.342 User_View
CREATE OR REPLACE VIEW User_View as
2.343 VLAN_Drop_Ports_View
CREATE OR REPLACE VIEW VLAN_Drop_Ports_View AS
l2if.BRIDGE_GROUP_NUMBER,
l2vlan.TopoNodeID = l2topo.TopoNodeID AND
l2vlan.TopoUniqueId = l2topo.TopoUniqueId AND
l2if.INTERFACE_TYPE != 166 AND
l2if.INTERFACE_TYPE != 174 AND
l2if.INTERFACE_TYPE != 186 AND
l2if.INTERFACE_TYPE != 190 AND
bg.toponodeid = l2vlan.topoNodeid AND
bg.topouniqueid = l2vlan.topouniqueid AND
bg.vlan_number = l2vlan.vlan_number AND
l2if.Slot_Number = bg.slot_number AND
l2fp.NEID = l2if.NEID AND
l2fp.SLOT_NUMBER = l2if.SLOT_NUMBER AND
l2fp.PORT_NUMBER = l2if.PORT_NUMBER AND
l2if.BRIDGE_GROUP_NUMBER = bg.Bridge_group_number AND
l2if.NEID = neIf.NEDBACCESSID;
2.344 VLAN_Drop_Ports_QoS_View
CREATE OR REPLACE view VLAN_DROP_PORTS_QOS_VIEW AS
l2if_qos.MATCH_IP_PRECEDENCE,
l2if_qos.MATCH_DSCP_VALUE,
l2if_qos.MATCH_COS_VALUE,
l2if_qos.MATCH_IP_PRECEDENCE_VALUE,
l2if_qos.VIOLATE_COS_VALUE,
l2if_qos.BEFF_BURST_SIZE_BPS,
l2if_qos.BRIDGE_GROUP_NUMBER,
l2if_qos.PORT_SUB_INTERFACE
L2_Interface_QOSClass_Table l2if_qos
l2if.NEID = l2if_qos.NEID and
l2if.SLOT_NUMBER = l2if_qos.SLOT_NUMBER and
l2if.BRIDGE_GROUP_NUMBER = l2if_qos.BRIDGE_GROUP_NUMBER and
l2if.PORT_NUMBER = l2if_qos.PORT_NUMBER and
l2if.PORT_SUB_INTERFACE = l2if_qos.PORT_SUB_INTERFACE;
2.345 VLAN_Service_View
CREATE OR REPLACE VIEW VLAN_Service_View AS
l2vlan.TopoNodeID = l2topo.TopoNodeID AND
l2vlan.TopoUniqueId = l2topo.TopoUniqueId AND