<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_op_create_erasure_pool(self, name, erasure_profile=None, weight=None, group=None, app_name=None, max_bytes=None, max_objects=None):
 """Adds an operation to create a erasure coded pool. :param name: Name of pool to create :type name: str :param erasure_profile: Name of erasure code profile to use. If not set the ceph-mon unit handling the broker request will set its default value. :type erasure_profile: str :param weight: The percentage of data that is expected to be contained in the pool from the total available space on the OSDs. :type weight: float :param group: Group to add pool to :type group: str :param app_name: (Optional) Tag pool with application name. Note that there is certain protocols emerging upstream with regard to meaningful application names to use. Examples are ``rbd`` and ``rgw``. :type app_name: str :param max_bytes: Maximum bytes quota to apply :type max_bytes: int :param max_objects: Maximum objects quota to apply :type max_objects: int """

        self.ops.append({'op': 'create-pool', 'name': name,
                         'pool-type': 'erasure',
                         'erasure-profile': erasure_profile,
                         'weight': weight,
                         'group': group, 'app-name': app_name,
                         'max-bytes': max_bytes, 'max-objects': max_objects})