CORD-2406 Add MME, HSS, and HSS DB images
Change-Id: I392a9f75e8bb04a9a98f62676d44356a9f3f8c3b
diff --git a/mcord-cavium.yml b/mcord-cavium.yml
index 6bb40ca..5e3d824 100644
--- a/mcord-cavium.yml
+++ b/mcord-cavium.yml
@@ -261,15 +261,28 @@
- name: ntp
relations: [ "nova-compute", ]
+image_dir: /opt/cord_profile/images # Should change the build to symlink instead of copy images?
xos_images:
- name: "image-test"
url: "https://github.com/opencord/platform-install/releases/download/vms/trusty-server-cloudimg-amd64-disk1.img.20170201"
checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
+ - name: "image-mme"
+ url: "http://www.vicci.org/cord/c3po-mme1-comp.qcow2.20180118"
+ checksum: "sha256:d6979505967bbba5b6af2d48f833ddddefaf8c0e4fd23abf1853cb4b70615af5"
+
+ - name: "image-hss"
+ url: "http://www.vicci.org/cord/c3po-hss1-comp.qcow2.20180118"
+ checksum: "sha256:9446fb91c9bf3486adc6453ca4cd1dd1e93c03a30d3864fd1511029694bf4b1c"
+
+ - name: "image-hss-db"
+ url: "http://www.vicci.org/cord/c3po-dbn1-comp.qcow2.20180118"
+ checksum: "sha256:88d5370451541d5eec55f4d0c281abe4f679a63bcc8eae9cb57e9c1c9e797daa"
+
- name: "image-spgwc"
- url: "http://www.vicci.org/cord/ngic-cp1-cmpress.qcow2.20171121"
- checksum: "sha256:eca43de006d193625778597cc9b3f171752c31e0ce6dbed363954c87c33935a3"
+ url: "http://www.vicci.org/cord/ngic-cp1-comp.qcow2.20180118"
+ checksum: "sha256:2495706b3066f969013e3312a61be422c8e2e2aab8e6ee35c2bf1ddf04a0ccb7"
- name: "image-spgwu"
- url: "http://www.vicci.org/cord/ngic-dp1-cmpress.qcow2.20171121"
- checksum: "sha256:2d431dc24b8de5d531ddf9a82c20f692d9ac8c9d4dd0295c535acc06c6635bc5"
\ No newline at end of file
+ url: "http://www.vicci.org/cord/ngic-dp1-comp.qcow2.20180118"
+ checksum: "sha256:76a538a7f4c92cd1ca71036c51ddfac21b66c59be9700d9e6e11e8e723369ef8"
diff --git a/templates/mcord-cavium-services.yml.j2 b/templates/mcord-cavium-services.yml.j2
index 2fc72c4..b37db38 100644
--- a/templates/mcord-cavium-services.yml.j2
+++ b/templates/mcord-cavium-services.yml.j2
@@ -84,6 +84,21 @@
properties:
name: image-test
+ image-mme:
+ type: tosca.nodes.Image
+ properties:
+ name: image-mme
+
+ image-hss:
+ type: tosca.nodes.Image
+ properties:
+ name: image-hss
+
+ image-hss-db:
+ type: tosca.nodes.Image
+ properties:
+ name: image-hss-db
+
image-spgwc:
type: tosca.nodes.Image
properties:
@@ -167,10 +182,10 @@
node: service#vmme
relationship: tosca.relationships.BelongsToOne
- default_image:
- node: image-test
+ node: image-mme
relationship: tosca.relationships.BelongsToOne
- default_flavor:
- node: m1.medium
+ node: m1.large
relationship: tosca.relationships.BelongsToOne
sprint_mme:
@@ -179,10 +194,10 @@
name: sprint_mme
requirements:
- image:
- node: image-test
+ node: image-mme
relationship: tosca.relationships.BelongsToOne
- flavor:
- node: m1.medium
+ node: m1.large
relationship: tosca.relationships.BelongsToOne
#vSPGWC Service
@@ -298,10 +313,10 @@
node: service#vhss
relationship: tosca.relationships.BelongsToOne
- default_image:
- node: image-test
+ node: image-hss
relationship: tosca.relationships.BelongsToOne
- default_flavor:
- node: m1.small
+ node: m1.large
relationship: tosca.relationships.BelongsToOne
sprint_hss:
@@ -310,10 +325,10 @@
name: sprint_hss
requirements:
- image:
- node: image-test
+ node: image-hss
relationship: tosca.relationships.BelongsToOne
- flavor:
- node: m1.small
+ node: m1.large
relationship: tosca.relationships.BelongsToOne
# HSS_DB service
@@ -341,10 +356,10 @@
node: service#hssdb
relationship: tosca.relationships.BelongsToOne
- default_image:
- node: image-test
+ node: image-hss-db
relationship: tosca.relationships.BelongsToOne
- default_flavor:
- node: m1.small
+ node: m1.large
relationship: tosca.relationships.BelongsToOne
sprint_hssdb:
@@ -353,10 +368,10 @@
name: sprint_hssdb
requirements:
- image:
- node: image-test
+ node: image-hss-db
relationship: tosca.relationships.BelongsToOne
- flavor:
- node: m1.small
+ node: m1.large
relationship: tosca.relationships.BelongsToOne
#SDN Controller Service