This module is considered obsolete. The drafts mentioned here have expired. If you use this module, please send a note to the sr-dev mailing list. The Domain Policy module implements draft-lendl-domain-policy-ddds-02 in combination with draft-lendl-speermint-federations-02 and draft-lendl-speermint-technical-policy-00. These IETF drafts define DNS records with which a domain can announce its federation memberships. A local database can be used to map policy rules to routing policy decisions. This database can also contain rules concerning destination domains independently of draft-lendl-domain-policy-ddds-02. This module requires a database. No caching is implemented.
| Parámetro | Tipo | Descripción |
|---|---|---|
| db_url | string | 3.2. dp_table (string) 3.3. dp_col_rule (string) 3.4. dp_col_type (string) 3.5. dp_col_att (string) 3.6. dp_col_val (string) 3.7. port_override_avp (string) 3.8. transport_override_avp (string) 3.9. d |
| dp_table | string | 3.3. dp_col_rule (string) 3.4. dp_col_type (string) 3.5. dp_col_att (string) 3.6. dp_col_val (string) 3.7. port_override_avp (string) 3.8. transport_override_avp (string) 3.9. domain_replacement_avp ( |
| dp_col_rule | string | 3.4. dp_col_type (string) 3.5. dp_col_att (string) 3.6. dp_col_val (string) 3.7. port_override_avp (string) 3.8. transport_override_avp (string) 3.9. domain_replacement_avp (string) 3.10. domain_prefi |
| dp_col_type | string | 3.5. dp_col_att (string) 3.6. dp_col_val (string) 3.7. port_override_avp (string) 3.8. transport_override_avp (string) 3.9. domain_replacement_avp (string) 3.10. domain_prefix_avp (string) 3.11. domai |
| dp_col_att | string | 3.6. dp_col_val (string) 3.7. port_override_avp (string) 3.8. transport_override_avp (string) 3.9. domain_replacement_avp (string) 3.10. domain_prefix_avp (string) 3.11. domain_suffix_avp (string) 3.1 |
| dp_col_val | string | 3.7. port_override_avp (string) 3.8. transport_override_avp (string) 3.9. domain_replacement_avp (string) 3.10. domain_prefix_avp (string) 3.11. domain_suffix_avp (string) 3.12. send_socket_avp (strin |
| port_override_avp | string | 3.8. transport_override_avp (string) 3.9. domain_replacement_avp (string) 3.10. domain_prefix_avp (string) 3.11. domain_suffix_avp (string) 3.12. send_socket_avp (string) |
| transport_override_avp | string | 3.9. domain_replacement_avp (string) 3.10. domain_prefix_avp (string) 3.11. domain_suffix_avp (string) 3.12. send_socket_avp (string) |
| domain_replacement_avp | string | 3.10. domain_prefix_avp (string) 3.11. domain_suffix_avp (string) 3.12. send_socket_avp (string) |
| domain_prefix_avp | string | 3.11. domain_suffix_avp (string) 3.12. send_socket_avp (string) |
| domain_suffix_avp | string | 3.12. send_socket_avp (string) |
| send_socket_avp | string | 3.1. db_url (string) |
| db_url | string | This is URL of the database to be used. |
| dp_table | string | Name of table containing the local support domain policy setup. |
| dp_col_rule | string | Name of column containing the domain policy rule name which is equal to the URI as published in the domain policy NAPTRs. |
| dp_col_type | string | Name of column containing the domain policy rule type. In the case of federation names, this is "fed". For standard referrals according to draft-lendl-speermint-technical-policy-00, this is "std". For |
| dp_col_att | string | Name of column containing the AVP's name. If the rule stored in this row triggers, than dp_can_connect() will add an AVP with that name. |
| dp_col_val | string | Name of column containing the value for AVPs created by dp_can_connect(). |
| port_override_avp | string | This parameter defines the name of the AVP where dp_apply_policy() will look for an override port number. |
| transport_override_avp | string | Name of the AVP which contains the override transport setting. |
| domain_replacement_avp | string | Name of the AVP which contains a domain replacement. |
| domain_prefix_avp | string | Name of the AVP which contains a domain prefix. |
| domain_suffix_avp | string | Name of the AVP which contains a domain suffix. |
| send_socket_avp | string | Name of the AVP which contains a send_socket. The format of the send socket (the payload of this AVP) must be in the format [proto:]ip_address[:port]. The function dp_apply_policy will look for this A |
4.2. dp_apply_policy()
4.1. dp_can_connect()
Checks the interconnection policy of the caller. It uses the domain in the request URI to perform the DP-DDDS algorithm according to draft-lendl-domain-policy-ddds-02 to retrieve the domain's policy announcements. As of this version, only records con
This function sets the destination URI according to the policy returned from the dp_can_connect() function. Parameter exchange between dp_can_connect() and dp_apply_policy() is done via AVPs. The AVPs can be configured in the module's parameter secti
Copyright © 2002, 2003, 2006 Juha Heinanen, Otmar Lendl, Klaus Darilion