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/machine.py | |
| parent | db460a0e734f9f1cf60088f63a3c05eaed255074 (diff) | |
Convert API codebase to flat model
Diffstat (limited to 'opendc/models/machine.py')
| -rw-r--r-- | opendc/models/machine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/machine.py b/opendc/models/machine.py index 52cf221b..54838ffd 100644 --- a/opendc/models/machine.py +++ b/opendc/models/machine.py @@ -19,7 +19,7 @@ class Machine(Model): } } - PATH = '/v1/simulations/{simulationId}/datacenters/{datacenterId}/rooms/{roomId}/tiles/{tileId}/rack/machines' + PATH = '/v1/tiles/{tileId}/rack/machines' TABLE_NAME = 'machines' COLUMNS = ['id', 'rack_id', 'position'] |
