2 * Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 SET FOREIGN_KEY_CHECKS=1;
21 insert into lab (id, lab, silo) values(1, 'att', 'att-blu-val');
23 insert into timeslot values(1, 'now', null, 1);
25 insert into blueprint (id, blueprint_name) values(1, 'dummy');
26 insert into blueprint (id, blueprint_name) values(2, 'rec');
28 insert into blueprint_layer (id, layer) values(1, 'hardware');
29 insert into blueprint_layer (id, layer) values(2, 'os');
30 insert into blueprint_layer (id, layer) values(3, 'container');
31 insert into blueprint_layer (id, layer) values(4, 'k8s');
32 insert into blueprint_layer (id, layer) values(5, 'helm');
33 insert into blueprint_layer (id, layer) values(6, 'openstack');
35 insert into blueprint_instance (id, blueprint_id, version) values(1, 1, 'master'); /* master version is assigned to dummy */
36 insert into blueprint_instance (id, blueprint_id, version) values(2, 2, 'master'); /* master version is assigned to rec */
38 insert into blueprint_instance_blueprint_layer (blueprint_instance_id, blueprint_layer_id) values(1, 1); /* hardware layer is assigned to dummy*/
39 insert into blueprint_instance_blueprint_layer (blueprint_instance_id, blueprint_layer_id) values(2, 1); /* hardware layer is assigned to rec*/
40 insert into blueprint_instance_blueprint_layer (blueprint_instance_id, blueprint_layer_id) values(2, 2); /* os layer is assigned to rec*/
41 insert into blueprint_instance_blueprint_layer (blueprint_instance_id, blueprint_layer_id) values(2, 4); /* k8s layer is assigned to rec*/
43 insert into blueprint_instance_timeslot (blueprint_instance_id, timeslot_id) values(1, 1); /* dummy blueprint instance validation tests can run on ATT lab*/
44 insert into blueprint_instance_timeslot (blueprint_instance_id, timeslot_id) values(2, 1); /* rec blueprint instance validation tests can run on ATT lab*/