code: def post(method, hmc, uri, uri_parms, body, logon_required,
               wait_for_completion):
          
          assert wait_for_completion is True  # async not supported yet
          partition_oid = uri_parms[0]
          partition_uri = '/api/partitions/' + partition_oid
          try:
              partition = hmc.lookup_by_uri(partition_uri)
          except KeyError:
              raise InvalidResourceError(method, uri)
          cpc = partition.manager.parent
          assert cpc.dpm_enabled
          check_valid_cpc_status(method, uri, cpc)
          check_partition_status(method, uri, partition,
                                 valid_statuses=['stopped'])
  
          # Reflect the result of starting the partition
          partition.properties['status'] = 'active'
          return {}
docs: Operation: Start Partition (requires DPM mode).