From 0c7a54b3b44f849bf397bb4068ab16c576c3559c Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Mon, 27 Feb 2012 19:07:31 -0600 Subject: Setup and teardown networks during migration * fixes lp939060 * live migration and resize nova appropriately setup and teardown networking related to network hosts * deallocate_fixed_ip is now run on the correct host resulting in the network structures being torn down correctly Change-Id: I2c86989ab7c6593bf346611cde8c043116d55bc5 --- nova/db/sqlalchemy/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nova/db') diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py index b15cece8d..c5dd32035 100644 --- a/nova/db/sqlalchemy/models.py +++ b/nova/db/sqlalchemy/models.py @@ -638,8 +638,10 @@ class Migration(BASE, NovaBase): """Represents a running host-to-host migration.""" __tablename__ = 'migrations' id = Column(Integer, primary_key=True, nullable=False) + # NOTE(tr3buchet): the ____compute variables are instance['host'] source_compute = Column(String(255)) dest_compute = Column(String(255)) + # NOTE(tr3buchet): dest_host, btw, is an ip address dest_host = Column(String(255)) old_instance_type_id = Column(Integer()) new_instance_type_id = Column(Integer()) -- cgit