Skip to content

Commit

Permalink
Merge pull request #243 from nuwang/add_more_vm_types
Browse files Browse the repository at this point in the history
Add pricing info to mock data
  • Loading branch information
nuwang committed Aug 23, 2020
2 parents ff7ff77 + 3cbbb13 commit 307c34c
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions cloudbridge/providers/mock/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,27 @@ def setUpMock(self):
"linux_virtualization_types": [
"HVM"
],
"pricing": {
"us-east-1": {
"linux": {
"ondemand": "0.0058",
"reserved": {
"yrTerm1Convertible.allUpfront": "0.003881",
"yrTerm1Convertible.noUpfront": "0.0041",
"yrTerm1Convertible.partialUpfront": "0.003941",
"yrTerm1Standard.allUpfront": "0.003311",
"yrTerm1Standard.noUpfront": "0.0036",
"yrTerm1Standard.partialUpfront": "0.003412",
"yrTerm3Convertible.allUpfront": "0.002626",
"yrTerm3Convertible.noUpfront": "0.0029",
"yrTerm3Convertible.partialUpfront": "0.002632",
"yrTerm3Standard.allUpfront": "0.002169",
"yrTerm3Standard.noUpfront": "0.0025",
"yrTerm3Standard.partialUpfront": "0.002342"
}
}
}
},
"ebs_optimized": false,
"storage": null,
"max_bandwidth": 0,
Expand Down Expand Up @@ -162,6 +183,27 @@ def setUpMock(self):
"linux_virtualization_types": [
"HVM"
],
"pricing": {
"us-east-1": {
"linux": {
"ondemand": "0.0058",
"reserved": {
"yrTerm1Convertible.allUpfront": "0.003881",
"yrTerm1Convertible.noUpfront": "0.0041",
"yrTerm1Convertible.partialUpfront": "0.003941",
"yrTerm1Standard.allUpfront": "0.003311",
"yrTerm1Standard.noUpfront": "0.0036",
"yrTerm1Standard.partialUpfront": "0.003412",
"yrTerm3Convertible.allUpfront": "0.002626",
"yrTerm3Convertible.noUpfront": "0.0029",
"yrTerm3Convertible.partialUpfront": "0.002632",
"yrTerm3Standard.allUpfront": "0.002169",
"yrTerm3Standard.noUpfront": "0.0025",
"yrTerm3Standard.partialUpfront": "0.002342"
}
}
}
},
"ebs_optimized": false,
"storage": null,
"max_bandwidth": 0,
Expand All @@ -188,6 +230,27 @@ def setUpMock(self):
"linux_virtualization_types": [
"HVM"
],
"pricing": {
"us-east-1": {
"linux": {
"ondemand": "0.0058",
"reserved": {
"yrTerm1Convertible.allUpfront": "0.003881",
"yrTerm1Convertible.noUpfront": "0.0041",
"yrTerm1Convertible.partialUpfront": "0.003941",
"yrTerm1Standard.allUpfront": "0.003311",
"yrTerm1Standard.noUpfront": "0.0036",
"yrTerm1Standard.partialUpfront": "0.003412",
"yrTerm3Convertible.allUpfront": "0.002626",
"yrTerm3Convertible.noUpfront": "0.0029",
"yrTerm3Convertible.partialUpfront": "0.002632",
"yrTerm3Standard.allUpfront": "0.002169",
"yrTerm3Standard.noUpfront": "0.0025",
"yrTerm3Standard.partialUpfront": "0.002342"
}
}
}
},
"ebs_optimized": false,
"storage": null,
"max_bandwidth": 0,
Expand Down

0 comments on commit 307c34c

Please sign in to comment.