parent
23b73a387b
commit
ed33c0553d
@ -0,0 +1,51 @@ |
||||
INSERT INTO asset (asset_name, assetclass_id) VALUES |
||||
('Computer', 1), |
||||
('Server', 2), |
||||
('Printer', 3); |
||||
|
||||
INSERT INTO assetclass (assetclassgroup_id, assetclass_name) VALUES |
||||
(1, 'Desktop'), |
||||
(1, 'Notebook'), |
||||
(2, 'Server'), |
||||
(3, 'Printers'), |
||||
(4, 'Scanners'); |
||||
|
||||
INSERT INTO assetclassgroup (assetclassgroup_name, assetclassgroup_color) VALUES |
||||
('Personal Computer', '000000'), |
||||
('Servers', '0000CC'), |
||||
('Periphery', '00CC00'), |
||||
('Miscellaneous', 'CC0000'); |
||||
|
||||
INSERT INTO location (location_name, location_parent) VALUES |
||||
('Main Office', 0), |
||||
('Branch Office A', 1), |
||||
('Branch Office B', 1); |
||||
|
||||
INSERT INTO node (node_ip, node_mac, subnet_id, asset_id) VALUES |
||||
('192.168.1.2', '001122334455', 1, 1), |
||||
('192.168.1.1', 'aabbccddeeff', 1, 2), |
||||
('192.168.0.1', '667755441122', 2, 3); |
||||
|
||||
INSERT INTO subnet (subnet_address, subnet_mask) VALUES |
||||
('192.168.0.0', 24), |
||||
('192.168.1.0', 24), |
||||
('192.168.10.0', 24), |
||||
('192.168.20.0', 24); |
||||
|
||||
INSERT INTO subnetlocation (subnet_id, location_id) VALUES |
||||
(1, 1), |
||||
(2, 1), |
||||
(3, 2), |
||||
(4, 3); |
||||
|
||||
INSERT INTO subnetvlan (subnet_id, vlan_id) VALUES |
||||
(1, 1); |
||||
|
||||
INSERT INTO user (user_name, user_pass, user_displayname, user_imagesize, user_imagecount, user_mac, user_dateformat) VALUES |
||||
('admin', '21232f297a57a5a743894a0e4a801fc3', 'administrator', 6, 64, 'xxxxxxxxxxxx', 'd M Y H:i'); |
||||
|
||||
INSERT INTO vlan (vlan_number, vlan_name) VALUES |
||||
(1, 'DEFAULT_VLAN'); |
||||
|
||||
INSERT INTO zone (zone_soa, zone_origin, zone_hostmaster, zone_serial, zone_ns1) VALUES |
||||
('ns1.example.com.', 'example.com.', 'hostmaster@example.com', '2023021301', 'ns1.example.com'); |
Reference in new issue