Description
Hi Tim,
during the tests of Link-State with Juniper I've seen the following errors related to ls_links:
- Unreserved bandwidth field should be increased at least to 100 characters
2022-09-09 10:25:17.324 UTC [3238] ERROR: value too long for type character varying(60)
2022-09-09 10:25:17.324 UTC [3238] STATEMENT: INSERT INTO ls_links
Current definition = unreserved_bw | character varying(60)
(hash_id,peer_hash_id,base_attr_hash_id,Seq,mt_id,interface_addr,neighbor_addr,isIPv4,protocol,local_link_id,remote_link_id,local_node_hash_id,remote_node_hash_id,admin_group,max_link_bw,max_resv_bw,unreserved_bw,te_def_metric,protection_type,mpls_proto_mask,igp_metric,srlg,name,local_igp_router_id,local_router_id,remote_igp_router_id,remote_router_id,local_asn,remote_asn,peer_node_sid,sr_adjacency_sids,iswithdrawn,timestamp) VALUES
('359ea440ea0c49b065d2ec417096c9cf'::uuid,'3fe8ff10bcbbf6ae103c47515b669133'::uuid,'d3f62be234bec1ac6c082069d57d87d1'::uuid,130,0,'172.27.173.17'::inet,'172.27.173.18'::inet,true::boolean,'IS-IS_L2'::ls_proto,0,0,
'9b98ed559d4be52bbe7ab64c9264f69f'::uuid,
'b1cfe8cfc5cb21336519fe6021a9b15d'::uuid,
671088644,200000,200000,'200000, 200000, 200000, 200000, 200000, 200000, 200000,200000',3000,'',''::ls_mpls_proto_mask,500,'','','1921.6825.5014.0000','0.0.0.0','0101.8425.5002.0000','0.0.0.0',65400,65400,'','',false,'2022-09-09 10:25:16.801633'::timestamp),
- admin_group should be changed to bigint from int
2022-09-09 12:40:19.734 UTC [5970] ERROR: integer out of range
2022-09-09 12:40:19.734 UTC [5970] STATEMENT: INSERT INTO ls_links
(hash_id,peer_hash_id,base_attr_hash_id,seq,mt_id,interface_addr,neighbor_addr,isIPv4,protocol,local_link_id,remote_link_id,local_node_hash_id,remote_node_hash_id,admin_group,max_link_bw,max_resv_bw,unreserved_bw,te_def_metric,protection_type,mpls_proto_mask,igp_metric,srlg,name,local_igp_router_id,local_router_id,remote_igp_router_id,remote_router_id,local_asn,remote_asn,peer_node_sid,sr_adjacency_sids,iswithdrawn,timestamp) VALUES
('359ea440ea0c49b065d2ec417096c9cf'::uuid,'3fe8ff10bcbbf6ae103c47515b669133'::uuid,'d3f62be234bec1ac6c082069d57d87d1'::uuid,130,0,'172.27.173.17'::inet,'172.27.173.18'::inet,true::boolean,'IS-IS_L2'::ls_proto,0,0,'9b98ed559d4be52bbe7ab64c9264f69f'::uuid,'b1cfe8cfc5cb21336519fe6021a9b15d'::uuid,671088644,200000,200000,'200000, 200000, 200000, 200000, 200000, 200000, 200000, 200000',3000,'',''::ls_mpls_proto_mask,500,'','','1921.6825.5014.0000','0.0.0.0','0101.8425.5002.0000','0.0.0.0',65400,65400,'','',false,'2022-09-09 12:40:18.746014'::timestamp)