Commit 1564a8e0 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

Fix UI setting for mac filtered networks



Rename PRIVATE_FILTERED to correct PRIVATE_MAC_FILTERED.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 1503f436
......@@ -131,7 +131,7 @@ UI_OS_DEFAULT_USER_MAP = {
# Available network types for use to choose when creating a private network
# If only one set, no select options will be displayed
UI_NETWORK_AVAILABLE_NETWORK_TYPES = {'PRIVATE_FILTERED': 'mac-filtering'}
UI_NETWORK_AVAILABLE_NETWORK_TYPES = {'PRIVATE_MAC_FILTERED': 'mac-filtering'}
# Suggested private networks to let the user choose from when creating a private
# network with dhcp enabled
......
......@@ -121,7 +121,7 @@ FEEDBACK_CONTACTS = getattr(settings, "FEEDBACK_CONTACTS", [])
FEEDBACK_EMAIL_FROM = settings.FEEDBACK_EMAIL_FROM
# network settings
DEFAULT_NETWORK_TYPES = {'PRIVATE_FILTERED': 'mac-filtering'}
DEFAULT_NETWORK_TYPES = {'PRIVATE_MAC_FILTERED': 'mac-filtering'}
NETWORK_TYPES = getattr(settings,
'UI_NETWORK_AVAILABLE_NETWORK_TYPES', DEFAULT_NETWORK_TYPES)
DEFAULT_NETWORK_SUBNETS = ['10.0.0.0/24', '192.168.1.1/24']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment