Commit 525ec9b8 authored by YannGarcia's avatar YannGarcia
Browse files

Review typing for MEC 029

parent e859d412
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ modules := ../LibCommon \
            ../LibMec/EdgePlatformApplicationEnablementAPI \
            ../LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI \
            ../LibMec/TrafficManagementAPI \
            ../LibMec/RnisAPI \
            ../LibMec/UEAppInterfaceAPI \
            ../LibMec/UEidentityAPI \
            ../LibMec/V2XInformationServiceAPI \
+6 −6
Original line number Diff line number Diff line
@@ -6,17 +6,17 @@ module FixedAccessInformationServiceAPI_Pixits {
  // LibMec_FixedAccessInformationServiceAPI
  import from FixedAccessInformationServiceAPI_TypesAndValues all;
  
  modulepar GatewayId PX_FAI_GW_ID := { "" };
  modulepar GatewayIdList PX_FAI_GW_ID := { "" };
  
  modulepar GatewayId PX_NON_EXISTING_FAI_GW_ID := { "" };
  modulepar GatewayIdList PX_NON_EXISTING_FAI_GW_ID := { "" };
  
  modulepar CmdId PX_FAI_CM_ID := "";
  modulepar Json.String PX_FAI_CM_ID := "";
  
  modulepar CmdId PX_NON_EXISTING_FAI_CM_ID := "";
  modulepar Json.String PX_NON_EXISTING_FAI_CM_ID := "";
  
  modulepar OnuId PX_FAI_ONU_ID := "";
  modulepar Json.String PX_FAI_ONU_ID := "";
  
  modulepar OnuId PX_NON_EXISTING_FAI_ONU_ID := "";
  modulepar Json.String PX_NON_EXISTING_FAI_ONU_ID := "";
  
  modulepar Json.String PX_FAI_SUB_ID := "";
  
+116 −65
Original line number Diff line number Diff line
@@ -12,26 +12,42 @@ module FixedAccessInformationServiceAPI_Templates {
  
  template (omit) FaInfo m_fa_info(
                                   in template (value) CpInfo p_customerPremisesInfo,
                                   in template (value) LastMileTech p_lastMileTech,
                                   in template (value) InterfaceType p_interfaceType,
                                   in template (omit) TimeStamp p_timeStamp := omit,
                                   in template (omit) ConnectivityInfo p_connectivityInfo := omit
                                   in template (omit) Json.Integer p_dsbw := omit,
                                   in template (omit) Json.Integer p_usbw := omit,
                                   in template (omit) Json.Integer p_latency := omit
                                   ) := {
    timeStamp            := p_timeStamp,
    customerPremisesInfo := p_customerPremisesInfo,
      connectivityInfo     := p_connectivityInfo
    lastMileTech         := p_lastMileTech,
    interfaceType        := p_interfaceType,
    dsbw                 := p_dsbw,
    usbw                 := p_usbw,
    latency              := p_latency
  } // End of template m_fa_info
 
  template FaInfo mw_fa_info(
                             template (present) CpInfo p_customerPremisesInfo := ?,
                             template (present) LastMileTech p_lastMileTech := ?,
                             template (present) InterfaceType p_interfaceType := ?,
                             template TimeStamp p_timeStamp := *,
                             template ConnectivityInfo p_connectivityInfo := *
                             template Json.Integer p_dsbw := *,
                             template Json.Integer p_usbw := *,
                             template Json.Integer p_latency := *
                             ) := {
    timeStamp            := p_timeStamp,
    customerPremisesInfo := p_customerPremisesInfo,
      connectivityInfo     := p_connectivityInfo
    lastMileTech         := p_lastMileTech,
    interfaceType        := p_interfaceType,
    dsbw                 := p_dsbw,
    usbw                 := p_usbw,
    latency              := p_latency
  } // End of template mw_fa_info
  
  template (omit) DeviceInfo m_device_info(
                                           in template (value) GatewayId p_gwId,
                                           in template (value) Json.String p_gwId,
                                           in template (value) DeviceStatus p_deviceStatus,
                                           in template (value) Json.Number p_upTime,
                                           in template (value) Json.Number p_iPConnectionUpTime,
@@ -40,7 +56,7 @@ module FixedAccessInformationServiceAPI_Templates {
                                           in template (value) Json.Number p_totalPacketsSent,
                                           in template (value) Json.Number p_totalPacketsReceived,
                                           in template (omit) TimeStamp p_timeStamp := omit,
                                           in template (omit) DeviceId p_deviceId := omit,
                                           in template (omit) Json.String p_deviceId := omit,
                                           in template (omit) IPPingDiagnostics p_iPPingDiagnostics := omit,
                                           in template (omit) TraceRouteDiagnostics p_traceRouteDiagnostics := omit,
                                           in template (omit) DownloadDiagnostics p_downloadDiagnostics := omit,
@@ -63,7 +79,7 @@ module FixedAccessInformationServiceAPI_Templates {
    } // End of template m_device_info
  
  template DeviceInfo mw_device_info(
                                     template (present) GatewayId p_gwId := ?,
                                     template (present) Json.String p_gwId := ?,
                                     template (present) DeviceStatus p_deviceStatus := ?,
                                     template (present) Json.Number p_upTime := ?,
                                     template (present) Json.Number p_iPConnectionUpTime := ?,
@@ -72,7 +88,7 @@ module FixedAccessInformationServiceAPI_Templates {
                                     template (present) Json.Number p_totalPacketsSent := ?,
                                     template (present) Json.Number p_totalPacketsReceived := ?,
                                     template TimeStamp p_timeStamp := *,
                                     template DeviceId p_deviceId := *,
                                     template Json.String p_deviceId := *,
                                     template IPPingDiagnostics p_iPPingDiagnostics := *,
                                     template TraceRouteDiagnostics p_traceRouteDiagnostics := *,
                                     template DownloadDiagnostics p_downloadDiagnostics := *,
@@ -96,72 +112,101 @@ module FixedAccessInformationServiceAPI_Templates {
  
  template (omit) CableLineInfo m_cable_line_info(
                                                  in template (value) CpInfo p_customerPremisesInfo,
                                                  in template (value) CmdInfo p_cmdInfo,
                                                  in template (omit) TimeStamp p_timeStamp := omit
                                                  in template (value) Json.String p_cmdId,
                                                  in template (omit) TimeStamp p_timeStamp := omit,
                                                  in template (omit) CmStatus p_cmStatus := omit,
                                                  in template (omit) CmDpvStats p_cmDpvStats := omit,
                                                  in template (omit) ServiceFlowStats p_serviceFlowStats := omit
                                                  ) := {
    timeStamp            := p_timeStamp,
    customerPremisesInfo := p_customerPremisesInfo,
    cmdInfo              := p_cmdInfo
    cmdId                := p_cmdId,
    cmStatus             := p_cmStatus,
    cmDpvStats           := p_cmDpvStats,
    serviceFlowStats     := p_serviceFlowStats
  } // End of template m_cable_line_info
  
  template CableLineInfo mw_cable_line_info(
                                            template (present) CpInfo p_customerPremisesInfo := ?,
                                            template (present) CmdInfo p_cmdInfo := ?,
                                            template TimeStamp p_timeStamp := *
                                            template (present) Json.String p_cmdId := ?,
                                            template TimeStamp p_timeStamp := *,
                                            template CmStatus p_cmStatus := *,
                                            template CmDpvStats p_cmDpvStats := *,
                                            template ServiceFlowStats p_serviceFlowStats := *

                                            ) := {
    timeStamp            := p_timeStamp,
    customerPremisesInfo := p_customerPremisesInfo,
    cmdInfo              := p_cmdInfo
    cmdId                := p_cmdId,
    cmStatus             := p_cmStatus,
    cmDpvStats           := p_cmDpvStats,
    serviceFlowStats     := p_serviceFlowStats
  } // End of template mw_cable_line_info
  
  template (omit) PonInfo m_pon_info(
                                     in template (value) CpInfo p_customerPremisesInfo,
                                     in template (value) PonSYS_ID p_ponSYS_ID,
                                     in template (value) OpticalNetworkInfo p_opticalNetworkInfo,
                                     in template (value) Json.String p_ponSYS_ID,
                                     in template (value) Json.String p_onuId,
                                     in template (value) PonTech p_ponTech,
                                     in template (value) OperationalState p_operationalState,
                                     in template (value) DsRate p_dsRate,
                                     in template (value) UsRate p_usRate,
                                     in template (omit) TimeStamp p_timeStamp := omit
                                     ) := {
    timeStamp            := p_timeStamp,
    customerPremisesInfo := p_customerPremisesInfo,
    ponSYS_ID            := p_ponSYS_ID,
    opticalNetworkInfo   := p_opticalNetworkInfo
    onuId                := p_onuId,
    ponTech              := p_ponTech,
    operationalState     := p_operationalState,
    dsRate               := p_dsRate,
    usRate               := p_usRate
  } // End of template m_pon_info
  
  template PonInfo mw_pon_info(
                               template (present) CpInfo p_customerPremisesInfo := ?,
                               template (present) PonSYS_ID p_ponSYS_ID := ?,
                               template (present) OpticalNetworkInfo p_opticalNetworkInfo := ?,
                               template (present) Json.String p_ponSYS_ID := ?,
                               template (present) Json.String p_onuId := ?,
                               template (present) PonTech p_ponTech := ?,
                               template (present) OperationalState p_operationalState := ?,
                               template (present) DsRate p_dsRate := ?,
                               template (present) UsRate p_usRate := ?,
                               template TimeStamp p_timeStamp := *
                               ) := {
    timeStamp            := p_timeStamp,
    customerPremisesInfo := p_customerPremisesInfo,
    ponSYS_ID            := p_ponSYS_ID,
    opticalNetworkInfo   := p_opticalNetworkInfo
    onuId                := p_onuId,
    ponTech              := p_ponTech,
    operationalState     := p_operationalState,
    dsRate               := p_dsRate,
    usRate               := p_usRate
  } // End of template mw_pon_info
  
  template (omit) SubscriptionLinkList m_subscription_link_list(
                                                                in template (value) Links p_links,
                                                                in template (omit) Subscriptions p_subscription := omit
                                                                in template (value) SubscriptionLinks p_links
                                                                ) := {
    links        := p_links,
    subscription := p_subscription
    links        := p_links
  } // End of template m_subscription_link_list
  
  template SubscriptionLinkList mw_subscription_link_list(
                                                          template (present) Links p_links := ?,
                                                          template Subscriptions p_subscription := *
                                                          template (present) SubscriptionLinks p_links := ?
                                                          ) := {
    links        := p_links,
    subscription := p_subscription
    links        := p_links
  } // End of template m_wsubscription_link_list
  
  template (omit) OnuAlarmSubscription m_onu_alarm_subscription(
                                                                in template (value) Json.AnyURI p_callbackReference,
                                                                in template (value) FilterCriteriaOnuAlarm p_filterCriteriaOnuAlarm,
                                                                in template (omit) Json.Bool p_requestTestNotification := omit,
                                                                in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                                in template (omit) Links p_links := omit,
                                                                in template (omit) TimeStamp p_expiryDeadline := omit
                                                                ) := {
    subscriptionType        := "OnuAlarmSubscription",
    callbackReference       := p_callbackReference,
    requestTestNotification := p_requestTestNotification,
    websockNotifConfig      := p_websockNotifConfig,
    links                   := p_links,
    filterCriteriaOnuAlarm  := p_filterCriteriaOnuAlarm,
    expiryDeadline          := p_expiryDeadline
@@ -170,6 +215,8 @@ module FixedAccessInformationServiceAPI_Templates {
  template (omit) OnuAlarmSubscription m_onu_alarm_subscription_bad_request(
                                                                            in template (value) Json.AnyURI p_callbackReference,
                                                                            in template (value) FilterCriteriaOnuAlarm p_filterCriteriaOnuAlarm,
                                                                            in template (omit) Json.Bool p_requestTestNotification := omit,
                                                                            in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                                            in template (omit) Links p_links := omit,
                                                                            in template (omit) TimeStamp p_expiryDeadline := omit
  ) modifies m_onu_alarm_subscription := {
@@ -180,10 +227,14 @@ module FixedAccessInformationServiceAPI_Templates {
                                                          template (present) Json.AnyURI p_callbackReference := ?,
                                                          template (present) FilterCriteriaOnuAlarm p_filterCriteriaOnuAlarm := ?,
                                                          template Links p_links := *,
                                                          template Json.Bool p_requestTestNotification := *,
                                                          template WebsockNotifConfig p_websockNotifConfig := *,
                                                          template TimeStamp p_expiryDeadline := *
                                                          ) := {
    subscriptionType        := "OnuAlarmSubscription",
    callbackReference       := p_callbackReference,
    requestTestNotification := p_requestTestNotification,
    websockNotifConfig      := p_websockNotifConfig,
    links                   := p_links,
    filterCriteriaOnuAlarm  := p_filterCriteriaOnuAlarm,
    expiryDeadline          := p_expiryDeadline
@@ -192,7 +243,7 @@ module FixedAccessInformationServiceAPI_Templates {
  template (omit) FilterCriteriaOnuAlarm m_filter_criteria_onu_alarm(
                                                                     in template (value) OnuIds p_onuId := { PX_FAI_ONU_ID },
                                                                     in template (omit) CpInfo p_customerPremisesIxnfo := omit,
                                                                     in template (omit) Alarms p_alarms := omit
                                                                     in template (omit) AlarmList p_alarms := omit
                                                                     ) := {
    customerPremisesInfo := p_customerPremisesIxnfo,
    onuId                := p_onuId,
@@ -202,7 +253,7 @@ module FixedAccessInformationServiceAPI_Templates {
  template FilterCriteriaOnuAlarm mw_filter_criteria_onu_alarm(
                                                               template (present) OnuIds p_onuId := ?,
                                                               template CpInfo p_customerPremisesIxnfo := *,
                                                               template Alarms p_alarms := *
                                                               template AlarmList p_alarms := *
                                                               ) := {
    customerPremisesInfo := p_customerPremisesIxnfo,
    onuId                := p_onuId,
@@ -210,16 +261,16 @@ module FixedAccessInformationServiceAPI_Templates {
  } // End of template mw_filter_criteria_onu_alarm
  
  template (value) TimeStamp m_time_stamp(
                                          in UInt32 p_seconds,
                                          in UInt32 p_nanoSeconds := 0
                                          in Json.UInteger p_seconds,
                                          in Json.UInteger p_nanoSeconds := 0
                                          ) := {
    seconds     := p_seconds,
    nanoSeconds := p_nanoSeconds
  } // End of temlate m_time_stamp
  
  template (present) TimeStamp mw_time_stamp(
                                             template (present) UInt32 p_seconds := ?,
                                             template (present) UInt32 p_nanoSeconds := ?
                                             template (present) Json.UInteger p_seconds := ?,
                                             template (present) Json.UInteger p_nanoSeconds := ?
                                             ) := {
    seconds     := p_seconds,
    nanoSeconds := p_nanoSeconds
+698 −317

File changed.

Preview size limit exceeded, changes collapsed.