diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-06-21 18:15:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-06-21 18:15:22 +0000 |
| commit | cdc68cd3c93c749f959ffbbfe8934c264a2c7c12 (patch) | |
| tree | 21c94c6d6ad1a2f72dc8fba21a4db26f4157c377 /nova | |
| parent | 1e742df03848f727fc8248de3438f6ac39d7f2ff (diff) | |
| parent | 947f92e80e896f5ffe83a5bde5c55d8043ff3b62 (diff) | |
Merge "Spelling fixes"
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/db/sqlalchemy/models.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py index 91dae5f0a..b285abd95 100644 --- a/nova/db/sqlalchemy/models.py +++ b/nova/db/sqlalchemy/models.py @@ -161,7 +161,7 @@ class ComputeNode(BASE, NovaBase): class Certificate(BASE, NovaBase): - """Represents a an x509 certificate""" + """Represents a x509 certificate""" __tablename__ = 'certificates' id = Column(Integer, primary_key=True) @@ -171,7 +171,7 @@ class Certificate(BASE, NovaBase): class Instance(BASE, NovaBase): - """Represents a guest vm.""" + """Represents a guest VM.""" __tablename__ = 'instances' injected_files = [] @@ -247,7 +247,7 @@ class Instance(BASE, NovaBase): display_description = Column(String(255)) # To remember on which host an instance booted. - # An instance may have moved to another host by live migraiton. + # An instance may have moved to another host by live migration. launched_on = Column(Text) locked = Column(Boolean) @@ -269,7 +269,7 @@ class Instance(BASE, NovaBase): auto_disk_config = Column(Boolean()) progress = Column(Integer) - # EC2 instance_initiated_shutdown_teminate + # EC2 instance_initiated_shutdown_terminate # True: -> 'terminate' # False: -> 'stop' # Note(maoy): currently Nova will always stop instead of terminate @@ -322,7 +322,7 @@ class InstanceTypes(BASE, NovaBase): class Volume(BASE, NovaBase): - """Represents a block storage device that can be attached to a vm.""" + """Represents a block storage device that can be attached to a VM.""" __tablename__ = 'volumes' id = Column(String(36), primary_key=True) @@ -481,7 +481,7 @@ class Reservation(BASE, NovaBase): class Snapshot(BASE, NovaBase): - """Represents a block storage device that can be attached to a vm.""" + """Represents a block storage device that can be attached to a VM.""" __tablename__ = 'snapshots' id = Column(String(36), primary_key=True) @@ -513,7 +513,7 @@ class BlockDeviceMapping(BASE, NovaBase): instance_uuid = Column(Integer, ForeignKey('instances.uuid'), nullable=False) instance = relationship(Instance, - backref=backref('balock_device_mapping'), + backref=backref('block_device_mapping'), foreign_keys=instance_uuid, primaryjoin='and_(BlockDeviceMapping.' 'instance_uuid==' @@ -543,7 +543,7 @@ class BlockDeviceMapping(BASE, NovaBase): class IscsiTarget(BASE, NovaBase): - """Represates an iscsi target for a given host""" + """Represents an iscsi target for a given host""" __tablename__ = 'iscsi_targets' __table_args__ = (schema.UniqueConstraint("target_num", "host"), {'mysql_engine': 'InnoDB'}) |
