Skip to content

Commit fa55f00

Browse files
authored
Merge pull request #73 from grahamc/device-intake-more-parameters
Device: capture spot_price_max, termination_time, provisioning_percentage
2 parents 14b029a + 43c75c8 commit fa55f00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packet/Device.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ def __init__(self, data, manager):
3939
self.href = data.get("href")
4040
self.spot_instance = data.get("spot_instance", False)
4141
self.hardware_reservation_id = data.get("hardware_reservation_id")
42+
self.spot_price_max = data.get("spot_price_max")
43+
self.termination_time = data.get("termination_time")
4244
self.root_password = data.get("root_password")
45+
self.provisioning_percentage = data.get("provisioning_percentage")
4346

4447
def update(self):
4548
params = {

0 commit comments

Comments
 (0)