Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
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 @@
...
@@ -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
}
}
}
]
]
miscellaneous/dump.json
View file @
78ba1b0b
...
@@ -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-0
2-12T20:38:33
Z"
,
"created_at"
:
"2013-0
3-01T17:03:01
Z"
,
"instance_limit"
:
10
,
"instance_limit"
:
10
,
"template"
:
1
0
,
"template"
:
1
1
,
"owner"
:
7
,
"owner"
:
7
,
"per_user_limit"
:
1
,
"per_user_limit"
:
1
0
,
"type"
:
"LAB"
,
"type"
:
"LAB"
,
"description"
:
"
Ez j
\u
00f3 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
\u
00f3 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.
networ
k"
,
"model"
:
"one.
dis
k"
,
"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"
:
tru
e
,
"nat"
:
fals
e
,
"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-0
1-31T10:11:08
Z"
,
"created_at"
:
"2013-0
3-01T16:24:14
Z"
,
"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"
:
fals
e
,
"public"
:
tru
e
,
"network"
:
2
"network"
:
3
}
}
},
},
{
{
"pk"
:
1
0
,
"pk"
:
1
,
"model"
:
"one.
templat
e"
,
"model"
:
"one.
instanc
e"
,
"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"
:
"1
0.9.1.14
"
,
"ip"
:
"1
92.168.1.10
"
,
"created_at"
:
"2013-0
2-10T21:31:53
Z"
,
"created_at"
:
"2013-0
3-01T16:28:39
Z"
,
"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"
:
1
0
,
"template"
:
1
1
,
"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"
:
"1
0.9.1.15
"
,
"ip"
:
"1
92.168.1.11
"
,
"created_at"
:
"2013-0
2-11T13:06:54
Z"
,
"created_at"
:
"2013-0
3-01T16:54:49
Z"
,
"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"
:
1
0
,
"template"
:
1
1
,
"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-0
2-13T01:44:44
Z"
,
"time_of_suspend"
:
"2013-0
3-01T21:45:48
Z"
,
"ip"
:
"1
0.9.1.26
"
,
"ip"
:
"1
92.168.1.12
"
,
"created_at"
:
"2013-0
2-12T22:33:49
Z"
,
"created_at"
:
"2013-0
3-01T16:54:52
Z"
,
"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"
:
1
0
,
"template"
:
1
1
,
"owner"
:
7
,
"owner"
:
7
,
"time_of_delete"
:
"2013-0
2-27T20:44:44
Z"
,
"time_of_delete"
:
"2013-0
3-16T16:45:48
Z"
,
"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"
:
{
...
...
miscellaneous/dump.sh
View file @
78ba1b0b
#!/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
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