Revision b2791a77 snf-cyclades-app/synnefo/app_settings/default/api.py

b/snf-cyclades-app/synnefo/app_settings/default/api.py
21 21
# network of this list. If the special network ID "SNF:ANY_PUBLIC" is used,
22 22
# Cyclades will automatically choose a public network and connect the server to
23 23
# it.
24
DEFAULT_INSTANCE_NETWORKS=["SNF:ANY_PUBLIC"]
24
DEFAULT_INSTANCE_NETWORKS = ["SNF:ANY_PUBLIC"]
25 25

  
26 26
# Maximum allowed network size for private networks.
27 27
MAX_CIDR_BLOCK = 22
......
48 48
DEFAULT_MAC_FILTERED_BRIDGE = 'prv0'
49 49

  
50 50

  
51
# Firewalling
52
GANETI_FIREWALL_ENABLED_TAG = 'synnefo:network:0:protected'
53
GANETI_FIREWALL_DISABLED_TAG = 'synnefo:network:0:unprotected'
54
GANETI_FIREWALL_PROTECTED_TAG = 'synnefo:network:0:limited'
51
# Firewalling. Firewall tags should contain '%d' to be filled with the NIC
52
# index.
53
GANETI_FIREWALL_ENABLED_TAG = 'synnefo:network:%d:protected'
54
GANETI_FIREWALL_DISABLED_TAG = 'synnefo:network:%d:unprotected'
55
GANETI_FIREWALL_PROTECTED_TAG = 'synnefo:network:%d:limited'
55 56

  
56 57
# The default firewall profile that will be in effect if no tags are defined
57 58
DEFAULT_FIREWALL_PROFILE = 'DISABLED'

Also available in: Unified diff