Re-organize tacker sample templates

Tacker TOSCA templates are currently buried under tacker/devstack.
These samples templates are applicable for the whole project and they
are not related specifically to the devstack installation. Also,
segregate the new TOSCA parser based templates from the legacy ones
for easier deprecation when the time comes.

Change-Id: I35547335baf6827e6b7b10702d05276343d8ce75
Closes-Bug: #1579251
This commit is contained in:
Sridhar Ramaswamy 2016-05-06 22:39:50 +00:00
parent 22ef80659b
commit 380a20129b
29 changed files with 5 additions and 1 deletions

View File

@ -403,7 +403,7 @@ function tacker_register_default_vim {
get_or_create_user $DEFAULT_VIM_USER $DEFAULT_VIM_PASSWORD
get_or_add_user_project_role "admin" $DEFAULT_VIM_USER $DEFAULT_VIM_PROJECT_NAME
get_or_add_user_project_role "advsvc" $DEFAULT_VIM_USER $DEFAULT_VIM_PROJECT_NAME
VIM_CONFIG_FILE="$TACKER_DIR/devstack/samples/vim_config.yaml"
VIM_CONFIG_FILE="$TACKER_DIR/devstack/vim_config.yaml"
default_vim_id=$(tacker vim-register --name $DEFAULT_VIM_NAME --config-file $VIM_CONFIG_FILE -f value -c id)
echo $default_vim_id
iniset $TACKER_CONF nfvo_vim default_vim $DEFAULT_VIM_NAME

View File

@ -0,0 +1,4 @@
auth_url: 'http://10.18.112.10:5000'
username: 'nfv_user'
password: 'mySecretPW'
project_name: 'nfv'