Skip to content

Commit 1e14673

Browse files
Merge pull request #1102 from zhaoqin-github/ci-stable-pike
Fix CI job (stable-pike)
2 parents 839eb10 + dacda8a commit 1e14673

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

f5lbaasdriver/v2/bigip/neutron_client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
# limitations under the License.
1616
#
1717

18-
from neutron.extensions import portbindings
19-
2018
from neutron_lib import constants as neutron_const
2119

2220
from oslo_log import helpers as log_helpers
2321
from oslo_log import log as logging
2422

23+
from neutron_lib.api.definitions import portbindings
24+
2525
LOG = logging.getLogger(__name__)
2626

2727

@@ -64,7 +64,8 @@ def create_port_on_subnet(self, context, subnet_id=None,
6464
}
6565

6666
if ('binding:capabilities' in
67-
portbindings.EXTENDED_ATTRIBUTES_2_0['ports']):
67+
portbindings.RESOURCE_ATTRIBUTE_MAP[
68+
portbindings.COLLECTION_NAME]):
6869
port_data['binding:capabilities'] = {
6970
'port_filter': False}
7071
port = self.plugin.db._core_plugin.create_port(

requirements.test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-e .
22

3-
git+https://github.com/openstack/neutron.git@stable/ocata
4-
git+https://github.com/F5Networks/neutron-lbaas.git@stable/ocata
3+
git+https://github.com/openstack/neutron.git@stable/pike
4+
git+https://github.com/F5Networks/neutron-lbaas.git@stable/pike
55
git+https://github.com/F5Networks/pytest-symbols.git
66
git+https://github.com/F5Networks/f5-openstack-test.git@stable/newton
77

@@ -13,7 +13,7 @@ f5-sdk==3.0.20
1313
# URL. If you add a version here it will be ignored, and therefore be
1414
# misleading to readers of this file.
1515
#
16-
-c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata
16+
-c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike
1717

1818
mock==IGNORED # See section comment
1919
pytest==IGNORED # See section comment

0 commit comments

Comments
 (0)