Revision 919db916 lib/client/gnt_cluster.py

b/lib/client/gnt_cluster.py
967 967
          opts.hv_state or
968 968
          opts.enabled_disk_templates or
969 969
          opts.disk_state or
970
          opts.ispecs_mem_size or
971
          opts.ispecs_cpu_count or
972
          opts.ispecs_disk_count or
973
          opts.ispecs_disk_size or
974
          opts.ispecs_nic_count or
975 970
          opts.ipolicy_bounds_specs is not None or
976 971
          opts.ipolicy_std_specs is not None or
977 972
          opts.ipolicy_disk_templates is not None or
......
1025 1020
    utils.ForceDictType(ndparams, constants.NDS_PARAMETER_TYPES)
1026 1021

  
1027 1022
  ipolicy = CreateIPolicyFromOpts(
1028
    ispecs_mem_size=opts.ispecs_mem_size,
1029
    ispecs_cpu_count=opts.ispecs_cpu_count,
1030
    ispecs_disk_count=opts.ispecs_disk_count,
1031
    ispecs_disk_size=opts.ispecs_disk_size,
1032
    ispecs_nic_count=opts.ispecs_nic_count,
1033 1023
    minmax_ispecs=opts.ipolicy_bounds_specs,
1034 1024
    std_ispecs=opts.ipolicy_std_specs,
1035 1025
    ipolicy_disk_templates=opts.ipolicy_disk_templates,
......
1523 1513
     DEFAULT_IALLOCATOR_OPT, PRIMARY_IP_VERSION_OPT, PREALLOC_WIPE_DISKS_OPT,
1524 1514
     NODE_PARAMS_OPT, GLOBAL_SHARED_FILEDIR_OPT, USE_EXTERNAL_MIP_SCRIPT,
1525 1515
     DISK_PARAMS_OPT, HV_STATE_OPT, DISK_STATE_OPT, ENABLED_DISK_TEMPLATES_OPT,
1526
     IPOLICY_STD_SPECS_OPT] + INSTANCE_POLICY_OPTS,
1516
     IPOLICY_STD_SPECS_OPT] + INSTANCE_POLICY_OPTS + SPLIT_ISPECS_OPTS,
1527 1517
    "[opts...] <cluster_name>", "Initialises a new cluster configuration"),
1528 1518
  "destroy": (
1529 1519
    DestroyCluster, ARGS_NONE, [YES_DOIT_OPT],

Also available in: Unified diff