Simon Hunt

CORD Subscriber GUI -- Added sample data formats from XOS API.

Change-Id: Ie4d54ba9085069a26f7fbd1c8eaffc5bad8a8ffb
1 +{
2 + "firewall": true,
3 + "cdn": true,
4 + "url_filter": true
5 +}
1 +{
2 + "users": [
3 + {
4 + "role": "admin",
5 + "name": "mom",
6 + "id": 1
7 + },
8 + {
9 + "role": "admin",
10 + "name": "dad",
11 + "id": 2
12 + },
13 + {
14 + "role": "user",
15 + "name": "kid1",
16 + "id": 3
17 + },
18 + {
19 + "role": "user",
20 + "name": "kid2",
21 + "id": 4
22 + }
23 + ]
24 +}
1 +{
2 + "humanReadableName": "vOLT on service 16",
3 + "id": 1,
4 + "service_specific_id": "",
5 + "vlan_id": null,
6 + "vcpe_id": 2,
7 + "sliver": 384,
8 + "sliver_name": "onlab_vcpe",
9 + "image": 29,
10 + "image_name": "Ubuntu 14.04 LTS",
11 + "firewall_enable": true,
12 + "firewall_rules": "accept all anywhere anywhere",
13 + "url_filter_enable": true,
14 + "url_filter_rules": "allow all",
15 + "url_filter_level": "PG",
16 + "cdn_enable": true,
17 + "vbng_id": 4,
18 + "routeable_subnet": "1.1.1.1/4"
19 +}
1 +{
2 + "subscribers": [
3 + {
4 + "humanReadableName": "vOLT on service 16",
5 + "id": 8,
6 + "service_specific_id": "9999",
7 + "vlan_id": 8888,
8 + "vcpe_id": 9,
9 + "sliver": 379,
10 + "sliver_name": "onlab_test405",
11 + "image": 29,
12 + "image_name": "Ubuntu 14.04 LTS",
13 + "firewall_enable": true,
14 + "firewall_rules": "accept tcp anywhere anywhere dpt 80\naccept tcp anywhere anywhere dpt 443\naccept tcp anywhere anywhere dpt 22",
15 + "url_filter_enable": true,
16 + "url_filter_rules": "allow all",
17 + "url_filter_level": "PG",
18 + "cdn_enable": false,
19 + "vbng_id": 10,
20 + "routeable_subnet": "placeholder-from-observer"
21 + },
22 + {
23 + "humanReadableName": "vOLT on service 16",
24 + "id": 1,
25 + "service_specific_id": "",
26 + "vlan_id": null,
27 + "vcpe_id": 2,
28 + "sliver": 384,
29 + "sliver_name": "onlab_vcpe",
30 + "image": 29,
31 + "image_name": "Ubuntu 14.04 LTS",
32 + "firewall_enable": true,
33 + "firewall_rules": "accept all anywhere anywhere",
34 + "url_filter_enable": true,
35 + "url_filter_rules": "allow all",
36 + "url_filter_level": "PG",
37 + "cdn_enable": true,
38 + "vbng_id": 4,
39 + "routeable_subnet": "1.1.1.1/4"
40 + }
41 + ]
42 +}