def get_next_create_state(self, state, ret):
if ret:<EOL><INDENT>if state == fw_const.FABRIC_PREPARE_DONE_STATE:<EOL><INDENT>return state<EOL><DEDENT>else:<EOL><INDENT>return state + <NUM_LIT:1><EOL><DEDENT><DEDENT>else:<EOL><INDENT>return state<EOL><DEDENT>
Return the next create state from previous state.