data fuer testhive angepasst

This commit is contained in:
Peter Hormanns 2011-12-16 13:37:59 +00:00
parent 549e7bf804
commit dc8716b25e

View File

@ -72,43 +72,47 @@ INSERT INTO billdata (bp_id)
-- Table: inet_addr -- Table: inet_addr
-- --
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.200', 'address 200'); VALUES (inet '176.9.242.66', 'address 66');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.201', 'address 201'); VALUES (inet '176.9.242.67', 'address 67');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.202', 'address 202'); VALUES (inet '176.9.242.68', 'address 68');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.203', 'address 203'); VALUES (inet '176.9.242.69', 'address 69');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.204', 'address 204'); VALUES (inet '176.9.242.70', 'address 70');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.205', 'address 205'); VALUES (inet '176.9.242.71', 'address 71');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.206', 'address 206'); VALUES (inet '176.9.242.72', 'address 72');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.207', 'address 207'); VALUES (inet '176.9.242.73', 'address 73');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.208', 'address 208'); VALUES (inet '176.9.242.74', 'address 74');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.209', 'address 209'); VALUES (inet '176.9.242.75', 'address 75');
INSERT INTO inet_addr (inet_addr, description) INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '192.168.108.210', 'address 210'); VALUES (inet '176.9.242.76', 'address 76');
INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '176.9.242.77', 'address 77');
INSERT INTO inet_addr (inet_addr, description)
VALUES (inet '176.9.242.78', 'address 78');
-- --
-- Table: Hive -- Table: Hive
-- --
INSERT INTO hive (hive_name, inet_addr_id, description) INSERT INTO hive (hive_name, inet_addr_id, description)
SELECT 'h81', inet_addr_id, 'Test Hive h081' FROM inet_addr WHERE inet_addr = inet '192.168.108.200'; SELECT 'h81', inet_addr_id, 'Test Hive h081' FROM inet_addr WHERE inet_addr = inet '176.9.242.67';
-- --
-- table: packet -- table: packet
-- --
INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id) INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id)
SELECT 'hsh00', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id FROM business_partner, hive, inet_addr SELECT 'hsh00', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id FROM business_partner, hive, inet_addr
WHERE hive_name='h81' AND inet_addr = inet '192.168.108.201' AND member_id = 10000; WHERE hive_name='h81' AND inet_addr = inet '176.9.242.68' AND member_id = 10000;
INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id) INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id)
SELECT 'hsh01', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id FROM business_partner, hive, inet_addr SELECT 'hsh01', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id FROM business_partner, hive, inet_addr
WHERE hive_name='h81' AND inet_addr = inet '192.168.108.202' AND member_id = 10000; WHERE hive_name='h81' AND inet_addr = inet '176.9.242.69' AND member_id = 10000;
-- --
-- table: packet_component -- table: packet_component