def _detect_iplus(self):
ver_expr = "<STR_LIT>"<EOL>re.compile(ver_expr)<EOL>v1 = re.match(ver_expr, self._cur_ver)<EOL>v2 = re.match(ver_expr, self._base_ver)<EOL>if int(v1.group(<NUM_LIT:1>)) > int(v2.group(<NUM_LIT:1>)):<EOL><INDENT>self._is_iplus = True<EOL><DEDENT>elif int(v1.group(<NUM_LIT:1>)) == int(v2.group(<NUM_LIT:1>)):<EOL><INDENT>if int(v1.group(<NUM_LIT:2>)) > int(v2.group(<NUM_LIT:2>)):<EOL><INDENT>self._is_iplus = True<EOL><DEDENT>elif int(v1.group(<NUM_LIT:2>)) == int(v2.group(<NUM_LIT:2>)):<EOL><INDENT>self._is_iplus = v1.group(<NUM_LIT:3>) >= v2.group(<NUM_LIT:3>)<EOL><DEDENT><DEDENT>LOG.info("<STR_LIT>",<EOL>{'<STR_LIT>': self._cur_ver, '<STR_LIT>': self._is_iplus})<EOL>
Check the DCNM version and determine if it's for iplus