Creating an Entry for a Schedule on a Solaris Platform
A number of schedule entries, or rules, comprise each service schedule.
To use SDX Admin to create an entry:
The Schedule Event dialog box appears.
![]()
- Edit the From date and time information.
- (Optional for services that have an authorization plug-in configured) Edit the To date and time information.
- (Optional) Specify time exclusions.
See Setting the Time Schedule.
See Setting the Action.
![]()
- To add another action to the entry, in the Action tab click Add Action.
- To remove an action from the entry, in the Action tab, click Remove Action.
- After you complete entries in the Schedule Event dialog box, click OK to return to the Service Schedule pane.
- To add the entry to the list of entries in the service schedule, click Add.
- After you enter all schedules and actions, click OK in the Schedule Event dialog box.
The completed schedule appears in the Service Schedule pane.
Setting the Time Schedule
When you set up a time schedule, you specify:
- For event schedules—Time at which an action is to occur
- For schedules for services that have authorization configured—Beginning and end of the interval
- Times to be excluded from that schedule
Sample Time Definitions
Table 10 provides descriptions of common schedule configurations.
Configuring the Time Schedule
To configure the time schedule:
Use the guidelines in Guidelines for Entering Time Values and the field descriptions in Time Values.
- To specify an exclusion from the schedule, in the Schedule tab of the Schedule Event dialog box, click New under Exclusion Entries.
The Schedule Exclusion dialog box appears.
![]()
Use the guidelines in Guidelines for Entering Time Values and the field descriptions in Time Values,
Guidelines for Entering Time Values
When you enter information in the Schedule Event and Schedule Exclusion dialog boxes, you can use the values in the following list. See Time Values for a description of the fields.
- 0 if used in the From or To fields of a scheduled event
- First or last if used in the Time Spec field of a schedule exclusion
- Time zones—Local SAE time zone
- All other fields—First through last
- For fields in the To section of the dialog box, * for the end time is equivalent to "deny service activation after this start date."
- For dates in the From section of the dialog box, * is equivalent to "deny service activation before this end date."
- Range of numbers or letters separated by a hyphen. The range is inclusive; for example, 1-5 for the hour specifies hours 1, 2, 3, 4, and 5. A range of mon-wed specifies Monday, Tuesday, and Wednesday.
- List of numbers, letters, or ranges separated by commas. For example, 1,2,5,9 or 0-4,8-12 or mon-wed,fri-sat.
- Skip values in ranges:
- To skip a number's value through the range, follow a range with /<number>. For example, 0-23/2 used in the Hour field specifies that the event occurs every other hour.
- Skip values with *. If you want to specify every two hours, use */2.
NOTE: If you set both a day of the month and a day of the week, the day of the month is used.
Time Values
In SDX Admin, you can modify the following fields in the Schedule Event and Schedule Exclusion dialog boxes. For information about general guidelines that apply to these fields, see Guidelines for Entering Time Values.
Exclusion Type
- one-time—Exclusion for a single time; for example, for a holiday
- period—Exclusion for a time range; for example, a number of days
- Guidelines—This field applies only to the Schedule Exclusion dialog box. Effective periods do not apply to schedules for excluded times.
- Default—one-time
Hour
- Hour of the day in the indicated month in which to schedule the event or exclusion.
- Value—0-23
- Default—*
Minute
Day of Month
Day of Week
- 0-6, with 0 representing Sunday and each subsequent number representing the next day of the week.
- First three letters of the name of the day
Month
Year
- Year in which to schedule the event or exclusion.
- Value—Four integers that indicate the year
- Default—*
Effective Period
- Interval after the associated From or To time during which the scheduled action can be initiated by a subscriber who is logging in to a subscriber session.
- Value—Number of minutes in the range 0-153722867280912
- Guidelines—The effective period applies only to schedules configured for an object under o=Users.
The effective period does not apply to schedules for excluded times; the entry is not present in the Schedule Exclusion dialog box.
Time Zone
GMT (+|-) (hh:mm | hh mm | hh)
Setting the Action
In SDX Admin, you can modify the following fields in the Action tab of the Schedule Event dialog box.
Action
- activate—Service is activated at the time specified in the entry schedule.
- deactivate—Service is deactivated at the time specified in the entry schedule.
- deny—New activation requests for this service during the specified entry period are denied; current sessions are not affected.
- deny&deactivate—New activation requests for this service during the specified period are denied; in addition, current sessions are deactivated when the specified time occurs.
- Guidelines—The deny and the deny&deactivate values apply only to services that have an authorization plug-in configured.
- Default—No value
Service
You can type the name of the service or click the folder icon to display the Select Service dialog box. Select the service in the dialog box, and click OK.
Substitutions
- Substitutions to be used when the service is activated. Substitutions apply only to service activations.
For more information, see the activateService method of the SAE external interface in the SAE CORBA remote API documentation in the SRC software distribution in the folder SDK/doc/idl or on the Juniper Networks Web site at
http://www.juniper.net/techpubs/software/management/sdx/api-index.html
For more information about substitutions and schedules, see Changing or Removing the Name of a Service Associated with a Schedule.
For information about the syntax for substitutions see Chapter 15, Defining and Acquiring Values for Parameters.
Attributes
Subscription attributes apply only to service activations.
For more information about subscription attributes, see the Subscription.html file in the SAE core portal API documentation in the SDK/doc/sae/net/juniper/smgt/sae/portal directory in the SRC software distribution or on the Juniper Networks Web site at
http://www.juniper.net/techpubs/software/management/sdx/api-index.html
- Value—Use the Up or Down arrow below the Attributes box to select an attribute, and then click Add to add the attribute to the action.
- sessionName—Name of the service session.
- sessionTag—Tag that can be used for accounting purposes.
- sessionTimeout—Session timeout to be used when the service is activated. The service session is deactivated when this timeout expires.
- downStreamBandwidth—Attribute used by SRC Admission Control Plug-In (SRC-ACP) to specify the rate of traffic between the network and the subscriber.
- upStreamBandwidth—Attribute used by SRC-ACP to specify the rate of traffic between the subscriber and the network.