Introduction
This chapter contains sample usages of the PDBI. The message exchanges are shown in Table 26:
Network Entity Creation Example to Table 41: Service Module Card List Example . All scenarios assume
that a TCP/IP connection has already been established between the client and the PDBA.
The first column in the tables shows the direction the message is going.
• Messages going from the client to the PDBA (requests) are indicated by →.
• Messages going from the PDBA to the client (responses) are indicated by ←.
The strings displayed in the Message column are the actual ASCII that would flow over the socket.
Network Entity Creation
This example connects to the PDBA and creates the Network Entities that are needed for all subsequent
examples.
Table 26: Network Entity Creation Example
DescriptionMessage
A PDBI connection has been
established to the Active PDBA.
connect (iid 1, version 1.0)→
rsp (iid 1, rc 0, data (connectId 1, side active))←
A write transaction has been opened.
begin_txn(iid 2, type write)→
rsp (iid 2, rc 0)←
The SP Network Entity for SP
9195550000 has been created.
ent_entity (iid 3, id 9195550000, type SP, pctype ansi,
pc 123-456-789, ri GT, ntt 222, ccgt no)
→
rsp (iid 3, rc 0)←
The SP Network Entity for SP
9195555555 has been created.
ent_entity (iid 4, id 9195555555, type SP, pctype intl,
pc 1-234-5, ri SSN, ssn 32, ccgt no)
→
rsp (iid 4, rc 0)←
The SP Network Entity for SP
9195556666 has been created.
ent_entity (iid 5, id 9195556666, type SP, pctype natl,
pc 12345, ri GT, ccgt no)
→
141
910-6022-001 Revision A, March 2011
PDBI Sample SessionsProvisioning Database Interface Manual