← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155012] Re: lbass status fields should be define as Enum

 

** Changed in: neutron
       Status: In Progress => Invalid

** Changed in: neutron
     Assignee: Roman Prykhodchenko (romcheg) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1155012

Title:
  lbass status fields should be define as Enum

Status in neutron:
  Invalid

Bug description:
  The lbass DB entities  has the filed:

  status = sa.Column(sa.String(16), nullable=False)

  As far I understand, valid values for this field are:
  ACTIVE,
  PENDING_CREATE,
  PENDING_UPDATE,
  PENDING_DELETE,
  INACTIVE,
  ERROR

  (See:
  https://wiki.openstack.org/wiki/Quantum/LBaaS/API_1.0#Synchronous_versus_Asynchronous_Plugin_Behavior)

  Therefor the status field in the DB should be defined as Enum.

  Example:
  lb_method = sa.Column(sa.Enum("ROUND_ROBIN",
                                    "LEAST_CONNECTIONS",
                                    "SOURCE_IP",
                                    name="pools_lb_method"),

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1155012/+subscriptions