Delete not used property from vRNC 69/21469/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Mon, 19 Sep 2016 15:18:22 +0000 (23:18 +0800)
committerxiaodong shang <shang.xiaodong@zte.com.cn>
Mon, 19 Sep 2016 15:28:34 +0000 (15:28 +0000)
Delete not used property from vRNC,such as activestatus
and id.

Change-Id: I14b4563663d220c241440dff0244ccbadff7912b
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit a04cdab7bd95502d9b537db790f4ecbbbf82b7d0)

tests/functest_run.sh
tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC.yaml
tosca2heat/tosca-parser/toscaparser/extensions/nfv/tests/data/vRNC/Definitions/vRNC.yaml

index c3ce601..7b65da0 100755 (executable)
@@ -142,7 +142,7 @@ make_patch_for_translated_file() {
     # Replace the signal_transport
     echo "    Patch yaml file: ${VRNC_OUTPUT_TEMPLATE_FILE}"
     echo ""
-    echo "    Patching compute:signal_transport:"
+    echo "    Patching compute:signal_transport"
     sed -i '1,$s/HEAT_SIGNAL/NO_SIGNAL/g' ${VRNC_OUTPUT_TEMPLATE_FILE}
 
 }
index bf57c70..6c9b092 100644 (file)
@@ -108,9 +108,6 @@ topology_template:
 
     MM_Active_Host:
       type: rnc.nodes.compute.MM
-      properties:
-        activestatus: 1
-        id: MM_Active
       capabilities:
         os:
           properties: *compute_props_os_DEF
@@ -139,9 +136,6 @@ topology_template:
 
     MM_Passive_Host:
       type: rnc.nodes.compute.MM
-      properties:
-        activestatus: 0
-        id: MM_Passive
       capabilities:
         os:
           properties: *compute_props_os_DEF
@@ -180,8 +174,6 @@ topology_template:
 
     CM_Active_Host:
       type: rnc.nodes.compute.CM
-      properties:
-        activestatus: 1
       capabilities:
         os:
           properties: *compute_props_os_DEF
@@ -211,8 +203,6 @@ topology_template:
 
     CM_Passive_Host:
       type: rnc.nodes.compute.CM
-      properties:
-        activestatus: 0
       capabilities:
         os:
           properties: *compute_props_os_DEF
index 15ca91b..921301b 100644 (file)
@@ -108,9 +108,6 @@ topology_template:
 
     MM_Active_Host:
       type: rnc.nodes.compute.MM
-      properties:
-        activestatus: 1
-        id: MM_Active
       capabilities:
         os:
           properties: *compute_props_os_DEF
@@ -139,9 +136,6 @@ topology_template:
 
     MM_Passive_Host:
       type: rnc.nodes.compute.MM
-      properties:
-        activestatus: 0
-        id: MM_Passive
       capabilities:
         os:
           properties: *compute_props_os_DEF
@@ -180,8 +174,6 @@ topology_template:
 
     CM_Active_Host:
       type: rnc.nodes.compute.CM
-      properties:
-        activestatus: 1
       capabilities:
         os:
           properties: *compute_props_os_DEF
@@ -211,8 +203,6 @@ topology_template:
 
     CM_Passive_Host:
       type: rnc.nodes.compute.CM
-      properties:
-        activestatus: 0
       capabilities:
         os:
           properties: *compute_props_os_DEF