summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/extensions/views/extensions.py
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud/extensions/views/extensions.py')
-rw-r--r--windriver/titanium_cloud/extensions/views/extensions.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/windriver/titanium_cloud/extensions/views/extensions.py b/windriver/titanium_cloud/extensions/views/extensions.py
index 2dd61fe9..3b231c02 100644
--- a/windriver/titanium_cloud/extensions/views/extensions.py
+++ b/windriver/titanium_cloud/extensions/views/extensions.py
@@ -12,9 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import logging
+import traceback
+
+from keystoneauth1.exceptions import HttpError
+from rest_framework import status
+from rest_framework.response import Response
+from rest_framework.views import APIView
from titanium_cloud.pub.config import config
+from newton.pub.exceptions import VimDriverNewtonException
+from newton.requests.views.util import VimDriverUtils
from newton.extensions.views import extensions as newton_extensions
+from newton.pub.msapi import extsys
logger = logging.getLogger(__name__)
@@ -39,17 +48,14 @@ class Extensions(newton_extensions.Extensions):
"alias": "epa-caps",
"description": "Multiple network support",
"name": "EPACapsQuery",
- "url": self.proxy_prefix + "/%s/extensions/epa-caps" \
- % (vimid),
+ "url": self.proxy_prefix + "/%s/extensions/epa-caps" % (vimid),
"spec": ""
},
{
"alias": "guest-monitor",
"description": "Multiple network support",
- "name": "EPACapsQuery",
- "url": self.proxy_prefix +\
- "/%s/extensions/guest-monitor/{server_id}" \
- % (vimid),
+ "name": "Guest Monitor",
+ "url": self.proxy_prefix + "/%s/extensions/guest-monitor/{server_id}" % (vimid),
"spec": ""
}
]