Fix VNF instantiation issues in SO and Robot 21/19921/1
authorMarco Platania <platania@research.att.com>
Fri, 20 Oct 2017 18:50:13 +0000 (14:50 -0400)
committerMarco Platania <platania@research.att.com>
Fri, 20 Oct 2017 18:50:13 +0000 (14:50 -0400)
- Add keystone version to SO config file
- Add public_net_id and script_version to Robot
- Replace non-ASCII copyright sign in Heat templates license

Change-Id: I76b9caf19720c5b4ba7534c7d5ba329634860ff0
Issue-ID: INT-288
Signed-off-by: Marco Platania <platania@research.att.com>
boot/so_vm_init.sh
heat/ONAP/onap_openstack.yaml
heat/ONAP/onap_openstack_float.yaml
heat/ONAP/onap_openstack_nofloat.yaml
heat/ONAP/onap_rackspace.yaml

index d767a14..c688601 100644 (file)
@@ -76,7 +76,7 @@ read -d '' MSO_CONFIG_UPDATES <<-EOF
            "identity_services": 
                [
                    {"dcp_clli": "$DCP_CLLI", 
-                    "identity_url": "$KEYSTONE_URL",
+                   "identity_url": "$KEYSTONE_URL/v2.0",
                     "mso_id": "$OPENSTACK_USERNAME", 
                     "mso_pass": "$OPENSTACK_APIKEY", 
                     "admin_tenant": "service", 
index 242d0dd..70bbca2 100644 (file)
@@ -3,7 +3,7 @@
 #==================LICENSE_START==========================================
 # 
 #
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -862,6 +862,8 @@ resources:
             __external_dns__: { get_param: external_dns }
             __vm_image_name__: { get_param: ubuntu_1404_image }
             __vm_flavor__: { get_param: flavor_medium }
+            __public_net_id__: { get_param: public_net_id }
+            __script_version__: { get_param: artifact_version }
             __robot_repo__: { get_param: robot_repo }
           template: |
             #!/bin/bash
@@ -899,6 +901,8 @@ resources:
             echo "__external_dns__" > /opt/config/external_dns.txt
             echo "__vm_image_name__" > /opt/config/vm_image_name.txt
             echo "__vm_flavor__" > /opt/config/vm_flavor.txt
+            echo "__script_version__" > /opt/config/script_version.txt
+            echo "__public_net_id__" > /opt/config/public_net_id.txt
             echo "__robot_repo__" > /opt/config/remote_repo.txt
 
             # Download and run install script
@@ -1563,7 +1567,7 @@ resources:
       flavor: { get_param: flavor_xxlarge }
       name:
         str_replace:
-          template: base-openo-server
+          template: base-multi-service
           params:
             base: { get_param: vm_base_name }
       key_name: { get_resource: vm_key }
@@ -1670,7 +1674,7 @@ resources:
       flavor: { get_param: flavor_medium }
       name:
         str_replace: 
-          template: base-dcae-controller
+          template: base-dcae-bootstrap
           params:
             base: { get_param: vm_base_name }
       key_name: { get_resource: dcae_vm_key }
index 46c4903..01f160a 100644 (file)
@@ -3,7 +3,7 @@
 #==================LICENSE_START==========================================
 # 
 #
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
index 3ebd37e..136b160 100644 (file)
@@ -3,7 +3,7 @@
 #==================LICENSE_START==========================================
 # 
 #
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
index ab56555..a73053f 100644 (file)
@@ -3,7 +3,7 @@
 #==================LICENSE_START==========================================
 # 
 #
-# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.