diff options
Diffstat (limited to 'opendc/api/v2/paths/pathId')
| -rw-r--r-- | opendc/api/v2/paths/pathId/branches/endpoint.py | 16 | ||||
| -rw-r--r-- | opendc/api/v2/paths/pathId/endpoint.py | 2 | ||||
| -rw-r--r-- | opendc/api/v2/paths/pathId/sections/endpoint.py | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/opendc/api/v2/paths/pathId/branches/endpoint.py b/opendc/api/v2/paths/pathId/branches/endpoint.py index d3256e8c..6b0eebbd 100644 --- a/opendc/api/v2/paths/pathId/branches/endpoint.py +++ b/opendc/api/v2/paths/pathId/branches/endpoint.py @@ -1,13 +1,13 @@ from datetime import datetime -from opendc.models.datacenter import Datacenter -from opendc.models.machine import Machine -from opendc.models.object import Object -from opendc.models.path import Path -from opendc.models.rack import Rack -from opendc.models.room import Room -from opendc.models.section import Section -from opendc.models.tile import Tile +from opendc.models_old.datacenter import Datacenter +from opendc.models_old.machine import Machine +from opendc.models_old.object import Object +from opendc.models_old.path import Path +from opendc.models_old.rack import Rack +from opendc.models_old.room import Room +from opendc.models_old.section import Section +from opendc.models_old.tile import Tile from opendc.util import database, exceptions from opendc.util.rest import Request, Response diff --git a/opendc/api/v2/paths/pathId/endpoint.py b/opendc/api/v2/paths/pathId/endpoint.py index 42357fc5..a3348618 100644 --- a/opendc/api/v2/paths/pathId/endpoint.py +++ b/opendc/api/v2/paths/pathId/endpoint.py @@ -1,4 +1,4 @@ -from opendc.models.path import Path +from opendc.models_old.path import Path from opendc.util import exceptions from opendc.util.rest import Response diff --git a/opendc/api/v2/paths/pathId/sections/endpoint.py b/opendc/api/v2/paths/pathId/sections/endpoint.py index a983ff1f..8f3e270b 100644 --- a/opendc/api/v2/paths/pathId/sections/endpoint.py +++ b/opendc/api/v2/paths/pathId/sections/endpoint.py @@ -1,5 +1,5 @@ -from opendc.models.path import Path -from opendc.models.section import Section +from opendc.models_old.path import Path +from opendc.models_old.section import Section from opendc.util import exceptions from opendc.util.rest import Response |
