clean up code and fix some comments

This commit is contained in:
Ying Liu 2011-08-22 13:13:29 -07:00
parent 71d40685d1
commit 3ed7419816
3 changed files with 0 additions and 4 deletions

View File

@ -97,7 +97,6 @@ class NovatenantsController(common.QuantumController):
def __init__(self, plugin):
self._resource_name = 'novatenant'
self._plugin = plugin
#super(NovatenantsController, self).__init__(plugin)
def index(self, request, tenant_id):
""" Returns a list of novatenant ids """

View File

@ -81,7 +81,6 @@ class PortprofilesController(common.QuantumController):
def __init__(self, plugin):
self._resource_name = 'portprofile'
self._plugin = plugin
#super(PortprofilesController, self).__init__(plugin)
self._portprofile_ops_param_list = [{
'param-name': 'portprofile_name',
@ -209,7 +208,6 @@ class PortprofilesController(common.QuantumController):
except exc.HTTPError as exp:
return faults.Fault(exp)
net_id = req_params['network-id'].strip()
#print "*****net id "+net_id
port_id = req_params['port-id'].strip()
try:
self._plugin. \

View File

@ -94,7 +94,6 @@ class QosController(common.QuantumController):
def __init__(self, plugin):
self._resource_name = 'qos'
self._plugin = plugin
#super(QosController, self).__init__(plugin)
def index(self, request, tenant_id):
""" Returns a list of qos ids """