File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ GITDIR["debtcollector"]=$DEST/debtcollector
3030GITDIR[" futurist" ]=$DEST /futurist
3131GITDIR[" os-client-config" ]=$DEST /os-client-config
3232GITDIR[" osc-lib" ]=$DEST /osc-lib
33+ GITDIR[" osc-placement" ]=$DEST /osc-placement
3334GITDIR[" oslo.cache" ]=$DEST /oslo.cache
3435GITDIR[" oslo.concurrency" ]=$DEST /oslo.concurrency
3536GITDIR[" oslo.config" ]=$DEST /oslo.config
@@ -91,6 +92,7 @@ function install_libs {
9192 _install_lib_from_source " debtcollector"
9293 _install_lib_from_source " futurist"
9394 _install_lib_from_source " osc-lib"
95+ _install_lib_from_source " osc-placement"
9496 _install_lib_from_source " os-client-config"
9597 _install_lib_from_source " oslo.cache"
9698 _install_lib_from_source " oslo.concurrency"
Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ function init_placement {
159159# install_placement() - Collect source and prepare
160160function install_placement {
161161 install_apache_wsgi
162+ # Install the openstackclient placement client plugin for CLI
163+ # TODO(mriedem): Use pip_install_gr once osc-placement is in g-r.
164+ pip_install osc-placement
162165}
163166
164167# start_placement_api() - Start the API processes ahead of other things
Original file line number Diff line number Diff line change @@ -388,6 +388,10 @@ GITBRANCH["python-openstackclient"]=${OPENSTACKCLIENT_BRANCH:-master}
388388# this doesn't exist in a lib file, so set it here
389389GITDIR[" python-openstackclient" ]=$DEST /python-openstackclient
390390
391+ # placement-api CLI
392+ GITREPO[" osc-placement" ]=${OSC_PLACEMENT_REPO:- ${GIT_BASE} / openstack/ osc-placement.git}
393+ GITBRANCH[" osc-placement" ]=${OSC_PLACEMENT_BRANCH:- master}
394+
391395
392396# ##################
393397#
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ ALL_LIBS+=" oslo.messaging oslo.log cliff stevedore"
3636ALL_LIBS+=" python-cinderclient glance_store oslo.concurrency oslo.db"
3737ALL_LIBS+=" oslo.versionedobjects oslo.vmware keystonemiddleware"
3838ALL_LIBS+=" oslo.serialization django_openstack_auth"
39- ALL_LIBS+=" python-openstackclient osc-lib os-client-config oslo.rootwrap"
39+ ALL_LIBS+=" python-openstackclient osc-lib osc-placement"
40+ ALL_LIBS+=" os-client-config oslo.rootwrap"
4041ALL_LIBS+=" oslo.i18n oslo.utils python-openstacksdk python-swiftclient"
4142ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy"
4243ALL_LIBS+=" debtcollector os-brick os-traits automaton futurist oslo.service"
You can’t perform that action at this time.
0 commit comments