fix print statements in novatenant and portprofile
This commit is contained in:
parent
ae21237bf1
commit
99e8f2bee3
@ -118,7 +118,6 @@ class NovatenantsController(common.QuantumController):
|
|||||||
#added for cisco's extension
|
#added for cisco's extension
|
||||||
def schedule_host(self, request, tenant_id, id):
|
def schedule_host(self, request, tenant_id, id):
|
||||||
content_type = request.best_match_content_type()
|
content_type = request.best_match_content_type()
|
||||||
print "Content type:%s" % content_type
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
req_params = \
|
req_params = \
|
||||||
@ -139,7 +138,6 @@ class NovatenantsController(common.QuantumController):
|
|||||||
|
|
||||||
def associate_port(self, request, tenant_id, id):
|
def associate_port(self, request, tenant_id, id):
|
||||||
content_type = request.best_match_content_type()
|
content_type = request.best_match_content_type()
|
||||||
print "Content type:%s" % content_type
|
|
||||||
try:
|
try:
|
||||||
req_params = \
|
req_params = \
|
||||||
self._parse_request_params(request,
|
self._parse_request_params(request,
|
||||||
|
@ -175,7 +175,6 @@ class PortprofilesController(common.QuantumController):
|
|||||||
def associate_portprofile(self, request, tenant_id, id):
|
def associate_portprofile(self, request, tenant_id, id):
|
||||||
""" associate a portprofile to the port """
|
""" associate a portprofile to the port """
|
||||||
content_type = request.best_match_content_type()
|
content_type = request.best_match_content_type()
|
||||||
print "Content type:%s" % content_type
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
req_params = \
|
req_params = \
|
||||||
@ -198,7 +197,6 @@ class PortprofilesController(common.QuantumController):
|
|||||||
def disassociate_portprofile(self, request, tenant_id, id):
|
def disassociate_portprofile(self, request, tenant_id, id):
|
||||||
""" Disassociate a portprofile from a port """
|
""" Disassociate a portprofile from a port """
|
||||||
content_type = request.best_match_content_type()
|
content_type = request.best_match_content_type()
|
||||||
print "Content type:%s" % content_type
|
|
||||||
try:
|
try:
|
||||||
req_params = \
|
req_params = \
|
||||||
self._parse_request_params(request,
|
self._parse_request_params(request,
|
||||||
|
Loading…
Reference in New Issue
Block a user