diff options
Diffstat (limited to 'appc-sequence-generator/appc-sequence-generator-bundle/src/test/resources/input/CheckMandatoryVnfc.json')
-rw-r--r-- | appc-sequence-generator/appc-sequence-generator-bundle/src/test/resources/input/CheckMandatoryVnfc.json | 256 |
1 files changed, 132 insertions, 124 deletions
diff --git a/appc-sequence-generator/appc-sequence-generator-bundle/src/test/resources/input/CheckMandatoryVnfc.json b/appc-sequence-generator/appc-sequence-generator-bundle/src/test/resources/input/CheckMandatoryVnfc.json index 0a4f5fce5..4d5bb0b6d 100644 --- a/appc-sequence-generator/appc-sequence-generator-bundle/src/test/resources/input/CheckMandatoryVnfc.json +++ b/appc-sequence-generator/appc-sequence-generator-bundle/src/test/resources/input/CheckMandatoryVnfc.json @@ -1,130 +1,138 @@ { -"request-info": { - "action": "Start", - "action-level": "vnf", - "action-identifier": { - "vnf-id": "dbgx0001v" - }, - "payload": "ABC" + "request-info": { + "action": "Start", + "action-level": "vnf", + "action-identifier": { + "vnf-id": "dbgx0001v" }, - "inventory-info": { - "vnf-info": { - "vnf-id": "abc", - "vnf-name": "vSCP", - "vnf-type": "vSCP", - "vnf-version": "1.0", - "identity-url": "test-url", - "vm": [ - { - "vserver-id": "be_vserverid1", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "BE", - "vnfc-name": "BE - Name" - } - }, - { - "vserver-id": "fe_vserverid1", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "FE", - "vnfc-name": "FE - Name" - } - }, - { - "vserver-id": "fe_vserverid2", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "FE", - "vnfc-name": "FE - Name" - } - }, - { - "vserver-id": "be_vserverid2", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "BE", - "vnfc-name": "BE - Name" - } - }, - { - "vserver-id": "be_vserverid3", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "BE", - "vnfc-name": "BE - Name" - } - }, - { - "vserver-id": "be_vserverid4", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "BE", - "vnfc-name": "BE - Name" - } - }, - { - "vserver-id": "be_vserverid5", - "vm-id": "vm-id", - "vnfc": { - "vnfc-type": "BE", - "vnfc-name": "BE - Name" - } - } - ] + "payload": "ABC" + }, + "inventory-info": { + "vnf-info": { + "vnf-id" : "abc", + "vnf-name": "vSCP", + "vnf-type": "vSCP", + "vnf-version" : "1.0", + "identity-url" : "test-url", + "vm": [ + { + "vserver-id" : "be_vserverid1", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "BE", + "vnfc-function-code": "pld", + "vnfc-name": "BE - Name" + } + + }, + { + "vserver-id" : "fe_vserverid1", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "FE", + "vnfc-function-code": "pld", + "vnfc-name": "FE - Name" + } + + }, + { + "vserver-id" : "fe_vserverid2", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "FE", + "vnfc-function-code": "pld", + "vnfc-name": "FE - Name" + } + + }, + { + "vserver-id" : "be_vserverid2", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "BE", + "vnfc-function-code": "pld", + "vnfc-name": "BE - Name" + } + + }, + { + "vserver-id" : "be_vserverid3", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "BE", + "vnfc-function-code": "pld", + "vnfc-name": "BE - Name" + } + + }, + { + "vserver-id" : "be_vserverid4", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "BE", + "vnfc-function-code": "pld", + "vnfc-name": "BE - Name" + } + + }, + { + "vserver-id" : "be_vserverid5", + "vm-id" : "vm-id", + "vnfc": + { + "vnfc-type": "BE", + "vnfc-function-code": "pld", + "vnfc-name": "BE - Name" + } + } - }, - "dependency-info": { - "vnfcs": [ - { - "vnfc-type": "BE", - "mandatory": "true", - "resilience": "Active-Active", - "parents": [ - "SMP" - ] - }, - { - "vnfc-type": "FE", - "mandatory": "true", - "resilience": "Active-Active", - "parents": [ - "BE" - ] - }, - { - "vnfc-type": "SMP", - "mandatory": "true", - "resilience": "Active-Passive", - "parents": [] - } + ] + } + }, + "dependency-info": { + "vnfcs" : [ + { + "vnfc-type" : "BE", + "mandatory" : "true", + "resilience": "Active-Active", + "parents" : [ + "SMP" ] - }, - "tunable-parameters": { - "strategy": "FORWARD", - "wait-time": "120", - "retry-count": "5" - }, - "capabilities": { - "vnf": [ - "Stop", - "Start", - "StartApplication", - "StopApplication" - ], - "vf-module": [ - "Stop", - "Start" - ], - "vm": [ - "Stop", - "Start" - ], - "vnfc": [ - "StopApplication", - "StartApplication", - "HealthCheck" + }, + { + "vnfc-type" : "FE", + "mandatory" : "true", + "resilience": "Active-Active", + "parents" : [ + "BE" ] - } -} + }, + { + "vnfc-type" : "SMP", + "mandatory" : "true", + "resilience": "Active-Passive", + "parents" : [ + ] + } + + ] + }, + "tunable-parameters": { + "strategy" : "FORWARD", + "wait-time": "120", + "retry-count": "5" + }, + "capabilities" : { + "vnf": ["Stop", "Start", "StartApplication","StopApplication"], + "vf-module": ["Stop", "Start"], + "vm" : [{"Stop" :["pld", "ssc", "dbo"]}, {"Start" :["pld", "ssc", "dbo"]}, {"Restart" :["pld", "ssc", "dbo"]}], + "vnfc": ["StopApplication", "StartApplication","HealthCheck"] + } +} |