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
changes/83/313783/5
Sridhar Ramaswamy 6 years ago
parent 22ef80659b
commit 380a20129b
  1. 2
      devstack/lib/tacker
  2. 0
      devstack/local.conf.example
  3. 0
      devstack/local.sh.mysql_fix
  4. 0
      devstack/vim_config.yaml
  5. 0
      samples/legacy-templates/config-openwrt-with-firewall.yaml
  6. 0
      samples/legacy-templates/openwrt.yaml
  7. 0
      samples/legacy-templates/sample-vnfd-http-monitor.yaml
  8. 0
      samples/legacy-templates/sample-vnfd-monitor.yaml
  9. 0
      samples/legacy-templates/sample-vnfd-multi-vdu.yaml
  10. 0
      samples/legacy-templates/sample-vnfd.yaml
  11. 0
      samples/legacy-templates/vnf_cirros_param_values_ipaddr.yaml
  12. 0
      samples/legacy-templates/vnf_cirros_param_values_user_data.yaml
  13. 0
      samples/legacy-templates/vnf_cirros_template_ipaddr.yaml
  14. 0
      samples/legacy-templates/vnf_cirros_template_user_data.yaml
  15. 0
      samples/tosca-templates/vnfd/tosca-config-openwrt-with-firewall.yaml
  16. 0
      samples/tosca-templates/vnfd/tosca-vnfd-cpu-dedicate.yaml
  17. 0
      samples/tosca-templates/vnfd/tosca-vnfd-flavor.yaml
  18. 0
      samples/tosca-templates/vnfd/tosca-vnfd-http-monitor.yaml
  19. 0
      samples/tosca-templates/vnfd/tosca-vnfd-hugepages.yaml
  20. 0
      samples/tosca-templates/vnfd/tosca-vnfd-image.yaml
  21. 0
      samples/tosca-templates/vnfd/tosca-vnfd-monitor.yaml
  22. 0
      samples/tosca-templates/vnfd/tosca-vnfd-multi-vdu.yaml
  23. 0
      samples/tosca-templates/vnfd/tosca-vnfd-numacount.yaml
  24. 0
      samples/tosca-templates/vnfd/tosca-vnfd-numadefine.yaml
  25. 0
      samples/tosca-templates/vnfd/tosca-vnfd-sriov.yaml
  26. 0
      samples/tosca-templates/vnfd/tosca-vnfd-vcpu-topology.yaml
  27. 0
      samples/tosca-templates/vnfd/tosca_hello_world_vnfd.yaml
  28. 0
      samples/tosca-templates/vnfd/tosca_openwrt_vnfd.yaml
  29. 4
      samples/vim/vim_config.yaml

@ -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

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