Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\ListLPlatformDescriptor - Gets a List of Templates
[Linux Manager]
/opt/FJSVcfmg/bin/ListLPlatformDescriptor.sh - Gets a List of Templates
Format
[Windows Manager]
ListLPlatformDescriptor -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name [-keyword keyword]
[Linux Manager]
ListLPlatformDescriptor.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name [-keyword keyword]
Description
This command gets a list of the templates in the virtual data center.
At the same time, the command also gets attribute information for templates.
Options
Specify the version ID of the L-Platform API.
Specify the language used to communicate with the L-Platform API.
Specify the user ID for executing the L-Platform API.
Specify the password for the user ID for executing the L-Platform API.
Specify the tenant name of the user for executing the L-Platform API.
Specify a keyword to use to filter templates in the list.
Requirements
User with OS administrator privilege
Admin server
Example
> ListLPlatformDescriptor -version 2.0 -locale en -userId user3 -password password -orgId tenantA -keyword sample
<?xml version="1.0" encoding="UTF-8"?>
<ListLPlatformDescriptorResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatformdescriptors>
    <lplatformdescriptor>
      <creatorName>user3</creatorName>
      <description>sample1</description>
      <registrant>cfmgadm</registrant>
      <lplatformdescriptorId>template-138141e01cc</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate1</lplatformdescriptorName>
    </lplatformdescriptor>
    <lplatformdescriptor>
      <creatorName>cfmgadm</creatorName>
      <description>sample2</description>
      <registrant>user3</registrant>
      <lplatformdescriptorId>template-138241e02dd</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate2</lplatformdescriptorName>
    </lplatformdescriptor>
  </lplatformdescriptors>
</ListLPlatformDescriptorResponse># ListLPlatformDescriptor.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -keyword sample
<?xml version="1.0" encoding="UTF-8"?>
<ListLPlatformDescriptorResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatformdescriptors>
    <lplatformdescriptor>
      <creatorName>user3</creatorName>
      <description>sample1</description>
      <registrant>cfmgadm</registrant>
      <lplatformdescriptorId>template-138141e01cc</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate1</lplatformdescriptorName>
    </lplatformdescriptor>
    <lplatformdescriptor>
      <creatorName>user3</creatorName>
      <description>sample2</description>
      <registrant>cfmgadm</registrant>
      <lplatformdescriptorId>template-138241e02dd</lplatformdescriptorId>
      <lplatformdescriptorName>sampleTemplate2</lplatformdescriptorName>
    </lplatformdescriptor>
  </lplatformdescriptors>
</ListLPlatformDescriptorResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.