Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
configoptions [2020/02/24 13:02] orwah |
configoptions [2021/12/23 21:41] (current) orwah |
||
---|---|---|---|
Line 16: | Line 16: | ||
</style> | </style> | ||
</head> | </head> | ||
- | <h1><bold>Using Configurable options to override product values</bold></h1> | + | <h1><bold>Using Configurable options to override product setting</bold></h1> |
</html> | </html> | ||
Line 24: | Line 24: | ||
you can disable overriding ConfigOption values from the product module setting 'Override product setting' option. | you can disable overriding ConfigOption values from the product module setting 'Override product setting' option. | ||
+ | |||
+ | {{:override_product_setting.png?400|}} | ||
+ | |||
+ | |||
+ | ---- | ||
**Allowed Configoptions Variables:** | **Allowed Configoptions Variables:** | ||
- | 'IPv4 Count' | + | * 'IPv4 Count' |
- | 'IPv6 Count' | + | * 'IPv6 Count' |
- | 'Extra IPs' //for backward compatibility only (will add the IPs to the max of ipv4, ipv6)// | + | * 'Extra IPs' <fc #c0c0c0><fs small>//for backward compatibility only (will add the IPs to the max of ipv4, ipv6)//</fs></fc> |
- | 'Bandwidth' | + | * 'Bandwidth' |
- | 'Virtual CPUs' | + | * 'Virtual CPUs' |
- | 'Disk Size' | + | * 'Disk Size' |
- | 'Memory Size' | + | * 'Memory Size' |
+ | * 'extra disks count' | ||
+ | |||
+ | * 'OS_Suffix' <fc #c0c0c0><fs small>//will add suffix to the OS on vm create, so template name will be OS+suffix //</fs></fc> | ||
+ | * 'Max Snaps' | ||
- | 'Server' | + | * 'Main Disks SR' <fc #c0c0c0><fs small>//will will use VDI->pool_migrate which is slow and may take longer time //</fs></fc> |
+ | * 'Extra Disks SR' | ||
+ | |||
+ | * 'Server' <fc #c0c0c0><fs small>//specify which server/pool the vm will be created in //</fs></fc> | ||
- | 'Max Snaps' | ||
and off curse the 'Operating System' configoption which is necessary ant not affected by the 'Override product setting' option. | and off curse the 'Operating System' configoption which is necessary ant not affected by the 'Override product setting' option. | ||
- | **how to use configurable options to override product setting :** | ||
+ | ---- | ||
+ | |||
+ | |||
+ | **how to use configurable options to override product setting :** | ||
+ | * create Configurable Option Group and assign it to the product | ||
+ | * add Configurable Options items with the Exact variable names (above) | ||
+ | {{:configoptions_names.png?400|}} | ||
+ | * set the configoption item parameters : | ||
+ | {{:configoptions_ipv4_count.png?400|}} | ||
+ | {{:configoptions_cpu.png?400|}} | ||
+ | {{:configoptions_banwidth.png?400|}} | ||
+ | {{:configoption_server.png?400|}} | ||
+ | {{:configoption_maxsnaps.png?400|}} | ||
+ | * remember that you can use the pipe '|' to separate the value from the description | ||
+ | * you can use also the 'Default' value , that mean Xenica will take the default value as set in the product module setting (will not overwrite the default setting for this item) | ||
+ | * Admin area will be like this : | ||
+ | {{:configoption_admin_area.png?400|}} | ||
+ | you can change values for each vm sperately (press 'save changes' button after) | ||
+ | * the client order page will be like this | ||
+ | {{:configoption_client_area.png?400|}} | ||
+ | clients can specify their custom specs , and whmcs will automatically add costs as configured |