Oleg Bondarev ac40c6c177 Fix MeteringLabel model to not clear router's tenant id on deletion
foreign_keys parameter of orm.relationship should point to local columns.
Currently for MeteringLabel it points to Router.tenant_id column which causes
routers tenant_id clearing on label deletion.

Closes-Bug: #1249188
Change-Id: Iccc0daf4f6edd537fd7f9e4b2fc4be094543ca5d
2013-11-12 19:09:29 +04:00
..