Added 'image_name' property to vSGW and vPGCW tenant node types
(so you can specify desired image via TOSCA)

changed 'VPGWCComponent' to 'VGPWCTenant' for consistency with model

Change-Id: I82d9fe4659941c8a390a1b8477e5e5bb465fc811
diff --git a/mcord/mcord.yaml b/mcord/mcord.yaml
index e2addad..96cb429 100644
--- a/mcord/mcord.yaml
+++ b/mcord/mcord.yaml
@@ -177,7 +177,7 @@
                 default: New vBBU Component 

                 description: Just a message 

                 

-    tosca.nodes.VPGWCComponent:

+    tosca.nodes.VPGWCTenant:

         derived_from: tosca.nodes.Root

         description: >

             CORD: vPGWC Component of MCORD Service.

@@ -196,6 +196,11 @@
                 required: false

                 default: New vPGWc Component 

                 description: Just a message 

+            image_name: 

+                type: string

+                required: true

+                default: default

+                description: Name of VM image

 

     tosca.nodes.VSGWTenant:

         derived_from: tosca.nodes.Root

@@ -215,6 +220,11 @@
                 required: false

                 default: New vSGW Tenant

                 description: Just a message

+            image_name: 

+                type: string

+                required: true

+                default: default

+                description: Name of VM image

 

 topology_template:

   node_templates:

@@ -236,7 +246,7 @@
       properties:

           kind: vEPC

           icon_url: /static/mCordServices/service_server.png

-          view_url: /admin/vpgwc/vpgwccomponent

+          view_url: /admin/vpgwc/VPGWCTenant

           public_key: { get_artifact: [ SELF, pubkey, LOCAL_FILE] }

           private_key_fn: /opt/xos/services/vpgwc/keys/vPGWC_rsa

       artifacts:

@@ -596,8 +606,22 @@
               relationship: tosca.relationships.ConnectsToNetwork

       properties:

           network: noauto

+          default_node: compute1

 

 

+    tenant#vpgwctenant1:

+      type: tosca.nodes.VPGWCTenant

+      properties:

+          display_message: just a message

+          image_name: pgwc

+      requirements:

+        - tenant:

+            node: vPGWC

+            relationship: tosca.relationships.MemberOfService

+        - dependency:

+            node: mysite_vpgwc_slice1

+            relationship: tosca.relationships.DependsOn

+

     tenant#vmmetenant1:

       type: tosca.nodes.VMMETenant

       properties:

@@ -626,19 +650,3 @@
             relationship: tosca.relationships.DependsOn

 

 

-#default_node: compute10

-

-#    mysite_VPGWC_Component:

-#      description: MCORD Service default Component

-#      type: tosca.nodes.VPGWCComponent

-#      requirements:

-#          - provider_service:

-#              node: vPGWC

-#              relationship: tosca.relationships.MemberOfService

-#          - vpgwc_slice:

-#              node: mysite_vpgwc_slice1

-#              relationship: tosca.relationships.MemberOfSlice

-#      properties:

-#          display_message: vPGWC looks good!

-#          s5s8_pgw_tag: 300

-