You can add a network configuration to a container template to connect the containers to each other. This network configuration is automatically implemented for any applications that use the template. You can add either an existing network or configure and add a new network, as necessary.

Prerequisites

  • Verify that you have a template available. If not, you must first create one.

  • Verify that you have container administrator, container architect, or IaaS administrator role privileges.

  • Verify that at least one host is configured and available for container network configuration.

Procedure

  1. Log in to vRealize Automation.
  2. Click the Containers tab.
  3. Click Templates in the left pane.

    An array of icons displays the templates and images that are available for provisioning.

  4. (Optional) : Modify the view to show only templates by clicking View: Templates in the upper right header above the icons.
  5. Click Edit in the upper-right section of the template that you want to customize.

    The Edit Template page appears, displaying the container icons and a blank icon with a plus-sign.

  6. Point to the blank icon.

    The Add Network icon appears.

  7. Click the Add Network icon.

    The Add Network panel appears.

  8. Add an existing network or create and add a new network.

    Option

    Description

    Add an existing network.

    1. Click the Existing check box.

    2. Click inside the Name field to display a list of existing networks.

    3. Select the network you want to use and click Save.

    Configure and add a new network.

    1. Enter a name for the network.

    2. To add more detailed configuration settings, click the Advanced check box.

    3. Click Save.

    The Add Network Configuration panel disappears and the added network appears as a horizontal icon below the container icons in the Edit Template page. A network icon also appears on the bottom border of the container icons.

  9. Connect the network to a container, by dragging the network connector icon from the container to any point on the horizontal icon representing the network.