Top
Cloud Services Management V1.0.0 Operation Guide
FUJITSU Software

5.2.1 Organization Operation Commands

Command Name

fscsm_org

Format
fscsm_org create -file input-file
fscsm_org modify -file input-file
fscsm_org delete -orgId organizationID
fscsm_org export [-orgId organizationID] -file output-file
fscsm_org list
Description

Performs registration, modification, deletion, and outputting of organization information.

Subcommands
create -file input-file

Registers organization information.

In input-file, enter the name of the file containing the organization information to be registered. For details on the format of the file, refer to "5.3.1 Organization Information".

modify -file input-file

Updates organization information. Only information for a single organization can be modified at one time.

In input-file, enter the name of the file containing the organization information to be modified. For details on the format of the file, refer to "5.3.1 Organization Information".

delete -orgId organizationID

Deletes organization information.

In organizationID, specify the organization ID to be deleted.

export [-orgId organizationID] -file output-file

Outputs organization information as an XML file.

-orgId organizationID can be omitted. If specified, only the information for that organization will be output. If not specified, the information for all organizations will be output.

In output-file, specify the file name using a character string containing alphanumeric characters, hyphens, underscores, and periods. For details on the format of the file, refer to "5.3.1 Organization Information".

When the specified file already exists, an error occurs.

list

Displays all of the registered organization information in the prompt window.

The following items are displayed:

  • Organization name

  • Organization ID

  • Abbreviation of the organization name

  • Description

  • Parent organization ID


Example
  • When registering organization information

    >fscsm_org create -file addorg.xml<RETURN>
  • When modifying organization information

    >fscsm_org modify -file updorg.xml<RETURN>
  • When deleting the organization information whose organization ID is 101

    >fscsm_org delete -orgId 101<RETURN>
  • When outputting the organization information of AUnit (Organization ID is 101) as a file

    >fscsm_org export -orgId 101 -file orgdata_A.xml<RETURN>
  • When outputting all organization information as a file

    >fscsm_org export -file orgdata_ALL.xml<RETURN>
  • When outputting the organization information to the screen

    >fscsm_org list<RETURN>
    orgName             orgId              orgAbbreviation      comment               parentOrgId
    ----------------------------------------------------------------------------------------------
    A Unit                 101               A Unit               Comments for A Unit                     
    B Unit                 201               B Unit               Comments for B Unit                     
    C Unit                 301               C Unit               Comments for C Unit                     
    D Division           10101            A)D Division       Comments for D Division      101