migrating to proposed common network settings file
[apex.git] / lib / python / apex / common / constants.py
1 ##############################################################################
2 # Copyright (c) 2016 Tim Rozet (trozet@redhat.com) and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 ADMIN_NETWORK = 'admin'
11 TENANT_NETWORK = 'tenant'
12 EXTERNAL_NETWORK = 'external'
13 STORAGE_NETWORK = 'storage'
14 API_NETWORK = 'api'
15 CONTROLLER = 'controller'
16 COMPUTE = 'compute'
17
18 OPNFV_NETWORK_TYPES = [ADMIN_NETWORK, TENANT_NETWORK, EXTERNAL_NETWORK,
19                        STORAGE_NETWORK, API_NETWORK]
20 DNS_SERVERS = ["8.8.8.8", "8.8.4.4"]
21 COMPUTE = 'compute'
22 CONTROLLER = 'controller'
23 ROLES = [COMPUTE, CONTROLLER]
24 DOMAIN_NAME = 'localdomain.com'
25 COMPUTE_PRE = "OS::TripleO::ComputeExtraConfigPre"
26 CONTROLLER_PRE = "OS::TripleO::ControllerExtraConfigPre"
27 PRE_CONFIG_DIR = "/usr/share/openstack-tripleo-heat-templates/puppet/" \
28                  "extraconfig/pre_deploy/"