Ignore:
Timestamp:
03/08/05 17:37:46 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

Caught some buglets in the HairyPerl(TM) ('$1' vs "$1")
Corrected a potentially annoying SQL buglet relating to the

selection of which netblock an allocation is to be taken from;
under certain conditions it would pick a larger block to slice
up while there was still a perfectly usable block just the
right size waiting to be allocated.

Removed display of back-end alloctypes from success/failure notes
Corrected comments referring to alloctypes that have been altered
Updated IPDB "default" schema and alloctypes list with current

base information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/ipdb.psql

    r187 r189  
    120120GRANT ALL on "cities" to "ipdb";
    121121
     122--
     123-- Selected TOC Entries:
     124--
     125\connect - ipdb
     126
     127--
     128-- TOC Entry ID 2 (OID 92809)
     129--
     130-- Name: alloctypes Type: TABLE Owner: ipdb
     131--
     132
     133CREATE TABLE "alloctypes" (
     134        "type" character(2) DEFAULT '' NOT NULL,
     135        "listname" character varying(40) DEFAULT '',
     136        "dispname" character varying(40) DEFAULT '',
     137        "listorder" integer DEFAULT 0,
     138        "def_custid" character varying(16) DEFAULT '',
     139        Constraint "alloctypes_pkey" Primary Key ("type")
     140);
     141
     142--
     143-- TOC Entry ID 3 (OID 92809)
     144--
     145-- Name: alloctypes Type: ACL Owner:
     146--
     147
     148REVOKE ALL on "alloctypes" from PUBLIC;
     149GRANT ALL on "alloctypes" to "kdeugau";
     150GRANT ALL on "alloctypes" to "ipdb";
     151
     152--
     153-- Data for TOC Entry ID 4 (OID 92809)
     154--
     155-- Name: alloctypes Type: TABLE DATA Owner: ipdb
     156--
     157
     158
    122159COPY "alloctypes" FROM stdin;
    123160cd      Static Pool - Cable     Cable pool      41      CBL-BUS
     
    125162mp      Static Pool - Dialup    Static dialup pool      43      DIAL-BUS
    126163wp      Static Pool - Wireless  Static wireless pool    44      WL-BUS
    127 ce      Dynamic cable block     Dynamic cable block     103     CBL-RES
    128 de      Dynamic DSL block       Dynamic DSL block       102     DSL-RES
    129 me      Dialup netblock Dialup netblock 101     DIAL-RES
    130 we      Dynamic WiFi block      Dynamic WiFi block      104     WL-RES
    131164mm      Master block    Master block    999     6750400
    132 rm      Routing Routed netblock 500     6750400
    133165in      Internal netblock       Internal netblock       990     6750400
    134 en      End-use netblock        End-use netblock        100     6750400
    135166sd      Static Pool - Servers   Server pool     40      6750400
    136167cn      Customer netblock       Customer netblock       0       
     
    143174wr      Internal WAN block      Internal WAN block      201     6750400
    144175pc      Reserve for dynamic-route DSL netblocks Dynamic-route netblocks 202     6750400
     176en      End-use netblock        End-use netblock        100     6750400
     177me      Dialup netblock Dialup netblock 101     DIAL-RES
     178de      Dynamic DSL block       Dynamic DSL block       102     DSL-RES
     179ce      Dynamic cable block     Dynamic cable block     103     CBL-RES
     180we      Dynamic WiFi block      Dynamic WiFi block      104     WL-RES
     181rm      Routing Routed netblock 500     6750400
    145182pr      Dynamic-route DSL netblock      Dynamic-route DSL       203     
    146183\.
Note: See TracChangeset for help on using the changeset viewer.