aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local')
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-0.json24
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-1.json33
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-0.json9
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-1.json9
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-0.json28
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-1.json44
6 files changed, 147 insertions, 0 deletions
diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-0.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-0.json
new file mode 100644
index 00000000..904ad618
--- /dev/null
+++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-0.json
@@ -0,0 +1,24 @@
+{
+ "bundle": {
+ "id": "basic",
+ "name": "Basic Bundle",
+ "functions": [
+ {
+ "id": "internet",
+ "name": "Internet",
+ "desc": "Basic internet connectivity.",
+ "params": {}
+ },
+ {
+ "id": "firewall",
+ "name": "Firewall",
+ "desc": "Normal firewall protection.",
+ "params": {}
+ }
+ ]
+ },
+ "bundles": [
+ { "id": "basic", "name": "Basic Bundle" },
+ { "id": "family", "name": "Family Bundle" }
+ ]
+}
diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-1.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-1.json
new file mode 100644
index 00000000..035f23fb
--- /dev/null
+++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/bundle-1.json
@@ -0,0 +1,33 @@
+{
+ "bundle": {
+ "id": "family",
+ "name": "Family Bundle",
+ "functions": [
+ {
+ "id": "internet",
+ "name": "Internet",
+ "desc": "Basic internet connectivity.",
+ "params": {}
+ },
+ {
+ "id": "firewall",
+ "name": "Firewall",
+ "desc": "Normal firewall protection.",
+ "params": {}
+ },
+ {
+ "id": "url_filter",
+ "name": "Parental Control",
+ "desc": "Variable levels of URL filtering.",
+ "params": {
+ "level": "PG",
+ "levels": [ "PG", "PG-13", "R" ]
+ }
+ }
+ ]
+ },
+ "bundles": [
+ { "id": "basic", "name": "Basic Bundle" },
+ { "id": "family", "name": "Family Bundle" }
+ ]
+}
diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-0.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-0.json
new file mode 100644
index 00000000..9be565f4
--- /dev/null
+++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-0.json
@@ -0,0 +1,9 @@
+{
+ "bundle": "Basic Bundle",
+ "users": [
+ { "id": 1, "name": "Mom's MacBook", "mac": "00:11:22:33:44:55" },
+ { "id": 1, "name": "Dad's iPad", "mac": "00:11:22:33:44:66" },
+ { "id": 1, "name": "Dick's laptop", "mac": "00:11:22:33:44:77" },
+ { "id": 1, "name": "Jane's laptop", "mac": "00:11:22:33:44:88" }
+ ]
+}
diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-1.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-1.json
new file mode 100644
index 00000000..eaf14ff2
--- /dev/null
+++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/dashboard-1.json
@@ -0,0 +1,9 @@
+{
+ "bundle": "Family Bundle",
+ "users": [
+ { "id": 1, "name": "Mom's MacBook", "mac": "00:11:22:33:44:55" },
+ { "id": 1, "name": "Dad's iPad", "mac": "00:11:22:33:44:66" },
+ { "id": 1, "name": "Dick's laptop", "mac": "00:11:22:33:44:77" },
+ { "id": 1, "name": "Jane's laptop", "mac": "00:11:22:33:44:88" }
+ ]
+}
diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-0.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-0.json
new file mode 100644
index 00000000..68b241c3
--- /dev/null
+++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-0.json
@@ -0,0 +1,28 @@
+{
+ "users": [
+ {
+ "id": 1,
+ "name": "Mom's MacBook",
+ "mac": "01:02:03:04:05:06",
+ "profile": { }
+ },
+ {
+ "id": 2,
+ "name": "Dad's iPad",
+ "mac": "01:02:03:04:05:77",
+ "profile": { }
+ },
+ {
+ "id": 3,
+ "name": "Dick's laptop",
+ "mac": "01:02:03:04:05:88",
+ "profile": { }
+ },
+ {
+ "id": 4,
+ "name": "Jane's laptop",
+ "mac": "01:02:03:04:05:99",
+ "profile": { }
+ }
+ ]
+}
diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-1.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-1.json
new file mode 100644
index 00000000..f33625ca
--- /dev/null
+++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/local/users-1.json
@@ -0,0 +1,44 @@
+{
+ "users": [
+ {
+ "id": 1,
+ "name": "Mom's MacBook",
+ "mac": "010203040506",
+ "profile": {
+ "url_filter": {
+ "level": "R"
+ }
+ }
+ },
+ {
+ "id": 2,
+ "name": "Dad's iPad",
+ "mac": "010203040507",
+ "profile": {
+ "url_filter": {
+ "level": "R"
+ }
+ }
+ },
+ {
+ "id": 3,
+ "name": "Dick's laptop",
+ "mac": "010203040508",
+ "profile": {
+ "url_filter": {
+ "level": "PG_13"
+ }
+ }
+ },
+ {
+ "id": 4,
+ "name": "Jane's laptop",
+ "mac": "010203040509",
+ "profile": {
+ "url_filter": {
+ "level": "PG"
+ }
+ }
+ }
+ ]
+}