devstack changes for sfc-tacker OPNFV demo
[groupbasedpolicy.git] / demos / gbp-devstack / devstack-scripts / sfc / local.conf
1 [[local|localrc]]
2
3 enable_plugin tacker https://github.com/trozet/tacker SFC_refactor
4 enable_plugin networking-odl https://github.com/openstack/networking-odl stable/kilo
5 #enable_plugin tacker https://github.com/trozet/tacker SFC_refactor
6 #enable_plugin networking-odl https://github.com/openstack/networking-odl stable/kilo
7 #enable_plugin networking-odl https://github.com/flavio-fernandes/networking-odl lithiumkilo
8
9
10 #IMAGE_URLS="http://uec-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img,http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img,http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-uec.tar.gz"
11 ## Tacker
12 TACKERCLIENT_REPO=https://github.com/trozet/python-tackerclient.git
13 TACKERCLIENT_BRANCH=SFC_refactor
14 TACKERHORIZON_REPO=https://github.com/trozet/tacker-horizon.git
15 BR_MGMT=br-int
16 ## end Tacker
17
18 LOGFILE=stack.sh.log
19 SCREEN_LOGDIR=/opt/stack/data/log
20 LOG_COLOR=False
21 #RECLONE=yes
22 RECLONE=no
23
24 enable_service n-novnc
25 enable_service n-cauth
26 enable_service odl-compute odl-neutron
27
28 ##enable_service q-svc
29 ##enable_service q-dhcp
30 ##enable_service q-meta
31 ##enable_service n-cauth
32 enable_service tacker
33
34 ##disable_service q-vpn
35 ##disable_service q-metering
36 ##disable_service q-lbaas
37 ##disable_service q-lbaasv2
38 ##disable_service q-fwaas
39 ##disable_service swift
40 ##disable_service cinder
41 ##disable_service n-net
42 ##disable_service tempest
43
44 HOST_IP=192.168.50.20
45 HOST_NAME=devstack-control
46 SERVICE_HOST=$HOST_IP
47 SERVICE_HOST_NAME=$HOST_NAME
48
49 NEUTRON_CREATE_INITIAL_NETWORKS=False
50 Q_ML2_TENANT_NETWORK_TYPE=vxlan
51 Q_USE_SECGROUP=True
52
53 ## Tacker
54 PIP_USE_MIRRORS=False
55 USE_GET_PIP=1
56 # eTacker
57
58 ODL_MODE=externalodl
59
60 ODL_MGR_IP=$ODL
61 ODL_PORT=8080
62
63 ENABLE_TENANT_TUNNELS=True
64
65 VNCSERVER_PROXYCLIENT_ADDRESS=${HOST_IP}
66 VNCSERVER_LISTEN=0.0.0.0
67
68 # un commented for further tacker testing #Commented out for Tacker testing
69
70 ## External networking
71 FLOATING_RANGE=192.168.111.0/24
72 FIXED_RANGE="90.1.1.0/24"
73 PUBLIC_NETWORK_GATEWAY=192.168.111.254
74  
75 PUBLIC_INTERFACE=eth2
76 PUBLIC_BRIDGE=br-int
77  
78 ## Neutron options
79 ENABLE_TENANT_VLANS=True
80 TENANT_VLAN_RANGE=3001:4000
81 PHYSICAL_NETWORK=dr-external
82 OVS_PHYSICAL_BRIDGE=br-int
83 ODL_PROVIDER_MAPPINGS=$PHYSICAL_NETWORK:$PUBLIC_INTERFACE
84
85 # end Tacker testing block
86 MYSQL_HOST=$SERVICE_HOST
87 RABBIT_HOST=$SERVICE_HOST
88 GLANCE_HOSTPORT=$SERVICE_HOST:9292
89 KEYSTONE_AUTH_HOST=$SERVICE_HOST
90 KEYSTONE_SERVICE_HOST=$SERVICE_HOST
91
92 MYSQL_PASSWORD=mysql
93 RABBIT_PASSWORD=rabbit
94 SERVICE_TOKEN=service
95 SERVICE_PASSWORD=admin
96 ADMIN_PASSWORD=admin
97
98 BRANCH=stable/kilo
99 GLANCE_BRANCH=$BRANCH
100 HORIZON_BRANCH=$BRANCH
101 KEYSTONE_BRANCH=$BRANCH
102 NOVA_BRANCH=$BRANCH
103 NEUTRON_BRANCH=$BRANCH
104 SWIFT_BRANCH=$BRANCH
105 CINDER_BRANCH=$BRANCH
106 HEAT_BRANCH=$BRANCH
107 TROVE_BRANCH=$BRANCH
108 CEILOMETER_BRANCH=$BRANCH
109
110 ODL_L3=True
111 ## For L3
112 [[post-config]|/etc/neutron/l3_agent.ini]]
113 [DEFAULT]
114 interface_driver = neutron.agent.linux.interface.NullDriver
115  
116 [[post-config|/etc/neutron/neutron.conf]]
117 [DEFAULT]
118 service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin
119  
120 [[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
121 [agent]
122 minimize_polling=True
123  
124 [[post-config|/etc/tacker/tacker.conf]]
125 [DEFAULT]
126 service_plugins = tacker.vm.plugin.VNFMPlugin,tacker.sfc.plugin.SFCPlugin,tacker.sfc_classifier.plugin.SFCCPlugin
127 [servicevm]
128 infra_driver = heat
129 [servicevm_heat]
130 stack_retries = 10
131 stack_retry_wait = 30
132 [sfc]
133 infra_driver = opendaylight
134 [sfc_opendaylight]
135 ip = $ODL_MGR_IP
136 port = $ODL_PORT
137 username = admin
138 password = admin
139
140 [[post-config|$NOVA_CONF]]
141 [DEFAULT]
142 skip_isolated_core_check=true
143 max_cores=128
144 quota_ram = 2048000
145 cpu_allocation_ratio=16.0
146 quota_cores=128
147 quota_instances=500
148 quota_floating_ips=1000
149 quota_metadata_items=300
150 quota_security_group_rules=200
151 quota_security_groups=200
152 quota_volumes=100
153 #scheduler_default_filters = AllHostsFilter
154 [quota]
155 skip_isolated_core_check=true
156 max_cores=128
157 cpu_allocation_ratio=16.0
158 quota_cores=128
159 quota_instances=500
160 quota_floating_ips=1000
161 quota_metadata_items=300
162 quota_security_group_rules=200
163 quota_security_groups=200
164 quota_volumes=100
165 [oslo_messaging_rabbit]
166 heartbeat_timeout_threshold = 0
167 [[post-config|$CINDER_CONF]]
168 [DEFAULT]
169 quota_gigabytes=-1
170 quota_snapshots=-1
171 quota_volumes=-1
172 [quota]
173 quota_gigabytes=-1
174 quota_snapshots=-1
175 quota_volumes=-1
176 [oslo_messaging_rabbit]
177 heartbeat_timeout_threshold = 0
178 [[post-config|$NEUTRON_CONF]]
179 [DEFAULT]
180 quota_network = 100
181 quota_subnet = 100
182 quota_port = 500
183 quota_router = 100
184 quota_floatingip = 5000
185 quota_security_group_rules=200
186 quota_security_groups=200
187 [quota]
188 quota_network = 100
189 quota_subnet = 100
190 quota_port = 500
191 quota_router = 100
192 quota_floatingip = 5000
193 quota_security_group_rules=200
194 quota_security_groups=200
195 [oslo_messaging_rabbit]
196 heartbeat_timeout_threshold = 0
197 [[post-config|$GLANCE_API_CONF]]
198 [oslo_messaging_rabbit]
199 heartbeat_timeout_threshold = 0
200