~gabor.meszaros/openstack-charm-testing/multi-az-multi-ceph-tools-qfix

« back to all changes in this revision

Viewing changes to profiles/keystonev3

  • Committer: Edward Hope-Morley
  • Date: 2016-06-28 15:10:52 UTC
  • Revision ID: edward.hope-morley@canonical.com-20160628151052-2vf88zmmp3c76f56
[trivial] update ks-v3 bit

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
 
3
 
set -e
 
3
set -ex
4
4
 
5
5
function upload_image {
6
6
    src=$1
40
40
# If not on bare metal, add extra port to overcloud neutron-gateway and configure charm to use it
41
41
if [[ "${BARE_METAL^^}" != "TRUE" ]]; then
42
42
    unset OS_DEFAULT_DOMAIN OS_PROJECT_NAME OS_IDENTITY_API_VERSION OS_PROJECT_DOMAIN_NAME
43
 
        source novarc_unset_all
 
43
    source novarc_unset_all
44
44
    source ~/novarc
45
45
    ./bin/post-deploy-config neutron-gateway
46
46
fi
 
47
 
47
48
# Configure neutron networking on overcloud
48
49
source novarcv3_domain
49
 
./bin/neutron-ext-net-ksv3 --project admin --network-type $net_type -g $GATEWAY -c $CIDR_EXT -f $FIP_RANGE ext_net
 
50
./bin/neutron-ext-net-ksv3 --project admin --network-type flat -g $GATEWAY -c $CIDR_EXT -f $FIP_RANGE ext_net
50
51
./bin/neutron-tenant-net-ksv3 --project admin --network-type $net_type -r provider-router -N $NAMESERVER private $CIDR_PRIV
51
52
ext_net=$(openstack network list | awk '/ext_net/ {print $2}')
52
53