Excellent ISP 社の例
Excellent ISP 社はインターネット サービス プロバイダーです。Excellent ISP の顧客は、以下の表に記載されている 2 つのクラスのサービスのいずれかに対してサブスクライブできます。
cad140jp
Excellent ISP 社はインターネット サービス プロバイダーです。Excellent ISP の顧客は、以下の表に記載されている 2 つのクラスのサービスのいずれかに対してサブスクライブできます。
標準
| プレミアム
| |
メール ストレージ | 20 MB | 30 MB |
Web スペース | 20 MB | 30 MB |
1 か月当たりの時間 | 15 時間 | 無制限 |
1 か月当たりの費用 | 19.95 ドル | 29.95 ドル |
超過時間の費用 | 1.00 ドル/時間 | 0.00 ドル/時間 |
Excellent ISP の顧客ディレクトリには、顧客エントリごとのサブスクリプション情報が含まれます。
class-of-service テンプレートなしのエントリの例
class-of-service テンプレートを使用し始める前に、この情報を各エントリに格納します。
100 万人のユーザがいる場合、これらの属性は 100 万回表示されます。Excellent ISP がその料金を上げる場合は、大規模なグローバル更新が必要になります。
標準的な class of service を受ける Excellent ISP の顧客のエントリ例を以下に示します。
dn: cn=John Smith, o=Excellent ISP, c=US oc: inetOrgPerson oc: excellentISPuser cn: John Smith sn: Smith excellentISPmailQuotaMB: 20 excellentISPwebSpaceMB: 20 excellentISPaccessHours: 15 excellentISPprice: 19.95 excellentISPextraHoursPrice: 1.00 excellentISPpackage: Standard
プレミアム class of service を受ける Excellent ISP の顧客のエントリ例を以下に示します。
dn: cn=Mary Chen, o=Excellent ISP, c=US oc: inetOrgPerson oc: excellentISPuser cn: Mary Chen sn: Chen excellentISPmailQuotaMB: 30 excellentISPwebSpaceMB: 30 excellentISPaccessHours: Unlimited excellentISPprice: 29.95 excellentISPextraHoursPrice: 0 excellentISPpackage: Premium
class-of-service テンプレートを使用するエントリの例
スペースと時間を節減するために、これらのエントリの共有情報を、class-of-service テンプレートに移動できます。その後、エントリの共有情報は、その値が使用する class-of-service テンプレートを示す新しい属性に置換されます。
class-of-service テンプレートからの属性は検索時のエントリに追加されます。
dn: cn=John Smith, o=Excellent ISP, c=US oc: inetOrgPerson oc: excellentISPuser cn: John Smith sn: Smith excellentISPpackage: Standard dn: cn=Mary Chen, o=Excellent ISP, c=US oc: inetOrgPerson oc: excellentISPuser cn: Mary Chen sn: Chen excellentISPpackage: Premium
class-of-service テンプレートの例
Excellent ISP 社は 2 つのテンプレートを使用する必要があります。標準レベルのテンプレートは以下のとおりです。
set class-of-service standard = { object class = excellentISPuser cos-attr = excellentISPpackage cos-value = "Standard" attribute-values = { (type = excellentISPmailQuotaMB value = "20" disposition = default), (type = excellentISPwebSpaceMB value = "20" disposition = default), (type = excellentISPaccessHours value = "15" disposition = override), (type = excellentISPprice value = "19.95" disposition = default), (type = excellentISPextraHoursPrice value = "1.00" disposition = default) } };
プレミアム レベルのテンプレートは以下のとおりです。
set class-of-service premium = { object class = excellentISPuser cos-attr = excellentISPpackage cos-value = "Premium" attribute-values = { (type = excellentISPmailQuotaMB value = "30" disposition = default), (type = excellentISPwebSpaceMB value = "30" disposition = default), (type = excellentISPaccessHours value = "Unlimited" disposition = override), (type = excellentISPprice value = "29.95" disposition = default), (type = excellentISPextraHoursPrice value = "0.00" disposition = default) } };