Examples of how some of the common macros are used to create outbound file templates.
In the tables, boldface type identifies each macro with its related output. For the format examples, the <
>
symbols have been added to help visually separate each macro.
For a list of available macros and definitions, see Outbound Template Macros.
Macro | Format and Output Examples |
---|---|
|
Format: Output: |
|
Format: Output: |
|
Format: Output: |
|
Format: Output:
|
|
Format: Output:
|
|
Format: Output: |
For a list of available macros and definitions, see Outbound Template Macros.
Macro | Format and Output Examples |
---|---|
|
Format: Output: In the output, the non-printing tab character separates each element. |
For a list of available macros and definitions, see Outbound Template Macros.
Macro | Format and Output Examples |
---|---|
|
Format: Output: |
|
Format: Output: |
|
See the separate section below. |
|
Format: Output: |
|
Format: Output: |
|
Format:
Output:
Note: In the first example, the macro only returns data for |
|
Format: Output: |
|
Format: Output: In the output, the non-printing tab character separates each element. |
|
Format: Output: |
DPUUID
ExamplesTo help you understand how the DPUUID
macro outputs data, lets assume we have 2 DPID
s mapped to DPUUID
s as shown below:
1111
maps to DPUUIDs AAAA
(timestamp = 1) and BBBB
(timestamp = 2).2222
maps to DPUUID CCCC
.Given these conditions, the following table enumerates some possible format strings and their output.
Mapping Condition | Macro Format | Output |
---|---|---|
Return all mappings for a single DPID |
|
|
Return a maximum of 1 mapping for all DPIDs |
|
For DPID |
Return a maximum of 2 mappings for a single DPID |
|
Even though |