10 Commits

Author SHA1 Message Date
Reedip Banerjee
eafefadeef Show all updatable options in (fw/fw-policy)-update CLI
Currently firewall-policy-update and firewall-update CLIs
do not show all the options which can be updated in its help
section.

This patch adds the following updatable options
# Firewall-Policy:
- shared
- audited
- description
- name

# Firewall:
- admin-state
- description
- name

This patch adds the information to the above FW CLIs.

Change-Id: I66a80ff68fc369298528cd59923c294ed39f4e80
Closes-Bug: #1504411
2016-02-04 04:40:10 +00:00
shu-mutou
ec4e482731 Fix H405 violations
There are a lot of H405 violation codes.
We need to fix the code for avoiding more violations.

Change-Id: Iaa83626b81a3d8369b16e2b4f394e2bc4628998a
Closes-Bug: #1521899
2015-12-13 05:48:42 +09:00
Elena Ezhova
54a4aea969 Remove XML support
As XML support has been removed from neutron, there is no need
to keep it in client.

Dropped XML serializer and deserializer and deprecated "request-format"
CLI option, making JSON the default and the only supported request
format.

DocImpact

Change-Id: I88b0fdd65a649694252d5ff43a174e75026df5b1
Closes-Bug: #1380787
2015-12-09 11:09:26 +03:00
Akihiro Motoki
52718908bf Remove --shared option from firewall-create
Neutron FWaaS firewall object does not support 'shared'
attribute at now and 'shared' attribute has no meaning.
It is confusing to have --shared option in CLI side.

Change-Id: Ia737b80d7b8a397f06fdf6d6ea8a5cd64d9036a4
Closes-Bug: #1465440
2015-08-13 14:26:59 +00:00
Jenkins
d32298ae8a Merge "Remove author tag" 2015-04-08 14:39:29 +00:00
Cedric Brandily
6588c42430 Support fwaasrouterinsertion extension
fwaasrouterinsertion extension allows to specify which routers implement
a firewall (on create/update). This changes adds its support by allowing
to:
* set routers with --router option in firewall-create/update commands,
* unset routers with --no-routers option in firewall-update command.

Change-Id: I654c1ddd4140a60b8a09237f7142ad211e951d92
Closes-Bug: #1435264
2015-04-02 11:32:31 +02:00
Akihiro Motoki
ed46ba9a45 Remove author tag
We have a hacking rule H105 (Don't use author tags) now
and the same policy has been applied to other neutron repos.

Change-Id: I1a1a35bbfaad6bbe229b9b12cf6cfb405b6ed516
2015-03-23 15:44:08 +09:00
Cedric Brandily
b81d650c9d Allow to specify policy by name in firewall-update
Currently only firewall policy ids are supported in firewall-update,
this change allows to use firewall policy names in firewall-update:

  neutron firewall-update my-firewall --policy my-new-policy

DocImpact
Change-Id: I84ad97fc7f1f2e81cad98497d4d983606fa03077
2014-09-15 13:12:06 +02:00
liu-sheng
e955a1fc80 Remove vi modelines
We don't need to have the vi modelines in each source file,
it can be set in a user's vimrc if required.

Change-Id: Ic30e91df1b0e25beda9b8d8c19be58573cdae4f6
Closes-Bug: #1229324
2014-02-10 17:00:28 +08:00
Monty Taylor
e34a06adf0 Move tests back to neutronclient package
Neutron itself has all of its tests in neutron/tests, as do 2/3 of
the projects in OpenStack. There are a wealth of reasons to put
them in the package, not the least of which that tests/__init__.py
implies a code living in a global namespace called tests.

Change-Id: I2aaacfe59d6790648aa4587e89e6dd28a9149a6c
2013-08-22 09:10:36 -04:00