Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

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

Exit Status

This command returns the following values:

0

The command executed successfully.

non-zero

An error has occurred.