apm_upgrade_logic_compare (private)

 apm_upgrade_logic_compare from_to_key_1 from_to_key_2

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Compare the from-versions in two of apm_upgrade_logic's array entries on the form 'from_version_name,to_version_name'.

Parameters:
from_to_key_1 (required)
the first key from the array in apm_upgrade_logic
from_to_key_2 (required)
the second key from the array in apm_upgrade_logic
Returns:
1 if 1 comes after 2, 0 if they are the same, -1 if 1 comes before 2.
Author:
Lars Pind

Testcases:
No testcase defined.
[ show source ]
Show another procedure: