{
"operation-name" : "add",
"description" : "Adds a socket binding configuration to the group.",
"request-properties" : {
"client-mappings" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "Specifies zero or more client mappings for this socket binding. A client connecting to this socket should use the destination address specified in the mapping that matches its desired outbound interface. This allows for advanced network topologies that use either network address translation, or have bindings on multiple network interfaces to function. Each mapping should be evaluated in declared order, with the first successful match used to determine the destination.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"source-network" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Source network the client connection binds on. This value is in the form of ip/netmask. A client should match this value against the desired client host network interface, and if matched the client should connect to the corresponding destination values. If omitted this mapping should match any interface.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"destination-address" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The destination address that a client should connect to if the source-network matches. This value can either be a hostname or an IP address.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"destination-port" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The destination port that a client should connect to if the source-network matches. If omitted this mapping will reuse the effective socket binding port.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 0,
"max" : 65535,
"stability" : "default"
}
}
},
"fixed-port" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether the port value should remain fixed even if numeric offsets are applied to the other sockets in the socket group.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"interface" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the interface to which the socket should be bound, or, for multicast sockets, the interface on which it should listen. This should be one of the declared interfaces.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.network.interface",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"multicast-address" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Multicast address on which the socket should receive multicast traffic. If unspecified, the socket will not be configured to receive multicast.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"multicast-port" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Port on which the socket should receive multicast traffic. Must be configured if 'multicast-address' is configured.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 1,
"max" : 65535,
"stability" : "default"
},
"port" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Number of the port to which the socket should be bound.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"min" : 0,
"max" : 65535,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"restart-required" : "all-services",
"runtime-only" : false
}