Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\ListNetworkResource - Obtain a List of Network Resources
[Linux Manager]
/opt/FJSVcfmg/bin/ListNetworkResource.sh - Obtain a List of Network Resources
Synopsis
[Windows Manager]
ListNetworkResource -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name [-networkCategory network_type] [-segmentType segment_identifier_information] [-showTenant tenant_name_display]
[Linux Manager]
ListNetworkResource.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name [-networkCategory network_type] [-segmentType segment_identifier_information] [-showTenant tenant_name_display]
Function description
This command obtains a list of network resources.
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 the network type.
Specify segment identifier information.
Specify the tenant name display option.
Requirements
User with OS administrator privilege
Admin server
Example
> ListNetworkResource -version 2.0 -locale en -userId user3 -password password -orgId tenantA -networkCategory MANAGEMENT -segmentType DMZ -showTenant true
<?xml version="1.0" encoding="UTF-8"?>
<ListNetworkResourceResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<networks>
<network>
<addressSet>
<end>192.xxx.xxx.xxx</end>
<mask>255.xxx.xxx.xxx</mask>
<name>addr_set10</name>
<start>192.xxx.xxx.xxx</start>
<subnet>192.xxx.xxx.xxx</subnet>
</addressSet>
<addressSetStatus>
<avail>138</avail>
<num>140</num>
<used>2</used>
</addressSetStatus>
<excludeaddressranges/>
<locked>true</locked>
<networkCategory>BUSINESS</networkCategory>
<resourceId>network-t-0001</resourceId>
<resourceName>tenantA-DMZ</resourceName>
<segmentType>DMZ</segmentType>
<tenantName>tenantA</tenantName>
<vlanId>11</vlanId>
</network>
</networks>
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
</ListNetworkResourceResponse># ListNetworkResource.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -networkCategory MANAGEMENT -segmentType DMZ -showTenant true
<?xml version="1.0" encoding="UTF-8"?>
<ListNetworkResourceResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
<networks>
<network>
<addressSet>
<end>192.xxx.xxx.xxx</end>
<mask>255.xxx.xxx.xxx</mask>
<name>addr_set10</name>
<start>192.xxx.xxx.xxx</start>
<subnet>192.xxx.xxx.xxx</subnet>
</addressSet>
<addressSetStatus>
<avail>138</avail>
<num>140</num>
<used>2</used>
</addressSetStatus>
<excludeaddressranges/>
<locked>true</locked>
<networkCategory>BUSINESS</networkCategory>
<resourceId>network-t-0001</resourceId>
<resourceName>tenantA-DMZ</resourceName>
<segmentType>DMZ</segmentType>
<tenantName>tenantA</tenantName>
<vlanId>11</vlanId>
</network>
</networks>
<responseMessage>PAPI00000 Processing was completed.</responseMessage>
<responseStatus>SUCCESS</responseStatus>
</ListNetworkResourceResponse>Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.