Revision 2daca99b

b/doc/iallocator.rst
109 109
  alloc_policy
110 110
    the allocation policy of the node group (consult the semantics of
111 111
    this attribute in the :manpage:`gnt-group(8)` manpage)
112
  networks
113
    the list of network UUID's this node group is connected to
112 114
  ipolicy
113 115
    the instance policy of the node group
116
  tags
117
    the list of node group tags
114 118

  
115 119
instances
116 120
  a dictionary with the data for the current existing instance on the
......
377 381
    "nodegroups": {
378 382
      "f4e06e0d-528a-4963-a5ad-10f3e114232d": {
379 383
        "name": "default",
380
        "alloc_policy": "preferred"
384
        "alloc_policy": "preferred",
385
        "networks": ["net-uuid-1", "net-uuid-2"],
386
        "ipolicy": {
387
          "disk-templates": ["drbd", "plain"],
388
          "minmax": [
389
            {
390
              "max": {
391
                "cpu-count": 2,
392
                "disk-count": 8,
393
                "disk-size": 2048,
394
                "memory-size": 12800,
395
                "nic-count": 8,
396
                "spindle-use": 8
397
              },
398
              "min": {
399
                "cpu-count": 1,
400
                "disk-count": 1,
401
                "disk-size": 1024,
402
                "memory-size": 128,
403
                "nic-count": 1,
404
                "spindle-use": 1
405
              }
406
            }
407
          ],
408
          "spindle-ratio": 32.0,
409
          "std": {
410
            "cpu-count": 1,
411
            "disk-count": 1,
412
            "disk-size": 1024,
413
            "memory-size": 128,
414
            "nic-count": 1,
415
            "spindle-use": 1
416
          },
417
          "vcpu-ratio": 4.0
418
        },
419
        "tags": ["ng-tag-1", "ng-tag-2"]
381 420
      }
382 421
    },
383 422
    "instances": {

Also available in: Unified diff