Top
ServerView Resource Orchestrator Cloud Edition V3.1.2 Reference Guide (Command/XML)
FUJITSU Software

14.2.2 CreateNetwork (Add Network Segment to L-Platform)

Name

[Windows Manager]
Installation_folder\RCXCFMG\bin\CreateNetwork - Add Network Segment to L-Platform

[Linux Manager]
/opt/FJSVcfmg/bin/CreateNetwork.sh - Add Network Segment to L-Platform


Synopsis

[Windows Manager]

CreateNetwork -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID [-resourceId resource_ID] -numOfMaxNic maximum_number_of_NICs [-networkCategory network_type] [-segmentType segment_identifier] [-name network_name]

[Linux Manager]

CreateNetwork.sh -version version_ID -locale the_language_for_communicating -userId user_ID -password password -orgId tenant_name -lplatformId L-Platform_ID [-resourceId resource_ID] -numOfMaxNic maximum_number_of_NICs [-networkCategory network_type] [-segmentType segment_identifier] [-name network_name]

Function description

This command adds a network segment to an L-Platform.
The network segment being added must be registered beforehand.
An automatically selected segment is added when resourceId is omitted.
Specify networkCategory when resourceId is not specified. A segmentType can be omitted
Do not specify networkCategory and segmentType when resourceId is specified.

This command cannot be executed in the following cases:

Options

-version

Specify the version ID of the L-Platform API.

-locale

Specify the language used to communicate with the L-Platform API.

-userId

Specify the user ID for executing the L-Platform API.

-password

Specify the password for the user ID for executing the L-Platform API.

-orgId

Specify the tenant name of the user for executing the L-Platform API.

-lplatformId

Specify the L-Platform ID.

-resourceId (optional)

Specify the resource ID of the network to be added.

-numOfMaxNic

Specify the maximum number of NICs.

-networkCategory (optional)

Specify the network type.

-segmentType (optional)

Specify the segment identifier.

-name (optional)

Specify the network name.


Requirements

Permissions

User with OS administrator privilege

Location

Admin server


Example

[Windows Manager]
> CreateNetwork -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-ARHLFXHB3 -resourceId resource01 -numOfMaxNic 10 -name seg01
<?xml version="1.0" encoding="UTF-8"?>
 <CreateNetworkResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <networkId>ARHLFXHB3-N-1348104767303</networkId>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</CreateNetworkResponse>
[Linux Manager]
# CreateNetwork.sh -version 2.0 -locale en -userId user3 -password password -orgId tenantA -lplatformId tenantA-ARHLFXHB3 -resourceId resource01 -numOfMaxNic 10 -name seg01
<?xml version="1.0" encoding="UTF-8"?>
 <CreateNetworkResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <networkId>ARHLFXHB3-N-1348104767303</networkId>
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
</CreateNetworkResponse>

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.