diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-26 17:10:06 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-26 17:10:06 +0200 |
| commit | 44f0bd378763f4c481fb8a87847ca84469b35a67 (patch) | |
| tree | d9517715e54b635ebd068ab3041afc60c2b30c62 /opendc/models/room.py | |
| parent | a1589e75358558eada7ffc2efc7e3fa7160d233e (diff) | |
Copy over topology_ids on branch
Diffstat (limited to 'opendc/models/room.py')
| -rw-r--r-- | opendc/models/room.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opendc/models/room.py b/opendc/models/room.py index 66346bb2..209e4e77 100644 --- a/opendc/models/room.py +++ b/opendc/models/room.py @@ -9,14 +9,15 @@ class Room(Model): 'id': 'id', 'datacenterId': 'datacenter_id', 'name': 'name', - 'roomType': 'type' + 'roomType': 'type', + 'topologyId': 'topology_id' } } PATH = '/v1/datacenters/{datacenterId}/rooms' TABLE_NAME = 'rooms' - COLUMNS = ['id', 'name', 'datacenter_id', 'type'] + COLUMNS = ['id', 'name', 'datacenter_id', 'type', 'topology_id'] COLUMNS_PRIMARY_KEY = ['id'] def google_id_has_at_least(self, google_id, authorization_level): |
