EasyCwmp

View Revisions: Issue #41 All Revisions ] Back to Issue ]
Summary 0000041: remove the "$1" "$2" "$3" from the definition of data model parameters in the scripts
Revision 2015-03-04 11:47 by mohamed.kallel
Description Remove the "$1" "$2" "$3" from the definition of data model parameters in the scripts. And use global variable instead

Change the use of "$1" "$2" "$3" by using global variables

example: change the following lines:

case "$1" in ""|"$DMROOT."|"$DMROOT.DeviceInfo."*)
    common_execute_method_obj "$1" "$2" "$3" "$DMROOT.DeviceInfo." "0"
    common_execute_method_param "$1" "$2" "$3" "$DMROOT.DeviceInfo.SpecVersion" "0" "echo 1.0" "" "" "1"

BY

case "$1" in ""|"$DMROOT."|"$DMROOT.DeviceInfo."*)
    common_execute_method_obj "$DMROOT.DeviceInfo." "0"
    common_execute_method_param "$DMROOT.DeviceInfo.SpecVersion" "0" "echo 1.0" "" "" "1"
Revision 2015-03-04 11:46 by mohamed.kallel
Description Remove the "$1" "$2" "$3" from the definition of data model parameters in the scripts. And use global variable instead

Change the use of "$1" "$2" "$3" by using global variables

example: change the following lines:

case "$1" in ""|"$DMROOT."|"$DMROOT.DeviceInfo."*)
    common_execute_method_obj "$DMROOT.DeviceInfo." "0"
    common_execute_method_param "$DMROOT.DeviceInfo.SpecVersion" "0" "echo 1.0" "" "" "1"


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker