X-Git-Url: https://code.grnet.gr/git/aquarium/blobdiff_plain/145078b7f25116334345ba784e11341e89a99170..df36b232e02fb7bcf3b03b9932d25c3205975b88:/src/main/resources/policy.yaml diff --git a/src/main/resources/policy.yaml b/src/main/resources/policy.yaml index 6afec71..f909b1a 100644 --- a/src/main/resources/policy.yaml +++ b/src/main/resources/policy.yaml @@ -1,22 +1,22 @@ aquariumpolicy: resources: - resource: - name: bndup + name: bandwidthup unit: MB/hr complex: false - costpolicy: continuous + costpolicy: discrete - resource: - name: bnddown + name: bandwidthdown unit: MB/hr complex: false - costpolicy: continuous + costpolicy: discrete - resource: name: vmtime unit: Hour complex: true costpolicy: onoff - resource: - name: dsksp + name: diskspace unit: MB/hr complex: false costpolicy: continuous @@ -26,28 +26,34 @@ aquariumpolicy: complex: false costpolicy: once + implicitvars: + - price + - volume + algorithms: - algorithm: name: default - bndup: $price times $volume - bnddown: $price times $volume + bandwidthup: $price times $volume + bandwidthdown: $price times $volume vmtime: $price times $volume - dsksp: $price times $volume + diskspace: $price times $volume + bookpages: $price times $volume refills: $price times $volume effective: from: 0 - + pricelists: - pricelist: name: default - bndup: 0.01 - bnddown: 0.02 + bandwidthup: 0.01 + bandwidthdown: 0.02 vmtime: 0.1 - dsksp: 0.05 + diskspace: 0.05 + bookpages: 0.1 refills: 1 effective: from: 0 - + creditplans: - creditplan: name: default @@ -62,3 +68,4 @@ aquariumpolicy: algorithm: default pricelist: default creditplan: default +