Top
ServerView Resource Orchestrator Cloud Edition V3.0.0 Reference Guide for Infrastructure Administrators (Resource Management)

2.14 Parameter Files (for Scripts)

The changeable XML definition to be used by the ruleset script is shown below.

<?xml version="1.0" encoding="utf-8"?>
<RulesetParameter>
  <Ruleset name="Ruleset Name">
    <MaxSegment>Maximum Segment Number</Maxsegment>
      <MaxServer>Maximum Server Number</MaxServer>
    <RulesetDescription>Ruleset Description</RulesetDescription>
  </Ruleset>
  <LNetworkDeviceInterfaces>
    <LNetworkDeviceInterface name="Network Identifier Parameter Name1">
      <SegmentType>Segment Type Name1</SegmentType>
      <NetworkResourceId>Network Resource ID1</NetworkResourceId>
    </LNetworkDeviceInterface>
    <LNetworkDeviceInterface name="Network Identifier Parameter Name2">
      <SegmentType>Segment Type Name2</SegmentType>
      <NetworkResourceId>Network Resource ID2</NetworkResourceId>
    </LNetworkDeviceInterface>
    ...
  </LNetworkDeviceInterfaces>
  <Parameters>
    <Parameter name="Parameter Variable1" label="Parameter Variable Display Name1" view="display existence">
      <Syntax>Syntax</Syntax>
      <Value>Parameter Value1</Value>
      <ParameterDescription>Parameter Description1</ParameterDescription>
    </Parameter>
    <Parameter name="Parameter Variable2" label="Parameter Variable Display Name2" view="display existence">
      <Syntax>Syntax</Syntax>
      <Value>Parameter Value2</Value>
      <ParameterDescription>Parameter Description2</ParameterDescription>
    </Parameter>
    ...
  </Parameters>
</RulesetParameter>
Table 2.19 List of Specified XML Items for Parameter Information to be Taken Over to Scripts

Element Name

Description

Remarks (Possible Values, Examples)

Ruleset name

(Ruleset name)

Name of the ruleset

Specify a character string up to 32 characters.

Maximum Segment Number

(MaxSegment)

The maximum number of segments which can be used with a ruleset

When configuring systems involving multiple hierarchy models, this maximum segment number is the upper limit of multiple hierarchy models.
When the ruleset is used for network resources, specification is not necessary.

Specify an integer between 1 and 99.

Maximum Server Number

(MaxServer)

The maximum number of servers which can be set for server specific configuration for one segment unit for ruleset.

The total of the maximum number of servers and the maximum number of segments is the upper limit of the number of servers that can be created using an L-Platform.
When the ruleset is used for network resources, specification is not necessary.

Specify an integer between 1 and 10.

Ruleset Description

(RulesetDescription)

Ruleset description

Specify a character string up to 256 characters.

Network Identifier Parameter Information

(LNetworkDeviceInterfaces)

Collection of network identifier parameter information

Specify one or more LNetworkDeviceInterface elements.

Network Identifier Parameter Name

(LNetworkDeviceInterface name)

Network identifier parameter name for LNetdev virtual interfaces

When the ruleset is used for network resources, specification is not necessary.

Specify the parameter variable name described in script.

Segment Type Name

(SegmentType)

Name specifying segment types for rulesets (DMZ or Intranet)

When configuring a multiple hierarchy model using an L-Platform, only segments with this segment type name can be created.
When the ruleset is used for network resources, specification is not necessary.

Specify a character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-").

Network Resource ID

(NetworkResourceId)

Network resource ID for network identifier parameter

When the ruleset is used for network resources, specification is not necessary.

-

Parameter Information

(Parameters)

Collection of parameter information (optional)

Specify one or more Parameter elements.

Parameter Variable Name

(Parameter name)

Parameter variable name

Specify the parameter variable name described in script.

Parameter Variable Display Name

(Parameter label)

Parameter variable display name

Specify a character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-").

Display Existence

(Parameter view)

Existence of parameter variable values

Specify display existence in order to operate parameter variable values.

  • true

    displayed

  • false

    not displayed

Syntax

(Syntax)

Parameter variable format

Specify the format of the parameter variable.

  • INTEGER(0..255)

    An integer
    Specify the value range in the format (minimum..maximum).

  • DisplayString (SIZE (0..256))

    Character string
    Specify the maximum and minimum number of characters using SIZE.

    For DisplayString(SELECT("AA"|"BB"|"CC")), select the character string from SELECT.

  • Physical Address

    MAC address
    Specify the address in MAC address format.

  • IpAddress

    IP address
    Specify the address in IPv4 address format or IPv6 address format.

Parameter Values

(Value)

Parameter values

Specify the values omitted from the parameter variables.

When no values are omitted, this element is not specified.

Parameter Description

(ParameterDescription)

Parameter description

Specify the meanings of parameter variables, the format of specified values, and the scope description.

Specify a character string up to 256 characters.