Changeset 257 for trunk


Ignore:
Timestamp:
05/31/05 17:04:07 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

Update ipdb.psql tabledefs and default alloctypes

File:
1 edited

Legend:

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

    r237 r257  
    118118
    119119CREATE TABLE "cities" (
    120         "city" character varying(30) DEFAULT '' NOT NULL PRIMARY KEY,
     120        "id" serial NOT NULL PRIMARY KEY,
     121        "city" character varying(30) DEFAULT '' NOT NULL,
    121122        "routing" character(1) DEFAULT 'n' NOT NULL
    122123);
     
    125126GRANT ALL on "cities" to "kdeugau";
    126127GRANT ALL on "cities" to "ipdb";
    127 
    128 --
    129 -- Selected TOC Entries:
    130 --
    131 \connect - ipdb
    132 
    133 --
    134 -- TOC Entry ID 2 (OID 92809)
    135 --
    136 -- Name: alloctypes Type: TABLE Owner: ipdb
    137 --
    138128
    139129CREATE TABLE "alloctypes" (
     
    146136);
    147137
    148 --
    149 -- TOC Entry ID 3 (OID 92809)
    150 --
    151 -- Name: alloctypes Type: ACL Owner:
    152 --
    153 
    154138REVOKE ALL on "alloctypes" from PUBLIC;
    155139GRANT ALL on "alloctypes" to "kdeugau";
    156140GRANT ALL on "alloctypes" to "ipdb";
    157 
    158 --
    159 -- Data for TOC Entry ID 4 (OID 92809)
    160 --
    161 -- Name: alloctypes Type: TABLE DATA Owner: ipdb
    162 --
    163 
    164141
    165142COPY "alloctypes" FROM stdin;
     
    178155si      Static IP - Server pool Server pool IP  20      6750400
    179156wc      Reserve for WAN blocks  WAN IP blocks   200     6750400
    180 wr      Internal WAN block      Internal WAN block      201     6750400
    181 pc      Reserve for dynamic-route DSL netblocks Dynamic-route netblocks 202     6750400
    182157en      End-use netblock        End-use netblock        100     6750400
    183158me      Dialup netblock Dialup netblock 101     DIAL-RES
     
    186161we      Dynamic WiFi block      Dynamic WiFi block      104     WL-RES
    187162rm      Routing Routed netblock 500     6750400
    188 pr      Dynamic-route DSL netblock      Dynamic-route DSL       203     
     163pc      Reserve for dynamic-route DSL netblocks Dynamic-route netblocks 201     6750400
     164pr      Dynamic-route DSL netblock      Dynamic-route DSL       221     
     165wr      WAN block       WAN block       220     6750400
    189166\.
    190167
     
    214191        "acl" varchar(16) DEFAULT 'b'
    215192);
     193
     194CREATE TABLE "dns" (
     195        "ip" inet NOT NULL PRIMARY KEY,
     196        "hostname" character varying(128),
     197        "auto" character(1) DEFAULT 'y'
     198);
Note: See TracChangeset for help on using the changeset viewer.