diff options
author | Ashlee Young <ashlee@onosfw.com> | 2015-09-09 22:15:21 -0700 |
---|---|---|
committer | Ashlee Young <ashlee@onosfw.com> | 2015-09-09 22:15:21 -0700 |
commit | 13d05bc8458758ee39cb829098241e89616717ee (patch) | |
tree | 22a4d1ce65f15952f07a3df5af4b462b4697cb3a /framework/src/onos/apps/demo/cord-gui/src/main/resources | |
parent | 6139282e1e93c2322076de4b91b1c85d0bc4a8b3 (diff) |
ONOS checkin based on commit tag e796610b1f721d02f9b0e213cf6f7790c10ecd60
Change-Id: Ife8810491034fe7becdba75dda20de4267bd15cd
Diffstat (limited to 'framework/src/onos/apps/demo/cord-gui/src/main/resources')
20 files changed, 443 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" + } + } + } + ] +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/sample.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/sample.json new file mode 100644 index 00000000..34ea2462 --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/sample.json @@ -0,0 +1,13 @@ +{ + "comment": [ + "This is a sample JSON File", + "Which can contain fake data." + ], + "fake": true, + "numbers": [ 1, 2, 3 ], + "map": { + "x": 100, + "y": 200, + "z": 32 + } +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services-cdn-clear.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services-cdn-clear.json new file mode 100644 index 00000000..2dc4da3c --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services-cdn-clear.json @@ -0,0 +1,3 @@ +{ + "cdn": false +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services-cdn-set.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services-cdn-set.json new file mode 100644 index 00000000..f61769fe --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services-cdn-set.json @@ -0,0 +1,3 @@ +{ + "cdn": true +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services.json new file mode 100644 index 00000000..8cbad370 --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-services.json @@ -0,0 +1,5 @@ +{ + "firewall": true, + "cdn": true, + "url_filter": true +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-url-filtering-pg.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-url-filtering-pg.json new file mode 100644 index 00000000..40125eaf --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-url-filtering-pg.json @@ -0,0 +1,3 @@ +{ + "level": "PG" +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-url-filtering-r.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-url-filtering-r.json new file mode 100644 index 00000000..63bc45cb --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-url-filtering-r.json @@ -0,0 +1,3 @@ +{ + "level": "R" +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-users.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-users.json new file mode 100644 index 00000000..93ea5b97 --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1-users.json @@ -0,0 +1,24 @@ +{ + "users": [ + { + "id": 1, + "name": "Mom's MacBook", + "mac": "01:02:03:04:05:06" + }, + { + "id": 2, + "name": "Dad's iPad", + "mac": "01:02:03:04:05:77" + }, + { + "id": 3, + "name": "Dick's laptop", + "mac": "01:02:03:04:05:88" + }, + { + "id": 4, + "name": "Jane's laptop", + "mac": "01:02:03:04:05:99" + } + ] +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1.json new file mode 100644 index 00000000..64a17ebf --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-1.json @@ -0,0 +1,19 @@ +{ + "humanReadableName": "vOLT on service 16", + "id": 1, + "service_specific_id": "", + "vlan_id": null, + "vcpe_id": 2, + "sliver": 384, + "sliver_name": "onlab_vcpe", + "image": 29, + "image_name": "Ubuntu 14.04 LTS", + "firewall_enable": true, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": true, + "url_filter_rules": "allow all", + "url_filter_level": "PG", + "cdn_enable": true, + "vbng_id": 4, + "routeable_subnet": "1.1.1.1/4" +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-services.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-services.json new file mode 100644 index 00000000..c528aeda --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-services.json @@ -0,0 +1,5 @@ +{ + "firewall": false, + "cdn": false, + "url_filter": false +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users-2-url_filtering-PG.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users-2-url_filtering-PG.json new file mode 100644 index 00000000..f9ea56da --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users-2-url_filtering-PG.json @@ -0,0 +1,4 @@ +{ + "id": "2", + "level": "PG" +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users-MOD.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users-MOD.json new file mode 100644 index 00000000..ae716bd7 --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users-MOD.json @@ -0,0 +1,25 @@ +{ + "users": [ + { + "mac": "010203040506", + "name": "Moms laptop", + "id": 0 + }, + { + "mac": "010203040507", + "name": "Dads desktop", + "id": 1 + }, + { + "id": 2, + "mac": "010203040507", + "name": "Jacks iPad", + "level": "PG" + }, + { + "mac": "010203040508", + "name": "Jills iPad", + "id": 3 + } + ] +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users.json new file mode 100644 index 00000000..692e1da5 --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92-users.json @@ -0,0 +1,24 @@ +{ + "users": [ + { + "mac": "010203040506", + "name": "Moms laptop", + "id": 0 + }, + { + "mac": "010203040507", + "name": "Dads desktop", + "id": 1 + }, + { + "mac": "010203040507", + "name": "Jacks iPad", + "id": 2 + }, + { + "mac": "010203040508", + "name": "Jills iPad", + "id": 3 + } + ] +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92.json new file mode 100644 index 00000000..ef880b3d --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber-92.json @@ -0,0 +1,23 @@ +{ + "humanReadableName": "vOLT on service 1", + "id": 92, + "service_specific_id": "33445573", + "vlan_id": "77889908", + "vcpe_id": 93, + "sliver": 108, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "R", + "cdn_enable": false, + "vbng_id": 94, + "routeable_subnet": "", + "nat_ip": "172.16.0.106", + "lan_ip": "12.0.0.16", + "wan_ip": "11.0.0.16", + "private_ip": "10.0.6.43" +} diff --git a/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber.json b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber.json new file mode 100644 index 00000000..a68196b2 --- /dev/null +++ b/framework/src/onos/apps/demo/cord-gui/src/main/resources/org/onosproject/cord/gui/xos/subscriber.json @@ -0,0 +1,142 @@ +{ + "subscribers": [ + { + "humanReadableName": "vOLT on service 1", + "id": 92, + "service_specific_id": "33445573", + "vlan_id": "77889908", + "vcpe_id": 93, + "sliver": 108, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "R", + "cdn_enable": false, + "vbng_id": 94, + "routeable_subnet": "", + "nat_ip": "172.16.0.106", + "lan_ip": "12.0.0.16", + "wan_ip": "11.0.0.16", + "private_ip": "10.0.6.43" + }, + { + "humanReadableName": "vOLT on service 1", + "id": 138, + "service_specific_id": "", + "vlan_id": "100", + "vcpe_id": 139, + "sliver": 106, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "PG", + "cdn_enable": false, + "vbng_id": 140, + "routeable_subnet": "", + "nat_ip": "172.16.0.104", + "lan_ip": "12.0.0.14", + "wan_ip": "11.0.0.14", + "private_ip": "10.0.6.41" + }, + { + "humanReadableName": "vOLT on service 1", + "id": 154, + "service_specific_id": "98765", + "vlan_id": "99", + "vcpe_id": 155, + "sliver": 117, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "PG", + "cdn_enable": false, + "vbng_id": 156, + "routeable_subnet": "", + "nat_ip": "172.16.0.114", + "lan_ip": "12.0.0.24", + "wan_ip": "11.0.0.24", + "private_ip": "10.0.6.48" + }, + { + "humanReadableName": "vOLT on service 1", + "id": 157, + "service_specific_id": "5678", + "vlan_id": "999", + "vcpe_id": 158, + "sliver": 118, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "PG", + "cdn_enable": false, + "vbng_id": 159, + "routeable_subnet": "", + "nat_ip": "172.16.0.119", + "lan_ip": "12.0.0.29", + "wan_ip": "11.0.0.29", + "private_ip": "10.0.6.53" + }, + { + "humanReadableName": "vOLT on service 1", + "id": 160, + "service_specific_id": "1", + "vlan_id": "100", + "vcpe_id": 161, + "sliver": 119, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "PG", + "cdn_enable": false, + "vbng_id": 162, + "routeable_subnet": "", + "nat_ip": "172.16.0.120", + "lan_ip": "12.0.0.30", + "wan_ip": "11.0.0.30", + "private_ip": "10.0.6.54" + }, + { + "humanReadableName": "vOLT on service 1", + "id": 163, + "service_specific_id": "101", + "vlan_id": "101", + "vcpe_id": 164, + "sliver": 120, + "sliver_name": "mysite_vcpe", + "image": 1, + "image_name": "Ubuntu-14.04-LTS", + "firewall_enable": false, + "firewall_rules": "accept all anywhere anywhere", + "url_filter_enable": false, + "url_filter_rules": "allow all", + "url_filter_level": "PG", + "cdn_enable": false, + "vbng_id": 165, + "routeable_subnet": "", + "nat_ip": "172.16.0.121", + "lan_ip": "12.0.0.31", + "wan_ip": "11.0.0.31", + "private_ip": "10.0.6.55" + } + ] +} |