160 likes | 308 Views
SPPP Protocol. Session Peering Provisioning Protocol draft-ietf-drinks-spprov-01. Public Identity. Abstract. Route Group. Destination Group. Public Identity. RN. TN. Email. TN. Route Record. Abstract. Route Group. Route Record. NAPTR. NS. URI. Usage Scenario. sbe3.ssp2.com.
E N D
SPPP Protocol Session Peering Provisioning Protocol draft-ietf-drinks-spprov-01
Public Identity Abstract Route Group Destination Group Public Identity RN TN Email TN
Route Record Abstract Route Group Route Record NAPTR NS URI
Usage Scenario sbe3.ssp2.com sbe1.ssp1.com SSP1 SSP2 sbe4.ssp2.com sbe2.ssp1.com
SPPP provisioning example SSP1 SSP2 Registry Add Dest Group Add Route Group Activate TN Range Initiate Peering with SSP1 Accept Peering Offer from SSP2 Create Egress Route
Add Destination Group Request <?xml version="1.0" encoding="UTF-8"?> <spppRequestxmlns="urn:ietf:params:xml:ns:sppp:base:1” xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance transaction=“true”> <addDestGroupsRqst> <clientTransId>ssp2_tx_id_6666</clientTransId><destGrp> <base> <rantId>ssp2</rantId> <rarId>ssp2</rarId> </base> <dgName>DEST_GRP_SSP2_1</dgName> </destGrp> </addDestGroupsRqst> </spppRequest>
Add Destination Group Response <?xml version="1.0" encoding="UTF-8"?> <spppResponsexmlns="urn:ietf:params:xml:ns:sppp:base:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <addDestGroupsRspns> <clientTransId>ssp2_tx_id_6666</clientTransId><serverTransId>tx_id_12345</serverTransId> <resCode>1000</resCode> <resMsg>Request succeeded</resMsg> </addDestGroupsRspns> </spppResponse>
Add Route Group <addRteGrpsRqst> <rteGrp> … <rteGrpName>RTE_GRP_SSP2_1</rteGrpName> <rteRecxmlns:ns1="urn:ietf:params:xml:ns:sppp:base:1” xsi:type="ns1:NAPTRType”> … <flags>u</flags> <svcs>E2U+sip</svcs> <regx> <ere>^(.*)$</ere> <repl>sip:\1@sbe3.ssp2.com</repl> </regx> </rteRec> …. <dgName>DEST_GRP_SSP2_1</dgName> <isInSvc>true</isInSvc> </rteGrp> </addRteGrpsRqst>
Activate Public Identity <addPubIdsRqst> … <pi xsi:type="ns1:TNRType"> … <dgName>DES_GRP_SSP2_1</dgName> <tn>+15712220000</tn> <endTn>+15712229999</endTn> …. <corClaim>true</ns1:corClaim> …. </pi> </addPubIdsRqst>
Get Public Identity <spppRequestxmlns="urn:ietf:params:xml:ns:sppp:base:1"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance”> <getPubIdsRqst> <clientTransId>ssp2_tx_id_6666</clientTransId> <pi xmlns:ns1="urn:ietf:params:xml:ns:sppp:base:1"xsi:type="ns1:TNType"> …. <tn>+15712223333</tn> </pi> </getPubIdsRqst></spppRequest>
Get PI Response <getPubIdsRspns> <clientTransId>ssp2_tx_id_6666</clientTransId> <serverTransId>tx_id_12345</serverTransId> <resCode>1000</resCode> <resMsg>Success</resMsg> <pi xmlns:ns1="urn:ietf:params:xml:ns:sppp:base:1"xsi:type="ns1:TNType"> …. <dgName>DEST_GRP_SSP2_1</dgName> <tn>+15712223333</tn> <cor>true</cor> </pi> </getPubIdsRspns></spppResponse>
Peering Offer <addRteGrpOffersRqst> <rteGrpOffer> …. <rteGrpOfferKey> <rteGrpKey> <rantId>ssp2</rantId> <name>RTE_GRP_SSP2_1</name> </rteGrpKey> <offeredTo>ssp1</offeredTo> </rteGrpOfferKey> <status>offered</status> <offerDateTime>2006-05-04T18:13:51.0Z</offerDateTime> </rteGrpOffer> </addRteGrpOffersRqst>
Peering Offer Response <acceptRteGrpOffersRqst> … <rteGrpOfferKey> <rteGrpKey> <rantId>ssp2</rantId> <name>RTE_GRP_SSP2_1</name> </rteGrpKey> <offeredTo>ssp1</offeredTo> </rteGrpOfferKey> </acceptRteGrpOffersRqst>
Add Egress Route <addEgrRtesRqst> <egrRte> … <egrRteName>EGR_RTE_01</egrRteName> <pref>50</pref> <svcs>E2U+sip</svcs> <regxRewriteRule> <ere>^(.*)$</ere> <repl>sip:\1@sbe1.ssp1.com</repl> </regxRewriteRule> <ingressRte> <rantId>ssp2</rantId> <name>RTE_GRP_SSP2_1</name> </ingressRte> </egrRte></addEgrRtesRqst>
gSPID Coverage • An opaque identifier for service providers • Expressed as a URN • No special considerations for the SPPP protocol