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