I've written an in-house script to alert our staff each time a Reseller with overselling goes over their package specifications. This script loads the reseller limits using reseller-limits.yaml.
Within this file, a given reseller has the parameters:
My script specifically checks for any oddities and the example entry above illustrates one of them I came across today. Under what circumstances would a reseller have "enabled:1", but no settings for "bw" or "disk"?Code:resellerusername: limits: number_of_accounts: accounts: 0 enabled: 0 number_of_packages: enabled: 0 preassigned_packages: enabled: 0 resources: enabled: 1 overselling: enabled: 1 type: bw: 0 disk: 0 type: bw: 100000 disk: 10000
If a reseller is bound by resources and does not have overselling enabled for "bw" or "disk", what can they possibly oversell (and have "enabled:1")?
I tried to edit the reseller through the reseller center and toggle the overselling for bw and disk, but enabled remains 1 even with no overselling options ticked.


LinkBack URL
About LinkBacks
Reply With Quote