Removed default value for 'Physical Network'

When creating a network there is currently a default value of 'default'
which causes the network creation to fail. It is nonsensical to have
a default value here as it will change depending on the provider
network type and needs to be set according to custom settings if the
user is not creating a simple local network which then does not require
the physical network value at all.

Change-Id: I448713d986f17ea1c00cd4dd22487291545cfe2a
Closes-Bug: #1417305
This commit is contained in:
Beth Elwell 2017-06-22 11:20:33 +01:00
parent 4a882c14b9
commit 449aa1a48c
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ class CreateNetwork(forms.SelfHandlingForm):
max_length=255,
label=_("Physical Network"),
help_text=_("The name of the physical network over which the "
"virtual network is implemented."),
initial='default',
"virtual network is implemented. Specify one of the "
"physical networks defined in your neutron deployment."),
widget=forms.TextInput(attrs={
'class': 'switched',
'data-switch-on': 'network_type',