Table Of Contents
Database Schema Views
2.1 Common PM Views
2.1.1 NE_Module_Level_Debug_View
2.1.2 SDH_HO_FarEnd_PM_View
2.1.3 SDH_HO_NearEnd_PM_View
2.1.4 SDH_MS_FarEnd_PM_View
2.1.5 SDH_MS_NearEnd_PM_View
2.1.6 SDH_RS_NearEnd_PM_View
2.1.7 SONET_ENET_PM_View
2.1.8 SONET_Line_FarEnd_PM_View
2.1.9 SONET_Line_NearEnd_PM_View
2.1.10 SONET_Physical_PM_View
2.1.11 SONET_POS_PM_View
2.1.12 SONET_Section_NearEnd_PM_View
2.1.13 SONET_STSPath_FarEnd_PM_View
2.1.14 SONET_STSPath_NearEnd_PM_View
2.2 CTM Base Views
2.2.1 Active_Alarm_View_With_Ack
2.2.2 Admin_Job_View
2.2.3 Alarm_Count_View (Deprecated)
2.2.4 Alarm_Log_View
2.2.5 Audit_Log_View
2.2.6 BLSR_Table_View
2.2.7 Children_View
2.2.8 Circuit_Ctpspan_View
2.2.9 Circuit_Ctp_Drop_View
2.2.10 Circuit_Ctp_Sec_View
2.2.11 Circuit_Ctp_Src_View
2.2.12 Circuit_Ctp_View
2.2.13 Circuit_Ctp_XC_View
2.2.14 Circuit_Node_GUI_View
2.2.15 Circuit_Node_GUI_View_CTM46
2.2.16 Circuit_Node_View
2.2.17 Circuit_Span_View
2.2.18 Circuit_Span_View_CTM46
2.2.19 Circuit_View
2.2.20 Circuit_VLAN_View
2.2.21 Ckt_Span_Dest_Mt_View
2.2.22 Ckt_Span_Src_Mt_View
2.2.23 Client_User_View
2.2.24 CTM_Unknown_User_View
2.2.25 Data_Card_View
2.2.26 Domain_NE_Inventory_View
2.2.27 DSP_Circuit_View
2.2.28 DSP_Eqpt_View
2.2.29 GWCORBA_PM_Mapping_View
2.2.30 INTF_Sub_Intf_View
2.2.31 Inventory_Table_View
2.2.32 IOS_Active_Cards
2.2.33 IOS_Users_View
2.2.34 Link_Utilization_View
2.2.35 Mcard_L2topology_Map_View
2.2.36 MLBCC_View
2.2.37 MLL_Inv_View
2.2.38 NE_Alarm_View
2.2.39 NE_Circuit_NodeID_View
2.2.40 NE_Circuit_View
2.2.41 NE_Circuit_Vlan_View
2.2.42 NE_Info_NP_View
2.2.43 NE_Inventory_View
2.2.44 NE_SNMPV3_FILTERS_VIEW
2.2.45 NE_SNMPV3_GROUPS_VIEW
2.2.46 NE_SNMPV3_LOCAL_USER_VIEW
2.2.47 NE_SNMPV3_PROXY_FWD_VIEW
2.2.48 NE_SNMPV3_PROXY_TRAP_FWD_VIEW
2.2.49 NE_SNMPV3_REMOTE_USER_VIEW
2.2.50 NE_SNMPV3_TRAP_DEST_VIEW
2.2.51 NE_SNMPV3_VIEWS_VIEW
2.2.52 NE_Swimage_View
2.2.53 NGNE_Info_View
2.2.54 OSS_Alarm_Fltr_AidDeny_View
2.2.55 OSS_Alarm_Fltr_TidDeny_VIEW
2.2.56 OSS_Corba_User_View
2.2.57 OSS_User_View
2.2.58 POS_Ports_View
2.2.59 QoSTemplate_General_View
2.2.60 QoS_View
2.2.61 Roll_View
2.2.62 Self_Monitoring_View
2.2.63 Service_Availability_Log_View
2.2.64 SPAN_LINK_View
2.2.65 SPR_View
2.2.66 SW_Active_Alarm_View
2.2.67 SW_User_Port_View
2.2.68 TL1_Active_Alarm_View
2.2.69 TL1_NE_View
2.2.70 Topology_Circuit_View
2.2.71 Topology_Circuit_View_CTM5_0
2.2.72 Topology_GUI_View
2.2.73 Trace_Vlan_View
2.2.74 Unmanaged_NE_Inventory_View
2.2.75 User_NE_View
2.2.76 User_View
2.2.77 Vlan_Drop_Ports_QoS_View
2.2.78 Vlan_Drop_Ports_View
2.2.79 Vlan_Service_View
2.3 Cisco MGX Media Gateway Views
2.3.1 Access_Node
2.3.2 Bis_Object
2.3.3 Card
2.3.4 Line
2.3.5 mgc_view
2.3.6 mgdomain_name_view
2.3.7 MGX8880_Inventory_View
2.3.8 Node
2.3.9 Node_Info
2.3.10 Peripheral
2.3.11 rtcpalert_view
2.3.12 Sensor
2.3.13 Xpvc
2.3.14 Xpvc_Segment
2.4 Cisco ONS 152xx Views
2.5 Cisco ONS 15216 Views
2.5.1 ONS15216_Active_User_View
2.5.2 ONS15216_Inventory_View
2.5.3 ONS15216_User_View
2.6 Cisco ONS 153xx Views
2.6.1 ONS1530x_Dcc_PM_View
2.6.2 ONS1530x_HO_FE_PM_View
2.6.3 ONS1530x_HO_PM_View
2.6.4 ONS1530x_Inventory_View
2.6.5 ONS1530x_Lan_PM_View
2.6.6 ONS1530x_LO_FE_PM_View
2.6.7 ONS1530x_LO_PM_View
2.6.8 ONS1530x_MS_FE_PM_View
2.6.9 ONS1530x_MS_PM_View
2.6.10 ONS1530x_RS_PM_View
2.6.11 ONS1530x_Wan_PM_View
2.7 Cisco ONS 15454 Views
2.7.1 APC_DOMAIN_NE_VIEW
2.7.2 Ctc_User_Profiles_View
2.7.3 L2_IPSLA_View
2.7.4 L2_Topology_Cards_View
2.7.5 NE_Audit_Trail_View
2.7.6 ONS15454SDH_E1_PM_FE_View
2.7.7 ONS15454SDH_E1_PM_View
2.7.8 ONS15454SDH_E3_PM_View
2.7.9 ONS15454SDH_E4_PM_View
2.7.10 ONS15454SDH_HO_PM_FE_View
2.7.11 ONS15454SDH_HO_PM_View
2.7.12 ONS15454SDH_LO_VC11_PM_FE_View
2.7.13 ONS15454SDH_LO_VC11_PM_View
2.7.14 ONS15454SDH_LO_VC12_PM_FE_View
2.7.15 ONS15454SDH_LO_VC12_PM_View
2.7.16 ONS15454SDH_LO_VC3_PM_FE_View
2.7.17 ONS15454SDH_LO_VC3_PM_View
2.7.18 ONS15454SDH_MS_PM_FE_View
2.7.19 ONS15454SDH_MS_PM_View
2.7.20 ONS15454SDH_RS_PM_View
2.7.21 APC_Domain_View
2.7.22 ONS15454_8B10B_PM_View
2.7.23 ONS15454_Active_User_View
2.7.24 ONS15454_APC_Result_View
2.7.25 ONS15454_BLSR_Config_View
2.7.26 ONS15454_BLSR_Squelch_View
2.7.27 ONS15454_CMS_Storage_View
2.7.28 ONS15454_COS_PM_View
2.7.29 ONS15454_DS1_PM_FE_View
2.7.30 ONS15454_DS1_PM_View
2.7.31 ONS15454_DS3_PM_FE_View
2.7.32 ONS15454_DS3_PM_View
2.7.33 ONS15454_DWDM_Ring_View
2.7.34 ONS15454_Enet_PM_View
2.7.35 ONS15454_ESCON_PM_View
2.7.36 ONS15454_FC_PM_View
2.7.37 ONS15454_GFP_PM_View
2.7.38 ONS15454_Inventory_View
2.7.39 ONS15454_IPSLA_PM_View
2.7.40 ONS15454_ISC_PM_View
2.7.41 ONS15454_OPTICS_PM_VIEW
2.7.42 ONS15454_OSPF_Area_Range_View
2.7.43 ONS15454_OTN_Fec_PM_View
2.7.44 ONS15454_OTN_Path_PM_FE_View
2.7.45 ONS15454_OTN_Path_PM_View
2.7.46 ONS15454_OTN_Sec_PM_FE_View
2.7.47 ONS15454_OTN_Sec_PM_View
2.7.48 ONS15454_Phy_Layer_PM_View
2.7.49 ONS15454_POS_PM_View
2.7.50 ONS15454_Ring_Map_View
2.7.51 ONS15454_RPR_Client_In_PM_View
2.7.52 ONS15454_RPR_ClientOut_PM_View
2.7.53 ONS15454_RPR_Error_PM_View
2.7.54 ONS15454_RPR_PM_View
2.7.55 ONS15454_RPR_Span_In_PM_View
2.7.56 ONS15454_RPR_Span_Out_PM_View
2.7.57 ONS15454_Security_View
2.7.58 ONS15454_SNMP_Trap_Dest_View
2.7.59 ONS15454_SONET_Line_PM_FE_View
2.7.60 ONS15454_SONET_Line_PM_View
2.7.61 ONS15454_SONET_Path_PM_FE_View
2.7.62 ONS15454_SONET_Path_PM_View
2.7.63 ONS15454_SONET_Section_PM_View
2.7.64 ONS15454_SONET_VT2_PM_FE_View
2.7.65 ONS15454_SONET_VT2_PM_View
2.7.66 ONS15454_SONET_VT_PM_FE_View
2.7.67 ONS15454_SONET_VT_PM_View
2.7.68 ONS15454_Spanning_Trees_View
2.7.69 ONS15454_Static_Route_View
2.7.70 ONS15454_Threshold_View
2.7.71 ONS15454_User_View
2.7.72 ONS15454_Virtual_Link_View
2.7.73 PM_Param_ColNo_View
2.7.74 PM_Metadata_Attrid_View
2.7.75 PM_Metadata_Iinfo_View
2.7.76 PM_Metadata_View
2.8 Cisco ONS 155xx Views
2.8.1 ONS155xx_CDL_Flow_Config_View
2.8.2 ONS155xx_CDL_PM_View
2.8.3 ONS155xx_Circuit_CC_View
2.8.4 ONS155xx_Circuit_Dest_View
2.8.5 ONS155xx_Circuit_Final_View
2.8.6 ONS155xx_Circuit_Path_View
2.8.7 ONS155xx_Circuit_Segment_View
2.8.8 ONS155xx_Circuit_Span_View
2.8.9 ONS155xx_Circuit_SrcDest_View
2.8.10 ONS155xx_Circuit_Stack_View
2.8.11 ONS155xx_Circuit_View
2.8.12 ONS155xx_CKT_CC_Dest_MT_View
2.8.13 ONS155xx_CKT_CC_Detailed_View
2.8.14 ONS155xx_CKT_CC_Link_View
2.8.15 ONS155xx_CKT_CC_Path_View
2.8.16 ONS155XX_CKT_CC_Src_Dest_View
2.8.17 ONS155xx_CKT_CC_Src_MT_View
2.8.18 ONS155xx_CKT_Endpoint_View
2.8.19 ONS155XX_CKT_Link_Final_View
2.8.20 ONS155xx_CKT_Link_View
2.8.21 ONS155XX_CKT_NE_Final_View
2.8.22 ONS155xx_CKT_OPT_Pwr_View
2.8.23 ONS155xx_CKT_Path_Final_View
2.8.24 ONS155xx_CKT_Path_Join_View
2.8.25 ONS155xx_CKT_Path_Stack_View
2.8.26 ONS155xx_CKT_Segment_Path_View
2.8.27 ONS155xx_CKT_SEG_Detailed_View
2.8.28 ONS155xx_CKT_Span_Dest_MT_View
2.8.29 ONS155xx_CKT_Span_Det_View
2.8.30 ONS155xx_CKT_Span_Join_View
2.8.31 ONS155xx_CKT_Span_MT_View
2.8.32 ONS155xx_CKT_Span_Src_MT_View
2.8.33 ONS155xx_CKT_Span_View
2.8.34 ONS155xx_CKT_Srcdest_MT_View
2.8.35 ONS155xx_CKT_SRC_CDL_View
2.8.36 ONS155XX_CKT_Stack_Final_View
2.8.37 ONS155xx_Discovery_Info_View
2.8.38 ONS155xx_Dcrp_View
2.8.39 ONS155xx_Ether_Hist_PM_View
2.8.40 ONS155xx_FCM_PE_PM_View
2.8.41 Ons155xx_Flash_Part_View
2.8.42 ONS155xx_Inventory_View
2.8.43 ONS155XX_Link_Correlator
2.8.44 ONS155xx_Module_Type_View
2.8.45 ONS155xx_OPT_Power_PM_View
2.8.46 ONS155XX_Path_CKT_Final_View
2.8.47 ONS155xx_Path_Dest_Pwr_View
2.8.48 ONS155XX_Path_Link_Final_View
2.8.49 ONS155xx_Path_Link_View
2.8.50 ONS155xx_Path_Pwr_Monitor_View
2.8.51 ONS155xx_Path_Pwr_No_Ava_View
2.8.52 ONS155xx_Path_Pwr_No_Mon_View
2.8.53 ONS155xx_Path_Stack_Final_View
2.8.54 ONS155xx_Phy_PM_View
2.8.55 ONS155xx_SONET_Section_PM_View
2.8.56 ONS155xx_Tca_PM_View
2.9 Cisco ONS 156xx Views
2.9.1 ONS15600sdh_HO_PM_FE_View
2.9.2 ONS15600sdh_HO_PM_View
2.9.3 ONS15600sdh_MS_PM_FE_View
2.9.4 ONS15600sdh_MS_PM_View
2.9.5 ONS15600sdh_RS_PM_View
2.9.6 ONS15600_Enet_PM_View
2.9.7 ONS15600_Pos_PM_View
2.9.8 ONS15600_SONET_Line_FE_PM_View
2.9.9 ONS15600_SONET_Line_PM_View
2.9.10 ONS15600_SONET_Path_FE_PM_View
2.9.11 ONS15600_SONET_Path_PM_View
2.9.12 ONS15600_SONET_Sec_PM_View
Database Schema Views
This chapter describes the database views that CTM creates and uses. The following CTM views are listed in alphabetical order by category:
•
Common PM Views
•
CTM Base Views
•
Cisco MGX Media Gateway Views
•
Cisco ONS 152xx Views
•
Cisco ONS 15216 Views
•
Cisco ONS 153xx Views
•
Cisco ONS 15454 Views
•
Cisco ONS 155xx Views
•
Cisco ONS 156xx Views
2.1 Common PM Views
2.1.1 NE_Module_Level_Debug_View
create or replace view NE_MODULE_LEVEL_DEBUG_VIEW AS
nmld.NEDBACCESSID AS NEDBACCESSID,
nmld.SERVICEINSTID AS SERVICEINSTID,
nmld.SERVICEID AS SERVICEID,
DECODE(LENGTH(RTRIM(LTRIM(nmld.MODULENAME))),0,'false',null,'false','true') AS
ENABLED,
nmld.MODULENAME AS MODULENAME
NE_MODULE_LEVEL_DEBUG nmld,
nit.NEDBAccessID = nmld.NEDBACCESSID(+)
DECODE(LENGTH(RTRIM(LTRIM(MODULENAME))),0,'false',null,'false','true') AS ENABLED,
DECODE(LENGTH(RTRIM(LTRIM(MODULENAME))),0,'false',null,'false','true') AS ENABLED,
2.1.2 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,
ho454sdh.fehpfc as FEHPFC,
ho454sdh.fehpbbe as FEHPBBE,
ho454sdh.fehpesr as FEHPESR,
ho454sdh.fehpsesr as FEHPSESR,
ho454sdh.fehpbber as FEHPBBER,
ho454sdh.thresholdList as ThresholdList,
ne.NEAliasID as NEAliasID,
FROM ONS15454SDH_HO_PM_TABLE ho454sdh,
ho454sdh.Nedbaccessid = ne.nedbaccessid AND
ho454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.3 SDH_HO_NearEnd_PM_View
CREATE OR REPLACE VIEW Sdh_Ho_NearEnd_pm_view AS
getModuleName_pm(ne.nenodeid, ho454sdh.ModuleType) as ModuleName,
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,
ne.NEAliasID as NEAliasID,
FROM ONS15454SDH_HO_PM_TABLE ho454sdh,
ONS15454SDH_MS_PM_TABLE ms454sdh,
ms454sdh.Nedbaccessid(+) = ho454sdh.nedbaccessid and
ms454sdh.timestamp(+) = ho454sdh.Timestamp and
ms454sdh.moduletype(+) =ho454sdh.ModuleType and
ms454sdh.physicalloc(+) = ho454sdh.physicalloc and
ms454sdh.IS24H(+) = ho454sdh.IS24H and
2.1.4 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,
ms454sdh.femsfc as FEMSFC,
ms454sdh.femsbbe as FEMSBBE,
ms454sdh.femsesr as FEMSESR,
ms454sdh.femssesr as FEMSSESR,
ms454sdh.femsbber as FEMSBBER,
ms454sdh.thresholdList as ThresholdList,
ne.NEAliasID as NEAliasID,
FROM ONS15454SDH_MS_PM_TABLE ms454sdh,
ms454sdh.Nedbaccessid = ne.nedbaccessid AND
ms454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.5 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,
ne.NEAliasID as NEAliasID,
FROM ONS15454SDH_MS_PM_TABLE ms454sdh,
ms454sdh.Nedbaccessid = ne.nedbaccessid AND
ms454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.6 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,
ne.NEAliasID as NEAliasID
FROM ONS15454SDH_RS_PM_TABLE rs454sdh,
rs454sdh.Nedbaccessid = ne.nedbaccessid AND
rs454sdh.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.7 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),
271,to_char(enet.TxPackets),
272,to_char(enet.TxPackets),
273,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,
enet.RxGIANTS as rx_giants,
decode(en.Moduletype, 102, 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,
decode(lag.LACPDUsRx,NULL, -1,lag.LACPDUsRx) as LACPDUSRX,
decode(lag.MarkerPDUsRx,NULL, -1,lag.MarkerPDUsRx) as MARKERPDUS,
decode(lag.MarkerResponsePDUsRx,NULL, -1,lag.MarkerResponsePDUsRx) as
MARKERRESPONSEPDUSRX,
decode(lag.UnknownRx,NULL, -1,lag.UnknownRx) as UNKNOWNRX,
decode(lag.IllegalRx,NULL, -1,lag.IllegalRx) as ILLEGALRX,
decode(lag.LACPDUsTx,NULL, -1,lag.LACPDUsTx) as LACPDUSTX,
decode(lag.MarkerPDUsTx,NULL, -1,lag.MarkerPDUsTx) as MARKERPDUSTX,
decode(lag.MarkerResponsePDUsTx,NULL, -1,lag.MarkerResponsePDUsTx) as
MARKERRESPONSEPDUSTX,
enet.ETHERSTATSTXFIFOOVERFLOWEVENTS,
ni.NEAliasID as NEAliasID,
ons15454_enet_pm_table enet, left outer join ons15454_LAG_pm_table lag
on (enet.NEDBAccessID = lag.NEDBAccessID AND
enet.TIMESTAMP = lag.TIMESTAMP AND
enet.MODULETYPE = lag.MODULETYPE AND
enet.PHYSICALLOC = lag.PHYSICALLOC AND
enet.NEIFINDEX = lag.NEIFINDEX AND
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,
to_number('-1') as LACPDUSRX,
to_number('-1') as MARKERPDUS,
to_number('-1') as MARKERRESPONSEPDUSRX,
to_number('-1') as UNKNOWNRX,
to_number('-1') as ILLEGALRX,
to_number('-1') as LACPDUSTX,
to_number('-1') as MARKERPDUSTX,
to_number('-1') as MARKERRESPONSEPDUSTX,
to_number('-1') as ETHERSTATSTXFIFOOVERFLOWEVENTS,
ni.NEAliasID as NEAliasID,
ons15600_enet_pm_table enet,
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID;
2.1.8 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,
ne.NEAliasID as NEAliasID,
FROM ONS15454_SONET_LINE_PM_TABLE line454,
line454.Nedbaccessid = ne.nedbaccessid AND
line454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.9 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,
ne.NEAliasID as NEAliasID,
FROM ONS15454_SONET_LINE_PM_TABLE line454,
line454.Nedbaccessid = ne.nedbaccessid AND
line454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.10 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,
phy.MinTxOSCPower as MINTXOSCPOWER,
phy.AvgTxOSCPower as AVGTXOSCPOWER,
phy.MaxTxOSCPower as MAXTXOSCPOWER,
phy.MinRxOSCPower as MINRXOSCPOWER,
phy.AvgRxOSCPower as AVGRXOSCPOWER,
phy.MaxRxOSCPower as MAXRXOSCPOWER,
ni.NEDbaccessid as NEDBACCESSID,
phy.thresholdList as ThresholdList,
en.ModuleType as MODULETYPE,
phy.InvalidityList as InvalidityList,
ne.NEAliasID as NEAliasID,
ONS15454_PHY_LAYER_PM_Table phy,
phy.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
phy.NEDBAccessID = ni.NEDBAccessID;
2.1.11 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,
pos.ifInPayloadCrcErrors,
pos.ifOutPayloadCrcErrors,
pos.ifOutOversizePackets,
ni.NEAliasID as NEAliasID
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,
to_number('-1') as ifInDiscards,
pos.RxEtherUtilizationStats as Rx_Utilization_Stats,
pos.TxEtherUtilizationStats as Tx_Utilization_Stats,
to_Date('') as StatsLineLastClearedTime,
to_number('-1') as ifInPayloadCrcErrors,
to_number('-1') as ifOutPayloadCrcErrors,
to_number('-1') as ifOutOversizePackets,
to_number('-1') as HDLCPKTDROPS,
to_number('-1') as ifOutDiscards
pos.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID
ons15600_pos_pm_table pos,
pos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pos.NEDBAccessID = ni.NEDBAccessID;
2.1.12 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,
ne.NEAliasID as NEAliasID,
FROM ONS15454_SONET_SEC_PM_TABLE sec454,
sec454.Nedbaccessid = ne.nedbaccessid AND
sec454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.13 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,
ne.NEAliasID as NEAliasID,
FROM ONS15454_SONET_PATH_PM_TABLE path454,
path454.Nedbaccessid = ne.nedbaccessid AND
path454.ModuleType = en.ModuleType AND
ne.nemodeltype = en.modeltype;
2.1.14 SONET_STSPath_NearEnd_PM_View
CREATE OR REPLACE VIEW Sonet_STSPATH_NearEnd_pm_view AS
decode(path454.ModuleType,'',line454.ModuleType,
path454.ModuleType) as ModuleType,
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,
ne.NEAliasID as NEAliasID,
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;
2.2 CTM Base Views
2.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.NeAlarmClearTimestamp,
GetPortName(aa.nedbaccessid, aa.physicalloc, aa.ModuleorIfindex, aa.moduletype) as
PortName,
aa.ModuleOrIfIndex as IntegerInterfaceid,
ni.NEAliasID as NEAliasID
decode(to_char(nvl(aa.Direction,'')),'','N/A',aa.Direction) AS Direction,
decode(to_char(nvl(aa.Location,'')),'','N/A',aa.Location) AS Location
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,
(select activevalue from ctm_config_table where sectionname='transportManager' and
propertyname='ems-sys-id') 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,
to_date('') AS NEAlarmTimestamp,
aa.NEAlarmClearTimestamp,
aa.ModuleOrIfIndex as IntegerInterfaceId,
(select activevalue from ctm_config_table where sectionname='transportManager' and
propertyname='ems-sys-id') as NEAliasID
decode(to_char(nvl(aa.Direction,'')),'','N/A',aa.Direction) AS Direction,
decode(to_char(nvl(aa.Location,'')),'','N/A',aa.Location) AS Location
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.2 Admin_Job_View
create or replace view Admin_Job_View as
ajt.nedbaccessid = ni.nedbaccessid;
2.2.3 Alarm_Count_View (Deprecated)
create or replace view alarm_count_view as
from (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
where 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.2.4 Alarm_Log_View
create or replace view alarm_log_view AS
ae.AlarmEventSeverity AS severityIcon,
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,
nvl(ni.NEAliasID,'CTM') as NEAliasID,
decode(to_char(nvl(ae.Direction,'')),'','N/A',ae.Direction) AS Direction,
decode(to_char(nvl(ae.Location,'')),'','N/A',ae.Location) AS Location,
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,(select activevalue from ctm_config_table where
sectionname='transportManager' and propertyname='ems-sys-id')) 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,
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,
nvl(ni.NEAliasID,(select activevalue from ctm_config_table where
sectionname='transportManager' and propertyname='ems-sys-id')) as NEAliasID,
decode (to_char(nvl(aa.Direction,'')),'','N/A',aa.Direction) AS Direction,
decode (to_char(nvl(aa.Location,'')),'','N/A',aa.Location) AS Location,
alarm_event_type_enum_table en,
aa.NEDBAccessID = ni.NEDBAccessID(+) AND
aa.ActiveAlarmType = en.EnumIndex AND
aa.AckIndex = ack.AckIndex AND
2.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,
nvl(n.NEAliasID,'CTM') as NEAliasID,
FROM transaction_log_table t,
WHERE t.nedbaccessid=n.nedbaccessid(+);
2.2.6 BLSR_Table_View
create or replace view BLSR_TABLE_VIEW as
blsr.RINGTYPE as RINGTYPE,
blsr.LINERATE as LINERATE,
blsr.RINGREVERSION as RINGREVERSION,
blsr.SPANREVERSION as SPANREVERSION,
blsr.BLSRID = node.BLSRID;
2.2.7 Children_View
CREATE OR REPLACE VIEW children_view AS
eit.ObjectIndex = mm.ObjectIndex AND eit.ModelType = mm.ModelType;
2.2.8 Circuit_Ctpspan_View
create or replace view circuit_ctpspan_view as
ctpsrc.cktctpnodeid as spansrcnodeid,
ctpdest.cktctpnodeid as spandestnodeid,
span.cktlinkid as cktlinkid
from circuit_ctp_tbl ctpsrc,
where ctpsrc.ctpaccessid=span.cktspansrcctpaccessid and
ctpdest.ctpaccessid=span.cktspandstctpaccessid;
2.2.9 Circuit_Ctp_Drop_View
create or replace view circuit_ctp_drop_view as
where ne.nedbaccessid=ctp.CKTCTPNeDBAccessId
2.2.10 Circuit_Ctp_Sec_View
create or replace view circuit_ctp_sec_view as
where ne.nedbaccessid=ctp.CKTCTPNeDBAccessId
2.2.11 Circuit_Ctp_Src_View
create or replace view circuit_ctp_src_view as
where ne.nedbaccessid=ctp.CKTCTPNeDBAccessId
2.2.12 Circuit_Ctp_View
CREATE OR REPLACE VIEW CIRCUIT_CTP_VIEW AS
c.CTPACCESSID as CTPACCESSID,
c.CKTNODEID as CKTNODEID,
c.CKTUNIQUEID as CKTUNIQUEID,
c.CKTCTPNODEID as CKTCTPNODEID,
c.CKTCTPNEDBACCESSID as CKTCTPNEDBACCESSID,
c.CKTCTPMODULETYPE as CKTCTPMODULETYPE,
c.CKTCTPIFINDEX as CKTCTPIFINDEX,
c.CKTCTPOBJECTTYPE as CKTCTPOBJECTTYPE,
c.CKTCTPPHYSICALLOC as CKTCTPPHYSICALLOC,
c.CKTCTPMODELTYPE as CKTCTPMODELTYPE,
c.CKTCTPDROPPROT as CKTCTPDROPPROT,
c.CKTCTPPATHPROT as CKTCTPPATHPROT,
c.CKTCTPDROPPROTTYPE as CKTCTPDROPPROTTYPE,
c.CKTCTPPORTNAME as CKTCTPPORTNAME,
c.CKTCTPADDITIONALINFO as CKTCTPADDITIONALINFO,
c.CktNodeId = ckt.CktNodeId(+) and
c.CktUniqueId = ckt.CktUniqueId(+);
2.2.13 Circuit_Ctp_XC_View
CREATE OR REPLACE VIEW CIRCUIT_CTP_XC_VIEW AS
a.CKTUNIQUEID as UniqueId,
a.CKTCTPNODEID as NENodeId,
a.CKTCTPNEDBACCESSID as NEDBAccessId,
b.CKTDIRECTION as CktDirection,
a.CTPACCESSID != z.CTPACCESSID and
a.CKTCTPNODEID = z.CKTCTPNODEID and
a.CKTNODEID = z.CKTNODEID and
a.CKTUNIQUEID = z.CKTUNIQUEID and
a.CKTNODEID = b.CKTNODEID and
a.CKTUNIQUEID = b.CKTUNIQUEID and
b.CKTTYPE not in (5, 6, 21, 22);
2.2.14 Circuit_Node_GUI_View
CREATE OR REPLACE VIEW circuit_node_gui_view AS
CTP AS ( select min(ctp_tb.CTPACCESSID) from circuit_ctp_tbl ctp_tb, circuit_bs_tbl
circ where ctp_tb.CktNodeId = circ.CktNodeId and ctp_tb.CktUniqueId = circ.CktUniqueId and
ctp_tb.ctp_type = 2 group by circ.cktname, circ.CktUniqueID
c.CktDirection as Direction,
(select nesysid from ne_info_table where nedbaccessid=src.CKTCTPNeDBAccessId) as
SrcNodeid,
src.cktctpnodeid as cktsrcnodeid,
nvl(getModulename1(src.cktctpnodeid, src.cktctpModuleType),'SYSTEM') as
SrcModuleType,
src.cktctpPhysicalLoc as SrcPhysicalLoc,
src.CktctpIfIndex as SrcInterfaceId,
nvl(getModulename1(sec.cktctpnodeid, sec.cktctpModuleType),'SYSTEM') as
SecSrcModuleType,
sec.CktctpPhysicalLoc as SecSrcPhysicalLoc,
sec.CktctpIfIndex 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,
src.CktctpDropProt as SrcDropProt,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
c.CustomerId as CustomerId,
c.ServiceId as ServiceId,
dest.cktctpnodeid as DestNodeId,
dest.CktctpPathProt as DestPathProtection,
c.cktComment as CircuitNote,
get_nesysid(sec.CKTCTPNeDBAccessId) as SecSrcNodeid,
sec.cktctpnodeid as cktsecsrcnodeid,
eqptinfoport(src.cktctpnedbaccessid,src.cktctpphysicalloc,0,src.cktctpmoduletype)
as CktSrcPortName,
eqptinfoport(sec.cktctpnedbaccessid,sec.cktctpphysicalloc,0,sec.cktctpmoduletype)
as CktSecSrcPortName,
collapsedeqptportname(c.CKTNODEID,c.CKTUNIQUEID) as CktDestPortName,
( select count(*) from circuit_vlan_tbl vlan where vlan.cktnodeid=c.cktnodeid
and vlan.cktuniqueid=c.cktuniqueid ) as NoOfVlans, /* *@INDEX A 5 */
nvl(vcg.VCGDirection,-1) as VCGDirection,
nvl(vcg.ParentCktNodeId,-1) as ParentCktNodeId,
nvl(vcg.ParentCktUniqueId,-1) as ParentCktUniqueId,
src.CktctpModelType as SrcModelType,
src.CktctpObjectType as SrcObjectType,
sec.CktctpModelType as CktSecSrcModelType,
sec.CktctpObjectType as SecSrcObjectType,
collapsedmodeltype(c.CKTNODEID,c.CKTUNIQUEID) as DestModelType,
collapsedobjectindex(c.CKTNODEID,c.CKTUNIQUEID) as DestObjectType,
nvl(getPortModuleName(src.cktctpnodeid, src.cktctpModuleType),'SYSTEM') as
SrcPortModuleType,
nvl(getPortModuleName(sec.cktctpnodeid, sec.cktctpModuleType),'SYSTEM') as
SecSrcPortModuleType,
collapsedportmodulename(c.CKTNODEID,c.CKTUNIQUEID)as cktdestPortModuleName,
dest.cktctpPhysicalLoc as CktDestPhysicalLoc,
nvl(getPortModuleName(dest.cktctpnodeid, dest.cktctpModuleType),'SYSTEM') as
DestPortModuleType,
nvl(vcg.VCATSTATE,-1) as VcatState,
src.cktctpModuleType as CktSrcModuleType,
(select count(*) from circuit_span_bs_tbl where cktnodeid=c.cktnodeid and
cktuniqueid=c.cktuniqueid) as NoOfSpans,
c.CktAliasName as alias_name,
get_nesysid(dest.CKTCTPNeDBAccessId) as DestSysId
c.CktNodeId = src.CktNodeId(+) and
c.CktUniqueId = src.CktUniqueId(+) and
c.CktNodeId = sec.CktNodeId(+) and
c.CktUniqueId = sec.CktUniqueId(+) and
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
(dest.ctpaccessid IS NULL OR dest.ctpaccessid IN ( select * from CTP ))
c.CktNodeId = vcg.CktNodeId(+) and
c.CktUniqueId = vcg.CktUniqueId(+) and
2.2.15 Circuit_Node_GUI_View_CTM46
CREATE OR REPLACE VIEW circuit_node_gui_view_ctm46 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.CKTSRCMODULETYPE ) as
CktSrcPortName,
eqptinfoport(getNEDBACCESSID(c.CKTSECSRCNODEID),c.CKTSECSRCPHYSICALLOC,0,c.CKTSECSRCMODULE
TYPE ) 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
c.CktUniqueId = vcg.CktUniqueId(+) and
2.2.16 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.2.17 Circuit_Span_View
create or replace view Circuit_Span_View as
circuit.CktSize as CktSize,
ne_src.NESYSID as SrcNodeId,
nvl(getModuleName2( ctp_src.CKTCTPMODULETYPE, ctp_src.CKTCTPMODELTYPE ) ,'SYSTEM'
) as SrcModuleType,
ctp_src.CKTCTPPHYSICALLOC as SrcPhysicalLoc,
ctp_src.CKTCTPIFINDEX as SrcInterfaceId,
ne_dst.NESYSID as DestNodeId,
nvl(getModuleName2( ctp_dst.CKTCTPMODULETYPE, ctp_dst.CKTCTPMODELTYPE ) ,'SYSTEM'
) as DestModuleType,
ctp_dst.CKTCTPPHYSICALLOC as DestPhysicalLoc,
ctp_dst.CKTCTPIFINDEX as InterfaceId,
spancircuit.CKTSPANSRCSTATE,
spancircuit.CKTSPANDESTSTATE,
spancircuit.IsCktForwarding as Forwarding,
spancircuit.IsCktSpanInUPSR as InUpsr,
spancircuit.IsCktSpanActive as active,
spancircuit.CktSpanProtOp as ProtOp,
spancircuit.CktNodeId as NodeId,
spancircuit.CktUniqueId as UniqueId,
ne_src.NEDBACCESSID as NEDBAccessid,
ne_dst.NEDBACCESSID as DestNEDBAccessid,
spancircuit.CktLinkId as linkid,
ctp_src.CKTCTPNODEID as SrcNENodeId,
ctp_dst.CKTCTPNODEID as DestNENodeID,
ctp_src.CKTCTPMODULETYPE as SrcNEModuleType,
ctp_dst.CKTCTPMODULETYPE as DestNEModuleType,
ctp_src.CKTCTPPORTNAME as SrcPortName,
ctp_dst.CKTCTPPORTNAME as DestPortName,
ctp_src.CKTCTPMODELTYPE as SrcModelType,
ctp_src.CKTCTPOBJECTTYPE as SrcObjectType,
ctp_dst.CKTCTPMODELTYPE as DestModelType,
ctp_dst.CKTCTPOBJECTTYPE as DestObjectType,
nvl(getPortModuleName2( ctp_src.CKTCTPMODULETYPE, ctp_src.CKTCTPMODELTYPE )
,'SYSTEM' ) as SrcPortModuleType,
nvl(getPortModuleName2( ctp_dst.CKTCTPMODULETYPE, ctp_dst.CKTCTPMODELTYPE )
,'SYSTEM' ) as DestPortModuleType,
spancircuit.rowid as myrow
circuit_span_BS_tbl spancircuit,
ctp_src.CTPACCESSID = spancircuit.CKTSPANSRCCTPACCESSID
and ctp_dst.CTPACCESSID = spancircuit.CKTSPANDSTCTPACCESSID
and spancircuit.CktNodeId = circuit.CktNodeId
and spancircuit.CktUniqueId = circuit.CktUniqueId
and ne_src.nenodeid = ctp_src.CKTCTPNODEID
and ne_dst.nenodeid = ctp_dst.CKTCTPNODEID
and ((ctp_src.ctp_type = 3 and ctp_dst.ctp_type = 4);
2.2.18 Circuit_Span_View_CTM46
create or replace view Circuit_Span_View_ctm46 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.CKTSPANSRCPHYSICALL
OC,0,spancircuit.CKTSPANSRCMODULETYPE) as SrcPortName,
eqptinfoport(getNEDBACCESSID(spancircuit.CKTSPANDESTNODEID),spancircuit.CKTSPANDESTPHYSICA
LLOC,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.2.19 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.CktUniqueid = vlan.CktUniqueid;
2.2.20 Circuit_VLAN_View
CREATE OR REPLACE VIEW circuit_vlan_view AS
a.CktNodeId = b.CktNodeId AND
a.CktUniqueId = b.CktUniqueId
WHERE a.CktNodeId = b.CktNodeId AND
a.CktUniqueId = b.CktUniqueId
2.2.21 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)
WHERE cst.cktspandestnodeid = spandest.cktspandestnodeid(+)
AND cst.cktspandestphysicalloc = spandest.cktspandestphysicalloc(+);
2.2.22 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.2.23 Client_User_View
create or replace view Client_User_VIEW As
2.2.24 CTM_Unknown_User_View
create or replace view CTM_Unknown_User_View as
CTMUnknownUserTable.IPAddress,
CTMUnknownUserTable.FailedAttempts,
CTMUnknownUserTable.LastLoginFailTime,
decode(CTMUnknownUserTable.LockedState, 0, 'Unlocked',
1, 'Locked') AS LockedState,
CTMUnknownUserTable.ROWID AS MYROW
CTM_Unknown_User_Table CTMUnknownUserTable;
2.2.25 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 A.BG(+) =
B.BG;
2.2.26 Domain_NE_Inventory_View
create or replace view domain_ne_inventory_view as
getNEIPAddr(ne.NEDBAccessID) NEIPAddr,
getNEIPAddr (gne.ne.NEDBAccessID) gneipaddr,
isIPV6(ne.NEDBAccessID) isipv6_ne,
isIPV6(gne.NEDBAccessID) isipv6_gne
network_partition_table np,
where ne.NeSubNetworkid=sub.subnetid
and ne.NEMODELTYPE=mod.MODELTYPE
and ne.GNEID=gne.GNEID(+);
2.2.27 DSP_Circuit_View
create or replace view DSP_CIRCUIT_VIEW AS
src.CKTCTPNODEID as SRCNENODEID,
src.CktCTPPhysicalLoc as SrcPhysicalLoc,
src.CKTCTPMODULETYPE as SRCMODULETYPE,
dest.CKTCTPNODEID as DESTNENODEID,
dest.CktCTPPhysicalLoc as DestPhysicalLoc,
dest.CKTCTPMODULETYPE as DESTMODULETYPE
circuit_ctp_src_view src,
circuit_ctp_drop_view dest
c.CKTNODEID = src.CKTNODEID(+) and
c.CKTUNIQUEID = src.CKTUNIQUEID(+) and
c.CKTNODEID = dest.CKTNODEID(+) and
c.CKTUNIQUEID = dest.CKTUNIQUEID(+) and
( src.CKTCTPMODULETYPE = 6684672 or src.CKTCTPMODULETYPE = 6750208 or
src.CKTCTPMODULETYPE = 10747904 or src.CKTCTPMODULETYPE = 14483456 or
dest.CKTCTPMODULETYPE = 6684672 or dest.CKTCTPMODULETYPE = 6750208 or
dest.CKTCTPMODULETYPE = 10747904 or dest.CKTCTPMODULETYPE = 14483456) and
2.2.28 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 or
e.EQUIPMENTTYPE = 221) 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
or n.NEMODELINDEX = 77 or n.NEMODELINDEX = 78 or n.NEMODELINDEX = 75 or n.NEMODELINDEX
= 76 or n.NEMODELINDEX = 87 or n.NEMODELINDEX = 88 or n.NEMODELINDEX = 91 or
n.NEMODELINDEX = 81);
2.2.29 GWCORBA_PM_Mapping_View
create or replace view GWCORBA_PM_MAPPING_VIEW AS
gwpm.MODELTYPE AS MODELTYPE,
gwpm.LAYERRATE AS LAYERRATE,
gwpm.OBJECTINDEX AS OBJECTINDEX,
gwpm.LOCATION AS LOCATION,
gwpm.DIRECTION AS DIRECTION,
gwpm.TERMINATIONPOINT AS TERMINATIONPOINT,
gwpm.PMVIEWNAME AS PMVIEWNAME,
ot.METADATAINDEX AS METADATAINDEX,
pam.PMPARAMID AS PMPARAMID,
pam.ATTRINDEX AS ATTRINDEX,
pam.VALIDITY_ATTRINDEX AS VALIDITY_ATTRINDEX,
pci.PMTABLECOLNO AS PMTABLECOLNO
GWCORBA_PM_MAPPING_TABLE gwpm,
PM_ATTRID_MAPPING_TABLE pam,
gwpm.OBJECTINDEX = ot.OBJECTINDEX AND
gwpm.MODELTYPE = ot.MODELTYPE AND
gwpm.PMVIEWNAME = pam.PMVIEWNAME AND
ot.METADATAINDEX = pam.METADATAINDEX AND
pam.PMPARAMID = pci.PMPARAMID AND
gwpm.LOCATION = pci.LOCATION AND
gwpm.DIRECTION = pci.DIRECTION AND
TMFNAME NOT LIKE ('N/A');
2.2.30 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.2.31 Inventory_Table_View
create or replace view Inventory_Table_View as
ni.NEDBAccessID = inv.NEDBAccessID ;
2.2.32 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,221 ) and
a.NEDBACCESSID = b.NEDBACCESSID;
2.2.33 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,
from EQPT_INFO_TABLE c,NE_INFO_TABLE b,MODULE_TYPE_TABLE a
where c.OBJECTINDEX = 221 and
c.NEDBACCESSID = b.NEDBACCESSID and
c.MODELTYPE = a.MODELTYPE and
c.MODULETYPE = a.MODULETYPE;
2.2.34 Link_Utilization_View
CREATE OR REPLACE VIEW LINK_UTILIZATION_VIEW
AS SELECT a.CKTCTPMODULETYPE as CKTMODULETYPE,
a.CKTCTPPHYSICALLOC as CKTPHYSICALLOC,
a.CKTCTPIFINDEX as CKTIFINDEX,
b.CKTPROTECTIONTYPE as CKTPROTECTIONTYPE,
b.CUSTOMERID as CKTCUSTOMERID,
b.SERVICEID as CKTSERVICEID,
a.CKTCTPIFINDEX as STRIPPED_IFINDEX,
a.CKTCTPNEDBACCESSID as NEDBACCESSID,
b.CKTUSELAP as CKTUSELAP,
a.CKTCTPIFINDEX as STRIPPED_CKTSRC_IFINDEX,
collapsedifindex(b.CKTNODEID,b.CKTUNIQUEID) as CKTDEST_IFINDEX,
b.CKTUNIQUEID as CKTUNIQUEID,
b.CKTNODEID as CKTNODEID,
a.CKTCTPOBJECTTYPE as CKTOBJECTTYPE,
collapsedobjectindex(b.CKTNODEID,b.CKTUNIQUEID) as cktDestObjectType,
a.CKTCTPMODELTYPE as modelType,
nvl(d.CKTSPANPROTOP, -1) as SWITCHSTATE,
FROM CIRCUIT_CTP_TBL a, CIRCUIT_BS_TBL b, CIRCUIT_SPAN_BS_TBL d
a.CKTUNIQUEID = b.CKTUNIQUEID AND
a.CKTNODEID = b.CKTNODEID AND
b.CKTTYPE != 5 AND b.CKTTYPE != 6 AND b.CKTTYPE != 21 AND b.CKTTYPE != 22 AND
( a.CTP_TYPE = 3 AND a.CTPACCESSID = d.CKTSPANSRCCTPACCESSID ) OR
( a.CTP_TYPE = 4 AND a.CTPACCESSID = d.CKTSPANDSTCTPACCESSID )
SELECT a.CKTCTPMODULETYPE as CKTMODULETYPE,
a.CKTCTPPHYSICALLOC as CKTPHYSICALLOC,
a.CKTCTPIFINDEX as CKTIFINDEX,
b.CKTPROTECTIONTYPE as CKTPROTECTIONTYPE,
b.CUSTOMERID as CKTCUSTOMERID,
b.SERVICEID as CKTSERVICEID,
a.CKTCTPIFINDEX as STRIPPED_IFINDEX,
a.CKTCTPNEDBACCESSID as NEDBACCESSID,
b.CKTUSELAP as CKTUSELAP,
a.CKTCTPIFINDEX as STRIPPED_CKTSRC_IFINDEX,
collapsedifindex(b.CKTNODEID,b.CKTUNIQUEID) as CKTDEST_IFINDEX,
c.CKTUNIQUEID = b.CKTUNIQUEID AND
c.CKTNODEID = b.CKTNODEID AND
a.CKTCTPOBJECTTYPE as CKTOBJECTTYPE,
collapsedobjectindex(b.CKTNODEID,b.CKTUNIQUEID) as cktDestObjectType,
b.CKTALIASNAME as CKTALIASNAME,
FROM CIRCUIT_CTP_TBL a, CIRCUIT_BS_TBL b
a.CKTUNIQUEID = b.CKTUNIQUEID AND
a.CKTNODEID = b.CKTNODEID AND
b.CKTTYPE != 5 AND b.CKTTYPE != 6 AND b.CKTTYPE != 21 AND b.CKTTYPE != 22 AND
((a.CTP_TYPE = 0 OR a.CTP_TYPE = 1 OR a.CTP_TYPE = 2));
2.2.35 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.CktCTPPhysicalLoc as PhysicalLoc,
cst.CktCTPModuleType as ModuleType
FROM circuit_ctp_tbl cst,
L2topology_Circuits_Table l2tct,
WHERE nit.nedbaccessid=cdt.CKTCTPNeDBAccessId and
cst.CktNodeId = l2tct.NodeId AND
cst.CktUniqueId = l2tct.UniqueId AND
cst.CktCTPNodeId = nit.NeNodeId AND
cst.CktCTPModuleType IN (6684672,6750208,10747904,14483456)
l2tct.Toponodeid as Toponodeid,
l2tct.Topouniqueid as Topouniqueid,
nit.NeDbAccessId as NeDbId,
cdt.cktCTPPhysicalLoc as PhysicalLoc,
cdt.cktCTPModuleType as ModuleType
FROM circuit_ctp_tbl cdt,
L2topology_Circuits_Table l2tct,
WHERE nit.nedbaccessid=cdt.CKTCTPNeDBAccessId and
cdt.CktNodeId = l2tct.NodeId AND
cdt.CktUniqueId = l2tct.UniqueId AND
cdt.CktCTPNodeId = nit.NeNodeId AND
cdt.cktCTPModuleType IN (6684672,6750208,10747904,14483456);
2.2.36 MLBCC_View
create or replace force view MLBCC_VIEW AS
l2topocardview.TopoNodeId AS TopoNodeId,
l2topocardview.TopoUniqueId AS TopoUniqueId,
neInfo.NESysID AS NESysID,
l2topocardview.NeDbID AS NEID,
l2topocardview.SlotNumber AS SlotNumber,
MODULE.ModuleName AS EquipmentType,
l2topocardview.configState AS configState,
l2topocardview.POS0_Status AS POS0_Status,
l2topocardview.POS1_Status AS POS1_Status,
l2topocardview.RPR0 AS RPR0,
getMLcardAddnlInfo( l2topocardview.AdditionalInfo, inv.EquipmentState) AS
AdditionalInfo,
getProtectMLcardInfo( l2topocardview.ProtectCardNeDbId,
l2topocardview.ProtectCardSlotNumber ) AS ProtectCard,
getBccCosInfo(l2topocardview.NeDbID, inv.PhysicalLoc, 181, 'AVVID_VOICE_VIDEO') AS
COS_AVVID_VOICEVIDEO,
getBccCosInfo(l2topocardview.NeDbID, inv.PhysicalLoc, 181, 'SP_MANAGEMENT') AS
COS_SP_MANAGEMENT,
getBccCosInfo(l2topocardview.NeDbID, inv.PhysicalLoc, 181, 'CIR') AS
COS_COMMITTED,
getBccCosInfo(l2topocardview.NeDbID, inv.PhysicalLoc, 181, 'AVVID_CONTROL') AS
COS_AVVID_CONTROL,
getBccBwInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'SP_MANAGEMENT') AS
BW_SP_MANAGEMENT,
getBccBwInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'CIR') AS BW_COMMITTED,
getBccBwInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'AVVID_CONTROL') AS
BW_AVVID_CONTROL,
getBccBwInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'BEST_EFFORT') AS
BW_BEST_EFFORT,
getBccCosCommitGrp(l2topocardview.NeDbID, inv.PhysicalLoc, 0, 189) AS COS_COMMIT,
getBccCosCommitGrp(l2topocardview.NeDbID, inv.PhysicalLoc, 11, 189) AS BW_GROUP1,
getBccCosCommitGrp(l2topocardview.NeDbID, inv.PhysicalLoc, 12, 189) AS COS_GROUP1,
getBccCosCommitGrp(l2topocardview.NeDbID, inv.PhysicalLoc, 21, 189) AS BW_GROUP2,
getBccCosCommitGrp(l2topocardview.NeDbID, inv.PhysicalLoc, 22, 189) AS COS_GROUP2,
getBccClassInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'SP_MANAGEMENT') AS
CLASS_SP_MANAGEMENT,
getBccClassInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'CIR') AS CLASS_COMMITTED,
getBccClassInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'AVVID_CONTROL') AS
CLASS_AVVID_CONTROL,
getBccClassInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'BEST_EFFORT') AS
CLASS_BEST_EFFORT,
getBccClassInfo(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 180, 'AVVID_VOICE_VIDEO') AS
CLASS_AVVID_VOICE_VIDEO,
getBccClassRPR80217(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 284, 3) AS BW_A0,
getBccClassRPR80217(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 284, 1) AS BW_A1,
getBccClassRPR80217(l2topocardview.NeDbID,
getQOSPhLoc(l2topocardview.SlotNumber,inv.PhysicalLoc), 284, 2) AS BW_B_CIR
ONS15454_NE_INVENTORY_TABLE inv,
MODULE_TYPE_TABLE MODULE,
L2_TOPOLOGY_CARDS_VIEW l2topocardview
l2topocardview.NESYSID = neInfo.NESysID AND
inv.EquipmentType = MODULE.ModuleType AND
neInfo.NEModelType = MODULE.ModelType; AND
l2topocardview. NeDbID = inv.NeDbID AND
l2topocardview.SlotNumber = getSlot(inv.PhysicalLoc);
2.2.37 MLL_Inv_View
create or replace view MLL_INV_VIEW AS
NEDBACCESSID as NEDBACCESSID,
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));
2.2.38 NE_Alarm_View
create or replace view NE_Alarm_View as
aat.NEDBAccessID = nit.NEDBAccessID ;
2.2.39 NE_Circuit_NodeID_View
create or replace view NE_Circuit_NodeID_View as
a.nedbaccessid, b.cktname
FROM ne_info_table a, circuit_bs_tbl b
WHERE a.NENodeID = b.CktNodeId and
2.2.40 NE_Circuit_View
CREATE OR REPLACE VIEW NE_CIRCUIT_VIEW AS
ckt.CKTNODEID as CKTNODEID,
ckt.CKTUNIQUEID as CKTUNIQUEID,
c.CKTCTPNODEID as CKTCTPNODEID
c.CktNodeId = ckt.CktNodeId(+) and
c.CktUniqueId = ckt.CktUniqueId(+);
2.2.41 NE_Circuit_Vlan_View
create or replace view NE_Circuit_Vlan_View as
a.NEDBACCESSID, c.CKTVLANID
FROM NE_INFO_TABLE a, CIRCUIT_TBL b, CIRCUIT_VLAN_TBL c
WHERE b.CKTUNIQUEID = c.CKTUNIQUEID
AND b.CKTNODEID = c.CKTNODEID
AND b.CKTNODEID = a.NENODEID;
2.2.42 NE_Info_NP_View
create or replace view NE_Info_NP_VIEW As
getNEIPAddr(ne.NEDBAccessID) ne.NEIPAddr,
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,
isIPV6(ne.NEDBAccessID) isipv6
network_partition_table np
Where ne.GNEID=gne.gneid(+) AND
ne.NESubNetworkID=sub.subnetID AND
2.2.43 NE_Inventory_View
create or replace view NE_Inventory_View as
ninvt.ModuleSerialNumber,
NE_INVENTORY_TABLE ninvt,
ninvt.NEDBAccessID = nit.NEDBAccessID ;
2.2.44 NE_SNMPV3_FILTERS_VIEW
NE_SNMPV3_FILTERS_VIEW aggregates rows from NE_SNMPV3_FILTERS_TABLE and NE_INFO_TABLE to show the NE SYSID. Select NEs that are In Service state and DISCOVERED only.
CREATE OR REPLACE VIEW NE_SNMPV3_FILTERS_VIEW AS
NE_INFO_TABLE.NEDBACCESSID,
NE_SNMPV3_NFILTER_TABLE.FILTER_PROFILE_NAME,
NE_SNMPV3_NFILTER_TABLE.SUBTREEOID,
NE_SNMPV3_NFILTER_TABLE.BIT_MASK,
NE_SNMPV3_NFILTER_TABLE.FILTER_TYPE
NE_SNMPV3_NFILTER_TABLE join NE_INFO_TABLE
ON NE_SNMPV3_NFILTER_TABLE.NEDBACCESSID = NE_INFO_TABLE.NEDBACCESSID
NE_INFO_TABLE.NESTATE = 1
NE_INFO_TABLE.NEDISCOVERYSTATE = 4;
2.2.45 NE_SNMPV3_GROUPS_VIEW
CREATE OR REPLACE VIEW NE_SNMPV3_GROUPS_VIEW AS
NE_INFO_TABLE.NEDBACCESSID,
NE_SNMPV3_GROUPS_TABLE.GROUP_NAME,
NE_SNMPV3_GROUPS_TABLE.SECURITY_LEVEL,
NE_SNMPV3_GROUPS_TABLE.READ_VIEW_ACCESS,
NE_SNMPV3_GROUPS_TABLE.WRITE_VIEW_ACCESS,
NE_SNMPV3_GROUPS_TABLE.NOTIFY_VIEW_ACCESS
NE_SNMPV3_GROUPS_TABLE join NE_INFO_TABLE
ON NE_SNMPV3_GROUPS_TABLE.NEDBACCESSID = NE_INFO_TABLE.NEDBACCESSID
NE_INFO_TABLE.NESTATE = 1
NE_INFO_TABLE.NEDISCOVERYSTATE = 4;
2.2.46 NE_SNMPV3_LOCAL_USER_VIEW
VIEW NE_SNMPV3_LOCAL_USER_VIEW aggregates rows from NE_SNMPV3_USERS_TABLE and NE_INFO_TABLE to show the NE SYSID and select Local Users only. A join on Engine ID is used to identify sysid of remote NE. Then a selection is done comparing NEDBACCESSID. Select NEs that are In Service state and DISCOVERED only.
CREATE OR REPLACE VIEW NE_SNMPV3_LOCAL_USER_VIEW AS
select NE_INFO_TABLE.NEDBACCESSID,
NE_SNMPV3_USERS_TABLE.USER_NAME,
NE_SNMPV3_USERS_TABLE.GROUP_NAME,
NE_SNMPV3_USERS_TABLE.AUTHENTICATION_PROTOCOL,
NE_SNMPV3_USERS_TABLE.PRIVACY_PROTOCOL,
NE_SNMPV3_USERS_TABLE.Engine_Id_Len,
NE_SNMPV3_USERS_TABLE.Boots
from NE_SNMPV3_USERS_TABLE, NE_INFO_TABLE
where NE_SNMPV3_USERS_TABLE.ENGINE_ID = NE_INFO_TABLE.NE_SNMP_EID
and NE_SNMPV3_USERS_TABLE.NEDBACCESSID = NE_INFO_TABLE.NEDBACCESSID
AND NE_INFO_TABLE.NESTATE = 1
AND NE_INFO_TABLE.NEDISCOVERYSTATE = 4;
2.2.47 NE_SNMPV3_PROXY_FWD_VIEW
VIEW NE_SNMPV3_PROXY_FWD_VIEW aggregates rows from NE_SNMPV3_PROXY_FWD_TABLE and NE_INFO_TABLE to show the NE SYSIDs for remote NEs. The left outer join is used for the same reason described above for the NE_SNMPV3_REMOTE_USER_VIEW. Select NEs that are In Service state and DISCOVERED only.
CREATE OR REPLACE VIEW NE_SNMPV3_PROXY_FWD_VIEW AS
NE_SNMPV3_PROXY_FWD_TABLE.CONTEXT_ENGINE_ID,
NE_SNMPV3_PROXY_FWD_TABLE.TARGET_IP,
NE_SNMPV3_PROXY_FWD_TABLE.LOCAL_USER,
NE_SNMPV3_PROXY_FWD_TABLE.REMOTE_USER,
NE_SNMPV3_PROXY_FWD_TABLE.PROXY_TYPE,
NE_SNMPV3_PROXY_FWD_TABLE.SECURITY_LEVEL,
NE1.NESYSID AS REMOTE_NE,
NE_SNMPV3_PROXY_FWD_TABLE.ROW_ID
from (NE_SNMPV3_PROXY_FWD_TABLE left outer join NE_INFO_TABLE NE1
on NE_SNMPV3_PROXY_FWD_TABLE.CONTEXT_ENGINE_ID = NE1.NE_SNMP_EID)
join NE_INFO_TABLE NE2 on NE2.NEDBACCESSID = NE_SNMPV3_PROXY_FWD_TABLE.NEDBACCESSID
AND NE2.NEDISCOVERYSTATE = 4;
2.2.48 NE_SNMPV3_PROXY_TRAP_FWD_VIEW
NE_SNMPV3_PROXY_TRAP_FWD_VIEW aggregates rows from NE_SNMPV3_PROXY_TRAP_FWD_TABLE and NE_INFO_TABLE to show the NE SYSID, and NESYSID for remote NE. Left outer join is used for the same reason described above (see comment for NE_SNMPV3_REMOTE_USER_VIEW). Select NEs that are In Service state and DISCOVERED only.
CREATE OR REPLACE VIEW NE_SNMPV3_PROXY_TRAP_FWD_VIEW AS
NE_SNMPV3_PROXY_TRAP_FWD_TABLE.CONTEXT_ENGINE_ID,
NE_SNMPV3_PROXY_TRAP_FWD_TABLE.TAG,
NE_SNMPV3_PROXY_TRAP_FWD_TABLE.INCOMING_USER,
NE_SNMPV3_PROXY_TRAP_FWD_TABLE.SECURITY_LEVEL,
NE1.NESYSID AS REMOTE_NE,
NE_SNMPV3_PROXY_TRAP_FWD_TABLE.ROW_ID
from (NE_SNMPV3_PROXY_TRAP_FWD_TABLE left outer join NE_INFO_TABLE NE1
on NE_SNMPV3_PROXY_TRAP_FWD_TABLE.CONTEXT_ENGINE_ID = NE1.NE_SNMP_EID)
join NE_INFO_TABLE NE2 on NE2.NEDBACCESSID = NE_SNMPV3_PROXY_TRAP_FWD_TABLE.NEDBACCESSID
AND NE2.NEDISCOVERYSTATE = 4;
2.2.49 NE_SNMPV3_REMOTE_USER_VIEW
VIEW NE_SNMPV3_REMOTE_USER_VIEW aggregates rows from NE_SNMPV3_USERS_TABLE and NE_INFO_TABLE to show the NE SYSID and select Remote Users only. Select NEs that are In Service state and DISCOVERED only. The query can be summarized as follows: NE_INFO_TABLE [join on DBACCESSID] NE_SNMPV3_USERS_TABLE [left outer join on ENGINEID] NE_INFO_TABLE. The first join produces the NESYSID of the NE described by NE_SNMPV3_USERS_TABLE row. The second join produces the NESYSID of the REMOTE NE. A left outer join is required because the ENGINEID cannot be found in NE_INFO_TABLE (see example below). In this case rows cannot be discarded. The where clause is used to select remote users only.
Example: Engine ID cannot match the one in NE_INFO_TABLE.
Engine ID in NE_INFO_TABLE is populated during synchronization. Suppose you have:
GNE --- ENE-2
|
|
ENE-1
If you then preprovision all NEs (GNE, ENE-1, ENE-2), but you put only the GNE in the In Service state, the SnmpV3UserTable will be populated for the GNE. The query will not match the Engine ID for remote users.
CREATE OR REPLACE VIEW NE_SNMPV3_REMOTE_USER_VIEW AS
NE_SNMPV3_USERS_TABLE.ENGINE_ID,
NE_SNMPV3_USERS_TABLE.USER_NAME,
NE_SNMPV3_USERS_TABLE.AUTHENTICATION_PROTOCOL,
NE_SNMPV3_USERS_TABLE.PRIVACY_PROTOCOL,
NE_INFO_TABLE.NESYSID AS REMOTE_NE,
NE_SNMPV3_USERS_TABLE.ENGINE_ID_LEN,
NE_SNMPV3_USERS_TABLE.BOOTS
(NE_SNMPV3_USERS_TABLE left outer join NE_INFO_TABLE
on NE_SNMPV3_USERS_TABLE.ENGINE_ID = NE_INFO_TABLE.NE_SNMP_EID)
join NE_INFO_TABLE NE1 on NE1.NEDBACCESSID = NE_SNMPV3_USERS_TABLE.NEDBACCESSID
(NE_SNMPV3_USERS_TABLE.NEDBACCESSID != NE_INFO_TABLE.NEDBACCESSID
or NE_INFO_TABLE.NEDBACCESSID is null)
NE1.NEDISCOVERYSTATE = 4;
2.2.50 NE_SNMPV3_TRAP_DEST_VIEW
NE_SNMPV3_TRAP_DEST_VIEW aggregates rows from NE_SNMPV3_TRAP_DEST_TABLE and NE_INFO_TABLE to show the NE SYSID. Select NEs that are In Service state and DISCOVERED only.
CREATE OR REPLACE VIEW NE_SNMPV3_TRAP_DEST_VIEW AS
NE_INFO_TABLE.NEDBACCESSID,
NE_SNMPV3_TRAP_DEST_TABLE.TARGET_ADDRESS,
NE_SNMPV3_TRAP_DEST_TABLE.UDP_PORT,
NE_SNMPV3_TRAP_DEST_TABLE.USER_NAME,
NE_SNMPV3_TRAP_DEST_TABLE.SECURITY_LEVEL,
NE_SNMPV3_TRAP_DEST_TABLE.FILTER_PROFILE_NAME,
NE_SNMPV3_TRAP_DEST_TABLE.PROXY_TRAPS_ONLY,
NE_SNMPV3_TRAP_DEST_TABLE.PROXY_TAG
NE_SNMPV3_TRAP_DEST_TABLE join NE_INFO_TABLE
ON NE_SNMPV3_TRAP_DEST_TABLE.NEDBACCESSID = NE_INFO_TABLE.NEDBACCESSID
NE_INFO_TABLE.NESTATE = 1
NE_INFO_TABLE.NEDISCOVERYSTATE = 4;
2.2.51 NE_SNMPV3_VIEWS_VIEW
NE_SNMPV3_VIEWS_VIEW aggregates rows from NE_SNMPV3_VIEWS_TABLE and NE_INFO_TABLE to show the NE SYSID. Select NEs that are In Service state and DISCOVERED only.
CREATE OR REPLACE VIEW NE_SNMPV3_VIEWS_VIEW AS
NE_INFO_TABLE.NEDBACCESSID,
NE_SNMPV3_VIEWS_TABLE.VIEW_NAME,
NE_SNMPV3_VIEWS_TABLE.SUBTREEOID,
NE_SNMPV3_VIEWS_TABLE.MASK,
NE_SNMPV3_VIEWS_TABLE.TYPE
NE_SNMPV3_VIEWS_TABLE join NE_INFO_TABLE
ON NE_SNMPV3_VIEWS_TABLE.NEDBACCESSID = NE_INFO_TABLE.NEDBACCESSID
NE_INFO_TABLE.NESTATE = 1
NE_INFO_TABLE.NEDISCOVERYSTATE = 4;
2.2.52 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.2.53 NGNE_Info_View
CREATE OR REPLACE VIEW NGNE_INFO_VIEW(TNE_NE_DBACCESS_ID, TL1_PORT, NGNE_PKID, NGNE_TID,
NGNE_IPADDRESS, NGNE_USERNAME, NGNE_USER_PASSWORD) AS
TL1_TUNNEL_GATEWAY_TABLE tg,
tg.NGNE_PKID = ti.FK_NGNE_PKID ;
rem NE_SNMPV3_GROUPS_VIEW aggregates rows from NE_SNMPV3_GROUPS_TABLE and NE_INFO_TABLE to
show the NE SYSID
rem Select NEs that are In Service state and DISCOVERED only.
2.2.54 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.2.55 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.2.56 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.2.57 OSS_User_View
create or replace view OSS_User_View as
getOUTIPAddr(userTable.OSSName) IPAddress,
userTable.ListenerModeFlag,
userTable.ActUserDenyFlag,
userTable.AlarmFilterFlag,
OSS_ALARM_FILTER_TABLE filterTable,
filterTable.AlarmFilterId = userTable.AlarmFilterId;
2.2.58 POS_Ports_View
CREATE OR REPLACE VIEW POS_PORTS_VIEW AS
c.NEDBACCESSID as NEDBACCESSID,
c.MODULETYPE as MODULETYPE,
c.MODELTYPE as NEMODELTYPE,
a.MODULENAME as MODULENAME,
c.PHYSICALLOC as PHYSICALLOC,
from EQPT_INFO_TABLE c,NE_INFO_TABLE b,MODULE_TYPE_TABLE a
where (c.OBJECTINDEX = 166 OR c.OBJECTINDEX = 284) and
c.NEDBACCESSID = b.NEDBACCESSID and
c.MODELTYPE = a.MODELTYPE and
c.MODULETYPE = a.MODULETYPE;
2.2.59 QoSTemplate_General_View
CREATE OR REPLACE VIEW QOSTEMPLATE_GENERAL_VIEW AS
QOSTEMPLATENAME as TNAME,
QOSTEMPLATETYPE as TTYPE,
QOSTEMPLATEDESCRIPTION as TDESC
FROM L2QOSTEMPLATE_TABLE;
2.2.60 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.2.61 Roll_View
CREATE OR REPLACE VIEW roll_view AS
(select CktName from circuit_bs_tbl where cktnodeid = r.rollfromcktnodeid and
cktuniqueid=r.rollfromcktuniqueid) as rollFromCkt,
(select CktName from circuit_bs_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,
r.canBeForced as canBeForced,
2.2.62 Self_Monitoring_View
create or replace view Self_Monitoring_view AS
ne.NEAliasID as NEAliasID,
FROM SERVER_MONITOR_TABLE sm,
SERVER_PARAMETER_TABLE sp,
WHERE sp.ParameterIndex=sm.ParameterIndex
and sm.nedbaccessid=ne.nedbaccessid
FROM SERVER_MONITOR_TABLE sm,
SERVER_PARAMETER_TABLE sp,
WHERE sp.ParameterIndex=sm.ParameterIndex
and sm.nedbaccessid=pn.nedbaccessid
FROM SERVER_MONITOR_TABLE sm,
SERVER_PARAMETER_TABLE sp
WHERE sp.ParameterIndex=sm.ParameterIndex
2.2.63 Service_Availability_Log_View
CREATE OR REPLACE VIEW SERVICE_AVAILABILITY_LOG_VIEW AS
SERVICE_INSTANCE_NAME AS SERVICE_INSTANCE_NAME,
FIRST_ACTIVATED AS FIRST_ACTIVATED,
DEACTIVATED AS DEACTIVATED,
LAST_CRASH AS LAST_CRASH,
PAST_UPTIME AS TOTAL_UPTIME,
PERC_UPTIME AS PERC_UPTIME
FROM SERVICE_AVAILABILITY_TABLE WHERE STATUS = 0;
2.2.64 SPAN_LINK_View
CREATE OR REPLACE VIEW SPAN_LINK_VIEW
spn.CKTSPANBSID as SPANID,
spn.CKTLINKID as ORIGINAL_SPAN_LINKID,
lnk.LINKPROTTYPE as LINKPROT,
lnk.LINKTYPE as LINKTYPE,
circuit.CKTPROTECTIONTYPE as CIRCUITPROT,
circuit.CKTTYPE as CIRCUITTYPE,
circuit.CKTNAME as CIRCUITNAME,
CIRCUIT_CTP_TBL ctp1, CIRCUIT_CTP_TBL ctp2, CIRCUIT_SPAN_BS_TBL spn, LINK_TABLE lnk,
CIRCUIT_BS_TBL circuit
spn.CKTSPANSRCCTPACCESSID = ctp1.CTPACCESSID
spn.CKTSPANDSTCTPACCESSID = ctp2.CTPACCESSID
circuit.CKTNODEID = spn.CKTNODEID
circuit.CKTUNIQUEID = spn.CKTUNIQUEID
(( ctp1.CKTCTPPHYSICALLOC = lnk.LINKSRCPHYSICALLOC AND ctp1.CKTCTPNEDBACCESSID =
lnk.LINKSRCNODE AND
ctp2.CKTCTPPHYSICALLOC = lnk.LINKDSTPHYSICALLOC AND ctp2.CKTCTPNEDBACCESSID =
lnk.LINKDSTNODE )
( ctp1.CKTCTPPHYSICALLOC = lnk.LINKDSTPHYSICALLOC AND ctp1.CKTCTPNEDBACCESSID =
lnk.LINKDSTNODE AND
ctp2.CKTCTPPHYSICALLOC = lnk.LINKSRCPHYSICALLOC AND ctp2.CKTCTPNEDBACCESSID =
lnk.LINKSRCNODE ))
AND lnk.LINKTYPE = getlinktype( circuit.CKTPROTECTIONTYPE, circuit.CKTTYPE,
lnk.LINKTYPE, spn.CKTSPANBSID)
2.2.65 SPR_View
CREATE OR REPLACE VIEW SPR_VIEW AS
c.NEDBACCESSID as NEDBACCESSID,
c.MODULETYPE as MODULETYPE,
c.MODELTYPE as NEMODELTYPE,
a.MODULENAME as MODULENAME,
c.PHYSICALLOC as PHYSICALLOC,
from EQPT_INFO_TABLE c,NE_INFO_TABLE b,MODULE_TYPE_TABLE a
where c.OBJECTINDEX = 186 and
c.NEDBACCESSID = b.NEDBACCESSID and
c.MODELTYPE = a.MODELTYPE and
c.MODULETYPE = a.MODULETYPE;
2.2.66 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.2.67 SW_User_Port_View
create or replace view SW_User_Port_View as
p.NEPortIfIndex = i.ifstaticindex;
2.2.68 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.2.69 TL1_NE_View
create or replace view TL1_NE_View as
(select GNESysID from GNE_Table where GNEID=ni.GNEID) as GNESysID,
isIPV6(ni.NEDBAccessID) isipv6
ni.NESubnetworkID = si.SubnetID AND
ni.NESubnetworkID = si.SubnetID AND
2.2.70 Topology_Circuit_View
create or replace view TOPOLOGY_CIRCUIT_VIEW as
SRC AS (select cktctpnedbaccessid,
cktctpDropProt from circuit_ctp_tbl where ctp_type = 0 ),
SEC AS (select cktctpnedbaccessid,
cktctpDropProt from circuit_ctp_tbl where ctp_type = 1 ),
DEST AS ( select cktctpnedbaccessid,
cktctpDropProt from circuit_ctp_tbl where ctp_type = 2 ),
spantbl AS ( select spancircuit.CktNodeId as NodeId,
spancircuit.CktUniqueId as UniqueId
from CIRCUIT_BS_Tbl circuit,
circuit_span_BS_tbl spancircuit,
where ctp_src.CTPACCESSID = spancircuit.CKTSPANSRCCTPACCESSID
and ctp_dst.CTPACCESSID = spancircuit.CKTSPANDSTCTPACCESSID
and spancircuit.CktNodeId = circuit.CktNodeId
and spancircuit.CktUniqueId = circuit.CktUniqueId
and ne_src.nenodeid = ctp_src.CKTCTPNODEID
and ne_dst.nenodeid = ctp_dst.CKTCTPNODEID
and (ctp_src.ctp_type = 3 and ctp_dst.ctp_type = 4) ),
span AS ( select span.cktnodeid, span.cktuniqueid, ctpsrc.cktctpnodeid asspansrcnodeid,
ctpdest.cktctpnodeid as spandestnodeid,
span.cktlinkid as cktlinkid
from circuit_ctp_tbl ctpsrc,
where ctpsrc.ctpaccessid=span.cktspansrcctpaccessid and
ctpdest.ctpaccessid=span.cktspandstctpaccessid
c.CktDirection as Direction,
get_nesysid(src.cktctpnedbaccessid) as SrcNodeid, /* *@INDEX A 4 */
src.cktctpnodeid as cktsrcnodeid,
nvl(getModulename1(src.cktnodeid, src.CktCtpModuleType),'SYSTEM') as
SrcModuleType,
src.CktCtpPhysicalLoc as SrcPhysicalLoc,
src.CktCtpModelType as SrcModelType,
src.CktCtpIfIndex as SrcInterfaceId,
nvl(getModulename1(sec.cktnodeid, sec.CktCtpModuleType),'SYSTEM') as
SecSrcModuleType,
sec.CktCtpPhysicalLoc as SecSrcPhysicalLoc,
sec.CktCtpModelType as CktSecSrcModelType,
sec.CktCtpIfIndex as SecSrcInterfaceId,
collapseddestnodename(c.CKTNODEID,c.CKTUNIQUEID) as destnodename,
collapsedmodulename(c.CKTNODEID,c.CKTUNIQUEID) as cktdestModuleName,
dest.CktCtpPhysicalLoc as DestPhysicalLoc,
dest.CktCtpModelType as CktDestModelType,
collapsedifindex(c.CKTNODEID,c.CKTUNIQUEID) as DestInterfaceId,
c.CktIsMonitor as Ismonitor,
src.CktCtpDropProt as SrcDropProt,
c.CktUniqueId as UniqueId,
c.CktDescription as Description,
dest.cktctpnodeid as DestNodeId,
span.SpanSrcNodeId as CktSpanSrcNodeId,
span.SpanDestNodeId as CktSpanDestNodeId,
dest.CktCtpPathProt as DestPathProtection,
eqptinfoport(src.cktctpnedbaccessid,src.cktctpphysicalloc,0,src.cktctpmoduletype) as
CktSrcPortName,
eqptinfoport(sec.cktctpnedbaccessid,sec.cktctpphysicalloc,0,sec.cktctpmoduletype) as
CktSecSrcPortName,
collapsedeqptportname(c.CKTNODEID,c.CKTUNIQUEID) as CktDestPortName,
sec.CktNodeId as CktSecSrcNodeId,
c.customerId as CktCusiomerId,
c.serviceId as CktServiceId,
l2topo.TopoAliasName as TopoAliasName,
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,
l2topo.COS_AVVID_CONTROL,
l2topo.CLASS_BEST_EFFORT,
l2topo.CLASS_AVVID_VOICEVIDEO,
nvl(vcg.VCGDirection,-1) as VCGDirection,
nvl(vcg.ParentCktNodeId,-1) as ParentCktNodeId,
nvl(vcg.ParentCktUniqueId,-1) as ParentCktUniqueId
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 = src.CktNodeId(+) and
c.CktUniqueId = src.CktUniqueId(+) and
c.CktNodeId = sec.CktNodeId(+) and
c.CktUniqueId = sec.CktUniqueId(+) and
c.CktNodeId = dest.CktNodeId(+) and
c.CktUniqueId = dest.CktUniqueId(+) and
c.CktNodeId = span.CktNodeId(+) and
c.CktUniqueId = span.CktUniqueId(+) and
c.CktNodeId = vcg.CktNodeId(+) and
c.CktUniqueId = vcg.CktUniqueId(+) and
c.CktNodeId = spantbl.NodeId(+) and
c.CktUniqueId = spantbl.UniqueId(+) and
(l2topo.TopoStatus > 2 OR l2topo.TopoStatus < 2);
2.2.71 Topology_Circuit_View_CTM5_0
create or replace view TOPOLOGY_CIRCUIT_VIEW_CTM5_0 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,
l2topo.COS_AVVID_CONTROL,
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.2.72 Topology_GUI_View
CREATE OR REPLACE VIEW topology_gui_view AS
l2Topology.Topology_Name as Name,
l2Topology.TopoAliasName as Alias,
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.2.73 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.2.74 Unmanaged_NE_Inventory_View
create or replace view UNMANAGED_NE_INVENTORY_VIEW as
UNMANAGED_NE_INVENTORY_TABLE t2,
t1.NEDBACCESSID = t2.NEDBACCESSID
t1.NEMODELINDEX = t3.NEMODELINDEX;
2.2.75 User_NE_View
create or replace view User_NE_View as
grouporneid as GROUPORNEID,
2.2.76 User_View
create or replace view User_View as
2.2.77 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.2.78 Vlan_Drop_Ports_View
create or replace view VLAN_DROP_PORTS_VIEW as
l2if.BRIDGE_GROUP_NUMBER,
GETIPSLA_IPADDR(l2if.NEID,l2if.SLOT_NUMBER,l2if.BRIDGE_GROUP_NUMBER) as IP_ADDRESS,
GETIPSLA_SUBNETMASK(l2if.NEID,l2if.SLOT_NUMBER,l2if.BRIDGE_GROUP_NUMBER) as
SUBNET_MASK
/* OUTER JOIN ADDED TO FIX THE PROBLEM ON THE EMPTY PORT CHANNEL TABLE */
(L2_Interface_Table l2if LEFT OUTER JOIN Port_Channel_Table l2pc ON (l2pc.NE_NODE_ID =
l2if.NEID AND l2pc.SLOT_NUMBER = l2if.SLOT_NUMBER AND l2pc.PORT_CHANNEL_ID =
l2if.PORT_NUMBER AND l2if.INTERFACE_TYPE = 552))
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
l2if.INTERFACE_TYPE != 284 AND
l2if.INTERFACE_TYPE != 285 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.INTERFACE_TYPE != 552) OR
(l2pc.NE_NODE_ID = l2if.NEID AND
l2pc.SLOT_NUMBER = l2if.SLOT_NUMBER AND
l2pc.PORT_CHANNEL_ID = l2if.PORT_NUMBER AND
l2if.INTERFACE_TYPE = 552)) AND
l2if.BRIDGE_GROUP_NUMBER = bg.Bridge_group_number AND
l2if.NEID = neIf.NEDBACCESSID;
2.2.79 Vlan_Service_View
create or replace view VLAN_SERVICE_VIEW as
l2vlan.TopoNodeID = l2topo.TopoNodeID AND
l2vlan.TopoUniqueId = l2topo.TopoUniqueId AND
2.3 Cisco MGX Media Gateway Views
2.3.1 Access_Node
create or replace view access_node
(node_id,obj_id,type,subtype,ipaddress,p_ipaddress,p_slot,p_port,r_slot,r_port,device_id)
IS_NUMBER(eit.COL1) as node_id ,
IS_NUMBER(eit.COL1) as obj_id ,
IS_NUMBER(eit.COL1) as type ,
IS_NUMBER(eit.COL1) as subtype ,
IS_NUMBER(eit.COL1) as ipaddress ,
IS_NUMBER(eit.COL1) as p_ipaddress ,
IS_NUMBER(eit.COL1) as p_slot ,
IS_NUMBER(eit.COL1) as p_port ,
IS_NUMBER(eit.COL1) as r_slot ,
IS_NUMBER(eit.COL1) as r_port ,
IS_NUMBER(eit.COL1) as device_id
eit.NEDBACCESSID = 10000;
2.3.2 Bis_Object
create or replace view bis_object
(obj_id,name,type,subtype,node_id,ipaddress,p_node_id,p_ipaddress,p_bay,p_line,p_slot,p_po
rt,p_logicalport,f_slot,f_port,status,active,model) AS SELECT
IS_NUMBER(eit.COL1) as obj_id ,
IS_NUMBER(eit.COL1) as type ,
IS_NUMBER(eit.COL1) as subtype ,
IS_NUMBER(eit.COL1) as node_id ,
IS_NUMBER(eit.COL1) as ipaddress ,
IS_NUMBER(eit.COL1) as p_node_id ,
IS_NUMBER(eit.COL1) as p_ipaddress ,
IS_NUMBER(eit.COL1) as p_bay ,
IS_NUMBER(eit.COL1) as p_line ,
IS_NUMBER(eit.COL1) as p_slot ,
IS_NUMBER(eit.COL1) as p_port ,
IS_NUMBER(eit.COL1) as p_logicalport ,
IS_NUMBER(eit.COL1) as f_slot ,
IS_NUMBER(eit.COL1) as f_port ,
IS_NUMBER(eit.COL1) as status ,
IS_NUMBER(eit.COL1) as active ,
IS_NUMBER(eit.COL1) as model
eit.NEDBACCESSID = 10000;
2.3.3 Card
CREATE OR REPLACE VIEW card AS
eit.NEDBACCESSID as node_id,
IS_NUMBER(eit.COL1) as shelf,
IS_NUMBER(eit.COL2) as slot,
IS_NUMBER(eit.COL3) as fc_type,
eit.Col5 as fc_serial_num,
IS_NUMBER(eit.Col8) as fc_reset_reason,
IS_NUMBER(eit.Col9) as fc_state,
IS_NUMBER(eit.COL10) as bc_type,
eit.Col12 as bc_serial_num,
IS_NUMBER(eit.Col14) as bc_state,
IS_NUMBER(eit.COL15) as sec_bc_type,
eit.Col16 as sec_bc_dscrp,
eit.Col17 as sec_bc_serial_num,
eit.Col18 as sec_bc_hw_rev,
IS_NUMBER(eit.Col19) as sec_bc_state,
IS_NUMBER(eit.Col20) as out_of_sync,
IS_NUMBER(eit.Col35) as ml_chan_stat,
IS_NUMBER(eit.Col21) as logical_slot,
IS_NUMBER(eit.Col22) as sct_id,
IS_NUMBER(eit.Col23) as sct_version,
eit.ifindex as ent_phy_idx,
IS_NUMBER(eit.Col24) as bc_ent_phy_idx,
IS_NUMBER(eit.Col25) as sec_bc_ent_phy_idx,
IS_NUMBER(eit.Col26) as transaction_id,
IS_NUMBER(eit.Col27) as cac_mode,
IS_NUMBER(eit.Col28) as max_ima_grp,
IS_NUMBER(eit.Col29) as configured_ima_grp,
IS_NUMBER(eit.Col30) as min_grp_tx_ima_id,
IS_NUMBER(eit.Col31) as max_grp_tx_ima_id,
IS_NUMBER(eit.Col32) as ima_ver_fallback_enable,
IS_NUMBER(eit.Col33) as ima_restart_enable,
IS_NUMBER(eit.Col34) as ima_ent_phy_idx,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType > 20002 AND
2.3.4 Line
CREATE OR REPLACE VIEW line AS
eit.NEDBACCESSID as node_id,
IS_NUMBER(eit.COL5) as obj_id,
IS_NUMBER(eit.COL1) as shelf,
IS_NUMBER(eit.COL2) as slot,
IS_NUMBER(eit.COL4) as line,
IS_NUMBER(eit.COL6) as line_type,
IS_NUMBER(eit.COL7) as connector,
IS_NUMBER(eit.COL8) as enable,
IS_NUMBER(eit.COL9) as subtype,
IS_NUMBER(eit.COL10) as coding,
IS_NUMBER(eit.COL17) as length,
IS_NUMBER(eit.COL11) as clock_src,
IS_NUMBER(eit.COL12) as loopback,
IS_NUMBER(eit.COL24) as line_bitmap,
IS_NUMBER(eit.COL23) as stat_severity,
IS_NUMBER(eit.COL18) as alarm_state,
IS_NUMBER(eit.COL19) as stat_alarm_state,
IS_NUMBER(eit.COL16) as agg_state,
-1 as section_stat_state,
IS_NUMBER(eit.COL3) as bay,
IS_NUMBER(eit.COL14) as parent_if_index,
-1 as clk_freq_threshold,
IS_NUMBER(eit.COL20) as sendcode,
IS_NUMBER(eit.COL15) as channel_bitmap,
IS_NUMBER(eit.COL25) as sig_tx_mode,
IS_NUMBER(eit.COL21) as lpbk_status,
IS_NUMBER(eit.COL22) as channelize,
IS_NUMBER(eit.COL26) as signal_mode,
IS_NUMBER(eit.COL27) as trk_cond_en,
eit.COL28 as circuit_identifier,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
eit.NEDBACCESSID as node_id,
IS_NUMBER(eit.COL5) as obj_id,
IS_NUMBER(eit.COL1) as shelf,
IS_NUMBER(eit.COL2) as slot,
IS_NUMBER(eit.COL4) as line,
IS_NUMBER(eit.COL6) as line_type,
IS_NUMBER(eit.COL7) as connector,
IS_NUMBER(eit.COL8) as enable,
IS_NUMBER(eit.COL9) as subtype,
IS_NUMBER(eit.COL10) as coding,
IS_NUMBER(eit.COL17) as length,
IS_NUMBER(eit.COL11) as clock_src,
IS_NUMBER(eit.COL12) as loopback,
IS_NUMBER(eit.COL24) as oof_criteria,
IS_NUMBER(eit.COL25) as aisc_check,
IS_NUMBER(eit.COL26) as rai_severity,
IS_NUMBER(eit.COL23) as stat_severity,
IS_NUMBER(eit.COL18) as alarm_state,
IS_NUMBER(eit.COL19) as stat_alarm_state,
IS_NUMBER(eit.COL16) as agg_state,
IS_NUMBER(eit.COL27) as rate,
IS_NUMBER(eit.COL28) as frame_scramble,
-1 as section_stat_state,
IS_NUMBER(eit.COL3) as bay,
IS_NUMBER(eit.COL14) as parent_if_index,
IS_NUMBER(eit.COL29) as subrate_enable,
IS_NUMBER(eit.COL30) as dsu_select,
-1 as clk_freq_threshold,
IS_NUMBER(eit.COL20) as sendcode,
IS_NUMBER(eit.COL15) as channel_bitmap,
IS_NUMBER(eit.COL21) as lpbk_status,
IS_NUMBER(eit.COL22) as channelize,
eit.COL31 as circuit_identifier,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
eit.NEDBACCESSID as node_id,
IS_NUMBER(eit.COL5) as obj_id,
IS_NUMBER(eit.COL1) as shelf,
IS_NUMBER(eit.COL2) as slot,
IS_NUMBER(eit.COL4) as line,
IS_NUMBER(eit.COL6) as line_type,
IS_NUMBER(eit.COL7) as connector,
IS_NUMBER(eit.COL8) as enable,
IS_NUMBER(eit.COL9) as subtype,
IS_NUMBER(eit.COL10) as coding,
IS_NUMBER(eit.COL11) as clock_src,
IS_NUMBER(eit.COL12) as loopback,
IS_NUMBER(eit.COL17) as tx_payload_type,
IS_NUMBER(eit.COL34) as alarm_state,
IS_NUMBER(eit.COL16) as agg_state,
IS_NUMBER(eit.COL18) as section_state,
IS_NUMBER(eit.COL19) as section_stat_sev,
IS_NUMBER(eit.COL20) as section_stat_state,
IS_NUMBER(eit.COL21) as line_state,
IS_NUMBER(eit.COL22) as line_stat_sev,
IS_NUMBER(eit.COL23) as line_stat_state,
IS_NUMBER(eit.COL24) as path_state,
IS_NUMBER(eit.COL25) as path_stat_sev,
IS_NUMBER(eit.COL26) as path_stat_state,
IS_NUMBER(eit.COL3) as bay,
IS_NUMBER(eit.COL14) as parent_if_index,
-1 as clk_freq_threshold,
IS_NUMBER(eit.COL27) as sonet_rdiv_type,
IS_NUMBER(eit.COL28) as sonet_rdip_type,
IS_NUMBER(eit.COL29) as sonet_trib_type,
IS_NUMBER(eit.COL30) as sonet_trib_map,
IS_NUMBER(eit.COL31) as sonet_trib_frm,
IS_NUMBER(eit.COL32) as sonet_sig_trnsp,
IS_NUMBER(eit.COL33) as sonet_trib_grp,
IS_NUMBER(eit.COL20) as sendcode,
IS_NUMBER(eit.COL15) as channel_bitmap,
eit.COL35 as circuit_identifier,
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType > 20052 AND
2.3.5 mgc_view
CREATE OR REPLACE VIEW mgc_view AS
(select mgc_grp.node_id, mgc_grp.slot, mgc_grp.mgcg_num, mgc_grp.mgc_num, \
megaco_config.vmg_domain_name from megaco_config,mgc_grp whe
re mgc_grp.mgcg_num = megaco_config.mgcg_num and megaco_config.node_id = \
mgc_grp.node_id and megaco_config.slot = mgc_grp.slot) X on vism_mgc.
(X.node_id IS NULL or (X.node_id =vism_mgc.node_id)) AND
(X.slot IS NULL or (X.slot =vism_mgc.slot));
2.3.6 mgdomain_name_view
CREATE OR REPLACE VIEW mgdomain_name_view AS
(select mgc_grp.node_id, mgc_grp.slot, mgc_grp.mgcg_num, mgc_grp.mgc_num, \
megaco_config.vmg_domain_name from megaco_config,mgc_grp whe
re mgc_grp.mgcg_num = megaco_config.mgcg_num and megaco_config.node_id = \
mgc_grp.node_id and megaco_config.slot = mgc_grp.slot) X ON mg_dname.
(X.node_id IS NULL or (X.node_id =mg_dname.node_id)) AND
(X.slot IS NULL or (X.slot =mg_dname.slot));
2.3.7 MGX8880_Inventory_View
CREATE OR REPLACE VIEW MGX8880_inventory_view AS
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
eit.Col4 as ModuleDescription,
to_number(eit.Col8) as FcResetReason,
to_number(eit.Col9) as ModuleState,
eit.Col12 as BcSerialNum,
to_number(eit.Col14) as BcState,
eit.Col17 as SecBcSerialNum,
to_number(eit.Col19) as SecBcState,
to_number(eit.Col20) as SyncMode,
to_number(eit.Col21) as LogicalSlot,
to_number(eit.Col22) as SctId,
to_number(eit.Col23) as SctVersion,
ne.NEAliasID as NEAliasID
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType > 20002 AND
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
eit.Col11 as FcSerialNum,
IS_NUMBER(eit.Col6) as ModuleState,
IS_NUMBER(eit.Col4) as UnitNum,
IS_NUMBER(eit.Col5) as GroupNum,
ne.NEAliasID as NEAliasID
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType = 20031 AND
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
to_number(eit.Col6) as ModuleState,
to_number(eit.Col4) as UnitNum,
to_number(eit.Col5) as GroupNum,
ne.NEAliasID as NEAliasID
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType > 20029 AND
mtt.ModuleType < 20038 AND
mtt.ModuleType != 20031 AND
eit.PhysicalLoc as PhysicalLoc,
mtt.ModuleName as ModuleName,
eit.Col3 as ModuleDescription,
to_number(eit.Col7) as ModuleState,
to_number(eit.Col9) as UnitNum,
ne.NEAliasID as NEAliasID
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType = 20038 AND
2.3.8 Node
CREATE OR REPLACE VIEW node AS
ne.NEDBAccessId as node_id,
ne.NESubNetworkID as netw_id,
mgxne.NeName as node_name,
ne.NEIPAddr as net_ip_address,
mgxne.LanIpAddress as lan_ip_address,
mgxne.MgxModelNum as model,
mgxne.Platform as platform,
ne.ConfigSyncStatus as sync_mode,
getMgx88xxMgmtState(ne.isNEConnected) as mgmt_state,
mgxne.NodePrefix as node_prefix,
mgxne.PnniNodeId as pnni_node_id,
mgx8880_ne_info_table mgxne,
ne.NEDBAccessId = mgxne.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
2.3.9 Node_Info
CREATE OR REPLACE VIEW node_info AS
ne.NEDBAccessId as node_id,
mgxne.NeName as node_name,
ne.NESubNetworkID as network_id,
ne.NESnmpCommString as get_str,
mgxne.NESetSnmpCommString as set_str,
ne.NEUSERNAME as ftp_user_name,
ne.NEUSERPASSWORD as ftp_user_passwd,
'MGX MGW node' as descriptor,
ne.NEIPAddr as ipaddress,
mgxne.MgxModelNum as model,
mgxne.ftp_enabled as ftp_enabled,
mgxne.sftp_supported as sftp_supported,
mgxne.snmp_version as snmp_version,
mgxne.snmpv3_request_user as snmpv3_request_user,
mgxne.snmpv3_trap_user as snmpv3_trap_user
mgx8880_ne_info_table mgxne,
ne.NEDBAccessId = mgxne.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
2.3.10 Peripheral
CREATE OR REPLACE VIEW peripheral AS
eit.NEDBACCESSID as node_id,
IS_NUMBER(eit.COL1) as shelf,
IS_NUMBER(eit.COL3) as peri_type,
IS_NUMBER(eit.COL4) as unit_num,
IS_NUMBER(eit.COL6) as status,
eit.ifindex as phy_index,
IS_NUMBER(eit.COL5) as group_num,
IS_NUMBER(eit.COL10) as reserved
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType > 20029 AND
mtt.ModuleType < 20038 AND
2.3.11 rtcpalert_view
CREATE OR REPLACE VIEW rtcpalert_view AS
rtcp.alert_profile_index,
vxsm_rtcp_alert_trigger rtcp, megaco_config mg
rtcp.node_id = mg.node_id AND
rtcp.mgcg_num = mg.mgcg_num AND
rtcp.trigger_index_type = 4 AND
mg.vmg_domain_name IS NOT NULL ;
2.3.12 Sensor
CREATE OR REPLACE VIEW sensor AS
eit.NEDBACCESSID as node_id,
IS_NUMBER(eit.COL1) as shelf,
IS_NUMBER(eit.COL2) as slot,
eit.ifindex as ent_phy_idx,
IS_NUMBER(eit.COL4) as type,
IS_NUMBER(eit.COL5) as scale,
IS_NUMBER(eit.COL6) as value,
IS_NUMBER(eit.COL7) as status,
IS_NUMBER(eit.COL8) as alarm_state,
IS_NUMBER(eit.COL9) as sensor_num,
IS_NUMBER(eit.COL10) as reserved
ne.NEDBAccessId = eit.NEDBAccessId AND
ne.NEModelType = mtt.ModelType AND
eit.ModuleType = mtt.ModuleType AND
mtt.ModuleType = 20038 AND
2.3.13 Xpvc
create or replace view xpvc
(xpvc_id,num_segs,status,conn_type,service_type,vp_conn_flag,l_node_id,l_slot,l_line,l_por
t,l_logical_port,l_subchnl_1,l_subchnl_2,r_node_id,r_slot,r_line,r_port,r_logical_port,r_s
ubchnl_1,r_subchnl_2,secondary_state,l_end_nni,r_end_nni,l1_parent_status,l2_parent_status
,l3_parent_status,r1_parent_status,r2_parent_status,r3_parent_status,l_endpoint_type,r_end
point_type) AS SELECT
IS_NUMBER(eit.COL1) as xpvc_id ,
IS_NUMBER(eit.COL1) as num_segs,
IS_NUMBER(eit.COL1) as status ,
IS_NUMBER(eit.COL1) as conn_type,
IS_NUMBER(eit.COL1) as service_type ,
IS_NUMBER(eit.COL1) as vp_conn_flag ,
IS_NUMBER(eit.COL1) as l_node_id ,
IS_NUMBER(eit.COL1) as l_slot ,
IS_NUMBER(eit.COL1) as l_line ,
IS_NUMBER(eit.COL1) as l_port ,
IS_NUMBER(eit.COL1) as l_logical_port ,
IS_NUMBER(eit.COL1) as l_subchnl_1 ,
IS_NUMBER(eit.COL1) as l_subchnl_2 ,
IS_NUMBER(eit.COL1) as r_node_id ,
IS_NUMBER(eit.COL1) as r_slot ,
IS_NUMBER(eit.COL1) as r_line ,
IS_NUMBER(eit.COL1) as r_port ,
IS_NUMBER(eit.COL1) as r_logical_port ,
IS_NUMBER(eit.COL1) as r_subchnl_1 ,
IS_NUMBER(eit.COL1) as r_subchnl_2 ,
IS_NUMBER(eit.COL1) as secondary_state ,
IS_NUMBER(eit.COL1) as l_end_nni ,
IS_NUMBER(eit.COL1) as r_end_nni ,
IS_NUMBER(eit.COL1) as l1_parent_status ,
IS_NUMBER(eit.COL1) as l2_parent_status ,
IS_NUMBER(eit.COL1) as l3_parent_status ,
IS_NUMBER(eit.COL1) as r1_parent_status ,
IS_NUMBER(eit.COL1) as r2_parent_status ,
IS_NUMBER(eit.COL1) as r3_parent_status ,
IS_NUMBER(eit.COL1) as l_endpoint_type ,
IS_NUMBER(eit.COL1) as r_endpoint_type
WHERE eit.NEDBACCESSID=10000;
2.3.14 Xpvc_Segment
create or replace view xpvc_segment
(xpvc_id,segment_order,in_network,l_endpt_type,l_node_id,l_slot,l_line,l_port,l_logical_po
rt,l_subchnl_1,l_subchnl_2,l_parent_status,r_endpt_type,r_node_id,r_slot,r_line,r_port,r_l
ogical_port,r_subchnl_1,r_subchnl_2,r_parent_status,status,secondary_state,service_type,l_
end_nni,r_end_nni,vp_conn_flag,pnni_flag,p_xlmi_l_node_id,p_xlmi_l_slot,p_xlmi_l_port,p_xl
mi_r_node_id,p_xlmi_r_slot,p_xlmi_r_port,s_xlmi_l_node_id,s_xlmi_l_slot,s_xlmi_l_port,s_xl
mi_r_node_id,s_xlmi_r_slot,s_xlmi_r_port) AS SELECT
IS_NUMBER(eit.COL1) as xpvc_id ,
IS_NUMBER(eit.COL1) as segment_order ,
IS_NUMBER(eit.COL1) as in_network ,
IS_NUMBER(eit.COL1) as l_endpt_type ,
IS_NUMBER(eit.COL1) as l_node_id ,
IS_NUMBER(eit.COL1) as l_slot ,
IS_NUMBER(eit.COL1) as l_line ,
IS_NUMBER(eit.COL1) as l_port ,
IS_NUMBER(eit.COL1) as l_logical_port ,
IS_NUMBER(eit.COL1) as l_subchnl_1 ,
IS_NUMBER(eit.COL1) as l_subchnl_2 ,
IS_NUMBER(eit.COL1) as l_parent_status ,
IS_NUMBER(eit.COL1) as r_endpt_type ,
IS_NUMBER(eit.COL1) as r_node_id ,
IS_NUMBER(eit.COL1) as r_slot ,
IS_NUMBER(eit.COL1) as r_line ,
IS_NUMBER(eit.COL1) as r_port ,
IS_NUMBER(eit.COL1) as r_logical_port ,
IS_NUMBER(eit.COL1) as r_subchnl_1 ,
IS_NUMBER(eit.COL1) as r_subchnl_2 ,
IS_NUMBER(eit.COL1) as r_parent_status ,
IS_NUMBER(eit.COL1) as status ,
IS_NUMBER(eit.COL1) as secondary_state ,
IS_NUMBER(eit.COL1) as service_type ,
IS_NUMBER(eit.COL1) as l_end_nni ,
IS_NUMBER(eit.COL1) as r_end_nni ,
IS_NUMBER(eit.COL1) as vp_conn_flag ,
IS_NUMBER(eit.COL1) as pnni_flag ,
IS_NUMBER(eit.COL1) as p_xlmi_l_node_id ,
IS_NUMBER(eit.COL1) as p_xlmi_l_slot ,
IS_NUMBER(eit.COL1) as p_xlmi_l_port ,
IS_NUMBER(eit.COL1) as p_xlmi_r_node_id ,
IS_NUMBER(eit.COL1) as p_xlmi_r_slot ,
IS_NUMBER(eit.COL1) as p_xlmi_r_port ,
IS_NUMBER(eit.COL1) as s_xlmi_l_node_id ,
IS_NUMBER(eit.COL1) as s_xlmi_l_slot ,
IS_NUMBER(eit.COL1) as s_xlmi_l_port ,
IS_NUMBER(eit.COL1) as s_xlmi_r_node_id ,
IS_NUMBER(eit.COL1) as s_xlmi_r_slot ,
IS_NUMBER(eit.COL1) as s_xlmi_r_port
eit.NEDBACCESSID = 10000;
2.4 Cisco ONS 152xx Views
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.5 Cisco ONS 15216 Views
2.5.1 ONS15216_Active_User_View
create or replace view ONS15216_Active_User_view as
ons15216_active_user_table b,
b.nedbaccessid = a.nedbaccessid;
2.5.2 ONS15216_Inventory_View
create or replace view ONS15216_INVENTORY_VIEW as
ONS15216_NE_INVENTORY_TABLE t2
t1.NEDBACCESSID = t2.NEDBACCESSID;
2.5.3 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.6 Cisco ONS 153xx Views
2.6.1 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.6.2 ONS1530x_HO_FE_PM_View
CREATE OR REPLACE VIEW ons1530x_ho_fe_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.6.3 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.6.4 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.6.5 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.6.6 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.6.7 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.6.8 ONS1530x_MS_FE_PM_View
CREATE OR REPLACE VIEW ons1530x_ms_fe_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.6.9 ONS1530x_MS_PM_View
CREATE OR REPLACE VIEW ons1530x_ms_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.6.10 ONS1530x_RS_PM_View
CREATE OR REPLACE VIEW ons1530x_rs_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType ;
2.6.11 ONS1530x_Wan_PM_View
CREATE OR REPLACE VIEW ons1530x_wan_pm_view AS
pl.NEDbAccessID = pi.NEDbAccessId AND
pl.NEModelType = mt.ModelType AND
mt.ModuleType = pi.ModuleType AND
2.7 Cisco ONS 15454 Views
2.7.1 APC_DOMAIN_NE_VIEW
ne.NEDbaccessid as NEDBAccessID, /* *@INDEX A 0
*/
adt.NEDbaccessid as NEAPCDBAccessID
FROM APC_Domain_Table adt,
ne.NEDbaccessid = ne_belongs_to_APC_domain(adt.Sides,ne.NEDbaccessid);
2.7.2 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.7.3 L2_IPSLA_View
CREATE OR REPLACE VIEW L2_IPSLA_VIEW AS
ipslaTable.Ipsla_Number as Ipsla_Number,
ipslaTable.TopoNodeId as TopoNodeId,
ipslaTable.TopoUniqueId as TopoUniqueId,
ipslaTable.Vlan_Number as Vlan_Number,
neInfo.NESysID as NESysID,
getSlot(ipslaTable.source_phyloc) as SlotNumber,
module.ModuleName as EquipmentType,
ipslaTable.Source_Addr as Source_Addr,
ipslaTable.Destination_Addr as Destination_Addr,
ipslaTable.Operation_type as Operation_type,
ipslaTable.Operation_status as Operation_status
L2_IPSLA_TABLE ipslaTable,
ONS15454_ne_inventory_table inv,
ipslaTable.source_neid = neInfo.NeDbaccessID and
ipslaTable.source_neid = inv.NeDbaccessID and
getSlot(ipslaTable.source_phyloc) = getSlot(inv.PhysicalLoc) and
inv.EquipmentType = module.ModuleType and
neInfo.NEModelType = module.ModelType;
2.7.4 L2_Topology_Cards_View
create or replace view L2_TOPOLOGY_CARDS_VIEW as
cardView.TopoNodeId as TopoNodeId,
cardView.TopoUniqueId as TopoUniqueId,
neInfo.NESysID as NESysID,
mcard.SlotNumber as SlotNumber,
module.ModuleName as EquipmentType,
mcard.configState as configState,
getPosPortState( l2topo.TopoType, mcard.NeDbaccessID, mcard.SlotNumber, 0) as
POS0_Status,
getPosPortState( l2topo.TopoType, mcard.NeDbaccessID, mcard.SlotNumber, 1) as
POS1_Status,
getPosPortStateForRPR802( l2topo.TopoType, mcard.NeDbaccessID, mcard.SlotNumber,
0) as RPR0,
getMLcardAddnlInfo( mcard.AdditionalInfo, inv.EquipmentState) as AdditionalInfo,
getProtectMLcardInfo( mcard.ProtectCardNeDbId, mcard.ProtectCardSlotNumber ) as
ProtectCard,
inv.EquipmentState as EquipmentState,
neInfo.NEDBAccessId as NEDBId,
mcard.ProtectCardNeDbId ProtNeDBId,
mcard.ProtectCardSlotNumber ProtSlotNum,
getProtectMLcardConfigState( mcard.ProtectCardNeDbId, mcard.ProtectCardSlotNumber
as ProtConfigState
MCard_L2Topology_map_view cardView,
ONS15454_ne_inventory_table inv,
module_type_table module,
mcard.NeDbaccessID = neInfo.NeDbaccessID and
mcard.SlotNumber = getSlot(cardView.PhysicalLoc) and
mcard.NeDbaccessID = cardView.NeDbId and
mcard.NeDbaccessID = inv.NeDbaccessID and
mcard.SlotNumber = getSlot(inv.PhysicalLoc) and
inv.EquipmentType = module.ModuleType and
neInfo.NEModelType = module.ModelType and
l2topo.TopoNodeId = cardView.TopoNodeId and
l2topo.TopoUniqueId = cardView.TopoUniqueId;
2.7.5 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.7.6 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,
ni.NEAliasID as NEAliasID,
ons15454sdh_e1_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.7 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,
ni.NEAliasID as NEAliasID,
ons15454sdh_e1_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.8 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,
ni.NEAliasID as NEAliasID,
ons15454sdh_e3_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.9 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_E4_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.10 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_ho_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.11 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.HpPjnSec as HpPjnSec,
csdh.StsPathWidth as StsPathWidth,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454sdh_ho_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.12 ONS15454SDH_LO_VC11_PM_FE_View
CREATE OR REPLACE VIEW ONS15454sdh_lo_vc11_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 vc11FeLoEb,
csdh.FeLoBbe as vc11FeLoBbe,
csdh.FeLoEs as vc11FeLoEs,
csdh.FeLoSes as vc11FeLoSes,
csdh.FeLoUas as vc11FeLoUas,
csdh.FeLoEsr as vc11FeLoEsr,
csdh.FeLoSesr as vc11FeLoSesr,
csdh.FeLoBber as vc11FeLoBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.7.13 ONS15454SDH_LO_VC11_PM_View
CREATE OR REPLACE VIEW ONS15454sdh_lo_vc11_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 vc11LoSesr,
csdh.LoBber as vc11LoBber,
csdh.NEDBAccessID as NEDBAccessID,
csdh.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.7.14 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.7.15 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.7.16 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.7.17 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_lo_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID AND
2.7.18 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_ms_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.19 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,
ni.NEAliasID as NEAliasID
ONS15454sdh_ms_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.20 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,
ni.NEAliasID as NEAliasID,
ONS15454sdh_rs_pm_table csdh,
csdh.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csdh.NEDBAccessID = ni.NEDBAccessID;
2.7.21 APC_Domain_View
CREATE OR REPLACE VIEW APC_Domain_VIEW as
ne.NEDbaccessid = adt.NEDbaccessid;
2.7.22 ONS15454_8B10B_PM_View
CREATE OR REPLACE VIEW ONS15454_8B10B_PM_VIEW AS
fc.statsEncodingDispErrors,
fc.InvldOrdrdSetDispErrorSum,
ni.NEAliasID as NEAliasID,
ons15454_8B10B_pm_table fc,
fc.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
fc.NEDBAccessID = ni.NEDBAccessID;
2.7.23 ONS15454_Active_User_View
create or replace view ONS15454_Active_User_view as
ons15454_active_user_table b,
b.nedbaccessid = a.nedbaccessid;
2.7.24 ONS15454_APC_Result_View
CREATE OR REPLACE VIEW ONS15454_APC_RESULT_VIEW as
eit.col5 as LastModification,
ne.NEDbaccessid = eit.NEDbaccessid AND
2.7.25 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.7.26 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.7.27 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.7.28 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.7.29 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.FEDS1FDLESNP as FDLNPErrSecs,
csonet.FEDS1FDLSESNP as FDLNPSevErrSecs,
csonet.FEDS1FDLUASNP as FDLNPUnavailableSecs,
csonet.FEDS1FDLPATHESR as FDLPEsr,
csonet.FEDS1FDLPATHSESR as FDLPSesr,
csonet.DS1ESNP as NPErrSecs,
csonet.DS1SESNP as NPSevErrSecs,
csonet.DS1UASNP as NPUnavailableSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454_ds1_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.30 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.DS1ESNP as NPErrSecs,
csonet.DS1SESNP as NPSevErrSecs,
csonet.DS1UASNP as NPUnavailableSecs,
csonet.DS1RXPATHBBE as RxPBbe,
csonet.DS1RXPATHESR as RxPEsr,
csonet.DS1RXPATHSESR as RxPSesr,
csonet.DS1RXPATHBBER as RxPBber,
csonet.DS1TXPATHBBE as TxPBbe,
csonet.DS1TXPATHESR as TxPEsr,
csonet.DS1TXPATHSESR as TxPSesr,
csonet.DS1TXPATHBBER as TxPBber,
csonet.DS1RXPATHFC as RxPFc,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454_ds1_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.31 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,
ni.NEAliasID as NEAliasID,
ONS15454_ds3_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.32 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,
ni.NEAliasID as NEAliasID,
ONS15454_ds3_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.33 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.7.34 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),
14,to_char(enet.TxPackets),
15,to_char(enet.TxPackets),
62,to_char(enet.TxPackets),
187,to_char(enet.TxPackets),
120,to_char(enet.TxPackets),
121,to_char(enet.TxPackets),
163,to_char(enet.TxPackets),
164,to_char(enet.TxPackets),
221,to_char(enet.TxPackets),
163,to_char(enet.TxPackets),
164,to_char(enet.TxPackets),
221,to_char(enet.TxPackets),
243,to_char(enet.TxPackets),
229,to_char(enet.TxPackets)
271,to_char(enet.TxPackets),
272,to_char(enet.TxPackets),
273,to_char(enet.TxPackets),
283,to_char(enet.TxPackets),
284,to_char(enet.TxPackets),
285,to_char(enet.TxPackets)
293,to_char(enet.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),
187, 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,
enet.RxGIANTS as rx_giants,
enet.TxCollisions 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,
ni.NEAliasID as NEAliasID,
enet.Dot3StatsCtrInUnknownOpCodes,
enet.Dot3StatsInPauseFrames,
enet.Dot3StatsOutPauseFrames,
enet.EtherStatsPkts1519to1522Octets
decode(lag.LACPDUsRx,NULL, -1,lag.LACPDUsRx) as LACPDUsRx,
decode(lag.MarkerPDUsRx,NULL, -1,lag.MarkerPDUsRx) as MarkerPDUsRx,
decode(lag.MarkerResponsePDUsRx,NULL, -1,lag.MarkerResponsePDUsRx) as
MarkerResponsePDUsRx,
decode(lag.UnknownRx,NULL, -1,lag.UnknownRx) as UnknownRx,
decode(lag.IllegalRx,NULL, -1,lag.IllegalRx) as IllegalRx,
decode(lag.LACPDUsTx,NULL, -1,lag.LACPDUsTx) as LACPDUsTx,
decode(lag.MarkerPDUsTx,NULL, -1,lag.MarkerPDUsTx) as MarkerPDUsTx,
decode(lag.MarkerResponsePDUsTx,NULL, -1,lag.MarkerResponsePDUsTx) as
MarkerResponsePDUsTx,
enet.ETHERSTATSTXFIFOOVERFLOWEVENTS,
enet.IFHCINMULTICASTPKTS,
enet.IFHCINBROADCASTPKTS,
enet.IFHCOUTMULTICASTPKTS,
enet.IFHCOUTBROADCASTPKTS,
enet.ETHERSTATSHIGHCAPACITYPKTS,
enet.ETHERSTATSHIGHCAPACITYOCTETS,
enet.ETHERSTATSHC64OCTETS,
enet.ETHERSTATSHC65TO127OCTETS,
enet.ETHERSTATSHC128TO255OCTETS,
enet.ETHERSTATSHC256TO511OCTETS,
enet.ETHERSTATSHC512TO1023OCTETS,
enet.ETHERSTATSHC1024TO1518OCTETS,
enet.CISTXGENERALQUERIES,
enet.CISTXGROUPSPECIFICQUERIES,
enet.CISRXGENERALQUERIES,
enet.CISRXGROUPSPECIFICQUERIES,
enet.CISRXINVALIDPACKETS,
ons15454_enet_pm_table enet, left outer join ons15454_LAG_pm_table lag
on (enet.NEDBAccessID = lag.NEDBAccessID AND
enet.TIMESTAMP = lag.TIMESTAMP AND
enet.MODULETYPE = lag.MODULETYPE AND
enet.PHYSICALLOC = lag.PHYSICALLOC AND
enet.NEIFINDEX = lag.NEIFINDEX AND
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID AND
2.7.35 ONS15454_ESCON_PM_View
CREATE OR REPLACE VIEW ONS15454_ESCON_PM_VIEW AS
enet.mediaIndStatsRxFramesBadCrc,
enet.StatsLineLastClearedTime,
enet.RxEtherUtilizationStats,
enet.TxEtherUtilizationStats,
decode(enet.ObjectType,5138,5131) as ObjectType,
ni.NEALIASID as NEALIASID,
ons15454_enet_pm_table enet,
enet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
enet.NEDBAccessID = ni.NEDBAccessID AND
2.7.36 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.FibreStatsRxRecvrReady,
fc.FibreStatsTxRecvrReady,
fc.InvldOrdrdSetDispErrorSum,
ni.NEAliasID as NEAliasID,
fc.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
fc.NEDBAccessID = ni.NEDBAccessID AND
2.7.37 ONS15454_GFP_PM_View
CREATE OR REPLACE VIEW ONS15454_gfp_pm_view AS
gfp.GfpStatsRxSBitErrors,
gfp.GfpStatsRxMBitErrors,
gfp.GfpStatsRxTypeInvalid,
gfp.GfpStatsRxCIDInvalid,
gfp.GfpStatsRoundTripLatency,
gfp.GfpStatsRxSBlkCRCErrors,
gfp.GfpStatsRxDistanceExtBuffers,
gfp.GfpStatsTxDistanceExtBuffers,
gfp.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ons15454_gfp_pm_table gfp,
gfp.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
gfp.NEDBAccessID = ni.NEDBAccessID;
2.7.38 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,
info.NEAliasID as NEAliasID
get_inventory_note(inv.SerialNumber) as Note
ONS15454_ne_inventory_table inv,
info.NEDBAccessID = inv.NEDBAccessID AND
info.NEModelType = module.ModelType AND
inv.EquipmentType = module.ModuleType;
2.7.39 ONS15454_IPSLA_PM_View
CREATE OR REPLACE VIEW ONS15454_IPSLA_PM_VIEW AS
ipsla.rttMonStatsStartTimeIndex,
ipsla.rttMonStatsCompletions,
ipsla.rttMonStatsOverThresholds,
ipsla.rttMonStatsNumOfRTT,
ipsla.rttMonStatsRTTSum2Low,
ipsla.rttMonStatsRTTSum2High,
ipsla.rttMonStatsMinOfPositivesSD,
ipsla.rttMonStatsMaxOfPositivesSD,
ipsla.rttMonStatsNumOfPositivesSD,
ipsla.rttMonStatsSumOfPositivesSD,
ipsla.rttMonStatsSum2PositivesSDLow,
ipsla.rttMonStatsSum2PositivesSDHigh,
ipsla.rttMonStatsMinOfNegativesSD,
ipsla.rttMonStatsMaxOfNegativesSD,
ipsla.rttMonStatsNumOfNegativesSD,
ipsla.rttMonStatsSumOfNegativesSD,
ipsla.rttMonStatsSum2NegativesSDLow,
ipsla.rttMonStatsSum2NegativesSDHigh,
ipsla.rttMonStatsMinOfPositivesDS,
ipsla.rttMonStatsMaxOfPositivesDS,
ipsla.rttMonStatsNumOfPositivesDS,
ipsla.rttMonStatsSumOfPositivesDS,
ipsla.rttMonStatsSum2PositivesDSLow,
ipsla.rttMonStatsSum2PositivesDSHigh,
ipsla.rttMonStatsMinOfNegativesDS,
ipsla.rttMonStatsMaxOfNegativesDS,
ipsla.rttMonStatsNumOfNegativesDS,
ipsla.rttMonStatsSumOfNegativesDS,
ipsla.rttMonStatsSum2NegativesDSLow,
ipsla.rttMonStatsSum2NegativesDSHigh,
ipsla.rttMonStatsPacketLossSD,
ipsla.rttMonStatsPacketLossDS,
ipsla.rttMonStatsPacketOutOfSequence,
ipsla.rttMonStatsPacketMIA,
ipsla.rttMonStatsPacketLateArrival,
ipsla.rttMonStatsOWSumSD,
ipsla.rttMonStatsOWSum2SDLow,
ipsla.rttMonStatsOWSum2SDHigh,
ipsla.rttMonStatsOWMinSD,
ipsla.rttMonStatsOWMaxSD,
ipsla.rttMonStatsOWSumDS,
ipsla.rttMonStatsOWSum2DSLow,
ipsla.rttMonStatsOWSum2DSHigh,
ipsla.rttMonStatsOWMinDS,
ipsla.rttMonStatsOWMaxDS,
ipsla.rttMonStatsNumOfOW,
ipsla.rttMonStatsOWMinSDNew,
ipsla.StatsLineLastClearedTime,
ni.NEAliasID as NEAliasID,
ons15454_ipsla_pm_table ipsla,
ipsla.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
ipsla.NEDBAccessID = ni.NEDBAccessID;
2.7.40 ONS15454_ISC_PM_View
CREATE OR REPLACE VIEW ONS15454_ISC_PM_VIEW AS
fc.InvldOrdrdSetDispErrorSum,
fc.StatsLineLastClearedTime,
decode(fc.ObjectType,5137,5131) as ObjectType,
ni.NEAliasID as NEAliasID,
fc.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
fc.NEDBAccessID = ni.NEDBAccessID AND
2.7.41 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,
ni.NEAliasID as NEAliasID,
ONS15454_PHY_LAYER_PM_Table phy,
phy.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
phy.NEDBAccessID = ni.NEDBAccessID;
2.7.42 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.7.43 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,
ni.NEAliasID as NEAliasID,
ONS15454_OTN_FEC_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.7.44 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,
ni.NEAliasID as NEAliasID,
ONS15454_OTN_PATH_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.7.45 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,
ni.NEAliasID as NEAliasID,
ONS15454_OTN_PATH_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.7.46 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,
ni.NEAliasID as NEAliasID,
ONS15454_OTN_SEC_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.7.47 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,
ni.NEAliasID as NEAliasID,
ONS15454_OTN_SEC_PM_Table cotn,
cotn.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
cotn.NEDBAccessID = ni.NEDBAccessID;
2.7.48 ONS15454_Phy_Layer_PM_View
CREATE OR REPLACE VIEW ONS15454_PHY_LAYER_PM_VIEW AS
phy.OpticalPowerTransmitted,
phy.OpticalPowerReceived,
phy.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454_PHY_LAYER_PM_Table phy,
phy.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
phy.NEDBAccessID = ni.NEDBAccessID;
2.7.49 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.ifInPayloadCrcErrors,
pos.ifOutPayloadCrcErrors,
pos.ifOutOversizePackets,
pos.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ons15454_pos_pm_table pos,
pos.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
pos.NEDBAccessID = ni.NEDBAccessID;
2.7.50 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.7.51 ONS15454_RPR_Client_In_PM_View
CREATE OR REPLACE VIEW ONS15454_RPR_CLIENT_IN_PM_VIEW AS
rpr.ClientInUcastClassCFrames,
rpr.ClientInUcastClassCOctets,
rpr.ClientInMcastClassCFrames,
rpr.ClientInMcastClassCOctets,
rpr.ClientInUcastClassBEirFrames,
rpr.ClientInUcastClassBEirOctets,
rpr.ClientInMcastClassBEirFrames,
rpr.ClientInMcastClassBEirOctets,
rpr.ClientInUcastClassBCirFrames,
rpr.ClientInUcastClassBCirOctets,
rpr.ClientInMcastClassBCirFrames,
rpr.ClientInMcastClassBCirOctets,
rpr.ClientInUcastClassAFrames,
rpr.ClientInUcastClassAOctets,
rpr.ClientInMcastClassAFrames,
rpr.ClientInMcastClassAOctets,
ni.NEAliasID as NEAliasID,
ons15454_rpr_pm_table rpr,
rpr.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
rpr.NEDBAccessID = ni.NEDBAccessID;
2.7.52 ONS15454_RPR_ClientOut_PM_View
CREATE OR REPLACE VIEW ONS15454_RPR_CLIENTOUT_PM_VIEW AS
rpr.ClientOutUcastClassCFrames,
rpr.ClientOutUcastClassCOctets,
rpr.ClientOutMcastClassCFrames,
rpr.ClientOutMcastClassCOctets,
rpr.ClientOutUcastClassBEirFrames,
rpr.ClientOutUcastClassBEirOctets,
rpr.ClientOutMcastClassBEirFrames,
rpr.ClientOutMcastClassBEirOctets,
rpr.ClientOutUcastClassBCirFrames,
rpr.ClientOutUcastClassBCirOctets,
rpr.ClientOutMcastClassBCirFrames,
rpr.ClientOutMcastClassBCirOctets,
rpr.ClientOutUcastClassAFrames,
rpr.ClientOutUcastClassAOctets,
rpr.ClientOutMcastClassAFrames,
rpr.ClientOutMcastClassAOctets,
rpr.ClientOutBcastFrames,
ni.NEAliasID as NEAliasID,
ons15454_rpr_pm_table rpr,
rpr.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
rpr.NEDBAccessID = ni.NEDBAccessID;
2.7.53 ONS15454_RPR_Error_PM_View
CREATE OR REPLACE VIEW ONS15454_RPR_ERROR_PM_VIEW AS
rpr.ErrorBadParityFrames,
rpr.ErrorSelfSrcUcastFrames,
rpr.ErrorContainedFrames,
ni.NEAliasID as NEAliasID,
ons15454_rpr_pm_table rpr,
rpr.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
rpr.NEDBAccessID = ni.NEDBAccessID;
2.7.54 ONS15454_RPR_PM_View
CREATE OR REPLACE VIEW ONS15454_RPR_PM_VIEW AS
rpr.SpanInUcastClassCFrames,
rpr.SpanInUcastClassCOctets,
rpr.SpanInMcastClassCFrames,
rpr.SpanInMcastClassCOctets,
rpr.SpanInUcastClassBEirFrames,
rpr.SpanInUcastClassBEirOctets,
rpr.SpanInMcastClassBEirFrames,
rpr.SpanInMcastClassBEirOctets,
rpr.SpanInUcastClassBCirFrames,
rpr.SpanInUcastClassBCirOctets,
rpr.SpanInMcastClassBCirFrames,
rpr.SpanInMcastClassBCirOctets,
rpr.SpanInUcastClassAFrames,
rpr.SpanInUcastClassAOctets,
rpr.SpanInMcastClassAFrames,
rpr.SpanInMcastClassAOctets,
rpr.SpanInOamFlushFrames,
rpr.SpanInTopoChkSumFrames,
rpr.SpanOutUcastClassCFrames,
rpr.SpanOutUcastClassCOctets,
rpr.SpanOutMcastClassCFrames,
rpr.SpanOutMcastClassCOctets,
rpr.SpanOutUcastClassBEirFrames,
rpr.SpanOutUcastClassBEirOctets,
rpr.SpanOutMcastClassBEirFrames,
rpr.SpanOutMcastClassBEirOctets,
rpr.SpanOutUcastClassBCirFrames,
rpr.SpanOutUcastClassBCirOctets,
rpr.SpanOutMcastClassBCirFrames,
rpr.SpanOutMcastClassBCirOctets,
rpr.SpanOutUcastClassAFrames,
rpr.SpanOutUcastClassAOctets,
rpr.SpanOutMcastClassAFrames,
rpr.SpanOutMcastClassAOctets,
rpr.SpanOutOamEchoFrames,
rpr.SpanOutOamFlushFrames,
rpr.SpanOutTopoAtdFrames,
rpr.SpanOutTopoChkSumFrames,
rpr.ClientInUcastClassCFrames,
rpr.ClientInUcastClassCOctets,
rpr.ClientInMcastClassCFrames,
rpr.ClientInMcastClassCOctets,
rpr.ClientInUcastClassBEirFrames,
rpr.ClientInUcastClassBEirOctets,
rpr.ClientInMcastClassBEirFrames,
rpr.ClientInMcastClassBEirOctets,
rpr.ClientInUcastClassBCirFrames,
rpr.ClientInUcastClassBCirOctets,
rpr.ClientInMcastClassBCirFrames,
rpr.ClientInMcastClassBCirOctets,
rpr.ClientInUcastClassAFrames,
rpr.ClientInUcastClassAOctets,
rpr.ClientInMcastClassAFrames,
rpr.ClientInMcastClassAOctets,
rpr.ClientOutUcastClassCFrames,
rpr.ClientOutUcastClassCOctets,
rpr.ClientOutMcastClassCFrames,
rpr.ClientOutMcastClassCOctets,
rpr.ClientOutUcastClassBEirFrames,
rpr.ClientOutUcastClassBEirOctets,
rpr.ClientOutMcastClassBEirFrames,
rpr.ClientOutMcastClassBEirOctets,
rpr.ClientOutUcastClassBCirFrames,
rpr.ClientOutUcastClassBCirOctets,
rpr.ClientOutMcastClassBCirFrames,
rpr.ClientOutMcastClassBCirOctets,
rpr.ClientOutUcastClassAFrames,
rpr.ClientOutUcastClassAOctets,
rpr.ClientOutMcastClassAFrames,
rpr.ClientOutMcastClassAOctets,
rpr.ClientOutBcastFrames,
rpr.ErrorBadParityFrames,
rpr.ErrorSelfSrcUcastFrames,
rpr.ErrorContainedFrames,
ni.NEAliasID as NEAliasID,
rpr.TimeLastCleared,
rpr.StrCorbaTidAid
ons15454_rpr_pm_table rpr,
rpr.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
rpr.NEDBAccessID = ni.NEDBAccessID;
2.7.55 ONS15454_RPR_Span_In_PM_View
CREATE OR REPLACE VIEW ONS15454_RPR_SPAN_IN_PM_VIEW AS
rpr.SpanInUcastClassCFrames,
rpr.SpanInUcastClassCOctets,
rpr.SpanInMcastClassCFrames,
rpr.SpanInMcastClassCOctets,
rpr.SpanInUcastClassBEirFrames,
rpr.SpanInUcastClassBEirOctets,
rpr.SpanInMcastClassBEirFrames,
rpr.SpanInMcastClassBEirOctets,
rpr.SpanInUcastClassBCirFrames,
rpr.SpanInUcastClassBCirOctets,
rpr.SpanInMcastClassBCirFrames,
rpr.SpanInMcastClassBCirOctets,
rpr.SpanInUcastClassAFrames,
rpr.SpanInUcastClassAOctets,
rpr.SpanInMcastClassAFrames,
rpr.SpanInMcastClassAOctets,
rpr.SpanInOamFlushFrames,
rpr.SpanInTopoChkSumFrames,
ni.NEAliasID as NEAliasID,
ons15454_rpr_pm_table rpr,
rpr.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
rpr.NEDBAccessID = ni.NEDBAccessID;
2.7.56 ONS15454_RPR_Span_Out_PM_View
CREATE OR REPLACE VIEW ONS15454_RPR_SPAN_OUT_PM_VIEW AS
rpr.SpanOutUcastClassCFrames,
rpr.SpanOutUcastClassCOctets,
rpr.SpanOutMcastClassCFrames,
rpr.SpanOutMcastClassCOctets,
rpr.SpanOutUcastClassBEirFrames,
rpr.SpanOutUcastClassBEirOctets,
rpr.SpanOutMcastClassBEirFrames,
rpr.SpanOutMcastClassBEirOctets,
rpr.SpanOutUcastClassBCirFrames,
rpr.SpanOutUcastClassBCirOctets,
rpr.SpanOutMcastClassBCirFrames,
rpr.SpanOutMcastClassBCirOctets,
rpr.SpanOutUcastClassAFrames,
rpr.SpanOutUcastClassAOctets,
rpr.SpanOutMcastClassAFrames,
rpr.SpanOutMcastClassAOctets,
rpr.SpanOutOamEchoFrames,
rpr.SpanOutOamFlushFrames,
rpr.SpanOutTopoAtdFrames,
rpr.SpanOutTopoChkSumFrames,
ni.NEAliasID as NEAliasID,
ons15454_rpr_pm_table rpr,
rpr.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
rpr.NEDBAccessID = ni.NEDBAccessID;
2.7.57 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.7.58 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.7.59 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,
ni.NEAliasID as NEAliasID,
ONS15454_sonet_line_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.60 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,
ni.NEAliasID as NEAliasID
ONS15454_sonet_line_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.61 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,
ni.NEAliasID as NEAliasID,
ONS15454_sonet_path_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.62 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,
ni.NEAliasID as NEAliasID,
ONS15454_sonet_path_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.63 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,
ni.NEAliasID as NEAliasID
ONS15454_sonet_sec_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID;
2.7.64 ONS15454_SONET_VT2_PM_FE_View
CREATE OR REPLACE VIEW ONS15454_sonet_vt2_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 FeVT2CodeViolations,
csonet.FeSonetVTErrSecs as FeVT2ErrSecs,
csonet.FeSonetVTSevErrSecs as FeVT2SevErrSecs,
csonet.FeSonetLineUnavailableSecs as FeVt2LineUnavailableSecs,
ni.NEAliasID as NEAliasID
ONS15454_sonet_vt_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID AND
2.7.65 ONS15454_SONET_VT2_PM_View
CREATE OR REPLACE VIEW ONS15454_sonet_vt2_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 Vt2CodeViolations,
csonet.SonetVTErrSecs as Vt2ErrSecs,
csonet.SonetVTSevErrSecs as Vt2LineSevErrSecs,
csonet.SonetLineUnavailableSecs as Vt2LineUnavailSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID
ONS15454_sonet_vt_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID AND
2.7.66 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 FeVT15CodeViolations,
csonet.FeSonetVTErrSecs as FeVT15ErrSecs,
csonet.FeSonetVTSevErrSecs as FeVT15SevErrSecs,
csonet.FeSonetLineUnavailableSecs as FeVt15LineUnavailableSecs,
ni.NEAliasID as NEAliasID
ONS15454_sonet_vt_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID AND
2.7.67 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 Vt15CodeViolations,
csonet.SonetVTErrSecs as Vt15ErrSecs,
csonet.SonetVTSevErrSecs as Vt15LineSevErrSecs,
csonet.SonetLineUnavailableSecs as Vt15LineUnavailSecs,
csonet.NEDBAccessID as NEDBAccessID,
csonet.thresholdList as ThresholdList,
ni.NEAliasID as NEAliasID,
ONS15454_sonet_vt_pm_table csonet,
csonet.ModuleType = en.ModuleType AND
ni.NEModelType = en.ModelType AND
csonet.NEDBAccessID = ni.NEDBAccessID AND
2.7.68 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.7.69 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.7.70 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.7.71 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.7.72 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.7.73 PM_Param_ColNo_View
CREATE OR REPLACE VIEW PM_PARAM_COLNO_VIEW AS
PM_ATTRID_MAPPING_TABLE attr,
attr.PMPARAMID=cer.PMPARAMID;
2.7.74 PM_Metadata_Attrid_View
CREATE OR REPLACE VIEW PM_METADATA_ATTRID_VIEW AS
PM_ATTRID_MAPPING_TABLE attr,
PM_METADATA_INFO_VIEW met
attr.PMPARAMID=met.PMPARAMID;
2.7.75 PM_Metadata_Iinfo_View
CREATE OR REPLACE VIEW PM_METADATA_INFO_VIEW AS
PM_METADATA_INFO_TABLE pminfo,
pminfo.NEMODEL = pmdata.NEMODEL and
pminfo.BASENEMODELINDEX = pmdata.NEMODELINDEX and
pminfo.BASEMODULETYPE = pmdata.MODULETYPE and
pminfo.INTERFACETYPE = pmdata.INTERFACETYPE
2.7.76 PM_Metadata_View
CREATE OR REPLACE VIEW PM_METADATA_VIEW AS
2.8 Cisco ONS 155xx Views
2.8.1 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.8.2 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.8.3 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.8.4 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,
circuit.cktaliasname as CktAliasName
ONS155xx_CIRCUIT_SRCDEST_VIEW circuit,
circuit.CktSrcNodeID = neinfo1.NEDBACCESSID and
circuit.CktDestNodeID = neinfo2.NEDBACCESSID;
2.8.5 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.8.6 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.8.7 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.8.8 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.8.9 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.8.10 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.8.11 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.8.12 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
WHERE cct.cktccdbid=ccsrc.cktccdbid(+) ;
2.8.13 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.8.14 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.8.15 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.8.16 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.8.17 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
WHERE cct.cktccdbid=ccsrc.cktccdbid(+) ;
2.8.18 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.8.19 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.8.20 ONS155xx_CKT_Link_View
create or replace view ONS155xx_CKT_LINK_View as
ccLink.CktCCLinkId as LinkId
ONS155xx_CKT_CC_LINK_View ccLink
2.8.21 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.8.22 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.8.23 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.8.24 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.8.25 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.8.26 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.8.27 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.8.28 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,
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)
WHERE cst.cktspandestnodeid = spandest.cktspandestnodeid(+)
AND cst.cktspandestphysicalloc = spandest.cktspandestphysicalloc(+);
2.8.29 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.8.30 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.8.31 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.8.32 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.8.33 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.8.34 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.8.35 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.8.36 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.8.37 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.8.38 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.8.39 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.8.40 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.8.41 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.8.42 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, 1325, 1326, 1337,
0));
2.8.43 ONS155XX_Link_Correlator
CREATE OR REPLACE FORCE VIEW ONS155XX_LINK_CORRELATOR AS
link1.LINKSRCNODE as NEDBID,
link1.LINKID as FILTERLINKID,
link1.LINKSRCPHYSICALLOC as FILTERLINKSRCPHYLOC,
link1.LINKDSTPHYSICALLOC as FILTERLINKDSTPHYLOC,
link3.LINKID as WDMLINKID
(link1.LINKDSTMODULETYPE = 73 or link1.LINKSRCMODULETYPE = 73)
(link2.LINKDSTMODULETYPE = 71 AND link2.LINKSRCMODULETYPE = 71)
(link1.LINKDSTNODE = link2.LINKDSTNODE)
(TRUNC(link1.LINKSRCPHYSICALLOC / 65536) = TRUNC(link2.LINKDSTPHYSICALLOC
/ 65536))
(TRUNC(link1.LINKDSTPHYSICALLOC / 65536) = TRUNC(link2.LINKDSTPHYSICALLOC
/ 65536))
(link1.LINKDSTNODE = link2.LINKSRCNODE)
(TRUNC(link1.LINKSRCPHYSICALLOC / 65536) = TRUNC(link2.LINKSRCPHYSICALLOC
/ 65536))
(TRUNC(link1.LINKDSTPHYSICALLOC / 65536) = TRUNC(link2.LINKSRCPHYSICALLOC
/ 65536))
link2.LINKID = link3.LINKID
(link1.LINKDSTMODULETYPE = 73 OR link1.LINKSRCMODULETYPE = 73)
AND (link2.LINKDSTMODULETYPE = 72
AND link1.LINKDSTNODE = link2.LINKSRCNODE
AND ( (TRUNC(link1.LINKSRCPHYSICALLOC / 65536) = TRUNC(link2.LINKSRCPHYSICALLOC
/ 65536))
(TRUNC(link1.LINKDSTPHYSICALLOC / 65536) = TRUNC(link2.LINKSRCPHYSICALLOC
/ 65536))
AND (link3.LINKDSTMODULETYPE = 71
AND (link2.LINKDSTNODE = link3.LINKDSTNODE OR link2.LINKDSTNODE =
link3.LINKSRCNODE)
(TRUNC(link2.LINKDSTPHYSICALLOC / 65536) =
TRUNC(link3.LINKSRCPHYSICALLOC / 65536))
(TRUNC(link2.LINKDSTPHYSICALLOC / 65536) =
TRUNC(link3.LINKDSTPHYSICALLOC / 65536))
(link2.LINKSRCMODULETYPE = 72
AND link1.LINKDSTNODE = link2.LINKDSTNODE
AND ( (TRUNC(link1.LINKSRCPHYSICALLOC / 65536) = TRUNC(link2.LINKDSTPHYSICALLOC
/ 65536))
(TRUNC(link1.LINKDSTPHYSICALLOC / 65536) = TRUNC(link2.LINKDSTPHYSICALLOC
/ 65536))
AND (link3.LINKDSTMODULETYPE = 71
AND (link2.LINKSRCNODE = link3.LINKDSTNODE OR link2.LINKSRCNODE =
link3.LINKSRCNODE)
(TRUNC(link2.LINKSRCPHYSICALLOC / 65536) =
TRUNC(link3.LINKSRCPHYSICALLOC / 65536))
(TRUNC(link2.LINKSRCPHYSICALLOC / 65536) =
TRUNC(link3.LINKDSTPHYSICALLOC / 65536))
2.8.44 ONS155xx_Module_Type_View
CREATE OR REPLACE VIEW ONS155xx_Module_Type_view AS
mtt.moduleType as ModuleType,
mtt.moduleName as ModuleName
WHERE neinfo.nemodeltype = mtt.modeltype and
neinfo.nemodeltype in (9, 11, 12, 13);
2.8.45 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.8.46 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.8.47 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.8.48 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 ;