|
|
This appendix presents information on the Cisco Resource Pool Manager Server (Cisco RPMS) database structure. It provides programmers and system administrators with database information they can use to write custom programs that access the Cisco RPMS.
This appendix includes the following sections:
This section describes the call discrimination table and the call types table.
The cs_call_dscrmnt table (Table E-1) stores call discrimination information. Each row represents a call type/DNIS group combination that is not allowed.
| Column | Description |
cd_name | Unique name for call discrimination entry. The primary key is created on this column. |
cd_id | Unique ID number for call discrimination entry. |
dnis_grp_id | DNIS group ID number defined in cs_dnis_grp table. A unique index is created for this column. |
call_type_id | Call type ID number. Call type ID numbers are defined in cs_call_type table. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
The cs_call_type table (Table E-2) stores call type information. Each row represents a call type with a unique ID.
| Column | Description |
type_name | Call type name. A unique index is created for this column. |
call_type_id | Unique ID number for each call type entry. The primary key is created on this column. |
dscr | Description of call type. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
This section describes customer profile and related tables.
The cs_customer table (Table E-3) defines customer profile settings and contains attributes that have singular values. Multi-valued attributes such as DNIS groups, VPDN groups, and resource groups are stored in separate tables.
| Column | Description |
customer_name | Unique name of the customer profile. The primary key is created on this column. |
customer_id | Unique ID number of the customer profile entry. A unique index is created for this column. |
descdscr | Description of the customer profile. |
call_treatment | Call treatment string. |
non_ovfl_limit | Maximum number of standard sessions for the customer profile. |
ovfl_limit | Maximum number of overflow sessions allowed above `non_ovfl_limit'. |
non_ovfl_thld | Threshold for non-overflow sessions. |
ovfl_thld | Threshold for overflow sessions. |
ovfl_call_rjct_thld | Threshold for rejected overflow calls. |
call_rjct_thld | Threshold for rejected calls. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
The cs_cust_dnis_ grp table (Table E-4) associates DNIS groups and call types with customer profiles.
| Column | Description |
customer_id | ID number of the customer profile. |
dnis_grp_id | ID number of the DNIS group associated with the customer profile. The primary key is created on this column. |
call_type_id | Call type ID allowed for the customer with the resource group. The primary key is created on this column. |
The cs_cust_res_pkg table (Table E-5) associates resource groups with customer profiles.
| Column | Description |
customer_id | ID number of the customer profile. The primary key is created on this column. |
rsc_grp_id | Resource group ID number of resource group associated with customer profile. The primary key is created on this column. |
call_type_id | Call type ID. |
svc_grp_id | Resource service ID. 0 means none. |
The cs_cust_vpdn_grp table (Table E-6) associates VPDN groups with customer profiles.
| Column | Description |
customer_id | ID number of the customer profile. The primary key is created on this and the vpdn_grp_id column.. |
vpdn_grp_id | ID number of VPDN group associated with customer profile. |
This section describes DNIS-related tables.
The cs_dnis_grp table (Table E-7) defines DNIS groups.
| Column | Description |
dnis_grp_name | Unique name for the DNIS group. The primary key is created on this column. |
dnis_grp_id | Unique DNIS group number. An index is created for this column. |
descdscr | Description. |
cas_ovr_call_type | CAS override call type ID number defined in cs_call_type table. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
The cs_dnis table (Table E-8) associates DNIS numbers with DNIS groups.
| Column | Description |
dnis | DNIS number (wildcards OK). The primary key is created on this column. |
dnis_grp_id | DNIS group ID number. A unique index is created for this column. |
ref_number | Reference number. |
This section describes resource-related tables.
The cs_rsc_grp table (Table E-9) defines resource groups that are located on the NAS(es).
| Column | Description |
rsc_grp_name | Unique resource group name. The primary key is created on this column. |
rsc_grp_id | Resource group ID number. A unique index is created for this column. |
dscr | Description of the resource group. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
The cs_svc_grp table (Table E-10) defines resource services.
| Column | Description |
svc_grp_name | Unique resource group name. The primary key is created on this column. |
svc_grp_id | Unique resource service ID number. A unique index is created for this column. |
dscr | Description of VPDN group. |
svc_type | Service type string. |
svc_params | Optional service specific parameters. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
This section describes VPDN-related tables.
The cs_vpdn_grp table (Table E-11) defines vpdn groups.
| Column | Description |
vpdn_grp_name | Unique VPDN group name. The primary key is created on this column. |
vpdn_grp_id | Unique VPDN group ID number. Unique index is created for this column. |
dscr | Description of the VPDN group. |
hg_name | Home gateway name. |
hg_info | Home gateway information. |
hg_pwd | Home gateway password. |
nas_name | NAS name. |
nas_pwd | NAS password. |
tunnel_id | Tunnel ID number. |
tunnel_protocol | Tunnel protocol string (L2F or L2TP). |
max_mlp_per_hg | Maximum MLP bundles per home gateway. |
max_links_per_mlp | Maximum links per MLP bundle. |
non_ovfl_limit | Maximum number of standard sessions. |
ovfl_limit | Maximum number of overflow sessions allowed above the `non_ovfl_limit'. |
vpdn_grp_thld | Threshold for VPDN group counter. |
l2tp_pwd | L2TP password. |
load_bal_type | Load balancing type number. |
cycle_number | Increments when a record is updated. Internally used to identify the current record. |
The cs_vpdn_grp_ip table (Table E-12) associates IP endpoints with VPDN groups.
| Column | Description |
vpdn_grp_id | VPDN group ID number. The primary key is created on this and the ip_end column. |
ip_end | IP end point. |
ip_end_limit | Limit on IP end point. |
ip_end_thld | Threshold for VPDN IP endpoint counter. |
ip_end_ordinal | Order of IP end point within a VPDN group |
The cs_vpdn_grp_dnis table (Table E-13) associates DNIS numbers or domain names with VPDN groups.
| Column | Description |
vpdn_grp_id | VPDN group ID number. An index is created for this column. |
dnis_domain | DNIS or domain name. The primary key is created on this column. |
dscr | Description of DNIS or domain entry. |
This section describes report-related tables.
The cs_rpt_type table (Table E-14) defines report types.
| Column | Description |
type_name | Report type name such as call, customer profile, or user-defined report setting name. The primary key is created on this column. |
type_id | Unique report type ID number. A unique index is created for this column. |
type_category | Report type category number. |
dscr | Description of report type. |
cycle_number | Incremented when a record is updated. Internally used to identify the current record. |
The cs_rpt_type_detail table (Table E-15) lists the details of report types. Each entry includes which attributes are included in a report type, the order in which the attributes are displayed, which attributes are used for sorting, and whether the sorting attributes are sorted in ascending or descending order.
| Column | Description |
type_id | Unique report type ID number. The primary key is created on this and the attr_id column. |
attr_id | Unique attribute ID number. |
ordinal | Order of attribute in a report type. |
enable_display | Displays or hides an attribute (`y' if displayed, `n' if hidden). |
sort_method | Either 0 for ascending order or 1 for descending order. |
field_no | Field number for attribute within report type category |
The cs_rpt_attr table (Table E-16) defines report attributes.
| Column | Description |
attr_name | Report attribute name. The primary key is created on this column. |
attr_id | Unique report attribute ID number. A unique index is created for this column. |
dscr | Description of attribute. |
attr_type | Type of attribute (1: string, 2: number, 3: IP address, 4: phone number, 5: boolean, 6: time). |
display_label | Display label in the report. If null, attr_name is displayed. |
sortable | Indicates if the attribute is sortable or not (`y' for yes or `n' for no). |
Internal tables define mapping between attributes and database objects. These tables contain information that is internal to Cisco RPMS.
The cs_blob table (Table E-17) stores Cisco RPMS global configuration parameters.
| Column | Description |
blob_name | Blob name. The primary key is created on this column. |
blob_id | Unique ID number for blob. A unique index is created for this column. |
cycle_number | Incremented when a record is updated. Internally used to identify the current record. |
The cs_blob_data table (Table E-18) stores each segment of data listed in cs_blob table.
| Column | Description |
blob_id | Unique ID number for blob. The primary key is created on this and the blob_ordinal column. |
blob_ordinal | Order of blob segments in blob_data column. The number starts with 1. |
blob_data | Blob segment. The order of segment is kept by blob_ordinal. |
The Cisco RPMS database is based on the CiscoSecure ACS for UNIX database and uses many of the CiscoSecure ACS tables. These include:
The following CiscoSecure ACS tables are not used:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Aug 31 07:34:33 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.