summaryrefslogtreecommitdiffstats
path: root/share/newton_base/openoapi
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-02-28 03:44:35 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-03-01 02:39:05 +0800
commitb14e1359642e17daf769ca39fa01e644135191f0 (patch)
treef29fcbd5c81df64eac4796bdd0c0423d460ebe17 /share/newton_base/openoapi
parentb99c0d415f37ca26443514d43f3cc1975185bf74 (diff)
Move extsys from newton to common
Change-Id: I30ad2ed3a43bcb0ef569bb25d3e51a9ab49ea48a Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'share/newton_base/openoapi')
-rw-r--r--share/newton_base/openoapi/flavor.py2
-rw-r--r--share/newton_base/openoapi/hosts.py4
-rw-r--r--share/newton_base/openoapi/image.py2
-rw-r--r--share/newton_base/openoapi/limits.py2
-rw-r--r--share/newton_base/openoapi/network.py4
-rw-r--r--share/newton_base/openoapi/server.py2
-rw-r--r--share/newton_base/openoapi/subnet.py2
-rw-r--r--share/newton_base/openoapi/tenants.py2
-rw-r--r--share/newton_base/openoapi/volume.py2
-rw-r--r--share/newton_base/openoapi/vport.py2
10 files changed, 12 insertions, 12 deletions
diff --git a/share/newton_base/openoapi/flavor.py b/share/newton_base/openoapi/flavor.py
index 27bbb821..d50b1941 100644
--- a/share/newton_base/openoapi/flavor.py
+++ b/share/newton_base/openoapi/flavor.py
@@ -20,7 +20,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
logger = logging.getLogger(__name__)
diff --git a/share/newton_base/openoapi/hosts.py b/share/newton_base/openoapi/hosts.py
index 720ba8e2..60debf54 100644
--- a/share/newton_base/openoapi/hosts.py
+++ b/share/newton_base/openoapi/hosts.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright (c) 2017-2018 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
diff --git a/share/newton_base/openoapi/image.py b/share/newton_base/openoapi/image.py
index 9ddb5f55..965b2c3f 100644
--- a/share/newton_base/openoapi/image.py
+++ b/share/newton_base/openoapi/image.py
@@ -21,7 +21,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
diff --git a/share/newton_base/openoapi/limits.py b/share/newton_base/openoapi/limits.py
index 3f62afa3..3302fdba 100644
--- a/share/newton_base/openoapi/limits.py
+++ b/share/newton_base/openoapi/limits.py
@@ -19,7 +19,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
diff --git a/share/newton_base/openoapi/network.py b/share/newton_base/openoapi/network.py
index a1ac550d..253ac89f 100644
--- a/share/newton_base/openoapi/network.py
+++ b/share/newton_base/openoapi/network.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright (c) 2017-2018 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
diff --git a/share/newton_base/openoapi/server.py b/share/newton_base/openoapi/server.py
index c53e43e8..95eab2bf 100644
--- a/share/newton_base/openoapi/server.py
+++ b/share/newton_base/openoapi/server.py
@@ -22,7 +22,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
logger = logging.getLogger(__name__)
diff --git a/share/newton_base/openoapi/subnet.py b/share/newton_base/openoapi/subnet.py
index 1310ab50..a9b423ac 100644
--- a/share/newton_base/openoapi/subnet.py
+++ b/share/newton_base/openoapi/subnet.py
@@ -19,7 +19,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
diff --git a/share/newton_base/openoapi/tenants.py b/share/newton_base/openoapi/tenants.py
index bcd8f2f2..926f72c5 100644
--- a/share/newton_base/openoapi/tenants.py
+++ b/share/newton_base/openoapi/tenants.py
@@ -20,7 +20,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
logger = logging.getLogger(__name__)
diff --git a/share/newton_base/openoapi/volume.py b/share/newton_base/openoapi/volume.py
index a048dda4..27bd1ef7 100644
--- a/share/newton_base/openoapi/volume.py
+++ b/share/newton_base/openoapi/volume.py
@@ -19,7 +19,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils
diff --git a/share/newton_base/openoapi/vport.py b/share/newton_base/openoapi/vport.py
index 8f9b0d62..9656b5c0 100644
--- a/share/newton_base/openoapi/vport.py
+++ b/share/newton_base/openoapi/vport.py
@@ -19,7 +19,7 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.exceptions import VimDriverNewtonException
+from common.exceptions import VimDriverNewtonException
from newton_base.util import VimDriverUtils