code: def config_managed_object(p_dn, p_class_id, class_id,
                            mo_config, mo_dn, handle=None, delete=True):
      
      if handle is None:
          handle = self.handle
  
      try:
          result = handle.AddManagedObject(None, classId=class_id,
                                           params=mo_config,
                                           modifyPresent=True,
                                           dumpXml=YesOrNo.FALSE)
          return result
  
      except UcsException as ex:
          print(_("Cisco client exception: %(msg)s"), {'msg': ex})
          raise exception.UcsOperationError('config_managed_object', error=ex)
docs: Configure the specified MO in UCS Manager.
  
          :param uuid: MO config
          :param p_dn: parent MO DN
          :param p_class_id: parent MO class ID
          :param class_id: MO class ID
          :param MO configuration: MO config
          :param mo_dn: MO DN value
          :param handle: optional UCS Manager handle object
          :returns: Managed Object
          :raises: UcsOperationError in case of failure.