Browse code

switch public_interface to br100 so that floating ips don't get bumped between interfaces

* Set VLAN_INTERFACE to eth0 by default

Change-Id: I8a85465fa389af3af04d91775a99df58b2da575a

Anthony Young authored on 2011/12/17 05:23:07
Showing 1 changed files
... ...
@@ -271,14 +271,14 @@ function read_password {
271 271
 # FIXME: more documentation about why these are important flags.  Also
272 272
 # we should make sure we use the same variable names as the flag names.
273 273
 
274
-PUBLIC_INTERFACE=${PUBLIC_INTERFACE:-eth0}
274
+PUBLIC_INTERFACE=${PUBLIC_INTERFACE:-br100}
275 275
 FIXED_RANGE=${FIXED_RANGE:-10.0.0.0/24}
276 276
 FIXED_NETWORK_SIZE=${FIXED_NETWORK_SIZE:-256}
277 277
 FLOATING_RANGE=${FLOATING_RANGE:-172.24.4.224/28}
278 278
 NET_MAN=${NET_MAN:-FlatDHCPManager}
279 279
 EC2_DMZ_HOST=${EC2_DMZ_HOST:-$SERVICE_HOST}
280 280
 FLAT_NETWORK_BRIDGE=${FLAT_NETWORK_BRIDGE:-br100}
281
-VLAN_INTERFACE=${VLAN_INTERFACE:-$PUBLIC_INTERFACE}
281
+VLAN_INTERFACE=${VLAN_INTERFACE:-eth0}
282 282
 
283 283
 # Test floating pool and range are used for testing.  They are defined
284 284
 # here until the admin APIs can replace nova-manage