diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-13 23:12:16 +0300 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-13 23:12:16 +0300 |
| commit | f589682b0840aab0624122052eb863cf8dc3a0b9 (patch) | |
| tree | ea97449f7a83b7f911aa196976266551f834fc9d /opendc/models/rack.py | |
| parent | db460a0e734f9f1cf60088f63a3c05eaed255074 (diff) | |
Convert API codebase to flat model
Diffstat (limited to 'opendc/models/rack.py')
| -rw-r--r-- | opendc/models/rack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/rack.py b/opendc/models/rack.py index a9aeeff9..b547afa1 100644 --- a/opendc/models/rack.py +++ b/opendc/models/rack.py @@ -14,7 +14,7 @@ class Rack(Model): } } - PATH = '/v1/simulations/{simulationId}/datacenters/{datacenterId}/rooms/{roomId}/tiles/{tileId}/rack' + PATH = '/v1/tiles/{tileId}/rack' TABLE_NAME = 'racks' COLUMNS = ['id', 'name', 'capacity', 'power_capacity_w'] |
