vmware-nsx/vmware_nsx/db
Boden R cc09f65ca4 shim references for port_binding
As a consequence of implementing multiple port bindings in the Neutron
reference implementation [1], the following attributes were made lists:

- 'port_binding' in the in the SQLAlchemy Port model.
- 'binding' in the Port OVO

As a consequence of this change, these attributes names were changed to
'port_bindings' and 'bindings' respectively. This patch updates the
references to those attributes.

To support neutron envs, both with and without the neutron change [2],
this patch adds a shim to use the proper port binding accessor.
NB: this shim may allow the tests to pass but does not test using the
proper "depends on" approach since that doesn't work today with the 3rd
party VMware NSX CI.

For more details see [1][2].

[1] https://review.openstack.org/#/c/571041
[2] https://review.openstack.org/#/c/414251

Change-Id: I35c24b83150d84a15997c5ebe3e7b51015f87e99
2018-06-15 15:23:55 -06:00
..
migration Fix pep8 new warnings 2018-04-11 09:00:58 +03:00
__init__.py Move vmware_nsx/neutron/db to vmware_nsx/db 2015-09-14 16:45:18 -07:00
db.py use get reader/writer session from neutron-lib 2018-05-25 14:25:28 -06:00
distributedrouter.py use dvr api def from neutron-lib 2017-11-13 11:21:28 +00:00
extended_security_group_rule.py Revert "use str names rather than classes for orm relationships" 2018-03-18 13:32:27 +00:00
extended_security_group.py load neutron objects using neutron-lib 2018-05-25 09:43:05 -06:00
lsn_db.py Integration with new neutron code 2017-04-18 18:56:05 +03:00
maclearning.py use db utils from lib 2018-05-02 13:15:30 -06:00
networkgw_db.py use db utils from lib 2018-05-02 13:15:30 -06:00
nsx_models.py Revert "use str names rather than classes for orm relationships" 2018-03-18 13:32:27 +00:00
nsx_portbindings_db.py shim references for port_binding 2018-06-15 15:23:55 -06:00
nsxrouter.py Stop using CommonDbMixin apis 2017-04-26 14:54:40 +00:00
nsxv_db.py use get reader/writer session from neutron-lib 2018-05-25 14:25:28 -06:00
nsxv_models.py Revert "use str names rather than classes for orm relationships" 2018-03-18 13:32:27 +00:00
qos_db.py use db utils from lib 2018-05-02 13:15:30 -06:00
routertype.py remove SHARED constant that now lives in neutron-lib 2018-03-01 15:51:12 -07:00
vcns_models.py Remove deprecation warnings 2016-09-24 20:36:17 +00:00
vnic_index_db.py use core resource attribute constants from neutron-lib 2017-05-23 13:08:46 -06:00