Commit 78ba1b0b by tarokkk

devenv: Refreshed dump database for new devenv

parent 83d0a95b
...@@ -16,40 +16,5 @@ ...@@ -16,40 +16,5 @@
"email": "", "email": "",
"date_joined": "2013-01-16T12:36:01Z" "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 @@ ...@@ -138,18 +138,13 @@
"model": "auth.user", "model": "auth.user",
"fields": { "fields": {
"username": "test", "username": "test",
"first_name": "teszt", "first_name": "",
"last_name": "elek", "last_name": "",
"is_active": true, "is_active": true,
"is_superuser": true, "is_superuser": true,
"is_staff": true, "is_staff": true,
"last_login": "2013-02-25T18:32:39Z", "last_login": "2013-01-30T23:33:32Z",
"groups": [ "groups": [],
3,
4,
1,
2
],
"user_permissions": [], "user_permissions": [],
"email": "", "email": "",
"date_joined": "2013-01-16T12:36:01Z" "date_joined": "2013-01-16T12:36:01Z"
...@@ -561,57 +556,47 @@ ...@@ -561,57 +556,47 @@
} }
}, },
{ {
"pk": 16, "pk": 2,
"model": "one.share", "model": "one.share",
"fields": { "fields": {
"group": 2, "group": 2,
"name": "Windows 7", "name": "Ubuntu 12.04 Min",
"created_at": "2013-02-12T20:38:33Z", "created_at": "2013-03-01T17:03:01Z",
"instance_limit": 10, "instance_limit": 10,
"template": 10, "template": 11,
"owner": 7, "owner": 7,
"per_user_limit": 1, "per_user_limit": 10,
"type": "LAB", "type": "LAB",
"description": "Ez j\u00f3 cuccos" "description": "This is the basic test image for the developer environment."
} }
}, },
{ {
"pk": 17, "pk": 4,
"model": "one.share", "model": "one.disk",
"fields": { "fields": {
"group": 2, "name": "MinimalISO-Ubuntu"
"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"
} }
}, },
{ {
"pk": 1, "pk": 3,
"model": "one.disk", "model": "one.disk",
"fields": { "fields": {
"name": "Copy of ttylinux - kvm" "name": "ttylinux-iperf"
} }
}, },
{ {
"pk": 2, "pk": 6,
"model": "one.network", "model": "one.disk",
"fields": { "fields": {
"name": "VM-NET", "name": "Ubuntu install"
"nat": true,
"public": false
} }
}, },
{ {
"pk": 1, "pk": 3,
"model": "one.network", "model": "one.network",
"fields": { "fields": {
"name": "wifi", "name": "vm-net",
"nat": true, "nat": false,
"public": false "public": false
} }
}, },
...@@ -646,97 +631,100 @@ ...@@ -646,97 +631,100 @@
} }
}, },
{ {
"pk": 9, "pk": 11,
"model": "one.template", "model": "one.template",
"fields": { "fields": {
"name": "Ubuntu 12.04 desktop", "name": "Ubuntu 12.04 Min",
"created_at": "2013-01-31T10:11:08Z", "created_at": "2013-03-01T16:24:14Z",
"description": "", "description": "This is the basic test image for the developer environment.",
"system": "", "system": "Ubuntu 12.04",
"access_type": "nx", "access_type": "ssh",
"instance_type": 3, "instance_type": 3,
"state": "NEW", "state": "READY",
"owner": 1, "owner": 7,
"disk": 1, "disk": 6,
"public": false, "public": true,
"network": 2 "network": 3
} }
}, },
{ {
"pk": 10, "pk": 1,
"model": "one.template", "model": "one.instance",
"fields": { "fields": {
"name": "Windows 7", "name": "test Ubuntu 12.04 Min (43)",
"created_at": "2013-01-31T10:11:21Z", "time_of_suspend": "2013-03-01T21:24:43Z",
"description": "", "ip": "192.168.1.11",
"system": "", "created_at": "2013-03-01T16:25:31Z",
"access_type": "rdp", "share": null,
"instance_type": 2, "waiting": false,
"state": "NEW", "firewall_host": null,
"owner": 1, "active_since": "2013-03-01T16:24:53Z",
"disk": 1, "state": "DONE",
"public": false, "template": 11,
"network": 2 "owner": 7,
"time_of_delete": "2013-03-16T16:24:43Z",
"one_id": 43,
"pw": "CbD7ExQZQz"
} }
}, },
{ {
"pk": 307, "pk": 2,
"model": "one.instance", "model": "one.instance",
"fields": { "fields": {
"name": "test Windows 7 (50)", "name": "test Ubuntu 12.04 Min (44)",
"time_of_suspend": null, "time_of_suspend": "2013-03-01T21:28:39Z",
"ip": "10.9.1.14", "ip": "192.168.1.10",
"created_at": "2013-02-10T21:31:53Z", "created_at": "2013-03-01T16:28:39Z",
"share": null, "share": null,
"waiting": false, "waiting": false,
"firewall_host": null, "firewall_host": 872,
"active_since": null, "active_since": null,
"state": "DONE", "state": "DONE",
"template": 10, "template": 11,
"owner": 7, "owner": 7,
"time_of_delete": null, "time_of_delete": "2013-03-16T16:28:39Z",
"one_id": 50, "one_id": 44,
"pw": "VqKJq3hFLV" "pw": "b2GdusYand"
} }
}, },
{ {
"pk": 312, "pk": 5,
"model": "one.instance", "model": "one.instance",
"fields": { "fields": {
"name": "test Windows 7 (55)", "name": "test Ubuntu 12.04 Min (47)",
"time_of_suspend": null, "time_of_suspend": "2013-03-01T21:44:30Z",
"ip": "10.9.1.15", "ip": "192.168.1.11",
"created_at": "2013-02-11T13:06:54Z", "created_at": "2013-03-01T16:54:49Z",
"share": null, "share": null,
"waiting": false, "waiting": false,
"firewall_host": null, "firewall_host": null,
"active_since": null, "active_since": "2013-03-01T16:44:53Z",
"state": "DONE", "state": "DONE",
"template": 10, "template": 11,
"owner": 7, "owner": 7,
"time_of_delete": null, "time_of_delete": "2013-03-16T16:44:30Z",
"one_id": 55, "one_id": 47,
"pw": "2cDZdDjkP8" "pw": "rpRaZwaQDD"
} }
}, },
{ {
"pk": 324, "pk": 6,
"model": "one.instance", "model": "one.instance",
"fields": { "fields": {
"name": "test Windows 7 (67)", "name": "test Ubuntu 12.04 Min (48)",
"time_of_suspend": "2013-02-13T01:44:44Z", "time_of_suspend": "2013-03-01T21:45:48Z",
"ip": "10.9.1.26", "ip": "192.168.1.12",
"created_at": "2013-02-12T22:33:49Z", "created_at": "2013-03-01T16:54:52Z",
"share": null, "share": null,
"waiting": false, "waiting": false,
"firewall_host": null, "firewall_host": null,
"active_since": null, "active_since": "2013-03-01T16:45:52Z",
"state": "DONE", "state": "DONE",
"template": 10, "template": 11,
"owner": 7, "owner": 7,
"time_of_delete": "2013-02-27T20:44:44Z", "time_of_delete": "2013-03-16T16:45:48Z",
"one_id": 67, "one_id": 48,
"pw": "YjQxeHaNkh" "pw": "VuWps4bkuW"
} }
}, },
{ {
...@@ -2019,6 +2007,31 @@ ...@@ -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, "pk": 1,
"model": "firewall.vlan", "model": "firewall.vlan",
"fields": { "fields": {
...@@ -4486,6 +4499,29 @@ ...@@ -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, "pk": 1,
"model": "firewall.firewall", "model": "firewall.firewall",
"fields": { "fields": {
...@@ -5861,6 +5897,38 @@ ...@@ -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, "pk": 1,
"model": "south.migrationhistory", "model": "south.migrationhistory",
"fields": { "fields": {
...@@ -6428,6 +6496,15 @@ ...@@ -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, "pk": 7,
"model": "django.queue", "model": "django.queue",
"fields": { "fields": {
......
#!/bin/bash #!/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