Revision 98805538 lib/rapi/client.py

b/lib/rapi/client.py
497 497

  
498 498
    More details for parameters can be found in the RAPI documentation.
499 499

  
500
    @rtype: int
500
    @rtype: string
501 501
    @return: job id
502 502

  
503 503
    """
......
524 524
    @type dry_run: bool
525 525
    @param dry_run: whether to perform a dry run
526 526

  
527
    @rtype: int
527
    @rtype: string
528 528
    @return: job id
529 529

  
530 530
    """
......
625 625
    @type dry_run: bool
626 626
    @keyword dry_run: whether to perform a dry run
627 627

  
628
    @rtype: int
628
    @rtype: string
629 629
    @return: job id
630 630

  
631 631
    """
......
739 739
    @type instance: str
740 740
    @param instance: the instance to delete
741 741

  
742
    @rtype: int
742
    @rtype: string
743 743
    @return: job id
744 744

  
745 745
    """
......
758 758

  
759 759
    @type instance: string
760 760
    @param instance: Instance name
761
    @rtype: int
761
    @rtype: string
762 762
    @return: job id
763 763

  
764 764
    """
......
811 811
    @param amount: Grow disk by this amount (MiB)
812 812
    @type wait_for_sync: bool
813 813
    @param wait_for_sync: Wait for disk to synchronize
814
    @rtype: int
814
    @rtype: string
815 815
    @return: job id
816 816

  
817 817
    """
......
851 851
    @type dry_run: bool
852 852
    @param dry_run: whether to perform a dry run
853 853

  
854
    @rtype: int
854
    @rtype: string
855 855
    @return: job id
856 856

  
857 857
    """
......
1001 1001
    @type dry_run: bool
1002 1002
    @param dry_run: whether to perform a dry run
1003 1003

  
1004
    @rtype: int
1004
    @rtype: string
1005 1005
    @return: job id
1006 1006

  
1007 1007
    """
......
1151 1151
  def GetJobStatus(self, job_id):
1152 1152
    """Gets the status of a job.
1153 1153

  
1154
    @type job_id: int
1154
    @type job_id: string
1155 1155
    @param job_id: job id whose status to query
1156 1156

  
1157 1157
    @rtype: dict
......
1196 1196
  def WaitForJobChange(self, job_id, fields, prev_job_info, prev_log_serial):
1197 1197
    """Waits for job changes.
1198 1198

  
1199
    @type job_id: int
1199
    @type job_id: string
1200 1200
    @param job_id: Job ID for which to wait
1201 1201

  
1202 1202
    """
......
1213 1213
  def CancelJob(self, job_id, dry_run=False):
1214 1214
    """Cancels a job.
1215 1215

  
1216
    @type job_id: int
1216
    @type job_id: string
1217 1217
    @param job_id: id of the job to delete
1218 1218
    @type dry_run: bool
1219 1219
    @param dry_run: whether to perform a dry run
......
1315 1315
    @type dry_run: bool
1316 1316
    @param dry_run: whether to perform a dry run
1317 1317

  
1318
    @rtype: int
1318
    @rtype: string
1319 1319
    @return: job id
1320 1320

  
1321 1321
    """
......
1353 1353
    @type force: bool
1354 1354
    @param force: whether to force the role change
1355 1355

  
1356
    @rtype: int
1356
    @rtype: string
1357 1357
    @return: job id
1358 1358

  
1359 1359
    """
......
1375 1375
    @type output_fields: str
1376 1376
    @param output_fields: storage type fields to return
1377 1377

  
1378
    @rtype: int
1378
    @rtype: string
1379 1379
    @return: job id where results can be retrieved
1380 1380

  
1381 1381
    """
......
1401 1401
    @param allocatable: Whether to set the "allocatable" flag on the storage
1402 1402
                        unit (None=no modification, True=set, False=unset)
1403 1403

  
1404
    @rtype: int
1404
    @rtype: string
1405 1405
    @return: job id
1406 1406

  
1407 1407
    """
......
1427 1427
    @type name: str
1428 1428
    @param name: name of the storage unit to repair
1429 1429

  
1430
    @rtype: int
1430
    @rtype: string
1431 1431
    @return: job id
1432 1432

  
1433 1433
    """
......
1464 1464
    @type dry_run: bool
1465 1465
    @param dry_run: whether to perform a dry run
1466 1466

  
1467
    @rtype: int
1467
    @rtype: string
1468 1468
    @return: job id
1469 1469

  
1470 1470
    """
......
1486 1486
    @type dry_run: bool
1487 1487
    @param dry_run: whether to perform a dry run
1488 1488

  
1489
    @rtype: int
1489
    @rtype: string
1490 1490
    @return: job id
1491 1491

  
1492 1492
    """
......
1544 1544
    @type dry_run: bool
1545 1545
    @param dry_run: whether to peform a dry run
1546 1546

  
1547
    @rtype: int
1547
    @rtype: string
1548 1548
    @return: job id
1549 1549

  
1550 1550
    """
......
1567 1567

  
1568 1568
    @type group: string
1569 1569
    @param group: Node group name
1570
    @rtype: int
1570
    @rtype: string
1571 1571
    @return: job id
1572 1572

  
1573 1573
    """
......
1583 1583
    @type dry_run: bool
1584 1584
    @param dry_run: whether to peform a dry run
1585 1585

  
1586
    @rtype: int
1586
    @rtype: string
1587 1587
    @return: job id
1588 1588

  
1589 1589
    """
......
1603 1603
    @type new_name: string
1604 1604
    @param new_name: New node group name
1605 1605

  
1606
    @rtype: int
1606
    @rtype: string
1607 1607
    @return: job id
1608 1608

  
1609 1609
    """
......
1623 1623
    @type nodes: list of strings
1624 1624
    @param nodes: List of nodes to assign to the group
1625 1625

  
1626
    @rtype: int
1626
    @rtype: string
1627 1627
    @return: job id
1628 1628

  
1629 1629
    """

Also available in: Unified diff