A Configuration Policy Generation Properties
This appendix provides details on the parameters you can configure in the skeleton.properties file used to generate configuration policy source files.
This file contains a number of properties that customize the generated configuration policy source.
Property names are of the form sdk_context_type and are composed of three parts:
-
sdk: indicates an sdk variable
-
context: describes of the context in which the variable applies
-
type: indicates how the variable is being used, and may imply a restriction on the possible values:
-
If supported appears in the type, a boolean value should be entered.
-
If pattern appears in the type, a regular expression (regex) pattern should be entered.
-
If prompt appears in the type, a device response should be entered in the form of a regex pattern.
-
If cmd appears in the type, a device specific command should be entered.
Boolean variables are validated to ensure that the values conform to boolean values (i.e. true or false).
-
Regex patterns are validated. For a regex it maybe necessary to use an escape sequence preceding special characters in order for them to be translated to the source code.
Table A-1 shows the naming and packaging properties.
Table A-1 Naming and Packaging Properties
Property | Description | Example |
---|---|---|
sdk_global_configPolicyName |
Configuration policy name. This variable is used throughout the generated source code. This property is mandatory. |
|
sdk_global_package |
This is the configuration policy path in dotted notation used for packaging. Its value is translated to a directory structure for the source files path generation. The value is used in build scripts. The generated files are placed in SDK_home\configPolicies\sdk_global_configPolicyName\src\sdk_global_package This property is mandatory |
|
sdk_global_configPolicyVersion |
Configuration policy version that is being developed. The version is used by the Network Processor at runtime to detect that an upgrade of an existing service model may be required in the event of an upgrade of the configuration policy. Refer to "Configuration Policy Version". This property is mandatory. |
|
sdk_schema_namespace |
Target namespace of the configuration policy schema. This property is mandatory. |
-- |
sdk_schema_namespaceAbbr |
Abbreviation of the target namespace of the configuration policy schema. This is used as a namespace prefix in the schema. This property is mandatory. |
|
sdk_schema_topLevelTag |
Name of the element in the schema of type sdk_schema_topLevelType. The generated schema will contain one such element. This property is mandatory. |
|
sdk_schema_topLevelType |
Name of the complex type in the configuration policy schema which will describe the configuration policy. This property is mandatory. |
|
sdk_xmlbeans_package |
The java package in which the XmlBeans will be generated. This is primarily used to build the HTML GUI. This property is mandatory. |
|