|
|
@ -1096,6 +1096,13 @@ function setup_ipv6 { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
function setup_bgp_for_ipv6 { |
|
|
|
neutron bgp-speaker-create --ip-version 6 --local-as 100 bgpspeaker |
|
|
|
neutron bgp-speaker-network-add bgpspeaker $PUBLIC_NETWORK_NAME |
|
|
|
neutron bgp-peer-create --peer-ip ::1 --remote-as 200 bgppeer |
|
|
|
neutron bgp-speaker-peer-add bgpspeaker bgppeer |
|
|
|
} |
|
|
|
|
|
|
|
# Main dispatcher |
|
|
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then |
|
|
|
echo_summary "Installing Manila Client" |
|
|
@ -1214,6 +1221,12 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then |
|
|
|
allow_host_ports_for_share_mounting |
|
|
|
fi |
|
|
|
|
|
|
|
if [[ "$(trueorfalse False MANILA_SETUP_IPV6)" == "True" ]]; then |
|
|
|
# Now that all plugins are loaded, setup BGP |
|
|
|
echo_summary "Setting up BGP speaker to advertise routes to project networks" |
|
|
|
setup_bgp_for_ipv6 |
|
|
|
fi |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if [[ "$1" == "unstack" ]]; then |
|
|
|