salt.states.lvs_server.
absent
(name, protocol=None, service_address=None, server_address=None)¶Ensure the LVS Real Server in specified service is absent.
The name of the LVS server.
The service protocol(only support tcp
, udp
and fwmark
service).
The LVS service address.
The LVS real server address.
salt.states.lvs_server.
present
(name, protocol=None, service_address=None, server_address=None, packet_forward_method='dr', weight=1)¶Ensure that the named service is present.
The LVS server name
The service protocol
The LVS service address
The real server address.
The LVS packet forwarding method(dr
for direct routing, tunnel
for tunneling, nat
for network access translation).
The capacity of a server relative to the others in the pool.
lvsrs:
lvs_server.present:
- protocol: tcp
- service_address: 1.1.1.1:80
- server_address: 192.168.0.11:8080
- packet_forward_method: dr
- weight: 10
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy