| Token |
Purpose |
Return Type |
| _root_ |
Specifies the dmr root address. Optional if not referencing root attributes. |
Empty ModelNode |
| _CLI_['cli command'] |
Executes a CLI command. |
Depends on the result of the command. See table below. |
| _isDomain_ |
Tells whether AS7 is running in domain mode or standalone mode. |
boolean |
| _asPropertyList_ |
Converts the value of the preceding token to a DMR PropertyList. |
PropertyList |
| _eq_ |
String substitution. Used in place of '=' in a DMR address or attribute value. |
N/A |
| <resource>_eq_<value> |
Specify part of a DMR address. |
ModelNode with the address added to the "address" attribute. |
| _dash_ |
String substitution. Used in place of '-' in a DMR address or attribute value. |
N/A |
| _dot_ |
String substitution. Used in place of '.' in a DMR attribute value. |
N/A |
| _astk_ |
String substitution. Used in place of '*' in a DMR attribute value. |
N/A |
| In the DMR response, if... |
then return |
| "outcome" attribute is not "successful". |
DmrOperationFailedException. This is a subclass of ELException that provides access to the full request and response. |
| Response does not include a "result" attribute. |
Entire response as a ModelNode |
| "result" attribute is a simple ModelNode. |
"result" attribute as a ModelNode |
| "result" attribute is a list of ModelNode. |
"result" attribute converted to a List>. dmrresolver will determine the proper class based on ModelType of each element. |
| "result" attribute is a DMR PropertyList. |
"result" attribute converted to a DMR PropertyList. This allows you to reference the result as name/value pairs. |