Template - createLocalExtendedObject


Template - createLocalExtendedObject

Description :

This command creates an extended object class local to a template.

For parsing purposes, each extended object class is associated with a grammar file. The grammarName parameter specifies the associated grammar, for example, hosts.gm.

Each extended object class is associated with several operating systems to which the class is relevant. When you create a new extended object class, you associate a single operating system with the new class. The parameter osNshName is the NSH name of the operating system.

The following are the available OS NSH Names (OS: NSH Name):

  • Solaris: Sun0S
  • Linux: Linux
  • Windows: WindowsNT
  • HP-UX: HP-UX
  • AIX: AIX

Return type : com.bladelogic.om.infra.model.template.Template

Command Input :

Variable Name

Variable Type

Description

templateKey

DBKey

Template Key.

extendedObjectName

String

Name of extended object you are adding.

description

String

Short description for the extended object.

execScript

String

Script to be executed.

grammarName

String

Associated grammar file.

osNshName

String

NSH name of the associated operating system.

remoteExecute

Boolean

Execute remotely (true) or centrally(false).

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*