Commit 78ba1b0b by tarokkk

devenv: Refreshed dump database for new devenv

parent 83d0a95b
......@@ -16,40 +16,5 @@
"email": "",
"date_joined": "2013-01-16T12:36:01Z"
}
},
{
"pk": 9,
"model": "one.template",
"fields": {
"name": "Ubuntu 12.04 desktop",
"created_at": "2013-01-31T10:11:08Z",
"access_type": "nx",
"instance_type": 3,
"owner": 1,
"disk": 1,
"network": 2
}
},
{
"pk": 10,
"model": "one.template",
"fields": {
"name": "Windows 7",
"created_at": "2013-01-31T10:11:21Z",
"access_type": "rdp",
"instance_type": 2,
"owner": 1,
"disk": 1,
"network": 2
}
},
{
"pk": 2,
"model": "one.network",
"fields": {
"name": "VM-NET",
"nat": true,
"public": false
}
}
]
......@@ -138,18 +138,13 @@
"model": "auth.user",
"fields": {
"username": "test",
"first_name": "teszt",
"last_name": "elek",
"first_name": "",
"last_name": "",
"is_active": true,
"is_superuser": true,
"is_staff": true,
"last_login": "2013-02-25T18:32:39Z",
"groups": [
3,
4,
1,
2
],
"last_login": "2013-01-30T23:33:32Z",
"groups": [],
"user_permissions": [],
"email": "",
"date_joined": "2013-01-16T12:36:01Z"
......@@ -561,57 +556,47 @@
}
},
{
"pk": 16,
"pk": 2,
"model": "one.share",
"fields": {
"group": 2,
"name": "Windows 7",
"created_at": "2013-02-12T20:38:33Z",
"name": "Ubuntu 12.04 Min",
"created_at": "2013-03-01T17:03:01Z",
"instance_limit": 10,
"template": 10,
"template": 11,
"owner": 7,
"per_user_limit": 1,
"per_user_limit": 10,
"type": "LAB",
"description": "Ez j\u00f3 cuccos"
"description": "This is the basic test image for the developer environment."
}
},
{
"pk": 17,
"model": "one.share",
"pk": 4,
"model": "one.disk",
"fields": {
"group": 2,
"name": "Windows 7",
"created_at": "2013-02-12T20:38:36Z",
"instance_limit": 10,
"template": 10,
"owner": 7,
"per_user_limit": 1,
"type": "LAB",
"description": "Ez j\u00f3 cuccos"
"name": "MinimalISO-Ubuntu"
}
},
{
"pk": 1,
"pk": 3,
"model": "one.disk",
"fields": {
"name": "Copy of ttylinux - kvm"
"name": "ttylinux-iperf"
}
},
{
"pk": 2,
"model": "one.network",
"pk": 6,
"model": "one.disk",
"fields": {
"name": "VM-NET",
"nat": true,
"public": false
"name": "Ubuntu install"
}
},
{
"pk": 1,
"pk": 3,
"model": "one.network",
"fields": {
"name": "wifi",
"nat": true,
"name": "vm-net",
"nat": false,
"public": false
}
},
......@@ -646,97 +631,100 @@
}
},
{
"pk": 9,
"pk": 11,
"model": "one.template",
"fields": {
"name": "Ubuntu 12.04 desktop",
"created_at": "2013-01-31T10:11:08Z",
"description": "",
"system": "",
"access_type": "nx",
"name": "Ubuntu 12.04 Min",
"created_at": "2013-03-01T16:24:14Z",
"description": "This is the basic test image for the developer environment.",
"system": "Ubuntu 12.04",
"access_type": "ssh",
"instance_type": 3,
"state": "NEW",
"owner": 1,
"disk": 1,
"public": false,
"network": 2
"state": "READY",
"owner": 7,
"disk": 6,
"public": true,
"network": 3
}
},
{
"pk": 10,
"model": "one.template",
"pk": 1,
"model": "one.instance",
"fields": {
"name": "Windows 7",
"created_at": "2013-01-31T10:11:21Z",
"description": "",
"system": "",
"access_type": "rdp",
"instance_type": 2,
"state": "NEW",
"owner": 1,
"disk": 1,
"public": false,
"network": 2
"name": "test Ubuntu 12.04 Min (43)",
"time_of_suspend": "2013-03-01T21:24:43Z",
"ip": "192.168.1.11",
"created_at": "2013-03-01T16:25:31Z",
"share": null,
"waiting": false,
"firewall_host": null,
"active_since": "2013-03-01T16:24:53Z",
"state": "DONE",
"template": 11,
"owner": 7,
"time_of_delete": "2013-03-16T16:24:43Z",
"one_id": 43,
"pw": "CbD7ExQZQz"
}
},
{
"pk": 307,
"pk": 2,
"model": "one.instance",
"fields": {
"name": "test Windows 7 (50)",
"time_of_suspend": null,
"ip": "10.9.1.14",
"created_at": "2013-02-10T21:31:53Z",
"name": "test Ubuntu 12.04 Min (44)",
"time_of_suspend": "2013-03-01T21:28:39Z",
"ip": "192.168.1.10",
"created_at": "2013-03-01T16:28:39Z",
"share": null,
"waiting": false,
"firewall_host": null,
"firewall_host": 872,
"active_since": null,
"state": "DONE",
"template": 10,
"template": 11,
"owner": 7,
"time_of_delete": null,
"one_id": 50,
"pw": "VqKJq3hFLV"
"time_of_delete": "2013-03-16T16:28:39Z",
"one_id": 44,
"pw": "b2GdusYand"
}
},
{
"pk": 312,
"pk": 5,
"model": "one.instance",
"fields": {
"name": "test Windows 7 (55)",
"time_of_suspend": null,
"ip": "10.9.1.15",
"created_at": "2013-02-11T13:06:54Z",
"name": "test Ubuntu 12.04 Min (47)",
"time_of_suspend": "2013-03-01T21:44:30Z",
"ip": "192.168.1.11",
"created_at": "2013-03-01T16:54:49Z",
"share": null,
"waiting": false,
"firewall_host": null,
"active_since": null,
"active_since": "2013-03-01T16:44:53Z",
"state": "DONE",
"template": 10,
"template": 11,
"owner": 7,
"time_of_delete": null,
"one_id": 55,
"pw": "2cDZdDjkP8"
"time_of_delete": "2013-03-16T16:44:30Z",
"one_id": 47,
"pw": "rpRaZwaQDD"
}
},
{
"pk": 324,
"pk": 6,
"model": "one.instance",
"fields": {
"name": "test Windows 7 (67)",
"time_of_suspend": "2013-02-13T01:44:44Z",
"ip": "10.9.1.26",
"created_at": "2013-02-12T22:33:49Z",
"name": "test Ubuntu 12.04 Min (48)",
"time_of_suspend": "2013-03-01T21:45:48Z",
"ip": "192.168.1.12",
"created_at": "2013-03-01T16:54:52Z",
"share": null,
"waiting": false,
"firewall_host": null,
"active_since": null,
"active_since": "2013-03-01T16:45:52Z",
"state": "DONE",
"template": 10,
"template": 11,
"owner": 7,
"time_of_delete": "2013-02-27T20:44:44Z",
"one_id": 67,
"pw": "YjQxeHaNkh"
"time_of_delete": "2013-03-16T16:45:48Z",
"one_id": 48,
"pw": "VuWps4bkuW"
}
},
{
......@@ -2019,6 +2007,31 @@
}
},
{
"pk": 1217,
"model": "firewall.rule",
"fields": {
"r_type": "host",
"direction": "1",
"vlan": null,
"description": "",
"proto": "tcp",
"firewall": null,
"created_at": "2013-03-01T16:28:39Z",
"extra": "",
"modified_at": "2013-03-01T16:28:39Z",
"owner": 7,
"accept": true,
"dport": 22,
"host": 872,
"nat_dport": null,
"hostgroup": null,
"nat": false,
"foreign_network": 2,
"sport": null,
"vlangroup": null
}
},
{
"pk": 1,
"model": "firewall.vlan",
"fields": {
......@@ -4486,6 +4499,29 @@
}
},
{
"pk": 872,
"model": "firewall.host",
"fields": {
"comment": "",
"vlan": 10,
"reverse": null,
"created_at": "2013-03-01T16:28:39Z",
"hostname": "cloud-2",
"modified_at": "2013-03-01T16:28:39Z",
"location": "",
"pub_ipv4": null,
"mac": "02:00:c0:a8:01:0a",
"shared_ip": false,
"ipv4": "192.168.1.10",
"groups": [
4
],
"ipv6": "2001:738:2001:4031:168:1:10:0",
"owner": 7,
"description": ""
}
},
{
"pk": 1,
"model": "firewall.firewall",
"fields": {
......@@ -5861,6 +5897,38 @@
}
},
{
"pk": 105,
"model": "firewall.record",
"fields": {
"domain": 8,
"name": null,
"created_at": "2013-03-01T16:28:39Z",
"address": null,
"modified_at": "2013-03-01T16:28:39Z",
"host": 872,
"ttl": 600,
"owner": 7,
"type": "A",
"description": ""
}
},
{
"pk": 106,
"model": "firewall.record",
"fields": {
"domain": 8,
"name": null,
"created_at": "2013-03-01T16:28:39Z",
"address": null,
"modified_at": "2013-03-01T16:28:39Z",
"host": 872,
"ttl": 600,
"owner": 7,
"type": "AAAA",
"description": ""
}
},
{
"pk": 1,
"model": "south.migrationhistory",
"fields": {
......@@ -6428,6 +6496,15 @@
}
},
{
"pk": 64,
"model": "south.migrationhistory",
"fields": {
"applied": "2013-03-01T16:20:57Z",
"app_name": "firewall",
"migration": "0031_auto__add_field_blacklist_snort_message__add_field_blacklist_type"
}
},
{
"pk": 7,
"model": "django.queue",
"fields": {
......
#!/bin/bash
/opt/webadmin/cloud/manage.py dumpdata -e admin -e one.userclouddetails -e school -e auth.permission -e contenttypes -e sessions -e djcelery --format=json --indent=2|grep -v '"password":'|sed -e 's/^.*"smb_password":.*$/"smb_password": "kamu",/' -e 's/BEGIN RSA PRIVATE.*END RSA/xxx/' >/opt/webadmin/cloud/miscellaneous/dump.json
/opt/webadmin/cloud/manage.py dumpdata -e admin -e one.userclouddetails -e auth.permission -e contenttypes -e sessions -e djcelery --format=json --indent=2|grep -v '"password":'|sed -e 's/^.*"smb_password":.*$/"smb_password": "kamu",/' -e 's/BEGIN RSA PRIVATE.*END RSA/xxx/' >/opt/webadmin/cloud/miscellaneous/dump.json
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment