Exporting Tosca from UI
Change-Id: Ie7e58ac5bd51a56d028daa1c1e2577e7723a8297
diff --git a/views/ngXosViews/serviceGrid/mocks/data/flavors.json b/views/ngXosViews/serviceGrid/mocks/data/flavors.json
new file mode 100644
index 0000000..251ccb6
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/flavors.json
@@ -0,0 +1,216 @@
+[
+ {
+ "humanReadableName": "m1.large",
+ "validators": {
+ "default": [],
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "description": [],
+ "no_policy": [],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "flavor": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "order": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 3,
+ "created": "2016-06-20T21:33:32.126894Z",
+ "updated": "2016-06-20T21:33:36.066908Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": true,
+ "no_policy": false,
+ "name": "m1.large",
+ "description": null,
+ "flavor": "m1.large",
+ "order": 0,
+ "default": false,
+ "deployments": [
+ 1
+ ]
+ },
+ {
+ "humanReadableName": "m1.medium",
+ "validators": {
+ "default": [],
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "description": [],
+ "no_policy": [],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "flavor": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "order": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 2,
+ "created": "2016-06-20T21:33:32.035528Z",
+ "updated": "2016-06-20T21:33:36.089834Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": true,
+ "no_policy": false,
+ "name": "m1.medium",
+ "description": null,
+ "flavor": "m1.medium",
+ "order": 0,
+ "default": false,
+ "deployments": [
+ 1
+ ]
+ },
+ {
+ "humanReadableName": "m1.small",
+ "validators": {
+ "default": [],
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "description": [],
+ "no_policy": [],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "flavor": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "order": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:33:31.974383Z",
+ "updated": "2016-06-20T21:33:36.106941Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": true,
+ "no_policy": false,
+ "name": "m1.small",
+ "description": null,
+ "flavor": "m1.small",
+ "order": 0,
+ "default": false,
+ "deployments": [
+ 1
+ ]
+ },
+ {
+ "humanReadableName": "m1.xlarge",
+ "validators": {
+ "default": [],
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "description": [],
+ "no_policy": [],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "flavor": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "order": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 4,
+ "created": "2016-06-20T21:33:36.234266Z",
+ "updated": "2016-06-20T21:33:36.234121Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": true,
+ "no_policy": false,
+ "name": "m1.xlarge",
+ "description": null,
+ "flavor": "m1.xlarge",
+ "order": 0,
+ "default": false,
+ "deployments": []
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/images.json b/views/ngXosViews/serviceGrid/mocks/data/images.json
new file mode 100644
index 0000000..8a4fd83
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/images.json
@@ -0,0 +1,114 @@
+[
+ {
+ "humanReadableName": "trusty-server-multi-nic",
+ "validators": {
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "container_format": [
+ "notBlank"
+ ],
+ "no_policy": [],
+ "disk_format": [
+ "notBlank"
+ ],
+ "kind": [
+ "notBlank"
+ ],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "tag": [],
+ "path": [],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 2,
+ "created": "2016-06-20T21:29:37.969117Z",
+ "updated": "2016-06-20T21:29:37.968740Z",
+ "enacted": "2016-06-20T21:29:38.057186Z",
+ "policed": "2016-06-20T21:29:39.144781Z",
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466458178.081831, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "trusty-server-multi-nic",
+ "kind": "vm",
+ "disk_format": "raw",
+ "container_format": "bare",
+ "path": "/opt/xos/images/trusty-server-multi-nic.img",
+ "tag": null,
+ "deployments": []
+ },
+ {
+ "humanReadableName": "vsg-1.0",
+ "validators": {
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "container_format": [
+ "notBlank"
+ ],
+ "no_policy": [],
+ "disk_format": [
+ "notBlank"
+ ],
+ "kind": [
+ "notBlank"
+ ],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "tag": [],
+ "path": [],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:29:37.949039Z",
+ "updated": "2016-06-20T21:36:36.196635Z",
+ "enacted": "2016-06-20T21:36:56.463927Z",
+ "policed": "2016-06-20T21:36:37.125141Z",
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466458616.491853, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "vsg-1.0",
+ "kind": "vm",
+ "disk_format": "raw",
+ "container_format": "bare",
+ "path": "/opt/xos/images/vsg-1.0.img",
+ "tag": null,
+ "deployments": []
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/instances.json b/views/ngXosViews/serviceGrid/mocks/data/instances.json
new file mode 100644
index 0000000..68a9620
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/instances.json
@@ -0,0 +1,89 @@
+[
+ {
+ "humanReadableName": "mysite_vsg-1",
+ "validators": {
+ "policed": [],
+ "creator": [],
+ "ip": [],
+ "image": [
+ "notBlank"
+ ],
+ "backend_register": [
+ "notBlank"
+ ],
+ "flavor": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "instance_name": [],
+ "slice": [
+ "notBlank"
+ ],
+ "no_sync": [],
+ "node": [
+ "notBlank"
+ ],
+ "userData": [],
+ "updated": [
+ "notBlank"
+ ],
+ "parent": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "deployment": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "instance_uuid": [],
+ "numberCores": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "isolation": [
+ "notBlank"
+ ],
+ "no_policy": [],
+ "instance_id": [],
+ "volumes": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:36:36.599139Z",
+ "updated": "2016-06-20T21:36:38.654961Z",
+ "enacted": "2016-06-20T21:37:09.416303Z",
+ "policed": "2016-06-20T21:36:40.179041Z",
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466458656.696624, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "instance_id": "instance-00000001",
+ "instance_uuid": "6cdf8d0b-0468-4ce2-af07-b8d35e0e14cf",
+ "name": "mysite_vsg",
+ "instance_name": "mysite_vsg-1",
+ "ip": "192.168.122.140",
+ "image": 1,
+ "creator": 1,
+ "slice": 2,
+ "deployment": 1,
+ "node": 1,
+ "numberCores": 0,
+ "flavor": 1,
+ "userData": null,
+ "isolation": "vm",
+ "volumes": "/etc/dnsmasq.d,/etc/ufw",
+ "parent": null,
+ "networks": [
+ 1,
+ 2
+ ]
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/networks.json b/views/ngXosViews/serviceGrid/mocks/data/networks.json
new file mode 100644
index 0000000..e581298
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/networks.json
@@ -0,0 +1,166 @@
+[
+ {
+ "humanReadableName": "management",
+ "validators": {
+ "router_id": [],
+ "policed": [],
+ "labels": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "start_ip": [],
+ "owner": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "subnet": [],
+ "subnet_id": [],
+ "end_ip": [],
+ "template": [
+ "notBlank"
+ ],
+ "no_sync": [],
+ "permit_all_slices": [],
+ "updated": [
+ "notBlank"
+ ],
+ "controller_url": [],
+ "controller_parameters": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "guaranteed_bandwidth": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "autoconnect": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "network_id": [],
+ "topology_parameters": [],
+ "ports": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:36:32.006043Z",
+ "updated": "2016-06-20T21:36:32.039571Z",
+ "enacted": null,
+ "policed": "2016-06-20T21:36:32.389397Z",
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "management",
+ "template": 4,
+ "subnet": "172.27.0.0/24",
+ "ports": null,
+ "labels": null,
+ "owner": 1,
+ "guaranteed_bandwidth": 0,
+ "permit_all_slices": true,
+ "topology_parameters": null,
+ "controller_url": null,
+ "controller_parameters": null,
+ "network_id": null,
+ "router_id": null,
+ "subnet_id": null,
+ "autoconnect": false,
+ "slices": [
+ 2
+ ],
+ "instances": [
+ 1
+ ],
+ "routers": []
+ },
+ {
+ "humanReadableName": "mysite_vsg-access",
+ "validators": {
+ "router_id": [],
+ "policed": [],
+ "labels": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "start_ip": [],
+ "owner": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "subnet": [],
+ "subnet_id": [],
+ "end_ip": [],
+ "template": [
+ "notBlank"
+ ],
+ "no_sync": [],
+ "permit_all_slices": [],
+ "updated": [
+ "notBlank"
+ ],
+ "controller_url": [],
+ "controller_parameters": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "guaranteed_bandwidth": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "autoconnect": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "network_id": [],
+ "topology_parameters": [],
+ "ports": []
+ },
+ "id": 2,
+ "created": "2016-06-20T21:36:36.439706Z",
+ "updated": "2016-06-20T21:36:36.456977Z",
+ "enacted": null,
+ "policed": "2016-06-20T21:36:37.419444Z",
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "mysite_vsg-access",
+ "template": 2,
+ "subnet": "",
+ "ports": null,
+ "labels": null,
+ "owner": 2,
+ "guaranteed_bandwidth": 0,
+ "permit_all_slices": true,
+ "topology_parameters": null,
+ "controller_url": null,
+ "controller_parameters": null,
+ "network_id": null,
+ "router_id": null,
+ "subnet_id": null,
+ "autoconnect": false,
+ "slices": [
+ 2
+ ],
+ "instances": [
+ 1
+ ],
+ "routers": []
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/networktemplates.json b/views/ngXosViews/serviceGrid/mocks/data/networktemplates.json
new file mode 100644
index 0000000..c36a401
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/networktemplates.json
@@ -0,0 +1,262 @@
+[
+ {
+ "humanReadableName": "Public shared IPv4",
+ "validators": {
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "access": [],
+ "shared_network_name": [],
+ "controller_kind": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "visibility": [
+ "notBlank"
+ ],
+ "lazy_blocked": [],
+ "guaranteed_bandwidth": [
+ "notBlank"
+ ],
+ "translation": [
+ "notBlank"
+ ],
+ "topology_kind": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "no_sync": [],
+ "shared_network_id": []
+ },
+ "id": 1,
+ "created": "2016-06-23T20:14:16.126918Z",
+ "updated": "2016-06-23T20:14:16.126754Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "Public shared IPv4",
+ "description": null,
+ "guaranteed_bandwidth": 0,
+ "visibility": "private",
+ "translation": "NAT",
+ "access": null,
+ "shared_network_name": "nat-net",
+ "shared_network_id": null,
+ "topology_kind": "bigswitch",
+ "controller_kind": null
+ },
+ {
+ "humanReadableName": "Public dedicated IPv4",
+ "validators": {
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "access": [],
+ "shared_network_name": [],
+ "controller_kind": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "visibility": [
+ "notBlank"
+ ],
+ "lazy_blocked": [],
+ "guaranteed_bandwidth": [
+ "notBlank"
+ ],
+ "translation": [
+ "notBlank"
+ ],
+ "topology_kind": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "no_sync": [],
+ "shared_network_id": []
+ },
+ "id": 3,
+ "created": "2016-06-23T20:14:16.202765Z",
+ "updated": "2016-06-23T20:14:16.202562Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "Public dedicated IPv4",
+ "description": null,
+ "guaranteed_bandwidth": 0,
+ "visibility": "public",
+ "translation": "none",
+ "access": null,
+ "shared_network_name": "ext-net",
+ "shared_network_id": null,
+ "topology_kind": "bigswitch",
+ "controller_kind": null
+ },
+ {
+ "humanReadableName": "management_template",
+ "validators": {
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "access": [],
+ "shared_network_name": [],
+ "controller_kind": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "visibility": [
+ "notBlank"
+ ],
+ "lazy_blocked": [],
+ "guaranteed_bandwidth": [
+ "notBlank"
+ ],
+ "translation": [
+ "notBlank"
+ ],
+ "topology_kind": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "no_sync": [],
+ "shared_network_id": []
+ },
+ "id": 4,
+ "created": "2016-06-23T20:18:19.778090Z",
+ "updated": "2016-06-23T20:18:19.777887Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "management_template",
+ "description": null,
+ "guaranteed_bandwidth": 0,
+ "visibility": "private",
+ "translation": "none",
+ "access": null,
+ "shared_network_name": null,
+ "shared_network_id": null,
+ "topology_kind": "bigswitch",
+ "controller_kind": null
+ },
+ {
+ "humanReadableName": "Private",
+ "validators": {
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "access": [],
+ "shared_network_name": [],
+ "controller_kind": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "visibility": [
+ "notBlank"
+ ],
+ "lazy_blocked": [],
+ "guaranteed_bandwidth": [
+ "notBlank"
+ ],
+ "translation": [
+ "notBlank"
+ ],
+ "topology_kind": [
+ "notBlank"
+ ],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "no_sync": [],
+ "shared_network_id": []
+ },
+ "id": 2,
+ "created": "2016-06-23T20:14:16.178408Z",
+ "updated": "2016-06-23T20:18:24.072523Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "Private",
+ "description": null,
+ "guaranteed_bandwidth": 0,
+ "visibility": "private",
+ "translation": "none",
+ "access": null,
+ "shared_network_name": null,
+ "shared_network_id": null,
+ "topology_kind": "bigswitch",
+ "controller_kind": null
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/node.json b/views/ngXosViews/serviceGrid/mocks/data/node.json
new file mode 100644
index 0000000..b92923f
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/node.json
@@ -0,0 +1,48 @@
+[
+ {
+ "humanReadableName": "nova-compute-1",
+ "validators": {
+ "updated": [
+ "notBlank"
+ ],
+ "policed": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "deleted": [],
+ "no_policy": [],
+ "site": [],
+ "lazy_blocked": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "write_protect": [],
+ "site_deployment": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_sync": [],
+ "enacted": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:33:43.532833Z",
+ "updated": "2016-06-20T21:37:46.435545Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": true,
+ "no_policy": false,
+ "name": "nova-compute-1",
+ "site_deployment": 1,
+ "site": 1,
+ "nodelabels": []
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/services.json b/views/ngXosViews/serviceGrid/mocks/data/services.json
new file mode 100644
index 0000000..f961a3c
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/services.json
@@ -0,0 +1,514 @@
+[
+ {
+ "humanReadableName": "fabric",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 3,
+ "created": "2016-06-20T21:35:56.788935Z",
+ "updated": "2016-06-20T21:35:56.788499Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "fabric",
+ "name": "fabric",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/fabric/fabricservice/$id$/",
+ "icon_url": null,
+ "public_key": null,
+ "private_key_fn": null,
+ "service_specific_id": null,
+ "service_specific_attribute": null
+ },
+ {
+ "humanReadableName": "ONOS_Fabric",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 4,
+ "created": "2016-06-20T21:35:56.810806Z",
+ "updated": "2016-06-20T21:35:56.810649Z",
+ "enacted": "2016-06-20T21:36:04.658726Z",
+ "policed": null,
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466458564.69207, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "onos",
+ "name": "ONOS_Fabric",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/onos/onosservice/$id$/",
+ "icon_url": null,
+ "public_key": null,
+ "private_key_fn": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"no_container\": true, \"rest_hostname\": \"onos-fabric\"}"
+ },
+ {
+ "humanReadableName": "vrouter",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 5,
+ "created": "2016-06-20T21:36:36.240269Z",
+ "updated": "2016-06-20T21:36:36.240062Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "vROUTER",
+ "name": "vrouter",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/vrouter/vrouterservice/$id$/",
+ "icon_url": null,
+ "public_key": null,
+ "private_key_fn": null,
+ "service_specific_id": null,
+ "service_specific_attribute": null
+ },
+ {
+ "humanReadableName": "vsg",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 6,
+ "created": "2016-06-20T21:36:36.262734Z",
+ "updated": "2016-06-20T21:36:36.262503Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "vCPE",
+ "name": "vsg",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/cord/vsgservice/$id$/",
+ "icon_url": null,
+ "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCl1k9r1G491+ClISp6JOKlNmgBSV5YAvw2Ulh5Mj7XUgLatjHIBID2Ue54kAbCP48LVIAhqVFClPC7PtfVQY9+3mKi+LUJCgkkjR+6IlK/8eVzr1i3BvhLbtifrhKCvdL+d/5Tzxl8C8qCWfnJhVTqGRmVGBDFf4SukCjxF5CMG1naSlkgrINlMNc34IfQ2UAxRSscsEaMiijDQFBwGhJLQzef0r9vfIycnv3Ua/xQ5Pjqtcy/Go6K849wsNNUQ4yMgaUWZ8tmwFuqu4nFC2lI/H8EZN4NBejjMnJs3F6IMb0xe45/r7TXvWEpZ1c/nNwrvOPi/U44VkwMgp/EcRgV smbaker@node.smbaker-xos-test.xos-pg0.wisc.cloudlab.us\n",
+ "private_key_fn": "/opt/xos/services/vsg/keys/vsg_rsa",
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"backend_network_label\": \"hpc_client\"}"
+ },
+ {
+ "humanReadableName": "volt",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 7,
+ "created": "2016-06-20T21:36:36.468811Z",
+ "updated": "2016-06-20T21:36:36.468645Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "vOLT",
+ "name": "volt",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/cord/voltservice/$id$/",
+ "icon_url": null,
+ "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCl1k9r1G491+ClISp6JOKlNmgBSV5YAvw2Ulh5Mj7XUgLatjHIBID2Ue54kAbCP48LVIAhqVFClPC7PtfVQY9+3mKi+LUJCgkkjR+6IlK/8eVzr1i3BvhLbtifrhKCvdL+d/5Tzxl8C8qCWfnJhVTqGRmVGBDFf4SukCjxF5CMG1naSlkgrINlMNc34IfQ2UAxRSscsEaMiijDQFBwGhJLQzef0r9vfIycnv3Ua/xQ5Pjqtcy/Go6K849wsNNUQ4yMgaUWZ8tmwFuqu4nFC2lI/H8EZN4NBejjMnJs3F6IMb0xe45/r7TXvWEpZ1c/nNwrvOPi/U44VkwMgp/EcRgV smbaker@node.smbaker-xos-test.xos-pg0.wisc.cloudlab.us\n",
+ "private_key_fn": "/opt/xos/services/volt/keys/volt_rsa",
+ "service_specific_id": null,
+ "service_specific_attribute": null
+ },
+ {
+ "humanReadableName": "vtr",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 8,
+ "created": "2016-06-20T21:36:37.129713Z",
+ "updated": "2016-06-20T21:36:37.129433Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "vTR",
+ "name": "vtr",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/vtr/vtrservice/$id$/",
+ "icon_url": null,
+ "public_key": null,
+ "private_key_fn": null,
+ "service_specific_id": null,
+ "service_specific_attribute": null
+ },
+ {
+ "humanReadableName": "vtn",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 2,
+ "created": "2016-06-20T21:35:51.964599Z",
+ "updated": "2016-06-20T21:37:46.469766Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "VTN",
+ "name": "vtn",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/vtn/vtnservice/$id$/",
+ "icon_url": null,
+ "public_key": null,
+ "private_key_fn": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"sshUser\": \"root\", \"xosEndpoint\": \"http://xos/\", \"xosPassword\": \"letmein\", \"sshKeyFile\": \"/root/node_key\", \"xosUser\": \"padmin@vicci.org\", \"ovsdbPort\": \"6641\", \"sshPort\": \"22\", \"localManagementIp\": \"172.27.0.1/24\", \"privateGatewayMac\": \"00:00:00:00:00:01\"}"
+ },
+ {
+ "humanReadableName": "ONOS_CORD",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "view_url": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "private_key_fn": [],
+ "icon_url": [],
+ "no_sync": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "lazy_blocked": [],
+ "versionNumber": [],
+ "service_specific_id": [],
+ "enacted": [],
+ "public_key": [],
+ "kind": [
+ "notBlank"
+ ],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "controller": [],
+ "published": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:35:51.892027Z",
+ "updated": "2016-06-20T21:37:46.417265Z",
+ "enacted": "2016-06-20T21:37:54.037851Z",
+ "policed": null,
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466458674.061194, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "description": null,
+ "enabled": true,
+ "kind": "onos",
+ "name": "ONOS_CORD",
+ "versionNumber": null,
+ "published": true,
+ "view_url": "/admin/onos/onosservice/$id$/",
+ "icon_url": null,
+ "public_key": null,
+ "private_key_fn": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"no_container\": true, \"rest_hostname\": \"onos-cord\"}"
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/sites.json b/views/ngXosViews/serviceGrid/mocks/data/sites.json
new file mode 100644
index 0000000..bd0ba95
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/sites.json
@@ -0,0 +1,72 @@
+[
+ {
+ "humanReadableName": "mysite",
+ "validators": {
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "site_url": [
+ "url"
+ ],
+ "location": [
+ "notBlank"
+ ],
+ "hosts_nodes": [],
+ "no_sync": [],
+ "abbreviated_name": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "latitude": [],
+ "is_public": [],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "longitude": [],
+ "hosts_users": [],
+ "login_base": [
+ "notBlank"
+ ]
+ },
+ "id": 1,
+ "created": "2016-06-20T21:33:36.116579Z",
+ "updated": "2016-06-20T21:36:36.210629Z",
+ "enacted": null,
+ "policed": "2016-06-20T21:36:37.091400Z",
+ "backend_register": "{}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "mysite",
+ "site_url": "http://xosproject.org/",
+ "enabled": true,
+ "hosts_nodes": true,
+ "hosts_users": true,
+ "location": null,
+ "longitude": null,
+ "latitude": null,
+ "login_base": "mysite",
+ "is_public": true,
+ "abbreviated_name": "",
+ "deployments": [
+ 1
+ ]
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/slices.json b/views/ngXosViews/serviceGrid/mocks/data/slices.json
new file mode 100644
index 0000000..2f4d00c
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/slices.json
@@ -0,0 +1,163 @@
+[
+ {
+ "humanReadableName": "mysite_management",
+ "validators": {
+ "default_flavor": [],
+ "policed": [],
+ "creator": [],
+ "site": [
+ "notBlank"
+ ],
+ "max_instances": [
+ "notBlank"
+ ],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "network": [],
+ "service": [],
+ "default_isolation": [
+ "notBlank"
+ ],
+ "no_sync": [],
+ "exposed_ports": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "slice_url": [
+ "url"
+ ],
+ "serviceClass": [],
+ "lazy_blocked": [],
+ "omf_friendly": [],
+ "mount_data_sets": [],
+ "default_node": [],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "default_image": []
+ },
+ "id": 1,
+ "created": "2016-06-20T21:36:31.979507Z",
+ "updated": "2016-06-20T21:36:38.635976Z",
+ "enacted": null,
+ "policed": "2016-06-20T21:36:38.787528Z",
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "mysite_management",
+ "enabled": true,
+ "omf_friendly": false,
+ "description": "",
+ "slice_url": "",
+ "site": 1,
+ "max_instances": 10,
+ "service": null,
+ "network": "noauto",
+ "exposed_ports": null,
+ "serviceClass": null,
+ "creator": 1,
+ "default_flavor": null,
+ "default_image": null,
+ "mount_data_sets": "GenBank",
+ "default_isolation": "vm",
+ "networks": []
+ },
+ {
+ "humanReadableName": "mysite_vsg",
+ "validators": {
+ "default_flavor": [],
+ "policed": [],
+ "creator": [],
+ "site": [
+ "notBlank"
+ ],
+ "max_instances": [
+ "notBlank"
+ ],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "network": [],
+ "service": [],
+ "default_isolation": [
+ "notBlank"
+ ],
+ "no_sync": [],
+ "exposed_ports": [],
+ "updated": [
+ "notBlank"
+ ],
+ "description": [],
+ "deleted": [],
+ "slice_url": [
+ "url"
+ ],
+ "serviceClass": [],
+ "lazy_blocked": [],
+ "omf_friendly": [],
+ "mount_data_sets": [],
+ "default_node": [],
+ "enacted": [],
+ "name": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "no_policy": [],
+ "enabled": [],
+ "default_image": []
+ },
+ "id": 2,
+ "created": "2016-06-20T21:36:36.290539Z",
+ "updated": "2016-06-20T21:36:38.625760Z",
+ "enacted": null,
+ "policed": "2016-06-20T21:36:40.119502Z",
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "name": "mysite_vsg",
+ "enabled": true,
+ "omf_friendly": false,
+ "description": "",
+ "slice_url": "",
+ "site": 1,
+ "max_instances": 10,
+ "service": 6,
+ "network": "noauto",
+ "exposed_ports": null,
+ "serviceClass": null,
+ "creator": 1,
+ "default_flavor": null,
+ "default_image": 1,
+ "mount_data_sets": "GenBank",
+ "default_isolation": "vm",
+ "networks": [
+ 2,
+ 1
+ ]
+ }
+]
\ No newline at end of file
diff --git a/views/ngXosViews/serviceGrid/mocks/data/tenants.json b/views/ngXosViews/serviceGrid/mocks/data/tenants.json
new file mode 100644
index 0000000..2739c9a
--- /dev/null
+++ b/views/ngXosViews/serviceGrid/mocks/data/tenants.json
@@ -0,0 +1,612 @@
+[
+ {
+ "humanReadableName": "coarse-tenant-3",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 3,
+ "created": "2016-06-20T21:36:36.274049Z",
+ "updated": "2016-06-20T21:36:36.273883Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "coarse",
+ "provider_service": 5,
+ "subscriber_service": 6,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": null,
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "coarse-tenant-4",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 4,
+ "created": "2016-06-20T21:36:36.477159Z",
+ "updated": "2016-06-20T21:36:36.477018Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "coarse",
+ "provider_service": 6,
+ "subscriber_service": 7,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": null,
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "vOLT-tenant-6",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 6,
+ "created": "2016-06-20T21:36:36.533209Z",
+ "updated": "2016-06-20T21:36:36.533060Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{}",
+ "backend_status": "0 - Provisioning in progress",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "vOLT",
+ "provider_service": 7,
+ "subscriber_service": null,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": 1,
+ "subscriber_network": null,
+ "service_specific_id": "123",
+ "service_specific_attribute": null,
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "vCPE-tenant-7",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 7,
+ "created": "2016-06-20T21:36:36.556180Z",
+ "updated": "2016-06-20T21:36:37.277167Z",
+ "enacted": "2016-06-20T21:43:30.075930Z",
+ "policed": null,
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466459040.216983, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "vCPE",
+ "provider_service": 6,
+ "subscriber_service": null,
+ "subscriber_tenant": 6,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"instance_id\": 1, \"creator_id\": 1, \"last_ansible_hash\": \"30d35de441b1e87e7e6a4fc79834ac56\"}",
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "vROUTER-tenant-9",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 9,
+ "created": "2016-06-20T21:36:36.677067Z",
+ "updated": "2016-06-20T21:36:36.677678Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{\"next_run\": 1466494205.83568, \"last_failure\": 1466465405.835683, \"last_success\": 1466458621.14023, \"exponent\": 209, \"failures\": 209}",
+ "backend_status": "2 - Exception('Expecting object: line 1 column 1 (char 0) // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/network/configuration/hosts',)",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "vROUTER",
+ "provider_service": 5,
+ "subscriber_service": null,
+ "subscriber_tenant": 7,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"public_ip\": \"10.168.0.3\", \"address_pool_id\": 2, \"public_mac\": \"02:42:0a:a8:00:03\"}",
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "vROUTER-tenant-8",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 8,
+ "created": "2016-06-20T21:36:36.664628Z",
+ "updated": "2016-06-20T21:36:36.665255Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{\"next_run\": 1466494206.981866, \"last_failure\": 1466465406.981868, \"last_success\": 1466458619.671976, \"exponent\": 209, \"failures\": 209}",
+ "backend_status": "2 - Exception('Expecting object: line 1 column 1 (char 0) // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/network/configuration/hosts',)",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "vROUTER",
+ "provider_service": 5,
+ "subscriber_service": 6,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"public_ip\": \"10.168.0.2\", \"tenant_for_instance_id\": 1, \"address_pool_id\": 2, \"public_mac\": \"02:42:0a:a8:00:02\"}",
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "onos-tenant-1",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 1,
+ "created": "2016-06-20T21:35:52.080746Z",
+ "updated": "2016-06-20T21:37:46.517157Z",
+ "enacted": "2016-06-20T21:37:55.377495Z",
+ "policed": null,
+ "backend_register": "{\"next_run\": 0, \"last_success\": 1466458677.529692, \"exponent\": 0}",
+ "backend_status": "1 - OK",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "onos",
+ "provider_service": 1,
+ "subscriber_service": 2,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"creator_id\": 1, \"dependencies\": \"org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp, org.onosproject.cordvtn, org.onosproject.olt, org.onosproject.igmp, org.onosproject.cordmcast\", \"name\": \"VTN_ONOS_app\"}",
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "onos-tenant-5",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 5,
+ "created": "2016-06-20T21:36:36.499094Z",
+ "updated": "2016-06-20T21:36:36.498928Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{\"next_run\": 1466494235.874574, \"failures\": 732, \"last_success\": 1466458599.686363, \"exponent\": 732, \"last_failure\": 1466465435.874577}",
+ "backend_status": "2 - Exception('Ansible playbook failed. // Status code was not [200] // Status code was not [200]',)",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "onos",
+ "provider_service": 1,
+ "subscriber_service": 7,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"creator_id\": 1, \"dependencies\": \"org.onosproject.openflow-base, org.onosproject.olt, org.ciena.onos.ext_notifier, org.ciena.onos.volt_event_publisher\", \"name\": \"vOLT_ONOS_app\", \"install_dependencies\": \"onos-ext-notifier-1.0-SNAPSHOT.oar, onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar\"}",
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "onos-tenant-10",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 10,
+ "created": "2016-06-20T21:36:37.094935Z",
+ "updated": "2016-06-20T21:36:37.094764Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{\"next_run\": 1466494237.018397, \"failures\": 732, \"last_success\": 1466458602.833531, \"exponent\": 732, \"last_failure\": 1466465437.0184}",
+ "backend_status": "2 - Exception('Ansible playbook failed. // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.vrouter/active',)",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "onos",
+ "provider_service": 4,
+ "subscriber_service": 5,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"creator_id\": 1, \"dependencies\": \"org.onosproject.vrouter\", \"name\": \"vRouter_ONOS_app\"}",
+ "connect_method": "na"
+ },
+ {
+ "humanReadableName": "onos-tenant-2",
+ "validators": {
+ "service_specific_attribute": [],
+ "policed": [],
+ "backend_register": [
+ "notBlank"
+ ],
+ "backend_status": [
+ "notBlank"
+ ],
+ "id": [],
+ "no_policy": [],
+ "subscriber_service": [],
+ "subscriber_tenant": [],
+ "no_sync": [],
+ "connect_method": [
+ "notBlank"
+ ],
+ "updated": [
+ "notBlank"
+ ],
+ "deleted": [],
+ "lazy_blocked": [],
+ "service_specific_id": [],
+ "subscriber_root": [],
+ "subscriber_user": [],
+ "enacted": [],
+ "kind": [
+ "notBlank"
+ ],
+ "created": [],
+ "write_protect": [],
+ "subscriber_network": [],
+ "provider_service": [
+ "notBlank"
+ ]
+ },
+ "id": 2,
+ "created": "2016-06-20T21:35:56.835440Z",
+ "updated": "2016-06-20T21:35:56.835274Z",
+ "enacted": null,
+ "policed": null,
+ "backend_register": "{\"next_run\": 1466494229.282132, \"failures\": 736, \"last_success\": 1466458566.347982, \"exponent\": 736, \"last_failure\": 1466465429.282135}",
+ "backend_status": "2 - Exception('Ansible playbook failed. // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.lldpprovider/active // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.hostprovider/active // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.openflow-base/active // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.openflow/active // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.drivers/active // Socket error: [Errno 111] Connection refused to http://onos-fabric:8181/onos/v1/applications/org.onosproject.segmentrouting/active',)",
+ "deleted": false,
+ "write_protect": false,
+ "lazy_blocked": false,
+ "no_sync": false,
+ "no_policy": false,
+ "kind": "onos",
+ "provider_service": 4,
+ "subscriber_service": 3,
+ "subscriber_tenant": null,
+ "subscriber_user": null,
+ "subscriber_root": null,
+ "subscriber_network": null,
+ "service_specific_id": null,
+ "service_specific_attribute": "{\"creator_id\": 1, \"dependencies\": \"org.onosproject.lldpprovider, org.onosproject.hostprovider, org.onosproject.openflow-base, org.onosproject.openflow, org.onosproject.drivers, org.onosproject.segmentrouting\", \"name\": \"Fabric_ONOS_app\"}",
+ "connect_method": "na"
+ }
+]
\ No newline at end of file