diff options
author | Toshiaki Higuchi <higuchi@mxj.nes.nec.co.jp> | 2015-01-20 13:54:48 +0900 |
---|---|---|
committer | Kenji Yasui <k-yasui@ti.jp.nec.com> | 2015-09-01 02:01:07 +0000 |
commit | 0558b49e902ec7af6b78fe1660e756dd2f33ddae (patch) | |
tree | 9ee4f17533cc80120eb80337c2680dea763dc674 | |
parent | aa1215a5ad063b299d32ef319eb63d5210249a9b (diff) | |
download | python-neutronclient-0558b49e902ec7af6b78fe1660e756dd2f33ddae.tar.gz |
Add REJECT rule on FWaaS Client
This patch adds REJECT rule.
Python-neutronclient changes for CLI.
Blueprint: fwaas-reject-rule
Change-Id: I267201ad206f50a09ed9c300ac689b6d4fd678b9
-rw-r--r-- | neutronclient/neutron/v2_0/fw/firewallrule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neutronclient/neutron/v2_0/fw/firewallrule.py b/neutronclient/neutron/v2_0/fw/firewallrule.py index 0df936a..e2c49d2 100644 --- a/neutronclient/neutron/v2_0/fw/firewallrule.py +++ b/neutronclient/neutron/v2_0/fw/firewallrule.py @@ -104,7 +104,7 @@ class CreateFirewallRule(neutronv20.CreateCommand): parser.add_argument( '--action', required=True, - choices=['allow', 'deny'], + choices=['allow', 'deny', 'reject'], help=_('Action for the firewall rule.')) def args2body(self, parsed_args): |