Named Server Filter documentation update

Named Server Filter can handle % wildcards in optional ‘source’
parameter
This commit is contained in:
MassimilianoPinto 2017-01-23 11:47:50 +01:00
parent eb05132a5c
commit 4f03aa674c

View File

@ -67,11 +67,19 @@ server=server2
### `source`
The optional source parameter defines an address that is used to match against the address from which the client connection to MariaDB MaxScale originates. Only sessions that originate from this address will have the match and replacement applied to them.
The optional source parameter defines an IP address that is used to match against the address from which the client connection to MariaDB MaxScale originates. Only sessions that originate from this IP address will have the match and replacement applied to them.
```
source=127.0.0.1
```
Since MaxScale 2.1 it's also possible to use % wildcards:
```
source=192.%.%.%
source=192.168.%.%
source=192.168.10.%
```
Please note that using source=% to match any IP it's not allowed.
### `user`