python-neutronclient 11.4.0__py3-none-any.whl → 11.6.0__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.
@@ -56,6 +56,66 @@ _attr_map_dict = {
56
56
  'project_id': 'Project',
57
57
  }
58
58
 
59
+ _auth_algorithms = [
60
+ 'sha1',
61
+ 'sha256',
62
+ 'sha384',
63
+ 'sha512',
64
+ 'aes-xcbc',
65
+ 'aes-cmac',
66
+ ]
67
+
68
+ _encryption_algorithms = [
69
+ '3des',
70
+ 'aes-128',
71
+ 'aes-192',
72
+ 'aes-256',
73
+ 'aes-128-ccm-8',
74
+ 'aes-192-ccm-8',
75
+ 'aes-256-ccm-8',
76
+ 'aes-128-ccm-12',
77
+ 'aes-192-ccm-12',
78
+ 'aes-256-ccm-12',
79
+ 'aes-128-ccm-16',
80
+ 'aes-192-ccm-16',
81
+ 'aes-256-ccm-16',
82
+ 'aes-128-gcm-8',
83
+ 'aes-192-gcm-8',
84
+ 'aes-256-gcm-8',
85
+ 'aes-128-gcm-12',
86
+ 'aes-192-gcm-12',
87
+ 'aes-256-gcm-12',
88
+ 'aes-128-gcm-16',
89
+ 'aes-192-gcm-16',
90
+ 'aes-256-gcm-16',
91
+ 'aes-128-ctr',
92
+ 'aes-192-ctr',
93
+ 'aes-256-ctr',
94
+ ]
95
+
96
+ _pfs_groups = [
97
+ 'group2',
98
+ 'group5',
99
+ 'group14',
100
+ 'group15',
101
+ 'group16',
102
+ 'group17',
103
+ 'group18',
104
+ 'group19',
105
+ 'group20',
106
+ 'group21',
107
+ 'group22',
108
+ 'group23',
109
+ 'group24',
110
+ 'group25',
111
+ 'group26',
112
+ 'group27',
113
+ 'group28',
114
+ 'group29',
115
+ 'group30',
116
+ 'group31',
117
+ ]
118
+
59
119
 
60
120
  def _convert_to_lowercase(string):
61
121
  return string.lower()
@@ -68,12 +128,12 @@ def _get_common_parser(parser):
68
128
  help=_('Description of the IKE policy'))
69
129
  parser.add_argument(
70
130
  '--auth-algorithm',
71
- choices=['sha1', 'sha256', 'sha384', 'sha512'],
131
+ choices=_auth_algorithms,
72
132
  type=_convert_to_lowercase,
73
133
  help=_('Authentication algorithm'))
74
134
  parser.add_argument(
75
135
  '--encryption-algorithm',
76
- choices=['aes-128', '3des', 'aes-192', 'aes-256'],
136
+ choices=_encryption_algorithms,
77
137
  type=_convert_to_lowercase,
78
138
  help=_('Encryption algorithm'))
79
139
  parser.add_argument(
@@ -88,7 +148,7 @@ def _get_common_parser(parser):
88
148
  help=_('IKE version for the policy'))
89
149
  parser.add_argument(
90
150
  '--pfs',
91
- choices=['group5', 'group2', 'group14'],
151
+ choices=_pfs_groups,
92
152
  type=_convert_to_lowercase,
93
153
  help=_('Perfect Forward Secrecy'))
94
154
  parser.add_argument(
@@ -54,6 +54,66 @@ _attr_map_dict = {
54
54
  'project_id': 'Project',
55
55
  }
56
56
 
57
+ _auth_algorithms = [
58
+ 'sha1',
59
+ 'sha256',
60
+ 'sha384',
61
+ 'sha512',
62
+ 'aes-xcbc',
63
+ 'aes-cmac',
64
+ ]
65
+
66
+ _encryption_algorithms = [
67
+ '3des',
68
+ 'aes-128',
69
+ 'aes-192',
70
+ 'aes-256',
71
+ 'aes-128-ccm-8',
72
+ 'aes-192-ccm-8',
73
+ 'aes-256-ccm-8',
74
+ 'aes-128-ccm-12',
75
+ 'aes-192-ccm-12',
76
+ 'aes-256-ccm-12',
77
+ 'aes-128-ccm-16',
78
+ 'aes-192-ccm-16',
79
+ 'aes-256-ccm-16',
80
+ 'aes-128-gcm-8',
81
+ 'aes-192-gcm-8',
82
+ 'aes-256-gcm-8',
83
+ 'aes-128-gcm-12',
84
+ 'aes-192-gcm-12',
85
+ 'aes-256-gcm-12',
86
+ 'aes-128-gcm-16',
87
+ 'aes-192-gcm-16',
88
+ 'aes-256-gcm-16',
89
+ 'aes-128-ctr',
90
+ 'aes-192-ctr',
91
+ 'aes-256-ctr',
92
+ ]
93
+
94
+ _pfs_groups = [
95
+ 'group2',
96
+ 'group5',
97
+ 'group14',
98
+ 'group15',
99
+ 'group16',
100
+ 'group17',
101
+ 'group18',
102
+ 'group19',
103
+ 'group20',
104
+ 'group21',
105
+ 'group22',
106
+ 'group23',
107
+ 'group24',
108
+ 'group25',
109
+ 'group26',
110
+ 'group27',
111
+ 'group28',
112
+ 'group29',
113
+ 'group30',
114
+ 'group31',
115
+ ]
116
+
57
117
 
58
118
  def _convert_to_lowercase(string):
59
119
  return string.lower()
@@ -66,7 +126,7 @@ def _get_common_parser(parser):
66
126
  help=_('Description of the IPsec policy'))
67
127
  parser.add_argument(
68
128
  '--auth-algorithm',
69
- choices=['sha1', 'sha256', 'sha384', 'sha512'],
129
+ choices=_auth_algorithms,
70
130
  type=_convert_to_lowercase,
71
131
  help=_('Authentication algorithm for IPsec policy'))
72
132
  parser.add_argument(
@@ -76,7 +136,7 @@ def _get_common_parser(parser):
76
136
  help=_('Encapsulation mode for IPsec policy'))
77
137
  parser.add_argument(
78
138
  '--encryption-algorithm',
79
- choices=['3des', 'aes-128', 'aes-192', 'aes-256'],
139
+ choices=_encryption_algorithms,
80
140
  type=_convert_to_lowercase,
81
141
  help=_('Encryption algorithm for IPsec policy'))
82
142
  parser.add_argument(
@@ -86,7 +146,7 @@ def _get_common_parser(parser):
86
146
  help=vpn_utils.lifetime_help("IPsec"))
87
147
  parser.add_argument(
88
148
  '--pfs',
89
- choices=['group2', 'group5', 'group14'],
149
+ choices=_pfs_groups,
90
150
  type=_convert_to_lowercase,
91
151
  help=_('Perfect Forward Secrecy for IPsec policy'))
92
152
  parser.add_argument(
@@ -250,6 +250,9 @@ class ClientBase(object):
250
250
  def __init__(self, **kwargs):
251
251
  """Initialize a new client for the Neutron v2.0 API."""
252
252
  super(ClientBase, self).__init__()
253
+ _logger.warning("The python binding code in neutronclient is "
254
+ "deprecated in favor of OpenstackSDK, please use "
255
+ "that as this will be removed in a future release.")
253
256
  self.retries = kwargs.pop('retries', 0)
254
257
  self.raise_errors = kwargs.pop('raise_errors', True)
255
258
  self.httpclient = client.construct_http_client(**kwargs)
@@ -32,6 +32,7 @@ Bernard Cafarelli <bcafarel@redhat.com>
32
32
  Bertrand Lallau <bertrand.lallau@thalesgroup.com>
33
33
  Bhuvan Arumugam <bhuvan@apache.org>
34
34
  Bob Kukura <rkukura@redhat.com>
35
+ Bodo Petermann <b.petermann@syseleven.de>
35
36
  Brad Hall <brad@nicira.com>
36
37
  Bradley Klein <brad.klein@hp.com>
37
38
  Brandon Logan <brandon.logan@rackspace.com>
@@ -1,12 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-neutronclient
3
- Version: 11.4.0
3
+ Version: 11.6.0
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
@@ -22,21 +20,22 @@ Classifier: Programming Language :: Python :: 3.10
22
20
  Classifier: Programming Language :: Python :: 3.11
23
21
  Classifier: Programming Language :: Python :: 3.12
24
22
  Requires-Python: >=3.9
25
- Requires-Dist: cliff (>=3.4.0)
26
- Requires-Dist: debtcollector (>=1.2.0)
27
- Requires-Dist: iso8601 (>=0.1.11)
28
- Requires-Dist: keystoneauth1 (>=3.8.0)
29
- Requires-Dist: netaddr (>=0.7.18)
30
- Requires-Dist: openstacksdk (>=1.5.0)
31
- Requires-Dist: os-client-config (>=1.28.0)
32
- Requires-Dist: osc-lib (>=1.12.0)
33
- Requires-Dist: oslo.i18n (>=3.15.3)
34
- Requires-Dist: oslo.log (>=3.36.0)
35
- Requires-Dist: oslo.serialization (!=2.19.1,>=2.18.0)
36
- Requires-Dist: oslo.utils (>=3.33.0)
37
- Requires-Dist: pbr (!=2.1.0,>=2.0.0)
38
- Requires-Dist: python-keystoneclient (>=3.8.0)
39
- Requires-Dist: requests (>=2.14.2)
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: netaddr >=0.7.18
29
+ Requires-Dist: openstacksdk >=1.5.0
30
+ Requires-Dist: osc-lib >=1.12.0
31
+ Requires-Dist: oslo.i18n >=3.15.3
32
+ Requires-Dist: oslo.log >=3.36.0
33
+ Requires-Dist: oslo.serialization !=2.19.1,>=2.18.0
34
+ Requires-Dist: oslo.utils >=3.33.0
35
+ Requires-Dist: os-client-config >=1.28.0
36
+ Requires-Dist: keystoneauth1 >=3.8.0
37
+ Requires-Dist: python-keystoneclient >=3.8.0
38
+ Requires-Dist: requests >=2.14.2
40
39
 
41
40
  ========================
42
41
  Team and repository tags
@@ -60,6 +59,7 @@ provides a Python API (the ``neutronclient`` module).
60
59
  .. note:: This project has been deprecated. The CLI code has been deleted
61
60
  and is not accessible anymore. The Python bindings are still in use by
62
61
  other projects but no new features will be added to this project.
62
+ All projects under Openstack governance migrating to use OpenstackSDK.
63
63
  Any new feature should be proposed to OpenStack SDK and OpenStack
64
64
  Client.
65
65
 
@@ -81,5 +81,3 @@ provides a Python API (the ``neutronclient`` module).
81
81
  .. _Developer's Guide: http://docs.openstack.org/infra/manual/developers.html
82
82
  .. _Release Notes: https://docs.openstack.org/releasenotes/python-neutronclient
83
83
 
84
-
85
-
@@ -108,9 +108,9 @@ neutronclient/osc/v2/subnet_onboard/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
108
108
  neutronclient/osc/v2/subnet_onboard/subnet_onboard.py,sha256=GK8LKPmkaN2lVt_QJnqq86ZL8d3xbC9CDCdiIu3mNhU,2091
109
109
  neutronclient/osc/v2/vpnaas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
110
110
  neutronclient/osc/v2/vpnaas/endpoint_group.py,sha256=8U5Nz-4iSocr29DwAVGm_SIhsDsjl8urEwxg-2x_U84,8133
111
- neutronclient/osc/v2/vpnaas/ikepolicy.py,sha256=Xhf-qproz-hcq-tQ5PNN3i7F7fnBiT2XXGnpEotYoVc,9639
111
+ neutronclient/osc/v2/vpnaas/ikepolicy.py,sha256=8sAMJptfghCT6D7qRbRFbP210fWhr0PRCHFTyPZXpoQ,10539
112
112
  neutronclient/osc/v2/vpnaas/ipsec_site_connection.py,sha256=57DitWnWQdH0gINJV4W2a-_8i87lMjzN7XP7PTNCz18,15302
113
- neutronclient/osc/v2/vpnaas/ipsecpolicy.py,sha256=04-AHCaUetU33palXMgaxe-dYAqxXCBfAHAwojAAg7w,9860
113
+ neutronclient/osc/v2/vpnaas/ipsecpolicy.py,sha256=yBwcUQPqS_fzg9OoseLGBq_vtsTYfD2PQ2A47_6PK0M,10760
114
114
  neutronclient/osc/v2/vpnaas/utils.py,sha256=bCviT5_DpUgewZE0EfYzJvWV1ate_QZDYDiEr4c71t0,4312
115
115
  neutronclient/osc/v2/vpnaas/vpnservice.py,sha256=4pyieUWMJ26hhTiHIoQH5jN4XKo1pRJIgJ7kOs2p-98,9048
116
116
  neutronclient/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -162,12 +162,12 @@ neutronclient/tests/unit/osc/v2/vpnaas/test_ipsec_site_connection.py,sha256=xfwI
162
162
  neutronclient/tests/unit/osc/v2/vpnaas/test_ipsecpolicy.py,sha256=XwOQvyj54yHd2xNkPOS0ERRKLLr3zie6H6M4jaOYvMw,10566
163
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=4lCtcKhz1jnnr-66u7TezZ-BXmOsHc5OM_wkD-gv_sQ,116617
166
- python_neutronclient-11.4.0.dist-info/AUTHORS,sha256=Vwkc4-pUljg4gx2PZMY9DRog_Bw3e93AtNQY1E3Q2ho,13427
167
- python_neutronclient-11.4.0.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
168
- python_neutronclient-11.4.0.dist-info/METADATA,sha256=Uz7Dc2s_gj9QBoUBKiePGxA-mYpsde7G5PRosQkwMpo,3346
169
- python_neutronclient-11.4.0.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
170
- python_neutronclient-11.4.0.dist-info/entry_points.txt,sha256=L9MrMrEJBxrMf_pr6SIFtFXVoZ5Cru90kyP938vtAvI,10729
171
- python_neutronclient-11.4.0.dist-info/pbr.json,sha256=a3ri3slk1128Rzxg9kGGP__0iNlS_DKI6kkdar-HHlY,46
172
- python_neutronclient-11.4.0.dist-info/top_level.txt,sha256=SxHuzHShRY_O8UAQAiwIMIjwHRm7Tr05U-cvrn1fLgU,14
173
- python_neutronclient-11.4.0.dist-info/RECORD,,
165
+ neutronclient/v2_0/client.py,sha256=Uizyn1xjwlf3wo_mzM_aBXxmEFmgrjayEdt9BbA18tY,116840
166
+ python_neutronclient-11.6.0.dist-info/AUTHORS,sha256=_v8OSP10I8L43DVNjvSqlbbh2DPoyMb8ojzZRgDecSQ,13469
167
+ python_neutronclient-11.6.0.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
168
+ python_neutronclient-11.6.0.dist-info/METADATA,sha256=WFWAFI-bIYq1DxKWfKGkWXcH7oMgw3wOBTtPtMrzQyI,3365
169
+ python_neutronclient-11.6.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
170
+ python_neutronclient-11.6.0.dist-info/entry_points.txt,sha256=T2BoNmwh9dH9-MTgUq7qFv7pnkz3ItZzaozRyn3kuVY,10728
171
+ python_neutronclient-11.6.0.dist-info/pbr.json,sha256=2kzmXGWK8aa4oXB44vRGbuLBTYIdtYugcFCGZP2RL-w,46
172
+ python_neutronclient-11.6.0.dist-info/top_level.txt,sha256=SxHuzHShRY_O8UAQAiwIMIjwHRm7Tr05U-cvrn1fLgU,14
173
+ python_neutronclient-11.6.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.34.2)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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
-
@@ -0,0 +1 @@
1
+ {"git_version": "5f7d102", "is_release": true}
@@ -1 +0,0 @@
1
- {"git_version": "1d7a13a", "is_release": true}