docs: def post(method, hmc, uri, uri_parms, body, logon_required,
               wait_for_completion):
          """Operation: Load Logical Partition (requires classic mode)."""
          assert wait_for_completion is True  # async not supported yet
          lpar_oid = uri_parms[0]
          lpar_uri = '/api/logical-partitions/' + lpar_oid
          try:
              lpar = hmc.lookup_by_uri(lpar_uri)
          except KeyError:
              raise InvalidResourceError(method, uri)
          cpc = lpar.manager.parent
          assert not cpc.dpm_enabled
  
          status = lpar.properties.get('status', None)
          force = body.get('force', False) if body else False
          clear_indicator = body.get('clear-indicator', True) if body else True
          store_status_indicator = body.get('store-status-indicator',
                                            False) if body else False
          if status == 'not-activated':
              raise ConflictError(method, uri, reason=0,
                                  message="LPAR {!r} could not be loaded "
                                  "because the LPAR is in status {}.".
                                  format(lpar.name, status))
          elif status == 'operating' and not force:
              raise ServerError(method, uri, reason=263,
                                message="LPAR {!r} could not be loaded "
                                "because the LPAR is already loaded "
                                "(and force was not specified).".
                                format(lpar.name))
  
          load_address = body.get('load-address', None) if body else None
          if not load_address:
              # Starting with z14, this parameter is optional and a last-used
              # property is available.
              load_address = lpar.properties.get('last-used-load-address', None)
          if load_address is None:
              # TODO: Verify actual error for this case on a z14.
              raise BadRequestError(method, uri, reason=5,
                                    message="LPAR {!r} could not be loaded "
                                    "because a load address is not specified "
                                    "in the request or in the Lpar last-used "
                                    "property".
                                    format(lpar.name))
  
          load_parameter = body.get('load-parameter', None) if body else None
          if not load_parameter:
              # Starting with z14, a last-used property is available.
              load_parameter = lpar.properties.get(
                  'last-used-load-parameter', None)
          if load_parameter is None:
              load_parameter = ''
  
          # Reflect the load in the resource
          if clear_indicator:
              lpar.properties['memory'] = ''
  
          if store_status_indicator:
              lpar.properties['stored-status'] = status
          else:
              lpar.properties['stored-status'] = None
          lpar.properties['status'] = LparLoadHandler.get_status()
          lpar.properties['last-used-load-address'] = load_address
          lpar.properties['last-used-load-parameter'] = load_parameter