diff options
Diffstat (limited to 'configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs')
7 files changed, 516 insertions, 0 deletions
diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllConfigForVNF.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllConfigForVNF.json new file mode 100644 index 00000000..040d2ee7 --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllConfigForVNF.json @@ -0,0 +1,199 @@ +{ + "preload-vnfs": { + "vnf-preload-list": [ + { + "vnf-name": "vDNS-vIMS", + "vnf-type": "VimsClearwaterVsp..sproutScaling..module-1", + "vnf-version":"1.0", + "timeStamp":"2018-03-16", + "preload-data": { + "vnf-topology-information": { + "vnf-parameters": [ + { + "vnf-parameter-name": "dn_range_length", + "vnf-parameter-value": "10000" + }, + { + "vnf-parameter-name": "public_net_id", + "vnf-parameter-value": "d05b5f2a-37ce-4d75-810a-c7592a123ca3" + }, + { + "vnf-parameter-name": "dn_range_start", + "vnf-parameter-value": "2425550000" + }, + { + "vnf-parameter-name": "etcd_ip", + "vnf-parameter-value": "30.30.30.20" + }, + { + "vnf-parameter-name": "zone", + "vnf-parameter-value": "me.cw-ngv.com" + }, + { + "vnf-parameter-name": "dnssec_key", + "vnf-parameter-value": "9FPdYTWhk5+LbhrqtTPQKw==" + }, + { + "vnf-parameter-name": "dns_ip", + "vnf-parameter-value": "30.30.30.9" + }, + { + "vnf-parameter-name": "key_name", + "vnf-parameter-value": "sprout_scale_key1" + }, + { + "vnf-parameter-name": "repo_url", + "vnf-parameter-value": "http://repo.cw-ngv.com/stable" + } + ], + "vnf-topology-identifier": { + "service-type": "dcdae039-b762-4f25-a4aa-92e6034cf3bd", + "vnf-type": "VimsClearwaterVsp..sproutScaling..module-1", + "generic-vnf-name": "vIMS-vnf-inst-1", + "generic-vnf-type": "vIMS-ClearWater-VSP 0", + "vnf-name": "vDNS-vIMS" + } + }, + "oper-status": { + "order-status": "PendingAssignment" + }, + "network-topology-information": {} + } + }, + { + "vnf-name": "vDNS-vIMS", + "vnf-type": "VimsClearwaterVsp..sproutScaling..module-1", + "vnf-version":"2.0", + "timeStamp":"2018-03-17", + "preload-data": { + "vnf-topology-information": { + "vnf-parameters": [ + { + "vnf-parameter-name": "dn_range_length", + "vnf-parameter-value": "20000" + }, + { + "vnf-parameter-name": "public_net_id", + "vnf-parameter-value": "60dc8a1c-86b8-4cc4-b5c8-9b0272113c1f" + }, + { + "vnf-parameter-name": "dn_range_start", + "vnf-parameter-value": "2425550111" + }, + { + "vnf-parameter-name": "etcd_ip", + "vnf-parameter-value": "10.53.172.155" + }, + { + "vnf-parameter-name": "zone", + "vnf-parameter-value": "me.cw-ngv.com" + }, + { + "vnf-parameter-name": "dnssec_key", + "vnf-parameter-value": "9FPdYTWhk5+LbhrqtTPQKw==" + }, + { + "vnf-parameter-name": "dns_ip", + "vnf-parameter-value": "10.53.172.152" + }, + { + "vnf-parameter-name": "key_name", + "vnf-parameter-value": "vm1-key-vims" + }, + { + "vnf-parameter-name": "repo_url", + "vnf-parameter-value": "http://repo.cw-ngv.com/stable" + } + ], + "vnf-topology-identifier": { + "service-type": "dcdae039-b762-4f25-a4aa-92e6034cf3bd", + "vnf-type": "VimsClearwaterVsp..base_clearwater..module-0", + "generic-vnf-name": "vIMS-vnf-inst-1", + "generic-vnf-type": "vIMS-ClearWater-VSP 0", + "vnf-name": "Vfmodule-vIMS" + } + }, + "oper-status": { + "order-status": "PendingAssignment" + }, + "network-topology-information": {} + } + }, + { + "vnf-name": "vDNS-vIMS", + "vnf-type": "VimsClearwaterVsp..sproutScaling..module-1", + "vnf-version":"3.0", + "timeStamp":"2018-03-16", + "preload-data": { + "vnf-topology-information": { + "vnf-parameters": [ + { + "vnf-parameter-name": "dn_range_length", + "vnf-parameter-value": "10000" + }, + { + "vnf-parameter-name": "public_net_id", + "vnf-parameter-value": "d05b5f2a-37ce-4d75-810a-c7592a123ca3" + }, + { + "vnf-parameter-name": "dn_range_start", + "vnf-parameter-value": "2425550000" + }, + { + "vnf-parameter-name": "etcd_ip", + "vnf-parameter-value": "30.30.30.20" + }, + { + "vnf-parameter-name": "zone", + "vnf-parameter-value": "me.cw-ngv.com" + }, + { + "vnf-parameter-name": "dnssec_key", + "vnf-parameter-value": "9FPdYTWhk5+LbhrqtTPQKw==" + }, + { + "vnf-parameter-name": "dns_ip", + "vnf-parameter-value": "30.30.30.9" + }, + { + "vnf-parameter-name": "key_name", + "vnf-parameter-value": "sprout_scale_key1" + }, + { + "vnf-parameter-name": "repo_url", + "vnf-parameter-value": "http://repo.cw-ngv.com/stable" + } + ], + "vnf-topology-identifier": { + "service-type": "dcdae039-b762-4f25-a4aa-92e6034cf3bd", + "vnf-type": "VimsClearwaterVsp..sproutScaling..module-1", + "generic-vnf-name": "vIMS-vnf-inst-1", + "generic-vnf-type": "vIMS-ClearWater-VSP 0", + "vnf-name": "vDNS-vIMS" + } + }, + "oper-status": { + "order-status": "PendingAssignment" + }, + "network-topology-information": {} + } + } + ] +}, + "status":200, + "config":{ + "method":"GET", + "transformRequest":[ + null + ], + "transformResponse":[ + null + ], + "params":"", + "headers":{ + "Accept":"application/json" + }, + "url":"/getAllConfigForVNF/Thu Mar 15 2018 00:00:00 GMT+0530 (India Standard Time)/Fri Mar 16 2018 00:00:00 GMT+0530 (India Standard Time)/Router" + }, + "statusText":"" + }
\ No newline at end of file diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllDevices.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllDevices.json new file mode 100644 index 00000000..d7faef5a --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllDevices.json @@ -0,0 +1,17 @@ + +{ + "deviceList":[ + { + "deviceId":"1", + "deviceName":"Device1" + }, + { + "deviceId":"2", + "deviceName":"Device2" + }, + { + "deviceId":"3", + "deviceName":"Device3" + } + ] +}
\ No newline at end of file diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllReports.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllReports.json new file mode 100644 index 00000000..cd0723f1 --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllReports.json @@ -0,0 +1,75 @@ + +{ + "data":[ + { + "testid":1, + "deviceid":1, + "testName":"Network Layer", + "deviceName":"Router", + "execuationDetails":{"output": {"hostname": "google.com","testresult": "pass", "status": "reachable","statistics": "0% loss","ipaddress": "10.53.122.44","avgTime": "Minimum = 70ms"}}, + "result":"Pass", + "timeStamp":"2018-03-16" + }, + { + "testid":2, + "deviceid":1, + "testName":"Network Layer", + "deviceName":"Router", + "execuationDetails":{"output": {"hostname": "google.com","testresult": "fail", "status": "unreachable","statistics": "100% loss","ipaddress": "10.53.122.44","avgTime": "Minimum = 33ms"}}, + "result":"Pass", + "timeStamp":"2018-03-16" + }, + { + "testid":4, + "deviceid":1, + "testName":"Protocol Layer", + "deviceName":"Router", + "execuationDetails":{"output": {"status": "unreachable"}}, + "result":"Fail", + "timeStamp":"2018-03-08" + }, + { + "testid":5, + "deviceid":1, + "testName":"Protocol Layer", + "deviceName":"Router", + "execuationDetails":{"output": {"status": "reachable"}}, + "result":"Pass", + "timeStamp":"2018-03-15" + }, + { + "testid":6, + "deviceid":1, + "testName":"Network Layer", + "deviceName":"Router", + "execuationDetails":{"output": {"hostname": "google.com","testresult": "fail", "status": "unreachable","statistics": "100% loss","ipaddress": "10.53.122.44","avgTime": "Minimum = 33ms"}}, + "result":"Fail", + "timeStamp":"2018-03-15" + }, + { + "testid":7, + "deviceid":1, + "testName":"Network Layer", + "deviceName":"Router", + "execuationDetails":{"output": {"hostname": "google.com","testresult": "fail", "status": "unreachable","statistics": "100% loss","ipaddress": "10.53.122.44","avgTime": "Minimum = 50ms"}}, + "result":"Fail", + "timeStamp":"2018-03-15" + } + ], + "status":200, + "config":{ + "method":"GET", + "transformRequest":[ + null + ], + "transformResponse":[ + null + ], + "params":"", + "headers":{ + "Accept":"application/json" + }, + "url":"/findReportByDeviceName/Thu Mar 15 2018 00:00:00 GMT+0530 (India Standard Time)/Fri Mar 16 2018 00:00:00 GMT+0530 (India Standard Time)/Router" + }, + "statusText":"" +}
\ No newline at end of file diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllTest.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllTest.json new file mode 100644 index 00000000..fc9b2901 --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllTest.json @@ -0,0 +1,17 @@ + +{ + "testList":[ + { + "testId":"1", + "testName":"Test1" + }, + { + "testId":"2", + "testName":"Test2" + }, + { + "testId":"3", + "testName":"Test3" + } + ] +}
\ No newline at end of file diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllVNF.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllVNF.json new file mode 100644 index 00000000..49b91a4a --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllVNF.json @@ -0,0 +1,33 @@ + +{ + "vnfList":[ + { + "IpAddress":"1.160.10.240", + "HostName":"Vfmodule-vIMS", + "Selected":false, + "PortNo":"8282", + "vnfType": "VimsClearwaterVsp..sproutScaling..module-1" + }, + { + "IpAddress":"1.160.10.241", + "HostName":"vDNS-vIMS", + "Selected":false, + "PortNo":"8080", + "vnfType": "VimsClearwaterVsp..sproutScaling..module-1" + }, + { + "IpAddress":"1.160.10.242", + "HostName":"Vfmodule-F5", + "Selected":false, + "PortNo":"8285", + "vnfType": "VimsClearwaterVsp..sproutScaling..module-1" + }, + { + "IpAddress":"1.160.10.243", + "HostName":"Vfmodule-F6", + "Selected":false, + "PortNo":"8286", + "vnfType": "VimsClearwaterVsp..sproutScaling..module-1" + } + ] +}
\ No newline at end of file diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllVersion.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllVersion.json new file mode 100644 index 00000000..7d0172e0 --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getAllVersion.json @@ -0,0 +1,133 @@ +{ + "versionlist":[ + { + "model":"CSR1000V", + "vendor":"CISCO", + "versionNo":"1.0", + "timestamp":"2017/09/01", + "router":{ + "ospf":{ + "process-id":"1", + "networks":{ + "subnet-ip":"10.10.1.0/24", + "area-id":"20" + } + }, + "bgp":{ + "as-number":"2000", + "router-id":"10.10.1.2", + "neighbors":{ + "as-number":"1000", + "peer-ip":"10.10.2.1" + } + }, + "ipsla":[ + { + "cos-entry-number":"40102", + "destination-address":"13.13.13.13", + "source-address":"10.10.1.1", + "customer-name":"Hello Inc" + }, + { + "cos-entry-number":"40103", + "destination-address":"10.11.12.12", + "source-address":"10.10.1.2", + "customer-name":"ABC Inc" + }, + { + "cos-entry-number":"40105", + "destination-address":"12.5.12.12", + "source-address":"10.10.1.3", + "customer-name":"test Inc" + } + ] + } + }, + { + "model":"CSR1000V", + "vendor":"CISCO", + "versionNo":"2.0", + "timestamp":"2017/10/01", + "router":{ + "ospf":{ + "process-id":"1", + "networks":{ + "subnet-ip":"10.10.1.0/25", + "area-id":"20" + } + }, + "bgp":{ + "as-number":"2000", + "router-id":"10.10.1.2", + "neighbors":{ + "as-number":"1000", + "peer-ip":"10.10.2.1" + } + }, + "ipsla":[ + { + "cos-entry-number":"40102", + "destination-address":"12.12.12.12", + "source-address":"10.10.1.1", + "customer-name":"Hello Inc" + }, + { + "cos-entry-number":"40103", + "destination-address":"10.11.12.12", + "source-address":"10.10.1.1", + "customer-name":"ABC Inc" + }, + { + "cos-entry-number":"40105", + "destination-address":"12.5.12.12", + "source-address":"10.10.1.2", + "customer-name":"test Inc" + } + ] + } + }, + { + "model":"CSR1000V", + "vendor":"CISCO", + "versionNo":"3.0", + "timestamp":"2017/10/01", + "router":{ + "ospf":{ + "process-id":"1", + "networks":{ + "subnet-ip":"10.10.1.0/25", + "area-id":"20" + } + }, + "bgp":{ + "as-number":"2000", + "router-id":"10.10.1.2", + "neighbors":{ + "as-number":"1000", + "peer-ip":"10.10.2.1" + } + }, + "ipsla":[ + { + "cos-entry-number":"40102", + "destination-address":"12.12.12.12", + "source-address":"10.10.1.1", + "customer-name":"Hello Inc" + }, + { + "cos-entry-number":"40103", + "destination-address":"10.11.12.12", + "source-address":"10.10.1.1", + "customer-name":"ABC Inc" + }, + { + "cos-entry-number":"40105", + "destination-address":"12.5.12.12", + "source-address":"10.10.1.2", + "customer-name":"test Inc" + } + ] + } + } + ] +}
\ No newline at end of file diff --git a/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getTestResult.json b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getTestResult.json new file mode 100644 index 00000000..581c8b08 --- /dev/null +++ b/configbackuprestore/vnfconfigbackupservice/src/main/webapp/static/sdnc-stubs/getTestResult.json @@ -0,0 +1,42 @@ + +{ + "preTestResponse":[ + { + "ipaddress":"1.160.10.240", + "status":"unreachable", + "testtype":"Network Layer", + "statistics":null, + "avgTime":null + }, + { + "ipaddress":"1.160.10.240", + "status":"unreachable", + "testtype":"Protocol Layer", + "statistics":null, + "avgTime":null + }, + { + "ipaddress":"1.160.10.240", + "status":"reachable", + "testtype":"Network Layer", + "statistics":"0% loss", + "avgTime":"Minimum = 70ms" + } + ], + "status":200, + "config":{ + "method":"GET", + "transformRequest":[ + null + ], + "transformResponse":[ + null + ], + "params":"", + "headers":{ + "Accept":"application/json" + }, + "url":"/findReportByDeviceName/Thu Mar 15 2018 00:00:00 GMT+0530 (India Standard Time)/Fri Mar 16 2018 00:00:00 GMT+0530 (India Standard Time)/Router" + }, + "statusText":"" +}
\ No newline at end of file |