Delete template files
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/commit/e03a7c45 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/tree/e03a7c45 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/diff/e03a7c45 Branch: refs/heads/master Commit: e03a7c45247edde8dbbcfabaf8fc766491728e6f Parents: a102a09 Author: BroganD1993 <darrenbro...@hotmail.com> Authored: Mon Jun 16 19:01:52 2014 +0100 Committer: BroganD1993 <darrenbro...@hotmail.com> Committed: Mon Jun 16 19:01:52 2014 +0100 ---------------------------------------------------------------------- gstack/templates/images.json | 14 -------------- gstack/templates/instances.json | 32 -------------------------------- gstack/templates/response.json | 5 ----- 3 files changed, 51 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/blob/e03a7c45/gstack/templates/images.json ---------------------------------------------------------------------- diff --git a/gstack/templates/images.json b/gstack/templates/images.json deleted file mode 100644 index 3baa8a9..0000000 --- a/gstack/templates/images.json +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "response.json" %}{% block response_content %} - "kind": "compute#imageList", - "items":[{% for image in response.template %} - { - "creationTimestamp":"{{image.created}}", - "description":"{{image.displaytext}}", - "id":"{{image.id}}", - "kind":"compute#image", - "name":"{{image.name}}", - "selfLink":"{{image.selflink}}", - "status":"{{image.isready}}" - }{% if loop.index < response.template|length %},{% endif %}{% endfor %} - ] -{% endblock %} http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/blob/e03a7c45/gstack/templates/instances.json ---------------------------------------------------------------------- diff --git a/gstack/templates/instances.json b/gstack/templates/instances.json deleted file mode 100644 index bd0c670..0000000 --- a/gstack/templates/instances.json +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "response.json" %}{% block response_content %} - "kind": "compute#instanceList", - "items":[{% for instance in response.virtualmachine %} - { - "creationTimestamp":"{{instance.created}}", - "description":"{{instance.name}}", - "id":"{{instance.id}}", - "status":"{{instance.state}}", - "image":"{{instance.templatename}}", - "machineType":"{{instance.serviceofferingname}}", - "kind":"compute#instance", - "name":"{{instance.name}}", - "selfLink":"instances/{{instance.name}}",, - "canIpForward":"true", - "networkInterfaces": [{% if 'securitygroup' in instance %} - "network":"{{instance.securitygroup.0.name}}", - {% if 'nic' in instance %} - "networkIP":"{{instance.nic.0.ipaddress}}", - "name":"{{instance.nic.0.id}}", - "natIP":"{{instance.nic.0.ipaddress}}", - {% endif %} - "accessConfigs":[ - "kind": "compute#accessConfig", - "type": "ONE_TO_ONE_NAT", - "name": "External NAT" - ]{% endif %} - ], - "disks": [], - "zone": "{{zone}}" - }{% if loop.index < response.virtualmachine|length %},{% endif %}{% endfor %} - ] -{% endblock %} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack-gcestack/blob/e03a7c45/gstack/templates/response.json ---------------------------------------------------------------------- diff --git a/gstack/templates/response.json b/gstack/templates/response.json deleted file mode 100644 index a32f929..0000000 --- a/gstack/templates/response.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - {% if not error %}"id":"{{request_id}}", - "selfLink":"{{selflink}}",{% block response_content %} - {% endblock %}{% endif %} -}