From 54329b8dcb99cd4005def0fe0b8eb19ac1c3da42 Mon Sep 17 00:00:00 2001 From: lidong Date: Thu, 23 May 2019 15:33:38 +0800 Subject: [PATCH] Modify comments on some methods Modify comments on some methods in file: ...\neutron\neutron\plugins\ml2\managers.py Change-Id: I48d618e35282eb1d1034856cb104ac16b8c29a20 --- neutron/plugins/ml2/managers.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/neutron/plugins/ml2/managers.py b/neutron/plugins/ml2/managers.py index 78cefba5836..10c97170878 100644 --- a/neutron/plugins/ml2/managers.py +++ b/neutron/plugins/ml2/managers.py @@ -527,7 +527,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def update_network_precommit(self, context): """Notify all mechanism drivers during network update. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if update_network_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver update_network_precommit call fails. @@ -557,7 +557,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def delete_network_precommit(self, context): """Notify all mechanism drivers during network deletion. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if delete_network_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver delete_network_precommit call fails. @@ -591,7 +591,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def create_subnet_precommit(self, context): """Notify all mechanism drivers during subnet creation. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if create_subnet_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver create_subnet_precommit call fails. @@ -621,7 +621,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def update_subnet_precommit(self, context): """Notify all mechanism drivers during subnet update. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if update_subnet_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver update_subnet_precommit call fails. @@ -651,7 +651,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def delete_subnet_precommit(self, context): """Notify all mechanism drivers during subnet deletion. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if delete_subnet_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver delete_subnet_precommit call fails. @@ -685,7 +685,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def create_port_precommit(self, context): """Notify all mechanism drivers during port creation. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if create_port_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver create_port_precommit call fails. @@ -715,7 +715,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def update_port_precommit(self, context): """Notify all mechanism drivers during port update. - :raises: DB retriable error if create_network_precommit raises them + :raises: DB retriable error if update_port_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver update_port_precommit call fails. @@ -745,7 +745,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager): def delete_port_precommit(self, context): """Notify all mechanism drivers during port deletion. - :raises:DB retriable error if create_network_precommit raises them + :raises:DB retriable error if delete_port_precommit raises them See neutron_lib.db.api.is_retriable for what db exception is retriable or neutron.plugins.ml2.common.MechanismDriverError if any mechanism driver delete_port_precommit call fails.