Revision 3aecadc8 snf-cyclades-app/synnefo/app_settings/default/api.py
b/snf-cyclades-app/synnefo/app_settings/default/api.py | ||
---|---|---|
17 | 17 |
# Network Configuration |
18 | 18 |
# |
19 | 19 |
|
20 |
# List of network IDs. All created instances will get a NIC connected to each |
|
21 |
# network of this list. If the special network ID "SNF:ANY_PUBLIC" is used, |
|
22 |
# Cyclades will automatically choose a public network and connect the server to |
|
23 |
# it. |
|
24 |
DEFAULT_INSTANCE_NETWORKS = ["SNF:ANY_PUBLIC"] |
|
20 |
# CYCLADES_DEFAULT_SERVER_NETWORKS setting contains a list of networks to |
|
21 |
# connect a newly created server to, *if the user has not* specified them |
|
22 |
# explicitly in the POST /server API call. |
|
23 |
# Each member of the list may be a network UUID, a tuple of network UUIDs, |
|
24 |
# "SNF:ANY_PUBLIC_IPV4" [any public network with an IPv4 subnet defined], |
|
25 |
# "SNF:ANY_PUBLIC_IPV6 [any public network with only an IPV6 subnet defined], |
|
26 |
# or "SNF:ANY_PUBLIC" [any public network]. |
|
27 |
# |
|
28 |
# Access control and quota policy are enforced, just as if the user had |
|
29 |
# specified the value of CYCLADES_DEFAULT_SERVER_NETWORKS in the content |
|
30 |
# of the POST /call, after processing of "SNF:*" directives." |
|
31 |
CYCLADES_DEFAULT_SERVER_NETWORKS = ["SNF:ANY_PUBLIC"] |
|
32 |
|
|
33 |
# This setting contains a list of networks which every new server |
|
34 |
# will be forced to connect to, regardless of the contents of the POST |
|
35 |
# /servers call, or the value of CYCLADES_DEFAULT_SERVER_NETWORKS. |
|
36 |
# Its format is identical to that of CYCLADES_DEFAULT_SERVER_NETWORKS. |
|
37 |
|
|
38 |
# WARNING: No access control or quota policy are enforced. |
|
39 |
# The server will get all IPv4/IPv6 addresses needed to connect to the |
|
40 |
# networks specified in CYCLADES_FORCED_SERVER_NETWORKS, regardless |
|
41 |
# of the state of the floating IP pool of the user, and without |
|
42 |
# allocating any floating IPs." |
|
43 |
CYCLADES_FORCED_SERVER_NETWORKS = ["SNF:ANY_PUBLIC_IPV6"] |
|
25 | 44 |
|
26 | 45 |
# Maximum allowed network size for private networks. |
27 | 46 |
MAX_CIDR_BLOCK = 22 |
Also available in: Unified diff