Skip to content

Commit

Permalink
Merge "Added vcpu_weight to models."
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Oct 14, 2011
2 parents d01f17f + 6835f46 commit 52b5611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.

from sqlalchemy import Column, Integer, MetaData, Table, Boolean
from sqlalchemy import Column, Integer, MetaData, Table

meta = MetaData()

Expand Down
1 change: 1 addition & 0 deletions nova/db/sqlalchemy/models.py
Expand Up @@ -307,6 +307,7 @@ class InstanceTypes(BASE, NovaBase):
swap = Column(Integer, nullable=False, default=0)
rxtx_quota = Column(Integer, nullable=False, default=0)
rxtx_cap = Column(Integer, nullable=False, default=0)
vcpu_weight = Column(Integer, nullable=True)

instances = relationship(Instance,
backref=backref('instance_type', uselist=False),
Expand Down

0 comments on commit 52b5611

Please sign in to comment.