clean up code and fix some comments
This commit is contained in:
parent
71d40685d1
commit
3ed7419816
@ -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 """
|
||||
|
@ -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. \
|
||||
|
@ -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 """
|
||||
|
Loading…
x
Reference in New Issue
Block a user