Template command

show template-set

Overview

Read Template list and detailed information.

Syntax

msh(tsa********)> show template-set [id <Templateset ID> [csv]]

Parameter

Parameter

Description

(Optional) <Templateset ID>

ID of the Template

Description

Note

If the <Templateset ID> parameter is not specified, a list of registered Templates is displayed. If specified, the specified Template details are displayed. If csv option is specified, the Template information is displayed in csv format.

Output examples for commands are shown below.

Display Template list

msh(tsa********)> show template-set
---
- TemplateSet_0:
    TemplateSet ID:
    TemplateSet Name:
    TemplateSet Member: 0
- TemplateSet_1:
    TemplateSet ID: 14235
    TemplateSet Name: Template
    TemplateSet Member: 2
- TemplateSet_2:
    TemplateSet ID: 14233
    TemplateSet Name: TemplateSet_14233
    TemplateSet Member: 0
msh(tsa********)>

Display Template details

msh(tsa********)> show template-set id 14235
---
TemplateSet ID: 14235
TemplateSet Name: Template
TemplateSet Member:
SA:
  SA_0 Code: tss89404966
  SA_0 Name: fuga
  SA_1 Code: tsw00000000
  SA_1 Name: SA_Name
msh(tsa********)>

Display Template (csv format)

msh(tsa89404959)> show template-set id 14235 csv
[name]
[default]
tss11111111
tsw00000000
msh(tsa89404959)>

add template-set

Overview

Adds Template.

Syntax

msh(tsa********)> add template-set <Templateset Name>

Parameter

Parameter

Description

<Templateset Name>

Name of the Template

Description

Output examples for commands are shown below.

msh(tsa********)> add template-set name TemplateSet
---
TemplateSet ID: 15077
TemplateSet Name: TemplateSet
msh(tsa********)>

set template-set

Overview

Updates Template information.

Syntax

msh(tsa********)> set template-set <Templateset ID> {[name <Templateset Name>] [sa <SA1> <SA2> <SA3> ...] | csv <CSV Path>}

Parameter

Parameter

Description

<Templateset ID>

ID of the Template

<Templateset Name>

Name of the Template

<SA1>…

SA code for service adaptors assigned to Template

<CSV Path>

Information for Template injected in CSV format

Description

Output examples for commands are shown below.

msh(tsa********)> set template-set id 14235 sa tsw00000000 tss11111111
---
TemplateSet ID: 14235
TemplateSet Name: Template
SA:
  SA Code 0: tss11111111
  SA Name 0: SA_Name2
  SA Code 1: tsw00000000
  SA Name 1: SA_Name1
msh(tsa********)>

unset template-set

Overview

Update Template information to default values.

Syntax

msh(tsa********)> unset template-set <Templateset ID> [name] [sa]

Parameter

Parameter

Description

<Templateset ID>

ID of the Template

Description

Note

Template name updated to “TemplateSet,” assigned service adaptors are updated to “unassigned.”

Output examples for commands are shown below.

msh(tsa********)> unset template-set 14235 name sa
---
TemplateSet ID: 14235
TemplateSet Name: TemplateSet
TemplateSet Member:
SA:
msh(tsa********)>

Default value

The default values set when each option is specified are as follows.

Parameter / Option

Description

name

TemplateSet

sa

(Empty array)

delete template-set

Overview

Deletes Template information.

Syntax

msh(tsa********)> delete template-set <Templateset ID>

Parameter

Parameter

Description

<Templateset ID>

ID of the Template

Description

Output examples for commands are shown below.

msh(tsa89404959)> delete template-set 14235
template-set: TemplateSet (ID 15083) was deleted.
msh(tsa89404959)>