Set FW group admin-state UP by default
By default, the admin state of a new firwall group should be UP.
This patch mark the checkbox.
Change-Id: Id377c656788e0fbb13c4b8f90dd022e39c50adbf
Closes-bug: #1833374
(cherry picked from commit 1be0cfb10e
)
This commit is contained in:
parent
1fcd4e865d
commit
585ea863b6
|
@ -313,7 +313,8 @@ class AddFirewallGroupAction(workflows.Action):
|
|||
egress_firewall_policy_id = forms.ThemableChoiceField(
|
||||
label=_("Egress Policy"),
|
||||
required=False)
|
||||
admin_state_up = forms.BooleanField(label=_("Admin State"), required=False)
|
||||
admin_state_up = forms.BooleanField(
|
||||
label=_("Admin State"), initial=True, required=False)
|
||||
shared = forms.BooleanField(
|
||||
label=_("Shared"), initial=False, required=False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue