Previous Topic: ExampleNext Topic: showAttr—Show Attributes of Software Template


register—Register Template

This action registers a software template or policy at the domain manager from the enterprise manager.

This action is valid on enterprise managers only.

This action has the following format:

templateGroup action=register
name=template_group_name
[swTemplate=software_template_name]
cname=[name]
{{area=area_name} | {domain=domain_name} | toAllAreas}
[sendTime="YYYY-MM-DD hh:mm"] 
[haltTime="YYYY-MM-DD hh:mm"]
[distPriority={1,...,10}]	
area

Specifies the name of a domain manager the template is registered at. The parameter can be coded more than once to address a list of domain managers.

This parameter should not be coded with the domain or the toAllAreas parameter.

cname

Specifies the optional unique name of a distribution container used to ship the registration request.

If a job container / distribution with the specified name already exists an error will be reported.
If "cname" is not coded, a generic name is generated.

distPriority

Specifies the priority that will be assigned to the distribution.

The priority specified has to be numeric and its value has to be greater or equal 1 and less or equal 10.

If not coded priority 5 is assumed.

domain

Specifies the name of a domain manager the template is registered at its members. The parameter can be coded more than once to address a list of domain manager groups.

This parameter should not be coded with the area or the toAllAreas parameter.

halttime

Specifies the date and time when the registration will be stopped, if it is not processed yet. The date is given in ISO format and should be at least 1 hour after the start time. If not coded a halttime is generated as sendtime + 1 hour.

name

Specifies the template group name.

sendtime

Specifies the start time of the distribution from the enterprise. The date is given in ISO format. If not coded the actual date/time is taken.

swTemplate

Specifies the name of the software template to be registerd.

If not coded the default name is taken, i.e.“<group name> [$date $time]”.

toAllAreas

All domain managers currently registered at the enterprise manager will be addressed for registering the specified software template or policy.