~markmc/nova/flat-dhcp-without-bridge-iface

« back to all changes in this revision

Viewing changes to nova/db/sqlalchemy/models.py

  • Committer: Tarmac
  • Author(s): Alex Meade
  • Date: 2011-08-22 03:17:04 UTC
  • mfrom: (1450.6.17 servers-accessip)
  • Revision ID: tarmac-20110822031704-3m2u6o62ut0gqyzo
Adds accessIPv4 and accessIPv6 to servers requests and responses as per the current spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
 
232
232
    root_device_name = Column(String(255))
233
233
 
 
234
    # User editable field meant to represent what ip should be used
 
235
    # to connect to the instance
 
236
    access_ip_v4 = Column(String(255))
 
237
    access_ip_v6 = Column(String(255))
 
238
 
234
239
    # TODO(vish): see Ewan's email about state improvements, probably
235
240
    #             should be in a driver base class or some such
236
241
    # vmstate_state = running, halted, suspended, paused