python-neutronclient 11.3.1__py3-none-any.whl → 11.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- neutronclient/osc/v2/vpnaas/vpnservice.py +6 -4
- neutronclient/tests/unit/osc/v2/vpnaas/fakes.py +2 -0
- neutronclient/tests/unit/osc/v2/vpnaas/test_vpnservice.py +8 -0
- neutronclient/v2_0/client.py +1 -1
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/METADATA +32 -23
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/RECORD +12 -12
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/WHEEL +1 -1
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/entry_points.txt +0 -1
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info/licenses}/AUTHORS +1 -0
- python_neutronclient-11.4.1.dist-info/pbr.json +1 -0
- python_neutronclient-11.3.1.dist-info/pbr.json +0 -1
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info/licenses}/LICENSE +0 -0
- {python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,8 @@ _attr_map = (
|
|
|
36
36
|
('status', 'Status', column_util.LIST_BOTH),
|
|
37
37
|
('description', 'Description', column_util.LIST_LONG_ONLY),
|
|
38
38
|
('project_id', 'Project', column_util.LIST_LONG_ONLY),
|
|
39
|
+
('external_v4_ip', 'Ext v4 IP', column_util.LIST_LONG_ONLY),
|
|
40
|
+
('external_v6_ip', 'Ext v6 IP', column_util.LIST_LONG_ONLY),
|
|
39
41
|
)
|
|
40
42
|
|
|
41
43
|
_attr_map_dict = {
|
|
@@ -48,6 +50,8 @@ _attr_map_dict = {
|
|
|
48
50
|
'status': 'Status',
|
|
49
51
|
'description': 'Description',
|
|
50
52
|
'project_id': 'Project',
|
|
53
|
+
'external_v4_ip': 'Ext v4 IP',
|
|
54
|
+
'external_v6_ip': 'Ext v6 IP',
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
|
|
@@ -135,8 +139,7 @@ class CreateVPNService(command.ShowOne):
|
|
|
135
139
|
attrs['router_id'] = _router_id
|
|
136
140
|
obj = client.create_vpn_service(**attrs)
|
|
137
141
|
display_columns, columns = utils.get_osc_show_columns_for_sdk_resource(
|
|
138
|
-
obj, _attr_map_dict, ['location', 'tenant_id'
|
|
139
|
-
'external_v6_ip'])
|
|
142
|
+
obj, _attr_map_dict, ['location', 'tenant_id'])
|
|
140
143
|
data = utils.get_dict_properties(obj, columns)
|
|
141
144
|
return display_columns, data
|
|
142
145
|
|
|
@@ -244,7 +247,6 @@ class ShowVPNService(command.ShowOne):
|
|
|
244
247
|
ignore_missing=False)['id']
|
|
245
248
|
obj = client.get_vpn_service(vpn_id)
|
|
246
249
|
display_columns, columns = utils.get_osc_show_columns_for_sdk_resource(
|
|
247
|
-
obj, _attr_map_dict, ['location', 'tenant_id'
|
|
248
|
-
'external_v6_ip'])
|
|
250
|
+
obj, _attr_map_dict, ['location', 'tenant_id'])
|
|
249
251
|
data = utils.get_dict_properties(obj, columns)
|
|
250
252
|
return (display_columns, data)
|
|
@@ -125,6 +125,8 @@ class VPNService(FakeVPNaaS):
|
|
|
125
125
|
('status', 'ACTIVE'),
|
|
126
126
|
('description', 'my-desc-' + uuid.uuid4().hex),
|
|
127
127
|
('project_id', 'project-id-' + uuid.uuid4().hex),
|
|
128
|
+
('external_v4_ip', '192.0.2.42'),
|
|
129
|
+
('external_v6_ip', '2001:0db8:207a:4a3a:053b:6fab:7df9:1afd'),
|
|
128
130
|
))
|
|
129
131
|
|
|
130
132
|
|
|
@@ -106,10 +106,14 @@ class TestVPNService(test_fakes.TestNeutronClientOSCV2):
|
|
|
106
106
|
'Status',
|
|
107
107
|
'Description',
|
|
108
108
|
'Project',
|
|
109
|
+
'Ext v4 IP',
|
|
110
|
+
'Ext v6 IP',
|
|
109
111
|
)
|
|
110
112
|
self.data = _generate_data()
|
|
111
113
|
self.ordered_headers = (
|
|
112
114
|
'Description',
|
|
115
|
+
'Ext v4 IP',
|
|
116
|
+
'Ext v6 IP',
|
|
113
117
|
'Flavor',
|
|
114
118
|
'ID',
|
|
115
119
|
'Name',
|
|
@@ -121,6 +125,8 @@ class TestVPNService(test_fakes.TestNeutronClientOSCV2):
|
|
|
121
125
|
)
|
|
122
126
|
self.ordered_data = (
|
|
123
127
|
_vpnservice['description'],
|
|
128
|
+
_vpnservice['external_v4_ip'],
|
|
129
|
+
_vpnservice['external_v6_ip'],
|
|
124
130
|
_vpnservice['flavor_id'],
|
|
125
131
|
_vpnservice['id'],
|
|
126
132
|
_vpnservice['name'],
|
|
@@ -132,6 +138,8 @@ class TestVPNService(test_fakes.TestNeutronClientOSCV2):
|
|
|
132
138
|
)
|
|
133
139
|
self.ordered_columns = (
|
|
134
140
|
'description',
|
|
141
|
+
'external_v4_ip',
|
|
142
|
+
'external_v6_ip',
|
|
135
143
|
'flavor_id',
|
|
136
144
|
'id',
|
|
137
145
|
'name',
|
neutronclient/v2_0/client.py
CHANGED
|
@@ -847,7 +847,7 @@ class Client(ClientBase):
|
|
|
847
847
|
|
|
848
848
|
def list_port_bindings(self, port_id, retrieve_all=True, **_params):
|
|
849
849
|
"""Fetches a list of all bindings for a certain port."""
|
|
850
|
-
return self.list('
|
|
850
|
+
return self.list('bindings', self.port_bindings_path % port_id,
|
|
851
851
|
retrieve_all, **_params)
|
|
852
852
|
|
|
853
853
|
def activate_port_binding(self, port_id, host_id):
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: python-neutronclient
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.4.1
|
|
4
4
|
Summary: CLI and Client Library for OpenStack Networking
|
|
5
5
|
Home-page: https://docs.openstack.org/python-neutronclient/latest/
|
|
6
6
|
Author: OpenStack Networking Project
|
|
7
7
|
Author-email: openstack-discuss@lists.openstack.org
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Platform: UNKNOWN
|
|
10
8
|
Classifier: Environment :: OpenStack
|
|
11
9
|
Classifier: Intended Audience :: Developers
|
|
12
10
|
Classifier: Intended Audience :: Information Technology
|
|
@@ -17,24 +15,37 @@ Classifier: Programming Language :: Python
|
|
|
17
15
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
18
16
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
17
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Requires-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Requires-Dist:
|
|
30
|
-
Requires-Dist:
|
|
31
|
-
Requires-Dist:
|
|
32
|
-
Requires-Dist:
|
|
33
|
-
Requires-Dist:
|
|
34
|
-
Requires-Dist:
|
|
35
|
-
Requires-Dist:
|
|
36
|
-
Requires-Dist:
|
|
37
|
-
Requires-Dist:
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: AUTHORS
|
|
25
|
+
Requires-Dist: pbr!=2.1.0,>=2.0.0
|
|
26
|
+
Requires-Dist: cliff>=3.4.0
|
|
27
|
+
Requires-Dist: debtcollector>=1.2.0
|
|
28
|
+
Requires-Dist: iso8601>=0.1.11
|
|
29
|
+
Requires-Dist: netaddr>=0.7.18
|
|
30
|
+
Requires-Dist: openstacksdk>=1.5.0
|
|
31
|
+
Requires-Dist: osc-lib>=1.12.0
|
|
32
|
+
Requires-Dist: oslo.i18n>=3.15.3
|
|
33
|
+
Requires-Dist: oslo.log>=3.36.0
|
|
34
|
+
Requires-Dist: oslo.serialization!=2.19.1,>=2.18.0
|
|
35
|
+
Requires-Dist: oslo.utils>=3.33.0
|
|
36
|
+
Requires-Dist: os-client-config>=1.28.0
|
|
37
|
+
Requires-Dist: keystoneauth1>=3.8.0
|
|
38
|
+
Requires-Dist: python-keystoneclient>=3.8.0
|
|
39
|
+
Requires-Dist: requests>=2.14.2
|
|
40
|
+
Dynamic: author
|
|
41
|
+
Dynamic: author-email
|
|
42
|
+
Dynamic: classifier
|
|
43
|
+
Dynamic: description
|
|
44
|
+
Dynamic: home-page
|
|
45
|
+
Dynamic: license-file
|
|
46
|
+
Dynamic: requires-dist
|
|
47
|
+
Dynamic: requires-python
|
|
48
|
+
Dynamic: summary
|
|
38
49
|
|
|
39
50
|
========================
|
|
40
51
|
Team and repository tags
|
|
@@ -79,5 +90,3 @@ provides a Python API (the ``neutronclient`` module).
|
|
|
79
90
|
.. _Developer's Guide: http://docs.openstack.org/infra/manual/developers.html
|
|
80
91
|
.. _Release Notes: https://docs.openstack.org/releasenotes/python-neutronclient
|
|
81
92
|
|
|
82
|
-
|
|
83
|
-
|
|
@@ -112,7 +112,7 @@ neutronclient/osc/v2/vpnaas/ikepolicy.py,sha256=Xhf-qproz-hcq-tQ5PNN3i7F7fnBiT2X
|
|
|
112
112
|
neutronclient/osc/v2/vpnaas/ipsec_site_connection.py,sha256=57DitWnWQdH0gINJV4W2a-_8i87lMjzN7XP7PTNCz18,15302
|
|
113
113
|
neutronclient/osc/v2/vpnaas/ipsecpolicy.py,sha256=04-AHCaUetU33palXMgaxe-dYAqxXCBfAHAwojAAg7w,9860
|
|
114
114
|
neutronclient/osc/v2/vpnaas/utils.py,sha256=bCviT5_DpUgewZE0EfYzJvWV1ate_QZDYDiEr4c71t0,4312
|
|
115
|
-
neutronclient/osc/v2/vpnaas/vpnservice.py,sha256=
|
|
115
|
+
neutronclient/osc/v2/vpnaas/vpnservice.py,sha256=4pyieUWMJ26hhTiHIoQH5jN4XKo1pRJIgJ7kOs2p-98,9048
|
|
116
116
|
neutronclient/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
117
117
|
neutronclient/tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
118
118
|
neutronclient/tests/unit/test_casual_args.py,sha256=ckW0_DfdDD0mjUxPAAGjZyzzChp94vg-l2kRvK5YrGA,5814
|
|
@@ -155,19 +155,19 @@ neutronclient/tests/unit/osc/v2/subnet_onboard/__init__.py,sha256=47DEQpj8HBSa-_
|
|
|
155
155
|
neutronclient/tests/unit/osc/v2/subnet_onboard/test_network_onboard_subnets.py,sha256=YRTVpvZiJ-EfzLQS2UX16IgoIX7vTNm_irglRqEe2YI,1907
|
|
156
156
|
neutronclient/tests/unit/osc/v2/vpnaas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
157
157
|
neutronclient/tests/unit/osc/v2/vpnaas/common.py,sha256=hYbpOr6MM8nZ__HHfrji5OITJO8PcHwMPQOoCnuZQNs,6734
|
|
158
|
-
neutronclient/tests/unit/osc/v2/vpnaas/fakes.py,sha256=
|
|
158
|
+
neutronclient/tests/unit/osc/v2/vpnaas/fakes.py,sha256=oI9C_HE1yfA55w4CWKg6UiAg513WsNigiyeR69m8tAI,7121
|
|
159
159
|
neutronclient/tests/unit/osc/v2/vpnaas/test_endpoint_group.py,sha256=AekVbOf77XsHbyWNQowkC9YDWIg3qsZTQtKtCEKzAuo,8731
|
|
160
160
|
neutronclient/tests/unit/osc/v2/vpnaas/test_ikepolicy.py,sha256=ITofRBb1BloAauESTAQSxaL8ma7ThJakmqf4bRmIIDc,11182
|
|
161
161
|
neutronclient/tests/unit/osc/v2/vpnaas/test_ipsec_site_connection.py,sha256=xfwIWJvc8vWns2xthOaoXxQxCujPDgG5BC1OZYon3wY,13368
|
|
162
162
|
neutronclient/tests/unit/osc/v2/vpnaas/test_ipsecpolicy.py,sha256=XwOQvyj54yHd2xNkPOS0ERRKLLr3zie6H6M4jaOYvMw,10566
|
|
163
|
-
neutronclient/tests/unit/osc/v2/vpnaas/test_vpnservice.py,sha256=
|
|
163
|
+
neutronclient/tests/unit/osc/v2/vpnaas/test_vpnservice.py,sha256=dXPhpvfrEA_uvvZ_nhtCWXzXFX7x3uxGu3p8XohH8Ko,9994
|
|
164
164
|
neutronclient/v2_0/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
165
|
-
neutronclient/v2_0/client.py,sha256=
|
|
166
|
-
python_neutronclient-11.
|
|
167
|
-
python_neutronclient-11.
|
|
168
|
-
python_neutronclient-11.
|
|
169
|
-
python_neutronclient-11.
|
|
170
|
-
python_neutronclient-11.
|
|
171
|
-
python_neutronclient-11.
|
|
172
|
-
python_neutronclient-11.
|
|
173
|
-
python_neutronclient-11.
|
|
165
|
+
neutronclient/v2_0/client.py,sha256=nJsJldGbElovsvydHpXE3Io31kW1HRsR8vmsG2UPSj4,116612
|
|
166
|
+
python_neutronclient-11.4.1.dist-info/licenses/AUTHORS,sha256=yCLSsviSj076QtTUnDSvmOgJCKj1WoEebOVTIIauOpI,13490
|
|
167
|
+
python_neutronclient-11.4.1.dist-info/licenses/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
|
|
168
|
+
python_neutronclient-11.4.1.dist-info/METADATA,sha256=b0cQy8UNRhiYXEYDUy8dTPxviGyIla9MXCeK0MGtK4U,3493
|
|
169
|
+
python_neutronclient-11.4.1.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
170
|
+
python_neutronclient-11.4.1.dist-info/entry_points.txt,sha256=T2BoNmwh9dH9-MTgUq7qFv7pnkz3ItZzaozRyn3kuVY,10728
|
|
171
|
+
python_neutronclient-11.4.1.dist-info/pbr.json,sha256=3olCo0tbXzBDXjXJp7TM2LoKH79u5Er5GOF8VtV0R20,46
|
|
172
|
+
python_neutronclient-11.4.1.dist-info/top_level.txt,sha256=SxHuzHShRY_O8UAQAiwIMIjwHRm7Tr05U-cvrn1fLgU,14
|
|
173
|
+
python_neutronclient-11.4.1.dist-info/RECORD,,
|
{python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/entry_points.txt
RENAMED
|
@@ -121,4 +121,3 @@ vpn_service_delete = neutronclient.osc.v2.vpnaas.vpnservice:DeleteVPNService
|
|
|
121
121
|
vpn_service_list = neutronclient.osc.v2.vpnaas.vpnservice:ListVPNService
|
|
122
122
|
vpn_service_set = neutronclient.osc.v2.vpnaas.vpnservice:SetVPNSercice
|
|
123
123
|
vpn_service_show = neutronclient.osc.v2.vpnaas.vpnservice:ShowVPNService
|
|
124
|
-
|
{python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info/licenses}/AUTHORS
RENAMED
|
@@ -187,6 +187,7 @@ Przemyslaw Szczerbik <przemyslaw.szczerbik@est.tech>
|
|
|
187
187
|
Qin Zhao <chaochin@gmail.com>
|
|
188
188
|
QunyingRan <ran.qunying@zte.com.cn>
|
|
189
189
|
Rabi Mishra <ramishra@redhat.com>
|
|
190
|
+
Rajashekar Reddy Uppala <rajashekarreddy.uppala@canonical.com>
|
|
190
191
|
Rajesh Mohan <rajesh.mlists@gmail.com>
|
|
191
192
|
Rakesh H S <rh-s@hp.com>
|
|
192
193
|
Ramanjaneya <ramanjieee@gmail.com>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "77e4e01", "is_release": true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "a10390c", "is_release": true}
|
{python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|
{python_neutronclient-11.3.1.dist-info → python_neutronclient-11.4.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|