Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
78ba1b0b
authored
Mar 01, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: Refreshed dump database for new devenv
parent
83d0a95b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
168 additions
and
126 deletions
+168
-126
miscellaneous/devenv/dev.json
+0
-35
miscellaneous/dump.json
+167
-90
miscellaneous/dump.sh
+1
-1
No files found.
miscellaneous/devenv/dev.json
View file @
78ba1b0b
...
...
@@ -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
}
}
]
miscellaneous/dump.json
View file @
78ba1b0b
...
...
@@ -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-0
2-12T20:38:33
Z"
,
"name"
:
"
Ubuntu 12.04 Min
"
,
"created_at"
:
"2013-0
3-01T17:03:01
Z"
,
"instance_limit"
:
10
,
"template"
:
1
0
,
"template"
:
1
1
,
"owner"
:
7
,
"per_user_limit"
:
1
,
"per_user_limit"
:
1
0
,
"type"
:
"LAB"
,
"description"
:
"
Ez j
\u
00f3 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
\u
00f3 cuccos"
"name"
:
"MinimalISO-Ubuntu"
}
},
{
"pk"
:
1
,
"pk"
:
3
,
"model"
:
"one.disk"
,
"fields"
:
{
"name"
:
"
Copy of ttylinux - kvm
"
"name"
:
"
ttylinux-iperf
"
}
},
{
"pk"
:
2
,
"model"
:
"one.
networ
k"
,
"pk"
:
6
,
"model"
:
"one.
dis
k"
,
"fields"
:
{
"name"
:
"VM-NET"
,
"nat"
:
true
,
"public"
:
false
"name"
:
"Ubuntu install"
}
},
{
"pk"
:
1
,
"pk"
:
3
,
"model"
:
"one.network"
,
"fields"
:
{
"name"
:
"
wifi
"
,
"nat"
:
tru
e
,
"name"
:
"
vm-net
"
,
"nat"
:
fals
e
,
"public"
:
false
}
},
...
...
@@ -646,97 +631,100 @@
}
},
{
"pk"
:
9
,
"pk"
:
11
,
"model"
:
"one.template"
,
"fields"
:
{
"name"
:
"Ubuntu 12.04
desktop
"
,
"created_at"
:
"2013-0
1-31T10:11:08
Z"
,
"description"
:
""
,
"system"
:
""
,
"access_type"
:
"
nx
"
,
"name"
:
"Ubuntu 12.04
Min
"
,
"created_at"
:
"2013-0
3-01T16:24:14
Z"
,
"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"
:
fals
e
,
"network"
:
2
"state"
:
"
READY
"
,
"owner"
:
7
,
"disk"
:
6
,
"public"
:
tru
e
,
"network"
:
3
}
},
{
"pk"
:
1
0
,
"model"
:
"one.
templat
e"
,
"pk"
:
1
,
"model"
:
"one.
instanc
e"
,
"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"
:
"1
0.9.1.14
"
,
"created_at"
:
"2013-0
2-10T21:31:53
Z"
,
"name"
:
"test
Ubuntu 12.04 Min (44
)"
,
"time_of_suspend"
:
"2013-03-01T21:28:39Z"
,
"ip"
:
"1
92.168.1.10
"
,
"created_at"
:
"2013-0
3-01T16:28:39
Z"
,
"share"
:
null
,
"waiting"
:
false
,
"firewall_host"
:
null
,
"firewall_host"
:
872
,
"active_since"
:
null
,
"state"
:
"DONE"
,
"template"
:
1
0
,
"template"
:
1
1
,
"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"
:
"1
0.9.1.15
"
,
"created_at"
:
"2013-0
2-11T13:06:54
Z"
,
"name"
:
"test
Ubuntu 12.04 Min (47
)"
,
"time_of_suspend"
:
"2013-03-01T21:44:30Z"
,
"ip"
:
"1
92.168.1.11
"
,
"created_at"
:
"2013-0
3-01T16:54:49
Z"
,
"share"
:
null
,
"waiting"
:
false
,
"firewall_host"
:
null
,
"active_since"
:
null
,
"active_since"
:
"2013-03-01T16:44:53Z"
,
"state"
:
"DONE"
,
"template"
:
1
0
,
"template"
:
1
1
,
"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-0
2-13T01:44:44
Z"
,
"ip"
:
"1
0.9.1.26
"
,
"created_at"
:
"2013-0
2-12T22:33:49
Z"
,
"name"
:
"test
Ubuntu 12.04 Min (48
)"
,
"time_of_suspend"
:
"2013-0
3-01T21:45:48
Z"
,
"ip"
:
"1
92.168.1.12
"
,
"created_at"
:
"2013-0
3-01T16:54:52
Z"
,
"share"
:
null
,
"waiting"
:
false
,
"firewall_host"
:
null
,
"active_since"
:
null
,
"active_since"
:
"2013-03-01T16:45:52Z"
,
"state"
:
"DONE"
,
"template"
:
1
0
,
"template"
:
1
1
,
"owner"
:
7
,
"time_of_delete"
:
"2013-0
2-27T20:44:44
Z"
,
"one_id"
:
67
,
"pw"
:
"
YjQxeHaNkh
"
"time_of_delete"
:
"2013-0
3-16T16:45:48
Z"
,
"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"
:
{
...
...
miscellaneous/dump.sh
View file @
78ba1b0b
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment