~ubuntu-branches/ubuntu/saucy/quantum/saucy

« back to all changes in this revision

Viewing changes to quantum/plugins/hyperv/model.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-05-31 09:37:25 UTC
  • mfrom: (2.1.22)
  • Revision ID: package-import@ubuntu.com-20130531093725-bf9jom93l7jm57iv
Tags: 1:2013.2~b1-0ubuntu1
* New upstream release.
* debian/patches/fix-quantum-configuration.patch: Refreshed
* debian/control: Add testrepository.
* debian/control: Add subunit.
* debian/control: Add python-d21o1 and python-pbr as build-depends.
* debian/control: Add python-stevedore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
 
24
24
class VlanAllocation(model_base.BASEV2):
25
 
    """Represents allocation state of vlan_id on physical network"""
 
25
    """Represents allocation state of vlan_id on physical network."""
26
26
    __tablename__ = 'hyperv_vlan_allocations'
27
27
 
28
28
    physical_network = Column(String(64), nullable=False, primary_key=True)
37
37
 
38
38
 
39
39
class NetworkBinding(model_base.BASEV2):
40
 
    """Represents binding of virtual network to physical realization"""
 
40
    """Represents binding of virtual network to physical realization."""
41
41
    __tablename__ = 'hyperv_network_bindings'
42
42
 
43
43
    network_id = Column(String(36),