]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove status* fields from HealthMonitor model
authorEugene Nikanorov <enikanorov@mirantis.com>
Fri, 2 Aug 2013 19:35:27 +0000 (23:35 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Fri, 2 Aug 2013 19:47:09 +0000 (23:47 +0400)
commit4c7c0d4a7a42aef4ec50d63a27541e6e00ba3792
treec9fe8542911a7f04b2b56d96de0460e2ade01ad4
parent256f9743a376b4b4f850bdd39cf218b78d1ddaa4
Remove status* fields from HealthMonitor model

Status and status_description fields of HealthMonitor
model are never changed during lifetime of the object
and doesn't represent the status of it's pysical
implementation. Instead, status and status_description
of PoolMonitorAssociation is used. Another reason for
removing those fields is that HealthMonitor acts as
template which is instantiated on device. Status field
for template makes no sense.

fixes bug 1207650

Change-Id: Iea9d7f73c3a2db43c553ed06a64fe5ff42427167
neutron/db/loadbalancer/loadbalancer_db.py
neutron/db/migration/alembic_migrations/versions/35c7c198ddea_lbaas_healthmon_del_status.py [new file with mode: 0644]
neutron/tests/unit/db/loadbalancer/test_db_loadbalancer.py