Remove some commented out code
Change-Id: I613a33c81015faa4f146f885beb09dffff4086c0
This commit is contained in:
parent
65af458446
commit
84f07ec41d
@ -18,7 +18,6 @@ from neutron.db import common_db_mixin as base_db
|
||||
from neutron.db import model_base
|
||||
from neutron.db import models_v2
|
||||
from neutron import manager
|
||||
# from neutron.openstack.common import uuidutils
|
||||
from neutron_taas.extensions import taas
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import uuidutils
|
||||
@ -37,18 +36,6 @@ class TapService(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
|
||||
description = sa.Column(sa.String(1024), nullable=True)
|
||||
port_id = sa.Column(sa.String(36), nullable=False)
|
||||
network_id = sa.Column(sa.String(36), nullable=True)
|
||||
'''
|
||||
def __init__(self, id, tenant_id, name, description, port_id, network_id):
|
||||
self.id = id
|
||||
self.tenant_id = tenant_id
|
||||
self.name = name
|
||||
self.description = description
|
||||
self.port_id = port_id
|
||||
self.network_id = network_id
|
||||
|
||||
def __repr__(self):
|
||||
return "<TapService> %s" % self.id
|
||||
'''
|
||||
|
||||
|
||||
class TapFlow(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
|
||||
|
@ -25,7 +25,6 @@ from neutron.agent.common import config
|
||||
from neutron.common import config as common_config
|
||||
from neutron.common import rpc as n_rpc
|
||||
from neutron.common import topics
|
||||
# from neutron.openstack.common import service
|
||||
from neutron_taas.services.taas.agents.ovs import taas_ovs_agent
|
||||
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
# from oslo_messaging import messaging
|
||||
import oslo_messaging as messaging
|
||||
|
||||
from neutron.common import rpc as n_rpc
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
|
||||
from oslo_config import cfg
|
||||
# from oslo import messaging
|
||||
import oslo_messaging as messaging
|
||||
|
||||
from neutron.common import rpc as n_rpc
|
||||
@ -235,7 +234,6 @@ class TaasPlugin(taas_db.Tass_db_Mixin):
|
||||
LOG.debug("delete_tap_flow() called")
|
||||
|
||||
tf = self.get_tap_flow(context, id)
|
||||
# ts = self.get_tap_service(context, tf['tap_service_id'])
|
||||
|
||||
taas_id = (self.get_tap_id_association(
|
||||
context,
|
||||
|
Loading…
Reference in New Issue
Block a user