def create_cpg(name, optional = nil)
      begin
        @cpg.create_cpg(name, optional)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
def create_cpg(name, optional = nil)
      begin
        @cpg.create_cpg(name, optional)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
Creates a new CPG.

 ==== Attributes

 * name - Name of the cpg
      type name: String
 * optional - Hash of other optional items
      type optional: Hash

      optional = {
            'growthIncrementMiB' 100,    # Growth increment in MiB for
                                          # each auto-grown operation
            'growthLimitMiB': 1024,       # Auto-grow operation is limited
                                          # to specified storage amount
            'usedLDWarningAlertMiB': 200, # Threshold to trigger warning
                                          # of used logical disk space
            'domain': 'MyDomain',         # Name of the domain object
            'LDLayout': {
                'RAIDType': 1,            # Disk Raid Type
                'setSize': 100,           # Size in number of chunklets
                'HA': 0,                  # Layout supports failure of
                                          # one port pair (1),
                                          # one cage (2),
                                          # or one magazine (3)
                'chunkletPosPref': 2,     # Chunklet location perference
                                          # characteristics.
                                          # Lowest Number/Fastest transfer
                                          # = 1
                                          # Higher Number/Slower transfer
                                          # = 2
                'diskPatterns': []}       # Patterns for candidate disks
    }

 ==== Raises
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT Invalid URI Syntax.
 * Hpe3parSdk::HTTPBadRequest
        - NON_EXISTENT_DOMAIN - Domain doesn't exist.
 * Hpe3parSdk::HTTPBadRequest
        - NO_SPACE - Not Enough space is available.
 * Hpe3parSdk::HTTPBadRequest
        - BAD_CPG_PATTERN  A Pattern in a CPG specifies illegal values.
 * Hpe3parSdk::HTTPForbidden
        - PERM_DENIED - Permission denied
 * Hpe3parSdk::HTTPConflict
        - EXISTENT_CPG - Cpg Exists already