2
-- MySQL dump 10.13 Distrib 5.1.58, for debian-linux-gnu (x86_64)
4
-- Host: localhost Database: keystone
5
-- ------------------------------------------------------
6
-- Server version 5.1.58-1ubuntu1
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 */;
20
-- Table structure for table `credentials`
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
34
/*!40101 SET character_set_client = @saved_cs_client */;
37
-- Dumping data for table `credentials`
41
/*!40000 ALTER TABLE `credentials` DISABLE KEYS */;
42
/*!40000 ALTER TABLE `credentials` ENABLE KEYS */;
46
-- Table structure for table `endpoint_templates`
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
65
/*!40101 SET character_set_client = @saved_cs_client */;
68
-- Dumping data for table `endpoint_templates`
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 */;
82
-- Table structure for table `endpoints`
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
93
/*!40101 SET character_set_client = @saved_cs_client */;
96
-- Dumping data for table `endpoints`
100
/*!40000 ALTER TABLE `endpoints` DISABLE KEYS */;
101
/*!40000 ALTER TABLE `endpoints` ENABLE KEYS */;
105
-- Table structure for table `migrate_version`
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
116
/*!40101 SET character_set_client = @saved_cs_client */;
119
-- Dumping data for table `migrate_version`
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 */;
129
-- Table structure for table `roles`
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
141
/*!40101 SET character_set_client = @saved_cs_client */;
144
-- Dumping data for table `roles`
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 */;
159
-- Table structure for table `services`
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
172
/*!40101 SET character_set_client = @saved_cs_client */;
175
-- Dumping data for table `services`
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 */;
189
-- Table structure for table `tenants`
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
202
/*!40101 SET character_set_client = @saved_cs_client */;
205
-- Dumping data for table `tenants`
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 */;
217
-- Table structure for table `tokens`
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
229
/*!40101 SET character_set_client = @saved_cs_client */;
232
-- Dumping data for table `tokens`
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 */;
242
-- Table structure for table `user_roles`
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
254
/*!40101 SET character_set_client = @saved_cs_client */;
257
-- Dumping data for table `user_roles`
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 */;
275
-- Table structure for table `users`
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
290
/*!40101 SET character_set_client = @saved_cs_client */;
293
-- Dumping data for table `users`
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 */;
302
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
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 */;
312
-- Dump completed on 2012-02-13 19:23:51