Change-Id: I532dc0c8f0f9f8c92b47a51138d5162bc506016b
no-member,
no-method-argument,
no-self-argument,
- no-value-for-parameter,
# "W" Warnings for stylistic problems or minor programming issues
abstract-method,
arguments-differ,
port['id'])
network = self.core_plugin.get_network(ctx, port['network_id'])
mech_context = driver_context.PortContext(self.core_plugin, ctx,
- port, network, binding)
+ port, network, binding,
+ [])
try:
self.driver.create_port_postcommit(mech_context)
except Exception:
class Router(object):
"""WSGI middleware that maps incoming requests to WSGI apps."""
- @classmethod
- def factory(cls, global_config, **local_config):
- """Return an instance of the WSGI Router class."""
- return cls()
-
def __init__(self, mapper):
"""Create a router for the given routes.Mapper.