aboutsummaryrefslogtreecommitdiffstats
path: root/SDNC-GUI-253/resources/static/sdnc-stubs
diff options
context:
space:
mode:
Diffstat (limited to 'SDNC-GUI-253/resources/static/sdnc-stubs')
-rw-r--r--SDNC-GUI-253/resources/static/sdnc-stubs/getAllDevices.json17
-rw-r--r--SDNC-GUI-253/resources/static/sdnc-stubs/getAllReports.json75
-rw-r--r--SDNC-GUI-253/resources/static/sdnc-stubs/getAllTest.json17
-rw-r--r--SDNC-GUI-253/resources/static/sdnc-stubs/getAllVNF.json29
-rw-r--r--SDNC-GUI-253/resources/static/sdnc-stubs/getTestResult.json42
5 files changed, 180 insertions, 0 deletions
diff --git a/SDNC-GUI-253/resources/static/sdnc-stubs/getAllDevices.json b/SDNC-GUI-253/resources/static/sdnc-stubs/getAllDevices.json
new file mode 100644
index 0000000..d7faef5
--- /dev/null
+++ b/SDNC-GUI-253/resources/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/SDNC-GUI-253/resources/static/sdnc-stubs/getAllReports.json b/SDNC-GUI-253/resources/static/sdnc-stubs/getAllReports.json
new file mode 100644
index 0000000..cd0723f
--- /dev/null
+++ b/SDNC-GUI-253/resources/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/SDNC-GUI-253/resources/static/sdnc-stubs/getAllTest.json b/SDNC-GUI-253/resources/static/sdnc-stubs/getAllTest.json
new file mode 100644
index 0000000..fc9b290
--- /dev/null
+++ b/SDNC-GUI-253/resources/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/SDNC-GUI-253/resources/static/sdnc-stubs/getAllVNF.json b/SDNC-GUI-253/resources/static/sdnc-stubs/getAllVNF.json
new file mode 100644
index 0000000..4ebf951
--- /dev/null
+++ b/SDNC-GUI-253/resources/static/sdnc-stubs/getAllVNF.json
@@ -0,0 +1,29 @@
+
+{
+ "vnfList":[
+ {
+ "IpAddress":"1.160.10.240",
+ "HostName":"Host1",
+ "Selected":false,
+ "PortNo":"8282"
+ },
+ {
+ "IpAddress":"1.160.10.241",
+ "HostName":"Host2",
+ "Selected":false,
+ "PortNo":"8080"
+ },
+ {
+ "IpAddress":"1.160.10.242",
+ "HostName":"Host3",
+ "Selected":false,
+ "PortNo":"8285"
+ },
+ {
+ "IpAddress":"1.160.10.243",
+ "HostName":"Host4",
+ "Selected":false,
+ "PortNo":"8286"
+ }
+ ]
+} \ No newline at end of file
diff --git a/SDNC-GUI-253/resources/static/sdnc-stubs/getTestResult.json b/SDNC-GUI-253/resources/static/sdnc-stubs/getTestResult.json
new file mode 100644
index 0000000..581c8b0
--- /dev/null
+++ b/SDNC-GUI-253/resources/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