mirror of
https://opendev.org/openstack/python-neutronclient.git
synced 2026-01-17 15:31:46 +00:00
Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
efa0ccb944 | ||
|
|
8f72d77812 | ||
|
|
a991ac87c7 | ||
|
|
01d0553ca4 | ||
|
|
66ccb4569d | ||
|
|
1aee34b246 | ||
|
|
01ffc4684a | ||
|
|
2f170ce6aa | ||
|
|
275924ecc8 | ||
|
|
5f7d102f0e | ||
|
|
905be917fe | ||
|
|
857b4b233c |
8 changed files with 13 additions and 5 deletions
|
|
@ -31,7 +31,6 @@
|
|||
- openstack/keystoneauth
|
||||
- openstack/neutron
|
||||
- openstack/neutron-lib
|
||||
- openstack/os-client-config
|
||||
- openstack/python-cinderclient
|
||||
- openstack/python-glanceclient
|
||||
- openstack/python-ironicclient
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ provides a Python API (the ``neutronclient`` module).
|
|||
.. note:: This project has been deprecated. The CLI code has been deleted
|
||||
and is not accessible anymore. The Python bindings are still in use by
|
||||
other projects but no new features will be added to this project.
|
||||
All projects under Openstack governance migrating to use OpenstackSDK.
|
||||
Any new feature should be proposed to OpenStack SDK and OpenStack
|
||||
Client.
|
||||
|
||||
|
|
|
|||
|
|
@ -250,6 +250,9 @@ class ClientBase(object):
|
|||
def __init__(self, **kwargs):
|
||||
"""Initialize a new client for the Neutron v2.0 API."""
|
||||
super(ClientBase, self).__init__()
|
||||
_logger.warning("The python binding code in neutronclient is "
|
||||
"deprecated in favor of OpenstackSDK, please use "
|
||||
"that as this will be removed in a future release.")
|
||||
self.retries = kwargs.pop('retries', 0)
|
||||
self.raise_errors = kwargs.pop('raise_errors', True)
|
||||
self.httpclient = client.construct_http_client(**kwargs)
|
||||
|
|
@ -847,7 +850,7 @@ class Client(ClientBase):
|
|||
|
||||
def list_port_bindings(self, port_id, retrieve_all=True, **_params):
|
||||
"""Fetches a list of all bindings for a certain port."""
|
||||
return self.list('port_bindings', self.port_bindings_path % port_id,
|
||||
return self.list('bindings', self.port_bindings_path % port_id,
|
||||
retrieve_all, **_params)
|
||||
|
||||
def activate_port_binding(self, port_id, host_id):
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
===========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/2024.1
|
||||
:branch: unmaintained/2024.1
|
||||
|
|
|
|||
6
releasenotes/source/2025.2.rst
Normal file
6
releasenotes/source/2025.2.rst
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
===========================
|
||||
2025.2 Series Release Notes
|
||||
===========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/2025.2
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
:maxdepth: 1
|
||||
|
||||
unreleased
|
||||
2025.2
|
||||
2025.1
|
||||
2024.2
|
||||
2024.1
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ oslo.i18n>=3.15.3 # Apache-2.0
|
|||
oslo.log>=3.36.0 # Apache-2.0
|
||||
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
|
||||
oslo.utils>=3.33.0 # Apache-2.0
|
||||
os-client-config>=1.28.0 # Apache-2.0
|
||||
keystoneauth1>=3.8.0 # Apache-2.0
|
||||
# keystoneclient is used only by neutronclient.osc.utils
|
||||
# TODO(amotoki): Drop this after osc.utils has no dependency on keystoneclient
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ flake8-import-order>=0.18.0,<0.19.0 # LGPLv3
|
|||
oslotest>=3.2.0 # Apache-2.0
|
||||
osprofiler>=2.3.0 # Apache-2.0
|
||||
python-openstackclient>=3.12.0 # Apache-2.0
|
||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||
requests-mock>=1.2.0 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
testtools>=2.2.0 # MIT
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue