root / src / main / resources / policy.json @ b1d8cca8
History | View | Annotate | Download (1.5 kB)
1 |
{ |
---|---|
2 |
"id":"750E6309-AB60-41B4-8D4B-9FFEA6EF843C", |
3 |
|
4 |
"validityTimespan":{
|
5 |
"fromMillis":0, |
6 |
"toMillis":9223372036854775807 |
7 |
}, |
8 |
|
9 |
"resourceTypes":[
|
10 |
{ |
11 |
"name":"addcredits", |
12 |
"unit":"credits", |
13 |
"chargingBehavior":"gr.grnet.aquarium.charging.OnceChargingBehavior" |
14 |
}, |
15 |
{ |
16 |
"name":"bandwidth", |
17 |
"unit":"MB/Hr", |
18 |
"chargingBehavior":"gr.grnet.aquarium.charging.DiscreteChargingBehavior" |
19 |
}, |
20 |
{ |
21 |
"name":"vmtime", |
22 |
"unit":"Hr", |
23 |
"chargingBehavior":"gr.grnet.aquarium.charging.OnOffChargingBehavior" |
24 |
}, |
25 |
{ |
26 |
"name":"diskspace", |
27 |
"unit":"MB/Hr", |
28 |
"chargingBehavior":"gr.grnet.aquarium.charging.ContinuousChargingBehavior" |
29 |
} |
30 |
], |
31 |
|
32 |
"chargingBehaviors":[
|
33 |
"gr.grnet.aquarium.charging.DiscreteChargingBehavior",
|
34 |
"gr.grnet.aquarium.charging.OnOffChargingBehavior",
|
35 |
"gr.grnet.aquarium.charging.ContinuousChargingBehavior",
|
36 |
"gr.grnet.aquarium.charging.OnceChargingBehavior"
|
37 |
], |
38 |
|
39 |
"roleMapping":{
|
40 |
"default":{
|
41 |
"perResource":{
|
42 |
"bandwidth":{
|
43 |
"priceOverrides":[
|
44 |
{ |
45 |
"unitPrice":0.01 |
46 |
} |
47 |
] |
48 |
}, |
49 |
"vmtime":{
|
50 |
"priceOverrides":[
|
51 |
{ |
52 |
"unitPrice":0.01 |
53 |
} |
54 |
] |
55 |
}, |
56 |
"diskspace":{
|
57 |
"priceOverrides":[
|
58 |
{ |
59 |
"unitPrice":0.01 |
60 |
} |
61 |
] |
62 |
} |
63 |
"addcredits":{
|
64 |
"priceOverrides":[
|
65 |
{ |
66 |
"unitPrice":1 |
67 |
} |
68 |
] |
69 |
} |
70 |
} |
71 |
} |
72 |
} |
73 |
} |