def get_next_state(self, state, ret, oper):
        """Returns the next state for a create or delete operation. """
        if oper == fw_const.FW_CR_OP:
            return self.get_next_create_state(state, ret)
        else:
            return self.get_next_del_state(state, ret)
Returns the next state for a create or delete operation.