## Provided Capabilities (1)

Name | Dynamic | Other provider points
--- | --- | ---
org.wildfly.clustering.infinispan.remote-cache-container-configuration.remote-cluster | true | none

## Attributes (1)

- socket-bindings - List of outbound-socket-bindings of Hot Rod servers to connect to.

  Type | LIST
  Where is the attribute stored? | configuration
  Access Type | read-write
  Is restarted required? | resource-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "LIST"
          },
          "description" : "List of outbound-socket-bindings of Hot Rod servers to connect to.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "capability-reference" : "org.wildfly.network.outbound-socket-binding",
          "min-length" : 0,
          "max-length" : 2147483647,
          "stability" : "default",
          "value-type" : {
              "TYPE_MODEL_VALUE" : "STRING"
          },
          "access-type" : "read-write",
          "storage" : "configuration",
          "restart-required" : "resource-services"
      }

## Operations (3)

- add - Adds a remote cluster configuration requiring socket-bindings configuration.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  socket-bindings | LIST | true | false |  | List of outbound-socket-bindings of Hot Rod servers to connect to.

  Raw DMR model |
      {
          "operation-name" : "add",
          "description" : "Adds a remote cluster configuration requiring socket-bindings configuration.",
          "request-properties" : {"socket-bindings" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "description" : "List of outbound-socket-bindings of Hot Rod servers to connect to.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "capability-reference" : "org.wildfly.network.outbound-socket-binding",
              "min-length" : 0,
              "max-length" : 2147483647,
              "stability" : "default",
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "STRING"
              }
          }},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "runtime-only" : false
      }

- remove - Removes this remote cluster configuration.

  Raw DMR model |
      {
          "operation-name" : "remove",
          "description" : "Removes this remote cluster configuration.",
          "request-properties" : {},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "restart-required" : "resource-services",
          "runtime-only" : false
      }

- switch-cluster - Switch the cluster to which this HotRod client should communicate. Primary used to failback to the local site in the event of a site failover.

  ### Reply properties

  Type
    BOOLEAN

  Raw DMR model |
      {
          "operation-name" : "switch-cluster",
          "description" : "Switch the cluster to which this HotRod client should communicate. Primary used to failback to the local site in the event of a site failover.",
          "request-properties" : {},
          "reply-properties" : {"type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          }},
          "stability" : "default",
          "read-only" : false,
          "runtime-only" : true
      }

## Galleon Features

Galleon features are to be used when creating Galleon feature-packs.

- subsystem.infinispan.remote-cache-container.remote-cluster

      <feature spec="subsystem.infinispan.remote-cache-container.remote-cluster">
        <param name="remote-cache-container" value="{resource name}"/>
        <param name="remote-cluster" value="{resource name}"/>
        <param name="socket-bindings" value="{value}"/>
      <feature/>