Create a custom guest interface

You can create a custom guest interface while configuring a resource block.

Before you begin

Role required: admin

Procedure

  1. While configuring a resource block, select the Create interface check box.
    By default, the Interface text box is populated with the name of the custom resource block that you are configuring. You typically do not change the name.
  2. Specify the Host interface as described in Create a custom resource block and then click Submit.
    The system creates the guest interface, opens the resource block that you are configuring in the resource block form, and lists the new interface in the Resource Guest Interface related list.
  3. In the Resource Guest Interface related list, click the new guest interface.
  4. If needed, add an operation, as described in Add an operation to a custom guest interface

Add an operation to a custom guest interface

The full definition of an operation is called an operation signature.

Before you begin

Role required: sn_cmp.cloud_service_designer

Procedure

  1. In the Operation Signatures related list for a resource block, click New, specify the following values, and then click Submit.
    Access type
    • Private: Only the blueprint designer can perform the operation directly on the resource when it is instantiated. Other users must use the Cloud User Portal interface to perform the operation.
    • Public: Users other than the blueprint designer can perform the operation directly on the resource.
    Name Unique and meaningful name for the operation.
  2. On the Operation Signature related list, click the operation signature that you created.
    On the Operation Parameters: related list, the system adds the CloudAccount and Location attributes by default because the values are required for most operations. (The provision operation does not get the default attributes.)
  3. To add a parameter, click Newand specify the following settings:
    Table 1. Configure a new parameter for an operation
    Interface The default value is the guest interface that you are currently configuring. You typically do not change the value.
    Name Unique and meaningful name for the parameter.
    Operation Operation that the parameter values apply to. You typically do not change the value.
    Order Integer that determines when to apply the parameter in relation to other parameters. The parameter with the lowest order number is applied first.
    Application [read-only] Global
    Type Data type of the parameter value. For example, string or integer.
  4. In the Operation Implementations related list, the default value is the guest interface that you are currently configuring.
  5. Click Submit.