python-neutronclient 11.3.1__py3-none-any.whl → 11.5.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(
@@ -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', 'external_v4_ip',
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', 'external_v4_ip',
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',
@@ -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.3.1
3
+ Version: 11.5.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
@@ -17,24 +15,27 @@ 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
- Requires-Python: >=3.8
23
- Requires-Dist: cliff (>=3.4.0)
24
- Requires-Dist: debtcollector (>=1.2.0)
25
- Requires-Dist: iso8601 (>=0.1.11)
26
- Requires-Dist: keystoneauth1 (>=3.8.0)
27
- Requires-Dist: netaddr (>=0.7.18)
28
- Requires-Dist: openstacksdk (>=1.5.0)
29
- Requires-Dist: os-client-config (>=1.28.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: pbr (!=2.1.0,>=2.0.0)
36
- Requires-Dist: python-keystoneclient (>=3.8.0)
37
- Requires-Dist: requests (>=2.14.2)
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: 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
38
39
 
39
40
  ========================
40
41
  Team and repository tags
@@ -79,5 +80,3 @@ provides a Python API (the ``neutronclient`` module).
79
80
  .. _Developer's Guide: http://docs.openstack.org/infra/manual/developers.html
80
81
  .. _Release Notes: https://docs.openstack.org/releasenotes/python-neutronclient
81
82
 
82
-
83
-
@@ -108,11 +108,11 @@ 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
- neutronclient/osc/v2/vpnaas/vpnservice.py,sha256=xl6NC6aEbe_qsBkfGoRZAZje0K47k4QtRo7259d-fxQ,8988
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=3zmF7cExGIz-SPPF9DmyTBlIx5sHnA8obgf7upsJl9o,7000
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=5JmLNFJF3zr4R72GkgJdrfuW3RdNt5zgdyrxC-Rr4iE,9748
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
165
  neutronclient/v2_0/client.py,sha256=4lCtcKhz1jnnr-66u7TezZ-BXmOsHc5OM_wkD-gv_sQ,116617
166
- python_neutronclient-11.3.1.dist-info/AUTHORS,sha256=Vwkc4-pUljg4gx2PZMY9DRog_Bw3e93AtNQY1E3Q2ho,13427
167
- python_neutronclient-11.3.1.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
168
- python_neutronclient-11.3.1.dist-info/METADATA,sha256=kDlacdXOovDW6LybG3tKnAAl4EiqHE-lRqeraTMzV_I,3243
169
- python_neutronclient-11.3.1.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
170
- python_neutronclient-11.3.1.dist-info/entry_points.txt,sha256=L9MrMrEJBxrMf_pr6SIFtFXVoZ5Cru90kyP938vtAvI,10729
171
- python_neutronclient-11.3.1.dist-info/pbr.json,sha256=nLuAlN2iAGKMoqjcEsV-LZwojiwBsgW2uxnUzMT2Hxg,46
172
- python_neutronclient-11.3.1.dist-info/top_level.txt,sha256=SxHuzHShRY_O8UAQAiwIMIjwHRm7Tr05U-cvrn1fLgU,14
173
- python_neutronclient-11.3.1.dist-info/RECORD,,
166
+ python_neutronclient-11.5.0.dist-info/AUTHORS,sha256=_v8OSP10I8L43DVNjvSqlbbh2DPoyMb8ojzZRgDecSQ,13469
167
+ python_neutronclient-11.5.0.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
168
+ python_neutronclient-11.5.0.dist-info/METADATA,sha256=L3RdQq2ahNiSlRt9l9v7Nm_URWZ8p4BvD-CVBl8cjJ8,3291
169
+ python_neutronclient-11.5.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
170
+ python_neutronclient-11.5.0.dist-info/entry_points.txt,sha256=T2BoNmwh9dH9-MTgUq7qFv7pnkz3ItZzaozRyn3kuVY,10728
171
+ python_neutronclient-11.5.0.dist-info/pbr.json,sha256=l4bx9EBtyAjYMpjR-aQLNHIxJ2_c0TSWPPIahjOl36w,46
172
+ python_neutronclient-11.5.0.dist-info/top_level.txt,sha256=SxHuzHShRY_O8UAQAiwIMIjwHRm7Tr05U-cvrn1fLgU,14
173
+ python_neutronclient-11.5.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": "690bb97", "is_release": true}
@@ -1 +0,0 @@
1
- {"git_version": "a10390c", "is_release": true}