|
...
|
...
|
@@ -587,10 +587,6 @@ function _configure_quantum_service() {
|
|
587
|
587
|
|
|
588
|
588
|
iniset $QUANTUM_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY
|
|
589
|
589
|
_quantum_setup_keystone $QUANTUM_CONF keystone_authtoken
|
|
590
|
|
- # Comment out keystone authtoken configuration in api-paste.ini
|
|
591
|
|
- # It is required to avoid any breakage in Quantum where the sample
|
|
592
|
|
- # api-paste.ini has authtoken configurations.
|
|
593
|
|
- _quantum_commentout_keystone_authtoken $Q_API_PASTE_FILE filter:authtoken
|
|
594
|
590
|
|
|
595
|
591
|
# Configure plugin
|
|
596
|
592
|
quantum_plugin_configure_service
|
|
...
|
...
|
@@ -661,21 +657,6 @@ function _quantum_setup_keystone() {
|
|
661
|
661
|
rm -f $QUANTUM_AUTH_CACHE_DIR/*
|
|
662
|
662
|
}
|
|
663
|
663
|
|
|
664
|
|
-function _quantum_commentout_keystone_authtoken() {
|
|
665
|
|
- local conf_file=$1
|
|
666
|
|
- local section=$2
|
|
667
|
|
-
|
|
668
|
|
- inicomment $conf_file $section auth_host
|
|
669
|
|
- inicomment $conf_file $section auth_port
|
|
670
|
|
- inicomment $conf_file $section auth_protocol
|
|
671
|
|
- inicomment $conf_file $section auth_url
|
|
672
|
|
-
|
|
673
|
|
- inicomment $conf_file $section admin_tenant_name
|
|
674
|
|
- inicomment $conf_file $section admin_user
|
|
675
|
|
- inicomment $conf_file $section admin_password
|
|
676
|
|
- inicomment $conf_file $section signing_dir
|
|
677
|
|
-}
|
|
678
|
|
-
|
|
679
|
664
|
function _quantum_setup_interface_driver() {
|
|
680
|
665
|
|
|
681
|
666
|
# ovs_use_veth needs to be set before the plugin configuration
|