python-neutronclient 11.3.0__py3-none-any.whl → 11.3.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/fwaas/firewallpolicy.py +2 -2
- neutronclient/tests/unit/osc/v2/fwaas/test_firewallpolicy.py +8 -8
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/AUTHORS +1 -0
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/METADATA +1 -1
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/RECORD +10 -10
- python_neutronclient-11.3.1.dist-info/pbr.json +1 -0
- python_neutronclient-11.3.0.dist-info/pbr.json +0 -1
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/LICENSE +0 -0
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/WHEEL +0 -0
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/entry_points.txt +0 -0
- {python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/top_level.txt +0 -0
|
@@ -235,7 +235,7 @@ class FirewallPolicyInsertRule(command.Command):
|
|
|
235
235
|
policy_id = client.find_firewall_policy(
|
|
236
236
|
parsed_args.firewall_policy)['id']
|
|
237
237
|
body = self.args2body(parsed_args)
|
|
238
|
-
client.insert_rule_into_policy(policy_id, body)
|
|
238
|
+
client.insert_rule_into_policy(policy_id, **body)
|
|
239
239
|
rule_id = body['firewall_rule_id']
|
|
240
240
|
policy = parsed_args.firewall_policy
|
|
241
241
|
print((_('Inserted firewall rule %(rule)s in firewall policy '
|
|
@@ -264,7 +264,7 @@ class FirewallPolicyRemoveRule(command.Command):
|
|
|
264
264
|
parsed_args.firewall_policy)['id']
|
|
265
265
|
fwr_id = _get_required_firewall_rule(client, parsed_args)
|
|
266
266
|
body = {'firewall_rule_id': fwr_id}
|
|
267
|
-
client.remove_rule_from_policy(policy_id, body)
|
|
267
|
+
client.remove_rule_from_policy(policy_id, **body)
|
|
268
268
|
rule_id = body['firewall_rule_id']
|
|
269
269
|
policy = parsed_args.firewall_policy
|
|
270
270
|
print((_('Removed firewall rule %(rule)s from firewall policy '
|
|
@@ -507,12 +507,12 @@ class TestFirewallPolicyInsertRule(TestFirewallPolicy):
|
|
|
507
507
|
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
|
|
508
508
|
result = self.cmd.take_action(parsed_args)
|
|
509
509
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
510
|
+
body = {
|
|
511
|
+
'firewall_rule_id': rule,
|
|
512
|
+
'insert_before': before,
|
|
513
|
+
'insert_after': after
|
|
514
|
+
}
|
|
515
|
+
self.mocked.assert_called_once_with(target, **body)
|
|
516
516
|
self.assertIsNone(result)
|
|
517
517
|
self.assertEqual(1, self.networkclient.find_firewall_policy.call_count)
|
|
518
518
|
self.assertEqual(3, self.networkclient.find_firewall_rule.call_count)
|
|
@@ -560,8 +560,8 @@ class TestFirewallPolicyRemoveRule(TestFirewallPolicy):
|
|
|
560
560
|
]
|
|
561
561
|
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
|
|
562
562
|
result = self.cmd.take_action(parsed_args)
|
|
563
|
-
|
|
564
|
-
|
|
563
|
+
body = {'firewall_rule_id': rule}
|
|
564
|
+
self.mocked.assert_called_once_with(target, **body)
|
|
565
565
|
self.assertIsNone(result)
|
|
566
566
|
self.assertEqual(1, self.networkclient.find_firewall_policy.call_count)
|
|
567
567
|
self.assertEqual(1, self.networkclient.find_firewall_rule.call_count)
|
|
@@ -27,6 +27,7 @@ Assaf Muller <amuller@redhat.com>
|
|
|
27
27
|
AvnishPal <avnish.pal@nectechnologies.in>
|
|
28
28
|
Ben Andrews <andrewsben@gmail.com>
|
|
29
29
|
Bence Romsics <bence.romsics@gmail.com>
|
|
30
|
+
Benjamin Reichel <b.reichel@syseleven.de>
|
|
30
31
|
Bernard Cafarelli <bcafarel@redhat.com>
|
|
31
32
|
Bertrand Lallau <bertrand.lallau@thalesgroup.com>
|
|
32
33
|
Bhuvan Arumugam <bhuvan@apache.org>
|
|
@@ -86,7 +86,7 @@ neutronclient/osc/v2/dynamic_routing/constants.py,sha256=KFLE_7d9CTHZxuUIQy_9lGW
|
|
|
86
86
|
neutronclient/osc/v2/fwaas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
87
87
|
neutronclient/osc/v2/fwaas/constants.py,sha256=BQAsJy3uJf29QOajizWu1ZTaCLGvyNlPqCJw6ouQz5U,857
|
|
88
88
|
neutronclient/osc/v2/fwaas/firewallgroup.py,sha256=M9l3ZxB8hq9BT8CfuFdwI8tjz7vfncqEhYoZIqorZfA,14801
|
|
89
|
-
neutronclient/osc/v2/fwaas/firewallpolicy.py,sha256=
|
|
89
|
+
neutronclient/osc/v2/fwaas/firewallpolicy.py,sha256=ii0QPnfioZxvniO6LfcNQCXcUY-ujh7CtFz76jsmx7k,16063
|
|
90
90
|
neutronclient/osc/v2/fwaas/firewallrule.py,sha256=tugL_5wUHBoA0RH8FNQw5NlJQuWihj4q-2xoYaG8HHU,18334
|
|
91
91
|
neutronclient/osc/v2/lbaas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
92
|
neutronclient/osc/v2/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -133,7 +133,7 @@ neutronclient/tests/unit/osc/v2/fwaas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
133
133
|
neutronclient/tests/unit/osc/v2/fwaas/common.py,sha256=KLmbYhSltirKuXwO_MP-l1VhoMyxpcA365eHd0XnqNc,10449
|
|
134
134
|
neutronclient/tests/unit/osc/v2/fwaas/fakes.py,sha256=s3Vo4XD4LUYUJeJGjOAJOfXdnLPzMafdYiMGPrhqLJg,5669
|
|
135
135
|
neutronclient/tests/unit/osc/v2/fwaas/test_firewallgroup.py,sha256=SoUN52Z-jUGMhlFYvGfwNmY5AYJQXfZn_64vcsTR2Ko,25840
|
|
136
|
-
neutronclient/tests/unit/osc/v2/fwaas/test_firewallpolicy.py,sha256=
|
|
136
|
+
neutronclient/tests/unit/osc/v2/fwaas/test_firewallpolicy.py,sha256=ElglQ1fakovOKKZC_2zPqmzI5k6bxU4rAtmpRYw3FbA,22107
|
|
137
137
|
neutronclient/tests/unit/osc/v2/fwaas/test_firewallrule.py,sha256=b5p0V_nQoAvzH9YF50RHuLLIuoUoV_q1ccNolbVNFlM,30747
|
|
138
138
|
neutronclient/tests/unit/osc/v2/lbaas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
139
139
|
neutronclient/tests/unit/osc/v2/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -163,11 +163,11 @@ neutronclient/tests/unit/osc/v2/vpnaas/test_ipsecpolicy.py,sha256=XwOQvyj54yHd2x
|
|
|
163
163
|
neutronclient/tests/unit/osc/v2/vpnaas/test_vpnservice.py,sha256=5JmLNFJF3zr4R72GkgJdrfuW3RdNt5zgdyrxC-Rr4iE,9748
|
|
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.
|
|
167
|
-
python_neutronclient-11.3.
|
|
168
|
-
python_neutronclient-11.3.
|
|
169
|
-
python_neutronclient-11.3.
|
|
170
|
-
python_neutronclient-11.3.
|
|
171
|
-
python_neutronclient-11.3.
|
|
172
|
-
python_neutronclient-11.3.
|
|
173
|
-
python_neutronclient-11.3.
|
|
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,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "a10390c", "is_release": true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "cb9aae5", "is_release": true}
|
|
File without changes
|
|
File without changes
|
{python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_neutronclient-11.3.0.dist-info → python_neutronclient-11.3.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|