Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\ListLPlatform - Gets a List of L-Platform
[Linux Manager]
/opt/FJSVcfmg/bin/ListLPlatform.sh - Gets a List of L-Platform
Synopsis
[Windows Manager]
ListLPlatform -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name [-verbose the detailed information display flag]
[Linux Manager]
ListLPlatform.sh -version version ID -locale the language for communicating -userId user ID -password password -orgId tenant name [-verbose the detailed information display flag]
Function description
This command gets a list of the L-Platform in the virtual data center.
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 whether to display detailed information.
Requirements
User with OS administrator privilege
Admin server
Example
> ListLPlatform -version 2.0 -locale en -userId user3 -password password -orgId tenantA -verbose true <?xml version="1.0" encoding="UTF-8"?> <ListLPlatformResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <lplatforms> <lplatform> <baseDescriptor>template-1325738ea5b</baseDescriptor> <creator>tenantA</creator> <ownerUser>user1</ownerUser> <description>firewall</description> <firewalls> <firewall> <interfaces> <interface> <name>network-param-0001</name> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> </interface> <interface> <name>network-param-0002</name> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> </interface> </interfaces> <name>Firewall</name> <ruleset> <desigintype>UserCustomize</desigintype> <description>rule1</description> <name>rule1</name> <parameters> <parameter> <description>param1</description> <name>param_var_001</name> <value>200</value> <view>false</view> <syntax>INTEGER(0..255)</syntax> <required>false</required> <summary>param1 summary</summary> </parameter> <parameter> <description>param2</description> <name>param_var_002</name> <value/> <view>true</view> <syntax>DisplayString(SIZE(0..256))</syntax> <required>true</required> <summary>param2 summary</summary> </parameter> <parameter> <description>param3</description> <name>param_var_003</name> <value>400</value> <view>true</view> <syntax>INTEGER(0..65535)</syntax> <required>false</required> <summary>param3 summary</summary> </parameter> </parameters> </ruleset> </firewall> </firewalls> <slbs> <slb> <interfaces> <interface> <name>network-param-0001</name> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> </interface> <interface> <name>network-param-0002</name> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> </interface> </interfaces> <name>SLB</name> <ruleset> <description>rule1</description> <name>rule1</name> <parameters> <parameter> <description>param1</description> <name>param_var_001</name> <value>200</value> <view>false</view> <syntax>INTEGER(0..255)</syntax> <required>false</required> <summary>param1 summary</summary> </parameter> <parameter> <description>param2</description> <name>param_var_002</name> <value/> <view>true</view> <syntax>DisplayString(SIZE(0..256))</syntax> <required>false</required> <summary>param2 summary</summary> </parameter> <parameter> <description>param3</description> <name>param_var_003</name> <value>400</value> <view>true</view> <syntax>INTEGER(0..65535)</syntax> <required>false</required> <summary>param3 summary</summary> </parameter> </parameters> </ruleset> <operationLogExist>false</operationLogExist> </slb> </slbs> <networks> <network> <name>network-param-0002</name> <networkCategory>BUSINESS</networkCategory> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1234</resourceId> </network> <network> <name>network-param-0001</name> <networkCategory>BUSINESS</networkCategory> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1235</resourceId> </network> </networks> <lservers> <lserver> <cpuPerf>1.0</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e093f4e</diskimageId> <diskimageName>g-physical-0001</diskimageName> <hostName>V8O0NW7TZV0001</hostName> <memorySize>2.0</memorySize> <numOfCpu>2</numOfCpu> <requestCpuPerf>1.4</requestCpuPerf> <requestMemorySize>2.0</requestMemorySize> <requestNumOfCpu>1</requestNumOfCpu> <sparePool>/SparePool</sparePool> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Physical</lserverType> <disks/> <image> <cpuBit>32</cpuBit> <id>image-132480039e8</id> <maxCpuPerf>4.0</maxCpuPerf> <maxDiskSize>100.0</maxDiskSize> <maxMemorySize>8.0</maxMemorySize> <maxSysvolSize>200.0</maxSysvolSize> <numOfMaxCpu>2</numOfMaxCpu> <numOfMaxDisk>0</numOfMaxDisk> <numOfMaxNic>3</numOfMaxNic> <serverApplication>AP</serverApplication> <serverCategory>GENERAL</serverCategory> <softwares> <software> <category>OS</category> <license>1</license> <name>softNameA</name> <officialVersion/> <patch/> <softwareId>SW00000003</softwareId> <support>1</support> <version>6.0</version> </software> </softwares> <sysvolSize>20.0</sysvolSize> </image> <pool>/ServerPool</pool> <nics> <nic> <management>0</management> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>1</management> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-8O0NW7TZV-S-0001</lserverId> <lserverName>physical2</lserverName> <lserverStatus>RUNNING</lserverStatus> <serverType>Economy</serverType> <resource> <name>tenantA-8O0NW7TZV-S-0001</name> </resource> <snapshotExist>false</snapshotExist> </lserver> <lserver> <cpuPerf>1.2</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e09f82f</diskimageId> <diskimageName>g-vm-0002</diskimageName> <hostName>V8O0NW7TZV0002</hostName> <memorySize>1.6</memorySize> <numOfCpu>1</numOfCpu> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Virtual</lserverType> <disks/> <pool>/VMHostPool</pool> <vmType>Vmware</vmType> <nics> <nic> <management>0</management> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <nicNo>3</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>0</management> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>1</management> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-8O0NW7TZV-S-0002</lserverId> <lserverName>virtual</lserverName> <lserverStatus>RUNNING</lserverStatus> <serverType>over_commit</serverType> <resource> <name>tenantA-8O0NW7TZV-S-0002</name> </resource> <snapshotExist>true</snapshotExist> </lserver> </lservers> <lplatformId>tenantA-8O0NW7TZV</lplatformId> <lplatformName>firewall-test</lplatformName> <lplatformStatus>NORMAL</lplatformStatus> <bladeLogic>true</bladeLogic> </lplatform> <lplatform> <baseDescriptor>template-1324e0c2ac0</baseDescriptor> <creator>tenantA</creator> <ownerUser>user2</ownerUser> <description/> <networks> <network> <name>ServiceLan</name> <networkCategory>BUSINESS</networkCategory> <networkId>6MYJCS7MR-N-j8f0</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1236</resourceId> </network> <network> <name>AdminLan</name> <networkCategory>BUSINESS</networkCategory> <networkId>6MYJCS7MR-N-j61j</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1237</resourceId> </network> </networks> <lservers> <lserver> <cpuPerf>1.0</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e093f4e</diskimageId> <diskimageName>g-physical-0001</diskimageName> <hostName>V6MYJCS7MR0001</hostName> <memorySize>2.0</memorySize> <numOfCpu>2</numOfCpu> <requestCpuPerf>0.1</requestCpuPerf> <requestMemorySize>0.1</requestMemorySize> <requestNumOfCpu>1</requestNumOfCpu> <sparePool>/SparePool</sparePool> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Physical</lserverType> <disks/> <pool>/ServerPool</pool> <nics> <nic> <management>0</management> <networkId>6MYJCS7MR-N-j61j</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>1</management> <networkId>6MYJCS7MR-N-j61j</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-6MYJCS7MR-S-0001</lserverId> <lserverName>physical</lserverName> <lserverStatus>STOPPED</lserverStatus> <serverType>Economy</serverType> <resource> <name>tenantA-6MYJCS7MR-S-0001</name> </resource> <snapshotExist>false</snapshotExist> </lserver> <lserver> <cpuPerf>1.2</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e09f82f</diskimageId> <diskimageName>g-vm-0002</diskimageName> <hostName>V6MYJCS7MR0002</hostName> <memorySize>1.6</memorySize> <numOfCpu>1</numOfCpu> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Virtual</lserverType> <disks/> <pool>/VMHostPool</pool> <vmType>Vmware</vmType> <nics> <nic> <management>1</management> <networkId>6MYJCS7MR-N-j8f0</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>0</management> <networkId>6MYJCS7MR-N-j8f0</networkId> <nicNo>3</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>0</management> <networkId>6MYJCS7MR-N-j8f0</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-6MYJCS7MR-S-0002</lserverId> <lserverName>virtual2</lserverName> <lserverStatus>STOPPED</lserverStatus> <serverType>over_commit</serverType> <resource> <name>tenantA-6MYJCS7MR-S-0002</name> </resource> <snapshotExist>true</snapshotExist> </lserver> </lservers> <lplatformId>tenantA-6MYJCS7MR</lplatformId> <lplatformName>test-mix</lplatformName> <lplatformStatus>NORMAL</lplatformStatus> <bladeLogic>true</bladeLogic> </lplatform> </lplatforms> </ListLPlatformResponse>
# ListLPlatform.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -verbose true <?xml version="1.0" encoding="UTF-8"?> <ListLPlatformResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com"> <responseMessage>PAPI00000 Processing was completed.</responseMessage> <responseStatus>SUCCESS</responseStatus> <lplatforms> <lplatform> <baseDescriptor>template-1325738ea5b</baseDescriptor> <creator>tenantA</creator> <ownerUser>user1</ownerUser> <description>firewall</description> <firewalls> <firewall> <interfaces> <interface> <name>network-param-0001</name> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> </interface> <interface> <name>network-param-0002</name> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> </interface> </interfaces> <name>Firewall</name> <ruleset> <description>rule1</description> <name>rule1</name> <parameters> <parameter> <description>param1</description> <name>param_var_001</name> <value>200</value> <view>false</view> <syntax>INTEGER(0..255)</syntax> <required>false</required> </parameter> <parameter> <description>param2</description> <name>param_var_002</name> <value/> <view>true</view> <syntax>DisplayString(SIZE(0..256))</syntax> <required>true</required> </parameter> <parameter> <description>param3</description> <name>param_var_003</name> <value>400</value> <view>true</view> <syntax>INTEGER(0..65535)</syntax> <required>false</required> </parameter> </parameters> </ruleset> </firewall> </firewalls> <slbs> <slb> <interfaces> <interface> <name>network-param-0001</name> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> </interface> <interface> <name>network-param-0002</name> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> </interface> </interfaces> <name>SLB</name> <ruleset> <description>rule1</description> <name>rule1</name> <parameters> <parameter> <description>param1</description> <name>param_var_001</name> <value>200</value> <view>false</view> <syntax>INTEGER(0..255)</syntax> <required>false</required> </parameter> <parameter> <description>param2</description> <name>param_var_002</name> <value/> <view>true</view> <syntax>DisplayString(SIZE(0..256))</syntax> <required>false</required> </parameter> <parameter> <description>param3</description> <name>param_var_003</name> <value>400</value> <view>true</view> <syntax>INTEGER(0..65535)</syntax> <required>false</required> </parameter> </parameters> </ruleset> <operationLogExist>false</operationLogExist> </slb> </slbs> <networks> <network> <name>network-param-0002</name> <networkCategory>BUSINESS</networkCategory> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1234</resourceId> </network> <network> <name>network-param-0001</name> <networkCategory>BUSINESS</networkCategory> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1235</resourceId> </network> </networks> <lservers> <lserver> <cpuPerf>1.0</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e093f4e</diskimageId> <diskimageName>g-physical-0001</diskimageName> <hostName>V8O0NW7TZV0001</hostName> <memorySize>2.0</memorySize> <numOfCpu>2</numOfCpu> <requestCpuPerf>1.4</requestCpuPerf> <requestMemorySize>2.0</requestMemorySize> <requestNumOfCpu>1</requestNumOfCpu> <sparePool>/SparePool</sparePool> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Physical</lserverType> <disks/> <image> <cpuBit>32</cpuBit> <id>image-132480039e8</id> <maxCpuPerf>4.0</maxCpuPerf> <maxDiskSize>100.0</maxDiskSize> <maxMemorySize>8.0</maxMemorySize> <maxSysvolSize>200.0</maxSysvolSize> <numOfMaxCpu>2</numOfMaxCpu> <numOfMaxDisk>0</numOfMaxDisk> <numOfMaxNic>3</numOfMaxNic> <serverApplication>AP</serverApplication> <serverCategory>GENERAL</serverCategory> <softwares> <software> <category>OS</category> <license>1</license> <name>softNameA</name> <officialVersion/> <patch/> <softwareId>SW00000003</softwareId> <support>1</support> <version>6.0</version> </software> </softwares> <sysvolSize>20.0</sysvolSize> </image> <pool>/ServerPool</pool> <nics> <nic> <management>0</management> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>1</management> <networkId>8O0NW7TZV-N-1ot2#FWS#</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-8O0NW7TZV-S-0001</lserverId> <lserverName>physical2</lserverName> <lserverStatus>RUNNING</lserverStatus> <serverType>Economy</serverType> <resource> <name>tenantA-8O0NW7TZV-S-0001</name> </resource> <snapshotExist>false</snapshotExist> </lserver> <lserver> <cpuPerf>1.2</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e09f82f</diskimageId> <diskimageName>g-vm-0002</diskimageName> <hostName>V8O0NW7TZV0002</hostName> <memorySize>1.6</memorySize> <numOfCpu>1</numOfCpu> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Virtual</lserverType> <disks/> <pool>/VMHostPool</pool> <vmType>Vmware</vmType> <nics> <nic> <management>0</management> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <nicNo>3</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>0</management> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>1</management> <networkId>8O0NW7TZV-N-1ot4#FWS#</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-8O0NW7TZV-S-0002</lserverId> <lserverName>virtual</lserverName> <lserverStatus>RUNNING</lserverStatus> <serverType>over_commit</serverType> <resource> <name>tenantA-8O0NW7TZV-S-0002</name> </resource> <snapshotExist>true</snapshotExist> </lserver> </lservers> <lplatformId>tenantA-8O0NW7TZV</lplatformId> <lplatformName>firewall-test</lplatformName> <lplatformStatus>NORMAL</lplatformStatus> </lplatform> <lplatform> <baseDescriptor>template-1324e0c2ac0</baseDescriptor> <creator>tenantA</creator> <ownerUser>user2</ownerUser> <description/> <networks> <network> <name>ServiceLan</name> <networkCategory>BUSINESS</networkCategory> <networkId>6MYJCS7MR-N-j8f0</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1236</resourceId> </network> <network> <name>AdminLan</name> <networkCategory>BUSINESS</networkCategory> <networkId>6MYJCS7MR-N-j61j</networkId> <numOfMaxVm>10</numOfMaxVm> <resourceId>mngsrv_1237</resourceId> </network> </networks> <lservers> <lserver> <cpuPerf>1.0</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e093f4e</diskimageId> <diskimageName>g-physical-0001</diskimageName> <hostName>V6MYJCS7MR0001</hostName> <memorySize>2.0</memorySize> <numOfCpu>2</numOfCpu> <requestCpuPerf>0.1</requestCpuPerf> <requestMemorySize>0.1</requestMemorySize> <requestNumOfCpu>1</requestNumOfCpu> <sparePool>/SparePool</sparePool> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Physical</lserverType> <disks/> <pool>/ServerPool</pool> <nics> <nic> <management>0</management> <networkId>6MYJCS7MR-N-j61j</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>1</management> <networkId>6MYJCS7MR-N-j61j</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-6MYJCS7MR-S-0001</lserverId> <lserverName>physical</lserverName> <lserverStatus>STOPPED</lserverStatus> <serverType>Economy</serverType> <resource> <name>tenantA-6MYJCS7MR-S-0001</name> </resource> <snapshotExist>false</snapshotExist> </lserver> <lserver> <cpuPerf>1.2</cpuPerf> <creator>tenantA</creator> <diskimageId>image-1324e09f82f</diskimageId> <diskimageName>g-vm-0002</diskimageName> <hostName>V6MYJCS7MR0002</hostName> <memorySize>1.6</memorySize> <numOfCpu>1</numOfCpu> <storagePool>/StoragePool</storagePool> <sysvolSize>100</sysvolSize> <lserverType>Virtual</lserverType> <disks/> <pool>/VMHostPool</pool> <vmType>Vmware</vmType> <nics> <nic> <management>1</management> <networkId>6MYJCS7MR-N-j8f0</networkId> <nicNo>1</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>0</management> <networkId>6MYJCS7MR-N-j8f0</networkId> <nicNo>3</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> <nic> <management>0</management> <networkId>6MYJCS7MR-N-j8f0</networkId> <nicNo>2</nicNo> <privateIp>192.xxx.xxx.xxx</privateIp> </nic> </nics> <lserverId>tenantA-6MYJCS7MR-S-0002</lserverId> <lserverName>virtual2</lserverName> <lserverStatus>STOPPED</lserverStatus> <serverType>over_commit</serverType> <resource> <name>tenantA-6MYJCS7MR-S-0002</name> </resource> <snapshotExist>true</snapshotExist> </lserver> </lservers> <lplatformId>tenantA-6MYJCS7MR</lplatformId> <lplatformName>test-mix</lplatformName> <lplatformStatus>NORMAL</lplatformStatus> </lplatform> </lplatforms> </ListLPlatformResponse>
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.