#######################################################################################
#######################################################################################
#NIDD_VER: MNL18_1711_006_00
# MNL: MNL18_1711_006
# Migration from MNL18_1711_005 to MNL18_1711_006
#######################################################################################

#######################################################################################
#######################################################################################
# general version check

for_objects "MRBTS/MNL"
    begin
        if not ( get_version $current_dist_name ) == "MNL18_1711_005"
            abort_file
    end

#######################################################################################
#######################################################################################
# update

define "syncMasterIsTrue" "false"

for_objects "MRBTS/EQM/SMOD_EXT"
    begin
        define "smodExtDn" $current_dist_name

        if ( param_exist smodExtDn "syncMaster" )
            begin
                define "syncMaster" get_param smodExtDn "syncMaster"

                if ( syncMaster ) == "true"
                    begin
                        define "syncMasterIsTrue" "true"
                    end
            end
    end

if ( syncMasterIsTrue ) == "true"
    begin
        for_objects "MRBTS/MNL/MNLENT/FEATCADM"
            begin
                define "featCadmDn" $current_dist_name

                if ( param_exist featCadmDn "rfSharingEnabled" )
                    begin
                        define "rfSharingEnabled" get_param featCadmDn "rfSharingEnabled"

                        if ( rfSharingEnabled ) == "true"
                            begin
                                for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK"
                                    begin
                                        define "clockDn" $current_dist_name
                                        define "syncDn" "MRBTS-" JOIN $current_MRBTS JOIN "/MNL-" JOIN $current_MNL JOIN "/MNLENT-" JOIN $current_MNLENT JOIN "/SYNC-" JOIN $current_SYNC

                                        for_list clockDn "syncInputList"
                                            begin
                                                define "syncInputTypePrefix" "syncInputList." JOIN $current_index JOIN ".syncInputType"

                                                if ( param_exist clockDn "syncInputTypePrefix" )
                                                    begin
                                                        define "syncInputType" get_param clockDn "syncInputTypePrefix"

                                                        if ( syncInputType ) == "1pps/ToD from Sync Hub Master"
                                                            begin
                                                                add_param syncDn "btsSyncMode" "PhaseSync"
                                                            end
                                                    end
                                            end
                                    end
                            end
                    end
            end
    end

#######################################################################################
# define WNCELG:smodDN

define "isAirScale" "false"
for_objects "MRBTS/EQM/APEQM/CABINET/SMOD"
    begin
        define "smodDn" $current_dist_name

        if ( param_exist smodDn "prodCodePlanned" )
            begin
                define "prodCodePlanned" get_param smodDn "prodCodePlanned"

                if ( prodCodePlanned ) == "473095A"
                    begin
                        define "isAirScale" "true"
                    end
            end
    end

if ( isAirScale ) == "true"
    begin
        for_objects "MRBTS/WNBTS/WNCELG"
            begin
                define "wncelGDn" $current_dist_name
                define "wnbtsDn" "MRBTS-" JOIN $current_MRBTS JOIN "/WNBTS-" JOIN $current_WNBTS

                if ( ( not ( param_exist wncelGDn "smodDN" ) ) && ( param_exist wncelGDn "wncelIdList" ) )
                    begin
                        if ( param_exist wncelGDn "wncelIdList.0" )
                            begin
                                define "wncelId" get_param wncelGDn "wncelIdList.0"
                                define "wncelDn" wnbtsDn JOIN "/WNCEL-" JOIN wncelId

                                if ( objects_count wncelDn ) == 1
                                    begin
                                        if ( param_exist wncelDn "lCelwDN" )
                                            begin
                                                define "lCelwDN" get_param wncelDn "lCelwDN"

                                                if ( objects_count lCelwDN ) == 1
                                                    begin
                                                        define "channelDns" lCelwDN JOIN "/CHANNELGROUP/CHANNEL"

                                                        for_objects channelDns
                                                            begin
                                                                define "rmodDn" ""
                                                                define "smodDn" ""

                                                                define "channelDn" $current_dist_name

                                                                if ( param_exist channelDn "antlDN" )
                                                                    begin
                                                                        define "antlDN" get_param channelDn "antlDN"
                                                                        define "rmodDn" replace antlDN "(/ANTL-\d+).*" "" "flags" "g"
                                                                    end


                                                                if ( rmodDn != "" )
                                                                    begin

                                                                        # find CABLINK between RMOD and SMOD

                                                                        for_objects "MRBTS/EQM/HWTOP/CABLINK"
                                                                            begin
                                                                                define "cablinkDn" $current_dist_name

                                                                                if ( param_exist cablinkDn "firstEndpointDN" ) && ( param_exist cablinkDn "secondEndpointDN" )
                                                                                    begin
                                                                                        define "firstEndpointDN" get_param cablinkDn "firstEndpointDN"
                                                                                        define "secondEndpointDN" get_param cablinkDn "secondEndpointDN"

                                                                                        if ( firstEndpointDN ) == rmodDn
                                                                                            begin
                                                                                                define "smod" replace secondEndpointDN "(.*(SMOD).*)" "$2" flags "g"

                                                                                                if ( smod ) == "SMOD"
                                                                                                    begin
                                                                                                        define "smodDn" secondEndpointDN
                                                                                                    end
                                                                                            end

                                                                                        else if ( secondEndpointDN ) == rmodDn
                                                                                            begin
                                                                                                define "smod" replace firstEndpointDN "(.*(SMOD).*)" "$2" flags "g"

                                                                                                if ( smod ) == "SMOD"
                                                                                                    begin
                                                                                                        define "smodDn" firstEndpointDN
                                                                                                    end

                                                                                            end
                                                                                    end
                                                                            end

                                                                        define "isRmodConnectedToDifferentSmod" "false"

                                                                        if ( smodDn == "" )
                                                                            begin

                                                                                # find CABLINK between RMOD and BBMOD

                                                                                for_objects "MRBTS/EQM/HWTOP/CABLINK"
                                                                                    begin
                                                                                        define "bbmodDn" ""
                                                                                        define "cablinkDn" $current_dist_name

                                                                                        if ( param_exist cablinkDn "firstEndpointDN" ) && ( param_exist cablinkDn "secondEndpointDN" )
                                                                                            begin
                                                                                                define "firstEndpointDN" get_param cablinkDn "firstEndpointDN"
                                                                                                define "secondEndpointDN" get_param cablinkDn "secondEndpointDN"

                                                                                                if ( firstEndpointDN ) == rmodDn
                                                                                                    begin
                                                                                                        define "bbmod" replace secondEndpointDN "(.*(BBMOD).*)" "$2" flags "g"

                                                                                                        if ( bbmod ) == "BBMOD"
                                                                                                            begin
                                                                                                                define "bbmodDn" secondEndpointDN
                                                                                                            end
                                                                                                    end

                                                                                                else if ( secondEndpointDN ) == rmodDn
                                                                                                    begin
                                                                                                        define "bbmod" replace firstEndpointDN "(.*(BBMOD).*)" "$2" flags "g"

                                                                                                        if ( bbmod ) == "BBMOD"
                                                                                                            begin
                                                                                                                define "bbmodDn" firstEndpointDN
                                                                                                            end

                                                                                                    end
                                                                                            end

                                                                                        if ( bbmodDn != "" )
                                                                                            begin
                                                                                                # find CABLINK from bbmodDn to SMOD

                                                                                                for_objects "MRBTS/EQM/HWTOP/CABLINK"
                                                                                                    begin
                                                                                                        define "cablinkDn" $current_dist_name

                                                                                                        if ( param_exist cablinkDn "firstEndpointDN" ) && ( param_exist cablinkDn "secondEndpointDN" )
                                                                                                            begin
                                                                                                                define "firstEndpointDN" get_param cablinkDn "firstEndpointDN"
                                                                                                                define "secondEndpointDN" get_param cablinkDn "secondEndpointDN"

                                                                                                                if ( firstEndpointDN ) == bbmodDn
                                                                                                                    begin
                                                                                                                        define "smod" replace secondEndpointDN "(.*(SMOD).*)" "$2" flags "g"

                                                                                                                        if ( smod ) == "SMOD"
                                                                                                                            begin
                                                                                                                                if ( ( smodDn != "" ) && ( smodDn != secondEndpointDN ) )
                                                                                                                                    begin
                                                                                                                                        define "isRmodConnectedToDifferentSmod" "true"
                                                                                                                                    end

                                                                                                                                define "smodDn" secondEndpointDN
                                                                                                                            end
                                                                                                                    end
                                                                                                                else if ( secondEndpointDN ) == bbmodDn
                                                                                                                    begin
                                                                                                                        define "smod" replace firstEndpointDN "(.*(SMOD).*)" "$2" flags "g"

                                                                                                                        if ( smod ) == "SMOD"
                                                                                                                            begin
                                                                                                                                if ( ( smodDn != "" ) && ( smodDn != secondEndpointDN ) )
                                                                                                                                    begin
                                                                                                                                        define "isRmodConnectedToDifferentSmod" "true"
                                                                                                                                    end

                                                                                                                                define "smodDn" firstEndpointDN
                                                                                                                            end
                                                                                                                    end
                                                                                                            end

                                                                                                    end
                                                                                            end
                                                                                    end

                                                                        end

                                                                        if ( smodDn != "" )
                                                                            begin

                                                                                add_param wncelGDn "smodDN" smodDn

                                                                                if ( isRmodConnectedToDifferentSmod == "true" )
                                                                                    begin
                                                                                        # it means that there are CABLINKs from RMOD to BBMODs located on different SMODs - WNCELG:smodDN should point to secondary core

                                                                                        # secondary core = there is no ETHLK poiting to SMOD

                                                                                        define "ethlkModDN" ""

                                                                                        for_objects "MRBTS/TNLSVC/TNL/ETHSVC/ETHLK"
                                                                                            begin
                                                                                                define "ethlkDn" $current_dist_name

                                                                                                if ( param_exist ethlkDn "modDN" )
                                                                                                    begin
                                                                                                        define "modDN" get_param ethlkDn "modDN"
                                                                                                        define "matchForSmod" replace modDN  "(.*(SMOD).*)" "$2" flags "g"

                                                                                                        if ( matchForSmod ) == "SMOD"
                                                                                                            begin
                                                                                                                if ( objects_count modDN ) == 1
                                                                                                                    begin
                                                                                                                        define "ethlkModDN" modDN
                                                                                                                    end
                                                                                                            end
                                                                                                    end
                                                                                            end

                                                                                        for_objects "MRBTS/EQM/APEQM/CABINET/SMOD"
                                                                                            begin
                                                                                                if ( $current_dist_name != ethlkModDN ) add_param wncelGDn "smodDN" $current_dist_name
                                                                                            end
                                                                                    end
                                                                            end
                                                                    end

                                                            end
                                                    end
                                            end
                                    end
                            end
                    end
            end
    end
else
    begin
        if ( objects_count "MRBTS/EQM/APEQM/CABINET/SMOD" ) == 1
            begin
                # one FSMF - all WNCELG:smodDN points to it

                for_objects "MRBTS/EQM/APEQM/CABINET/SMOD"
                    begin
                        define "smodDn" $current_dist_name

                        for_objects "MRBTS/WNBTS/WNCELG"
                            begin
                                define "wncelGDn" $current_dist_name

                                if not ( param_exist wncelGDn "smodDN" ) add_param wncelGDn "smodDN" smodDn
                            end
                    end
            end
        else
            begin
                # FSMF + FSMF - smodDN should point to primary system module

                for_objects "MRBTS/TNLSVC/TNL/ETHSVC/ETHLK"
                    begin
                        define "ethlkDn" $current_dist_name

                        if ( param_exist ethlkDn "modDN" )
                            begin
                                define "modDN" get_param ethlkDn "modDN"
                                define "matchForSmod" replace modDN  "(.*(SMOD).*)" "$2" flags "g"

                                if ( matchForSmod ) == "SMOD"
                                    begin
                                        if ( objects_count modDN ) == 1
                                            begin
                                                for_objects "MRBTS/WNBTS/WNCELG"
                                                    begin
                                                        define "wncelGDn" $current_dist_name

                                                        if not ( param_exist wncelGDn "smodDN" ) add_param wncelGDn "smodDN" modDN
                                                    end
                                            end
                                    end
                                else
                                    begin
                                        define "matchForTrmod" replace modDN "(.*(TRMOD).*)" "$2" flags "g"

                                        if ( matchForTrmod ) == "TRMOD"
                                            begin
                                                define "cabinetDn" replace modDN "(/TRMOD).*" "" "flags" "g"

                                                if ( objects_count cabinetDn ) == 1
                                                    begin
                                                        # one SMOD expected under this CABINET

                                                        for_objects cabinetDn JOIN "/SMOD"
                                                            begin
                                                                define "smodDN" $current_dist_name

                                                                for_objects "MRBTS/WNBTS/WNCELG"
                                                                    begin
                                                                        define "wncelGDn" $current_dist_name

                                                                        if not ( param_exist wncelGDn "smodDN" ) add_param wncelGDn "smodDN" smodDN
                                                                    end
                                                            end
                                                    end
                                            end
                                    end
                            end
                    end
            end
    end

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/TOP"
    begin
        define "topDn" $current_dist_name

        if not ( param_exist topDn "topDomainNumber" )
            begin
                define "syncDn" "MRBTS-" JOIN $current_MRBTS JOIN "/MNL-" JOIN $current_MNL JOIN "/MNLENT-" JOIN $current_MNLENT JOIN "/SYNC-" JOIN $current_SYNC

                if ( param_exist syncDn "btsSyncMode" )
                    begin
                        define "btsSyncMode" get_param syncDn "btsSyncMode"

                        if ( btsSyncMode ) == "PhaseSync"
                            begin
                                define "toppDn" topDn JOIN "/TOPP-1"

                                if ( objects_count toppDn ) == 1
                                    begin
                                        if ( param_exist toppDn "topComMode" )
                                            begin
                                                define "topComMode" get_param toppDn "topComMode"

                                                if ( topComMode ) == "IP Unicast"
                                                    begin
                                                        add_param topDn "topDomainNumber" 0
                                                    end

                                                else if ( topComMode ) == "Ethernet Multicast"
                                                    begin
                                                        add_param topDn "topDomainNumber" 24
                                                    end
                                            end
                                    end
                            end

                        else if ( btsSyncMode ) == "FreqSync"
                            begin
                                define "topfDn" topDn JOIN "/TOPF-1"

                                if ( objects_count topfDn ) == 1
                                    begin
                                        if ( param_exist topfDn "ieeeTelecomProfile" )
                                            begin
                                                define "ieeeTelecomProfile" get_param topfDn "ieeeTelecomProfile"

                                                if ( ieeeTelecomProfile ) == "IEEE1588"
                                                    add_param topDn "topDomainNumber" 0
                                                else
                                                    add_param topDn "topDomainNumber" 4
                                            end
                                    end
                            end
                    end
            end
    end

#######################################################################################
#######################################################################################
# Set proper versions and adaptations to MNL sub-tree

for_objects "MRBTS/MNL"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/AMGR"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/AMGR/LUAC"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/AMGR/LUAC/LUAC_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/CERTH"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/CERTH/CMP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/CERTH/CRLH"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/CERTH/CRLH/CRLDPCONFIG"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/BBADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CAPADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CAPADM/CAPLIM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CERTHENT"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CERTHENT/CACERT_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CERTHENT/CMP_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CERTHENT/CRLH_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CERTHENT/CRLINFO_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/CERTHENT/NECERT_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/DNS"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/FEATCADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/FEATCADM/FEATGADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/FEATCADM/FEATLADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/MPLANENW"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/PMCADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/PMMNL"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SECADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SECADM/SECADM_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/SYNC"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/GNSSI"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/CLOCK_FDD"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/GNSSE"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/NTP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/PDH"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/SYNCE"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/TOP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/TOP/TOPF"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/CLOCK/TOP/TOPP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/SYNC/TIME"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/TAC"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end		

for_objects "MRBTS/MNL/MNLENT/TAC/LTAC"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/TRBLCADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELC"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELC/CHANNELGROUP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELC/CHANNELGROUP/CHANNEL"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELW"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELW/CHANNELGROUP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELW/CHANNELGROUP/CHANNEL"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/FMCADM"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELL"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELL/CHANNELGROUP"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNLENT/CELLMAPPING/LCELL/CHANNELGROUP/CHANNEL"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/NOTES"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/NOTES/NOTE"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end	

for_objects "MRBTS/MNL/MNL_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/CMD"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end

for_objects "MRBTS/MNL/MNLENT/TRBLCADM/TRBLCADM_R"
    begin
        set_version $current_dist_name "MNL18_1711_006"
        set_adaptation $current_dist_name "com.nokia.srbts.mnl"
    end
