summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-14 11:31:57 +0000
committerGerrit Code Review <review@openstack.org>2015-04-14 11:31:57 +0000
commitd6824ae14830362af1412b730256c84a1f7d3067 (patch)
tree20f21814e9fd38f2085f81858fbda0e69132ae50
parent50a1b5b736b1da8b7369a10884b93cfd7517509f (diff)
parente67d91476219924af524f86b54af5fa3f30b2a24 (diff)
Merge "Net name field is not required when creating port"2015.1.0rc1
-rw-r--r--openstack_dashboard/dashboards/admin/networks/ports/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/admin/networks/ports/forms.py b/openstack_dashboard/dashboards/admin/networks/ports/forms.py
index 87dc14a..ea296a4 100644
--- a/openstack_dashboard/dashboards/admin/networks/ports/forms.py
+++ b/openstack_dashboard/dashboards/admin/networks/ports/forms.py
@@ -35,7 +35,8 @@ VNIC_TYPES = [('normal', _('Normal')), ('direct', _('Direct')),
35class CreatePort(forms.SelfHandlingForm): 35class CreatePort(forms.SelfHandlingForm):
36 network_name = forms.CharField(label=_("Network Name"), 36 network_name = forms.CharField(label=_("Network Name"),
37 widget=forms.TextInput( 37 widget=forms.TextInput(
38 attrs={'readonly': 'readonly'})) 38 attrs={'readonly': 'readonly'}),
39 required=False)
39 network_id = forms.CharField(label=_("Network ID"), 40 network_id = forms.CharField(label=_("Network ID"),
40 widget=forms.TextInput( 41 widget=forms.TextInput(
41 attrs={'readonly': 'readonly'})) 42 attrs={'readonly': 'readonly'}))