Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:platform:subscriber_management:subsman_profiles:start [2018/04/12 18:43] – kvazikrav | en:dpi:dpi_components:platform:subscriber_management:subsman_profiles:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 4 Named profiles ====== | ||
- | {{indexmenu_n> | ||
- | Named profile (NP) - you can name a rate plan (profile for policing) or profile for services and store it in a internal database the UDR. NP creates once then it is used for subscribers to set needed service parameters and rate plan limiters. | ||
- | |||
- | Named profiles has the following advantages over the nameless 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) | ||
- | |||
- | Named profiles has the following advantages: | ||
- | - 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 (without name) 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 тариф_10 | ||
- | </ | ||
- | |||
- | ** Commands for named profile with service settings (configuration parameters) | ||
- | |||
- | :!: The profile name is unique for each service, ie profile_1 for service 6 differs from profile_1 for service 10 | ||
- | |||
- | 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 '{ " | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||