Merge "Delete useless and wrong comments in NEC Plugin"
This commit is contained in:
commit
0daeda55e1
@ -234,8 +234,6 @@ class NECPluginV2(db_base_plugin_v2.NeutronDbPluginV2,
|
|||||||
|
|
||||||
return port
|
return port
|
||||||
|
|
||||||
# Quantm Plugin Basic methods
|
|
||||||
|
|
||||||
def create_network(self, context, network):
|
def create_network(self, context, network):
|
||||||
"""Create a new network entry on DB, and create it on OFC."""
|
"""Create a new network entry on DB, and create it on OFC."""
|
||||||
LOG.debug(_("NECPluginV2.create_network() called, "
|
LOG.debug(_("NECPluginV2.create_network() called, "
|
||||||
|
@ -78,12 +78,8 @@ class NecPluginV2TestCase(test_plugin.NeutronDbPluginV2TestCase):
|
|||||||
self.addCleanup(mock.patch.stopall)
|
self.addCleanup(mock.patch.stopall)
|
||||||
|
|
||||||
self._set_nec_ini()
|
self._set_nec_ini()
|
||||||
|
self.addCleanup(self._clean_nec_ini)
|
||||||
super(NecPluginV2TestCase, self).setUp(self._plugin_name)
|
super(NecPluginV2TestCase, self).setUp(self._plugin_name)
|
||||||
# NOTE: `test_config' is global, and most tests don't set
|
|
||||||
# test_config['config_files'] but read this in setUp().
|
|
||||||
# So clean test_config['config_files'] ASAP, to avoid side effects
|
|
||||||
# on other tests which are running at the same time.
|
|
||||||
self._clean_nec_ini()
|
|
||||||
|
|
||||||
self.plugin = manager.NeutronManager.get_plugin()
|
self.plugin = manager.NeutronManager.get_plugin()
|
||||||
self.plugin.ofc = fake_ofc_manager.patch_ofc_manager()
|
self.plugin.ofc = fake_ofc_manager.patch_ofc_manager()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user