~ubuntu-branches/ubuntu/wily/keystone/wily

« back to all changes in this revision

Viewing changes to keystone/tests/legacy_essex.sqlite

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, James Page, Adam Gandelman
  • Date: 2013-09-09 18:02:41 UTC
  • mfrom: (1.1.36)
  • Revision ID: package-import@ubuntu.com-20130909180241-5pizm6rcauhg4x93
Tags: 1:2013.2~b3-0ubuntu1
[ Chuck Short ]
* New upstream release. 
* debian/control: Add python-oslo.sphinx as a build dependency.
* debian/control: Add python-babel as a build dependency.
* debian/control: Add python-dogpile.cache as a build dependency.
* debian/control: Add python-oauth2 as a build dependency. 
* debian/patches/sql_connection.patch: Refreshed

[ James Page ]
* d/patches/fix-ubuntu-tests.patch: Fixup for new tests location.
* d/patches/ubuntu-test-overrides.patch: Override testing defaults
  using patches.
* d/rules: Rework for patching approach for test_overrides.conf.
* d/tests/test_overrides.conf: Dropped - no longer required.
* d/control: Add python-netaddr to BD's.

[ Adam Gandelman ]
* debian/control: Add python-testtools to Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
begin;
 
2
-- MySQL dump 10.13  Distrib 5.1.58, for debian-linux-gnu (x86_64)
 
3
--
 
4
-- Host: localhost    Database: keystone
 
5
-- ------------------------------------------------------
 
6
-- Server version       5.1.58-1ubuntu1
 
7
 
 
8
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
 
9
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
 
10
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
 
11
/*!40101 SET NAMES utf8 */;
 
12
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
 
13
/*!40103 SET TIME_ZONE='+00:00' */;
 
14
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
 
15
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
 
16
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
 
17
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
 
18
 
 
19
--
 
20
-- Table structure for table `credentials`
 
21
--
 
22
 
 
23
DROP TABLE IF EXISTS `credentials`;
 
24
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
25
/*!40101 SET character_set_client = utf8 */;
 
26
CREATE TABLE `credentials` (
 
27
  `user_id` integer   NULL,
 
28
  `tenant_id` integer   NULL,
 
29
  `secret` varchar(255)   NULL,
 
30
  `key` varchar(255)   NULL,
 
31
  `type` varchar(20)   NULL,
 
32
  `id` integer NOT NULL primary key autoincrement
 
33
)      ;
 
34
/*!40101 SET character_set_client = @saved_cs_client */;
 
35
 
 
36
--
 
37
-- Dumping data for table `credentials`
 
38
--
 
39
 
 
40
 
 
41
/*!40000 ALTER TABLE `credentials` DISABLE KEYS */;
 
42
/*!40000 ALTER TABLE `credentials` ENABLE KEYS */;
 
43
 
 
44
 
 
45
--
 
46
-- Table structure for table `endpoint_templates`
 
47
--
 
48
 
 
49
DROP TABLE IF EXISTS `endpoint_templates`;
 
50
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
51
/*!40101 SET character_set_client = utf8 */;
 
52
CREATE TABLE `endpoint_templates` (
 
53
  `is_global` integer   NULL,
 
54
  `region` varchar(255)   NULL,
 
55
  `public_url` varchar(2000)   NULL,
 
56
  `enabled` integer   NULL,
 
57
  `internal_url` varchar(2000)   NULL,
 
58
  `id` integer NOT NULL primary key autoincrement,
 
59
  `service_id` integer   NULL,
 
60
  `admin_url` varchar(2000)   NULL,
 
61
  `version_id` varchar(20)   NULL,
 
62
  `version_list` varchar(2000)   NULL,
 
63
  `version_info` varchar(500)   NULL
 
64
)        ;
 
65
/*!40101 SET character_set_client = @saved_cs_client */;
 
66
 
 
67
--
 
68
-- Dumping data for table `endpoint_templates`
 
69
--
 
70
 
 
71
 
 
72
/*!40000 ALTER TABLE `endpoint_templates` DISABLE KEYS */;
 
73
INSERT INTO `endpoint_templates` VALUES (1,'RegionOne','http://4.2.2.1:8774/v1.1/%tenant_id%',1,'http://4.2.2.1:8774/v1.1/%tenant_id%',1,1,'http://4.2.2.1:8774/v1.1/%tenant_id%',NULL,NULL,NULL);
 
74
INSERT INTO `endpoint_templates` VALUES (1,'RegionOne','http://4.2.2.1:8773/services/Cloud',1,'http://4.2.2.1:8773/services/Cloud',2,2,'http://4.2.2.1:8773/services/Admin',NULL,NULL,NULL);
 
75
INSERT INTO `endpoint_templates` VALUES (1,'RegionOne','http://4.2.2.1:9292/v1',1,'http://4.2.2.1:9292/v1',3,3,'http://4.2.2.1:9292/v1',NULL,NULL,NULL);
 
76
INSERT INTO `endpoint_templates` VALUES (1,'RegionOne','http://4.2.2.1:5000/v2.0',1,'http://4.2.2.1:5000/v2.0',4,4,'http://4.2.2.1:35357/v2.0',NULL,NULL,NULL);
 
77
INSERT INTO `endpoint_templates` VALUES (1,'RegionOne','http://4.2.2.1:8080/v1/AUTH_%tenant_id%',1,'http://4.2.2.1:8080/v1/AUTH_%tenant_id%',5,5,'http://4.2.2.1:8080/',NULL,NULL,NULL);
 
78
/*!40000 ALTER TABLE `endpoint_templates` ENABLE KEYS */;
 
79
 
 
80
 
 
81
--
 
82
-- Table structure for table `endpoints`
 
83
--
 
84
 
 
85
DROP TABLE IF EXISTS `endpoints`;
 
86
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
87
/*!40101 SET character_set_client = utf8 */;
 
88
CREATE TABLE `endpoints` (
 
89
  `endpoint_template_id` integer   NULL,
 
90
  `tenant_id` integer   NULL,
 
91
  `id` integer NOT NULL primary key autoincrement
 
92
)      ;
 
93
/*!40101 SET character_set_client = @saved_cs_client */;
 
94
 
 
95
--
 
96
-- Dumping data for table `endpoints`
 
97
--
 
98
 
 
99
 
 
100
/*!40000 ALTER TABLE `endpoints` DISABLE KEYS */;
 
101
/*!40000 ALTER TABLE `endpoints` ENABLE KEYS */;
 
102
 
 
103
 
 
104
--
 
105
-- Table structure for table `migrate_version`
 
106
--
 
107
 
 
108
DROP TABLE IF EXISTS `migrate_version`;
 
109
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
110
/*!40101 SET character_set_client = utf8 */;
 
111
CREATE TABLE `migrate_version` (
 
112
  `repository_id` varchar(250) NOT NULL,
 
113
  `repository_path` text,
 
114
  `version` integer   NULL
 
115
)      ;
 
116
/*!40101 SET character_set_client = @saved_cs_client */;
 
117
 
 
118
--
 
119
-- Dumping data for table `migrate_version`
 
120
--
 
121
 
 
122
 
 
123
/*!40000 ALTER TABLE `migrate_version` DISABLE KEYS */;
 
124
INSERT INTO `migrate_version` VALUES ('Keystone','/opt/stack/keystone/keystone/backends/sqlalchemy/migrate_repo',11);
 
125
/*!40000 ALTER TABLE `migrate_version` ENABLE KEYS */;
 
126
 
 
127
 
 
128
--
 
129
-- Table structure for table `roles`
 
130
--
 
131
 
 
132
DROP TABLE IF EXISTS `roles`;
 
133
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
134
/*!40101 SET character_set_client = utf8 */;
 
135
CREATE TABLE `roles` (
 
136
  `service_id` integer   NULL,
 
137
  `desc` varchar(255)   NULL,
 
138
  `id` integer NOT NULL primary key autoincrement,
 
139
  `name` varchar(255)   NULL
 
140
)        ;
 
141
/*!40101 SET character_set_client = @saved_cs_client */;
 
142
 
 
143
--
 
144
-- Dumping data for table `roles`
 
145
--
 
146
 
 
147
 
 
148
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
 
149
INSERT INTO `roles` VALUES (NULL,NULL,1,'admin');
 
150
INSERT INTO `roles` VALUES (NULL,NULL,2,'Member');
 
151
INSERT INTO `roles` VALUES (NULL,NULL,3,'KeystoneAdmin');
 
152
INSERT INTO `roles` VALUES (NULL,NULL,4,'KeystoneServiceAdmin');
 
153
INSERT INTO `roles` VALUES (NULL,NULL,5,'sysadmin');
 
154
INSERT INTO `roles` VALUES (NULL,NULL,6,'netadmin');
 
155
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
 
156
 
 
157
 
 
158
--
 
159
-- Table structure for table `services`
 
160
--
 
161
 
 
162
DROP TABLE IF EXISTS `services`;
 
163
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
164
/*!40101 SET character_set_client = utf8 */;
 
165
CREATE TABLE `services` (
 
166
  `desc` varchar(255)   NULL,
 
167
  `type` varchar(255)   NULL,
 
168
  `id` integer NOT NULL primary key autoincrement,
 
169
  `name` varchar(255)   NULL,
 
170
  `owner_id` integer   NULL
 
171
)        ;
 
172
/*!40101 SET character_set_client = @saved_cs_client */;
 
173
 
 
174
--
 
175
-- Dumping data for table `services`
 
176
--
 
177
 
 
178
 
 
179
/*!40000 ALTER TABLE `services` DISABLE KEYS */;
 
180
INSERT INTO `services` VALUES ('Nova Compute Service','compute',1,'nova',NULL);
 
181
INSERT INTO `services` VALUES ('EC2 Compatibility Layer','ec2',2,'ec2',NULL);
 
182
INSERT INTO `services` VALUES ('Glance Image Service','image',3,'glance',NULL);
 
183
INSERT INTO `services` VALUES ('Keystone Identity Service','identity',4,'keystone',NULL);
 
184
INSERT INTO `services` VALUES ('Swift Service','object-store',5,'swift',NULL);
 
185
/*!40000 ALTER TABLE `services` ENABLE KEYS */;
 
186
 
 
187
 
 
188
--
 
189
-- Table structure for table `tenants`
 
190
--
 
191
 
 
192
DROP TABLE IF EXISTS `tenants`;
 
193
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
194
/*!40101 SET character_set_client = utf8 */;
 
195
CREATE TABLE `tenants` (
 
196
  `desc` varchar(255)   NULL,
 
197
  `enabled` integer   NULL,
 
198
  `id` integer NOT NULL primary key autoincrement,
 
199
  `name` varchar(255)   NULL,
 
200
  `uid` varchar(255) NOT NULL
 
201
)        ;
 
202
/*!40101 SET character_set_client = @saved_cs_client */;
 
203
 
 
204
--
 
205
-- Dumping data for table `tenants`
 
206
--
 
207
 
 
208
 
 
209
/*!40000 ALTER TABLE `tenants` DISABLE KEYS */;
 
210
INSERT INTO `tenants` VALUES (NULL,1,1,'admin','182c1fbf7eef44eda162ff3fd30c0a76');
 
211
INSERT INTO `tenants` VALUES (NULL,1,2,'demo','b1a7ea3a884f4d0685a98cd6e682a5da');
 
212
INSERT INTO `tenants` VALUES (NULL,1,3,'invisible_to_admin','f4d1eed9bb5d4d35a5f37af934f87574');
 
213
/*!40000 ALTER TABLE `tenants` ENABLE KEYS */;
 
214
 
 
215
 
 
216
--
 
217
-- Table structure for table `tokens`
 
218
--
 
219
 
 
220
DROP TABLE IF EXISTS `tokens`;
 
221
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
222
/*!40101 SET character_set_client = utf8 */;
 
223
CREATE TABLE `tokens` (
 
224
  `tenant_id` integer   NULL,
 
225
  `expires` datetime   NULL,
 
226
  `user_id` integer   NULL,
 
227
  `id` varchar(255) NOT NULL
 
228
)      ;
 
229
/*!40101 SET character_set_client = @saved_cs_client */;
 
230
 
 
231
--
 
232
-- Dumping data for table `tokens`
 
233
--
 
234
 
 
235
 
 
236
/*!40000 ALTER TABLE `tokens` DISABLE KEYS */;
 
237
INSERT INTO `tokens` VALUES (1,'2015-02-05 00:00:00',1,'123123123123123123123');
 
238
/*!40000 ALTER TABLE `tokens` ENABLE KEYS */;
 
239
 
 
240
 
 
241
--
 
242
-- Table structure for table `user_roles`
 
243
--
 
244
 
 
245
DROP TABLE IF EXISTS `user_roles`;
 
246
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
247
/*!40101 SET character_set_client = utf8 */;
 
248
CREATE TABLE `user_roles` (
 
249
  `tenant_id` integer   NULL,
 
250
  `user_id` integer   NULL,
 
251
  `id` integer NOT NULL primary key autoincrement,
 
252
  `role_id` integer   NULL
 
253
)        ;
 
254
/*!40101 SET character_set_client = @saved_cs_client */;
 
255
 
 
256
--
 
257
-- Dumping data for table `user_roles`
 
258
--
 
259
 
 
260
 
 
261
/*!40000 ALTER TABLE `user_roles` DISABLE KEYS */;
 
262
INSERT INTO `user_roles` VALUES (1,1,1,1);
 
263
INSERT INTO `user_roles` VALUES (2,2,2,2);
 
264
INSERT INTO `user_roles` VALUES (2,2,3,5);
 
265
INSERT INTO `user_roles` VALUES (2,2,4,6);
 
266
INSERT INTO `user_roles` VALUES (3,2,5,2);
 
267
INSERT INTO `user_roles` VALUES (2,1,6,1);
 
268
INSERT INTO `user_roles` VALUES (NULL,1,7,1);
 
269
INSERT INTO `user_roles` VALUES (NULL,1,8,3);
 
270
INSERT INTO `user_roles` VALUES (NULL,1,9,4);
 
271
/*!40000 ALTER TABLE `user_roles` ENABLE KEYS */;
 
272
 
 
273
 
 
274
--
 
275
-- Table structure for table `users`
 
276
--
 
277
 
 
278
DROP TABLE IF EXISTS `users`;
 
279
/*!40101 SET @saved_cs_client     = @@character_set_client */;
 
280
/*!40101 SET character_set_client = utf8 */;
 
281
CREATE TABLE `users` (
 
282
  `name` varchar(255)   NULL,
 
283
  `tenant_id` integer   NULL,
 
284
  `enabled` integer   NULL,
 
285
  `id` integer NOT NULL primary key autoincrement,
 
286
  `password` varchar(255)   NULL,
 
287
  `email` varchar(255)   NULL,
 
288
  `uid` varchar(255) NOT NULL
 
289
)        ;
 
290
/*!40101 SET character_set_client = @saved_cs_client */;
 
291
 
 
292
--
 
293
-- Dumping data for table `users`
 
294
--
 
295
 
 
296
 
 
297
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
 
298
INSERT INTO `users` VALUES ('admin',NULL,1,1,'$6$rounds=40000$hFXlgBSMi599197d$tmGKBpoGHNRsLB3ruK9f1wPvvtfWWuMEUzdqUAynsmmYXBK6eekyNHTzzhwXTM3mWpnaMHCI4mHPOycqmPJJc0',NULL,'c93b19ea3fa94484824213db8ac0afce');
 
299
INSERT INTO `users` VALUES ('demo',NULL,1,2,'$6$rounds=40000$RBsX2ja9fdj2uTNQ$/wJOn510AYKW9BPFAJneVQAjm6TM0Ty11LG.u4.k4RhmoUcXNSjGKmQT6KO0SsvypMM7A.doWgt73V5rNnv5h.',NULL,'04c6697e88ff4667820903fcce05d904');
 
300
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
 
301
 
 
302
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
 
303
 
 
304
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
 
305
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
 
306
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
 
307
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
 
308
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
 
309
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
 
310
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
 
311
 
 
312
-- Dump completed on 2012-02-13 19:23:51
 
313
commit;