Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:dpi:dpi_components:platform:subscriber_management:subsman_profiles [2018/03/21 12:45] – created lexx26 | en:dpi:dpi_components:platform:subscriber_management:subsman_profiles [2024/11/29 10:23] (current) – elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== named profiles for policing (rate plans) and services ====== | + | {{tag> |
| + | ====== Named profiles ====== | ||
| + | {{indexmenu_n> | ||
| + | < | ||
| + | |||
| + | Named profiles have the following advantages over the unnamed profiles: | ||
| + | - Simplifies administration of users | ||
| + | - Allows you to find the subscribers with the required profile by profile name | ||
| + | - Allows you to change the profile to all subscribers with a given named profile simply by changing the profile parameters | ||
| + | - Allows you to control the restriction on the number of unique named profiles (up to 65535) | ||
| + | |||
| + | Unnamed profiles have the following advantages: | ||
| + | - No need to have a deal with profile management (create and delete it), the profile is released together with the removal service or subscriber profile | ||
| + | - No need to invent a profile name | ||
| + | |||
| + | ====== Commands with a named profile for policing settings (rate plans) ====== | ||
| + | |||
| + | Creating a rate plan with a named profile for multiple subscribers | ||
| + | < | ||
| + | fdpi_ctrl load profile --policing rate_10_day.cfg --profile.name rate_10 | ||
| + | fdpi_ctrl load --policing --profile.name rate_10 --ip 192.168.0.1 | ||
| + | fdpi_ctrl load --policing --profile.name rate_10 --ip 192.168.0.2 | ||
| + | fdpi_ctrl load --policing --profile.name rate_10 --login kv_111 | ||
| + | </ | ||
| + | |||
| + | View policing settings (rate plan) by named profile | ||
| + | < | ||
| + | fdpi_ctrl list profile --policing --profile.name rate_10 | ||
| + | </ | ||
| + | |||
| + | Search subscribers by named profile of a rate plan | ||
| + | < | ||
| + | fdpi_ctrl list all --policing --profile.name rate_10 | ||
| + | </ | ||
| + | |||
| + | Delete named profile (The named profile has no subscribers using it to delete) | ||
| + | < | ||
| + | fdpi_ctrl del profile --policing --profile.name rate_10 | ||
| + | </ | ||
| + | |||
| + | Change settings for rate plan from dayly to night mode (new settings will apply to all subscribers with the named profile) | ||
| + | < | ||
| + | fdpi_ctrl load profile --policing rate_10_night.cfg --profile.name rate_10 | ||
| + | </ | ||
| + | |||
| + | ====== Commands for named profile with service settings (configuration parameters) ====== | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | Create a named profile for subscriber notification and set a named profile for multiple users | ||
| + | < | ||
| + | fdpi_ctrl load profile --service 6 --profile.name ads_of_tv_world_football --profile.json '{ " | ||
| + | fdpi_ctrl load --service 6 --profile.name ads_of_tv_world_football --ip 192.168.0.1 | ||
| + | fdpi_ctrl load --service 6 --profile.name ads_of_tv_world_football --ip 192.168.0.2 | ||
| + | </ | ||
| + | |||
| + | Compare it with activation of the service with unnamed profile (service parameters are taken from the configuration file dpi) | ||
| + | < | ||
| + | fdpi_ctrl load --service 6 --ip 192.168.0.1 | ||
| + | fdpi_ctrl load --service 6 --profile.json '{ " | ||
| + | </ | ||
| + | |||
| + | Search subscribers with named profile for service 6 | ||
| + | < | ||
| + | fdpi_ctrl list all --service 6 --profile.name ads_of_tv_world_football | ||
| + | </ | ||
| + | |||
| + | Delete named profile (The named profile has no subscribers using it to delete) | ||
| + | < | ||
| + | fdpi_ctrl del profile --service 6 --profile.name ads_of_tv_world_football | ||
| + | </ | ||
| + | |||
| + | Change setting named profile for service (new settings will apply to all subscribers with the named profile) | ||
| + | < | ||
| + | fdpi_ctrl load profile --service 6 --profile.name ads_of_tv_world_football --profile.json '{ " | ||
| + | </ | ||
| + | |||
| + | To list all the created profiles for all services | ||
| + | < | ||
| + | fdpi_ctrl list all profile --service | ||
| + | </ | ||